You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/api/AdvancedAnalyticsApi.js
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
20
20
/**
21
21
* AdvancedAnalytics service.
22
22
* @module api/AdvancedAnalyticsApi
23
-
* @version 1.0.0
23
+
* @version 1.0.1
24
24
*/
25
25
varAdvancedAnalyticsApi=/*#__PURE__*/function(){
26
26
/**
@@ -38,21 +38,24 @@ var AdvancedAnalyticsApi = /*#__PURE__*/function () {
38
38
/**
39
39
* Retrieve Advanced analytics metrics
40
40
* ## Retrieve Advanced analytics metrics Retrieves Advanced analytics metrics based on the specified parameters. You can retrieve either daily or monthly metrics using the time_dimension parameter. >__Note__: Daily metrics are calculated and updated every three hours, starting at 1 a.m. in UTC. Meanwhile, monthly metrics are calculated after the last day of the month. https://sendbird.com/docs/chat/v3/platform-api/guides/advanced-analytics#2-retrieve-advanced-analytics-metrics ----------------------------
41
-
* @param {Object} opts Optional parameters
42
-
* @param {String} opts.apiToken
41
+
* @param {String} apiToken
43
42
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveAdvancedAnalyticsMetricsResponse} and HTTP response
varpostBody=null;// verify the required parameter 'apiToken' is set
50
+
51
+
if(apiToken===undefined||apiToken===null){
52
+
thrownewError("Missing the required parameter 'apiToken' when calling retrieveAdvancedAnalyticsMetrics");
53
+
}
54
+
52
55
varpathParams={};
53
56
varqueryParams={};
54
57
varheaderParams={
55
-
'Api-Token': opts['apiToken']
58
+
'Api-Token': apiToken
56
59
};
57
60
varformParams={};
58
61
varauthNames=[];
@@ -64,15 +67,14 @@ var AdvancedAnalyticsApi = /*#__PURE__*/function () {
64
67
/**
65
68
* Retrieve Advanced analytics metrics
66
69
* ## Retrieve Advanced analytics metrics Retrieves Advanced analytics metrics based on the specified parameters. You can retrieve either daily or monthly metrics using the time_dimension parameter. >__Note__: Daily metrics are calculated and updated every three hours, starting at 1 a.m. in UTC. Meanwhile, monthly metrics are calculated after the last day of the month. https://sendbird.com/docs/chat/v3/platform-api/guides/advanced-analytics#2-retrieve-advanced-analytics-metrics ----------------------------
67
-
* @param {Object} opts Optional parameters
68
-
* @param {String} opts.apiToken
70
+
* @param {String} apiToken
69
71
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RetrieveAdvancedAnalyticsMetricsResponse}
* ## Get detailed open rate of an announcement Retrieves the detailed open rate information of an announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-rate-of-an-announcement ---------------------------- `unique_id` Type: string Description: Specifies the unique ID of the announcement to get its open rate.
47
+
* @param {String} apiToken
48
+
* @param {String} uniqueId
49
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDetailedOpenRateOfAnnouncementByIdResponse} and HTTP response
* ## Get detailed open rate of an announcement Retrieves the detailed open rate information of an announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-rate-of-an-announcement ---------------------------- `unique_id` Type: string Description: Specifies the unique ID of the announcement to get its open rate.
84
+
* @param {String} apiToken
85
+
* @param {String} uniqueId
86
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDetailedOpenRateOfAnnouncementByIdResponse}
* ## Get detailed open rate of an announcement group Retrieves the detailed open rate information of an announcement group. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-rate-of-an-announcement-group ----------------------------
99
+
* @param {String} apiToken
100
+
* @param {String} announcementGroup
101
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDetailedOpenRateOfAnnouncementGroupResponse} and HTTP response
* ## Get detailed open rate of an announcement group Retrieves the detailed open rate information of an announcement group. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-rate-of-an-announcement-group ----------------------------
135
+
* @param {String} apiToken
136
+
* @param {String} announcementGroup
137
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDetailedOpenRateOfAnnouncementGroupResponse}
* ## Get detailed open status of an announcement Retrieves the detailed open status information of a specific announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-status-of-an-announcement ----------------------------
150
+
* @param {String} apiToken
151
+
* @param {String} uniqueId
152
+
* @param {Object} opts Optional parameters
153
+
* @param {Number} opts.limit
154
+
* @param {String} opts.next
155
+
* @param {Array.<String>} opts.uniqueIds
156
+
* @param {Array.<String>} opts.channelUrls
157
+
* @param {Boolean} opts.hasOpened
158
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDetailedOpenStatusOfAnnouncementByIdResponse} and HTTP response
* ## Get detailed open status of an announcement Retrieves the detailed open status information of a specific announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-get-detailed-open-status-of-an-announcement ----------------------------
199
+
* @param {String} apiToken
200
+
* @param {String} uniqueId
201
+
* @param {Object} opts Optional parameters
202
+
* @param {Number} opts.limit
203
+
* @param {String} opts.next
204
+
* @param {Array.<String>} opts.uniqueIds
205
+
* @param {Array.<String>} opts.channelUrls
206
+
* @param {Boolean} opts.hasOpened
207
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDetailedOpenStatusOfAnnouncementByIdResponse}
* ## View an announcement Retrieves information on a specific announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-view-an-announcement ----------------------------
220
+
* @param {String} apiToken
221
+
* @param {String} uniqueId
222
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ViewAnnouncementByIdResponse} and HTTP response
* ## View an announcement Retrieves information on a specific announcement. https://sendbird.com/docs/chat/v3/platform-api/guides/announcements#2-view-an-announcement ----------------------------
256
+
* @param {String} apiToken
257
+
* @param {String} uniqueId
258
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ViewAnnouncementByIdResponse}
0 commit comments