purecloud-platform-client-v2 174.0.0 → 176.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +804 -77
- package/dist/web-amd/purecloud-platform-client-v2.js +804 -77
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +804 -77
- package/dist/web-cjs/purecloud-platform-client-v2.js +804 -77
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +296 -7
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +120 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +605 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 176.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3358,7 +3358,7 @@ class AlertingApi {
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Alerting service.
|
|
3360
3360
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3361
|
-
* @version
|
|
3361
|
+
* @version 176.0.0
|
|
3362
3362
|
*/
|
|
3363
3363
|
|
|
3364
3364
|
/**
|
|
@@ -4008,7 +4008,7 @@ class AnalyticsApi {
|
|
|
4008
4008
|
/**
|
|
4009
4009
|
* Analytics service.
|
|
4010
4010
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
4011
|
-
* @version
|
|
4011
|
+
* @version 176.0.0
|
|
4012
4012
|
*/
|
|
4013
4013
|
|
|
4014
4014
|
/**
|
|
@@ -6454,7 +6454,7 @@ class ArchitectApi {
|
|
|
6454
6454
|
/**
|
|
6455
6455
|
* Architect service.
|
|
6456
6456
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6457
|
-
* @version
|
|
6457
|
+
* @version 176.0.0
|
|
6458
6458
|
*/
|
|
6459
6459
|
|
|
6460
6460
|
/**
|
|
@@ -8147,6 +8147,125 @@ class ArchitectApi {
|
|
|
8147
8147
|
);
|
|
8148
8148
|
}
|
|
8149
8149
|
|
|
8150
|
+
/**
|
|
8151
|
+
* Get overall health scores for all intents present in the NLU domain version associated with the bot flow version.
|
|
8152
|
+
*
|
|
8153
|
+
* @param {String} flowId Flow ID.
|
|
8154
|
+
* @param {String} versionId Version ID.
|
|
8155
|
+
* @param {Object} opts Optional parameters
|
|
8156
|
+
* @param {Object} opts.language Language to filter for
|
|
8157
|
+
*/
|
|
8158
|
+
getFlowVersionHealth(flowId, versionId, opts) {
|
|
8159
|
+
opts = opts || {};
|
|
8160
|
+
|
|
8161
|
+
// verify the required parameter 'flowId' is set
|
|
8162
|
+
if (flowId === undefined || flowId === null) {
|
|
8163
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionHealth';
|
|
8164
|
+
}
|
|
8165
|
+
// verify the required parameter 'versionId' is set
|
|
8166
|
+
if (versionId === undefined || versionId === null) {
|
|
8167
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionHealth';
|
|
8168
|
+
}
|
|
8169
|
+
|
|
8170
|
+
return this.apiClient.callApi(
|
|
8171
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/health',
|
|
8172
|
+
'GET',
|
|
8173
|
+
{ 'flowId': flowId,'versionId': versionId },
|
|
8174
|
+
{ 'language': opts['language'] },
|
|
8175
|
+
{ },
|
|
8176
|
+
{ },
|
|
8177
|
+
null,
|
|
8178
|
+
['PureCloud OAuth'],
|
|
8179
|
+
['application/json'],
|
|
8180
|
+
['application/json']
|
|
8181
|
+
);
|
|
8182
|
+
}
|
|
8183
|
+
|
|
8184
|
+
/**
|
|
8185
|
+
* Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent.
|
|
8186
|
+
*
|
|
8187
|
+
* @param {String} flowId Flow ID.
|
|
8188
|
+
* @param {String} versionId Version ID.
|
|
8189
|
+
* @param {String} intentId Intent ID.
|
|
8190
|
+
* @param {Object} language Language to filter for
|
|
8191
|
+
*/
|
|
8192
|
+
getFlowVersionIntentHealth(flowId, versionId, intentId, language) {
|
|
8193
|
+
// verify the required parameter 'flowId' is set
|
|
8194
|
+
if (flowId === undefined || flowId === null) {
|
|
8195
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';
|
|
8196
|
+
}
|
|
8197
|
+
// verify the required parameter 'versionId' is set
|
|
8198
|
+
if (versionId === undefined || versionId === null) {
|
|
8199
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';
|
|
8200
|
+
}
|
|
8201
|
+
// verify the required parameter 'intentId' is set
|
|
8202
|
+
if (intentId === undefined || intentId === null) {
|
|
8203
|
+
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';
|
|
8204
|
+
}
|
|
8205
|
+
// verify the required parameter 'language' is set
|
|
8206
|
+
if (language === undefined || language === null) {
|
|
8207
|
+
throw 'Missing the required parameter "language" when calling getFlowVersionIntentHealth';
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
return this.apiClient.callApi(
|
|
8211
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health',
|
|
8212
|
+
'GET',
|
|
8213
|
+
{ 'flowId': flowId,'versionId': versionId,'intentId': intentId },
|
|
8214
|
+
{ 'language': language },
|
|
8215
|
+
{ },
|
|
8216
|
+
{ },
|
|
8217
|
+
null,
|
|
8218
|
+
['PureCloud OAuth'],
|
|
8219
|
+
['application/json'],
|
|
8220
|
+
['application/json']
|
|
8221
|
+
);
|
|
8222
|
+
}
|
|
8223
|
+
|
|
8224
|
+
/**
|
|
8225
|
+
* Get health metrics associated with a specific utterance of an intent.
|
|
8226
|
+
*
|
|
8227
|
+
* @param {String} flowId Flow ID.
|
|
8228
|
+
* @param {String} versionId Version ID.
|
|
8229
|
+
* @param {String} intentId Intent ID.
|
|
8230
|
+
* @param {String} utteranceId Utterance ID.
|
|
8231
|
+
* @param {Object} language Language to filter for
|
|
8232
|
+
*/
|
|
8233
|
+
getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language) {
|
|
8234
|
+
// verify the required parameter 'flowId' is set
|
|
8235
|
+
if (flowId === undefined || flowId === null) {
|
|
8236
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';
|
|
8237
|
+
}
|
|
8238
|
+
// verify the required parameter 'versionId' is set
|
|
8239
|
+
if (versionId === undefined || versionId === null) {
|
|
8240
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';
|
|
8241
|
+
}
|
|
8242
|
+
// verify the required parameter 'intentId' is set
|
|
8243
|
+
if (intentId === undefined || intentId === null) {
|
|
8244
|
+
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';
|
|
8245
|
+
}
|
|
8246
|
+
// verify the required parameter 'utteranceId' is set
|
|
8247
|
+
if (utteranceId === undefined || utteranceId === null) {
|
|
8248
|
+
throw 'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';
|
|
8249
|
+
}
|
|
8250
|
+
// verify the required parameter 'language' is set
|
|
8251
|
+
if (language === undefined || language === null) {
|
|
8252
|
+
throw 'Missing the required parameter "language" when calling getFlowVersionIntentUtteranceHealth';
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
return this.apiClient.callApi(
|
|
8256
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health',
|
|
8257
|
+
'GET',
|
|
8258
|
+
{ 'flowId': flowId,'versionId': versionId,'intentId': intentId,'utteranceId': utteranceId },
|
|
8259
|
+
{ 'language': language },
|
|
8260
|
+
{ },
|
|
8261
|
+
{ },
|
|
8262
|
+
null,
|
|
8263
|
+
['PureCloud OAuth'],
|
|
8264
|
+
['application/json'],
|
|
8265
|
+
['application/json']
|
|
8266
|
+
);
|
|
8267
|
+
}
|
|
8268
|
+
|
|
8150
8269
|
/**
|
|
8151
8270
|
* Get flow version list
|
|
8152
8271
|
*
|
|
@@ -10135,7 +10254,7 @@ class AuditApi {
|
|
|
10135
10254
|
/**
|
|
10136
10255
|
* Audit service.
|
|
10137
10256
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10138
|
-
* @version
|
|
10257
|
+
* @version 176.0.0
|
|
10139
10258
|
*/
|
|
10140
10259
|
|
|
10141
10260
|
/**
|
|
@@ -10306,7 +10425,7 @@ class AuthorizationApi {
|
|
|
10306
10425
|
/**
|
|
10307
10426
|
* Authorization service.
|
|
10308
10427
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10309
|
-
* @version
|
|
10428
|
+
* @version 176.0.0
|
|
10310
10429
|
*/
|
|
10311
10430
|
|
|
10312
10431
|
/**
|
|
@@ -11537,7 +11656,7 @@ class BillingApi {
|
|
|
11537
11656
|
/**
|
|
11538
11657
|
* Billing service.
|
|
11539
11658
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11540
|
-
* @version
|
|
11659
|
+
* @version 176.0.0
|
|
11541
11660
|
*/
|
|
11542
11661
|
|
|
11543
11662
|
/**
|
|
@@ -11617,7 +11736,7 @@ class CarrierServicesApi {
|
|
|
11617
11736
|
/**
|
|
11618
11737
|
* CarrierServices service.
|
|
11619
11738
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11620
|
-
* @version
|
|
11739
|
+
* @version 176.0.0
|
|
11621
11740
|
*/
|
|
11622
11741
|
|
|
11623
11742
|
/**
|
|
@@ -11687,7 +11806,7 @@ class ChatApi {
|
|
|
11687
11806
|
/**
|
|
11688
11807
|
* Chat service.
|
|
11689
11808
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11690
|
-
* @version
|
|
11809
|
+
* @version 176.0.0
|
|
11691
11810
|
*/
|
|
11692
11811
|
|
|
11693
11812
|
/**
|
|
@@ -11702,6 +11821,130 @@ class ChatApi {
|
|
|
11702
11821
|
}
|
|
11703
11822
|
|
|
11704
11823
|
|
|
11824
|
+
/**
|
|
11825
|
+
* Delete a message in a room
|
|
11826
|
+
*
|
|
11827
|
+
* @param {String} roomJid roomId
|
|
11828
|
+
* @param {String} messageId messageId
|
|
11829
|
+
* deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11830
|
+
*/
|
|
11831
|
+
deleteChatsRoomMessage(roomJid, messageId) {
|
|
11832
|
+
// verify the required parameter 'roomJid' is set
|
|
11833
|
+
if (roomJid === undefined || roomJid === null) {
|
|
11834
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
|
|
11835
|
+
}
|
|
11836
|
+
// verify the required parameter 'messageId' is set
|
|
11837
|
+
if (messageId === undefined || messageId === null) {
|
|
11838
|
+
throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
|
|
11839
|
+
}
|
|
11840
|
+
|
|
11841
|
+
return this.apiClient.callApi(
|
|
11842
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
|
|
11843
|
+
'DELETE',
|
|
11844
|
+
{ 'roomJid': roomJid,'messageId': messageId },
|
|
11845
|
+
{ },
|
|
11846
|
+
{ },
|
|
11847
|
+
{ },
|
|
11848
|
+
null,
|
|
11849
|
+
['PureCloud OAuth'],
|
|
11850
|
+
['application/json'],
|
|
11851
|
+
['application/json']
|
|
11852
|
+
);
|
|
11853
|
+
}
|
|
11854
|
+
|
|
11855
|
+
/**
|
|
11856
|
+
* Remove a user from a room.
|
|
11857
|
+
*
|
|
11858
|
+
* @param {String} roomJid roomJid
|
|
11859
|
+
* @param {String} userId userId
|
|
11860
|
+
* deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11861
|
+
*/
|
|
11862
|
+
deleteChatsRoomParticipant(roomJid, userId) {
|
|
11863
|
+
// verify the required parameter 'roomJid' is set
|
|
11864
|
+
if (roomJid === undefined || roomJid === null) {
|
|
11865
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
|
|
11866
|
+
}
|
|
11867
|
+
// verify the required parameter 'userId' is set
|
|
11868
|
+
if (userId === undefined || userId === null) {
|
|
11869
|
+
throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
|
|
11870
|
+
}
|
|
11871
|
+
|
|
11872
|
+
return this.apiClient.callApi(
|
|
11873
|
+
'/api/v2/chats/rooms/{roomJid}/participants/{userId}',
|
|
11874
|
+
'DELETE',
|
|
11875
|
+
{ 'roomJid': roomJid,'userId': userId },
|
|
11876
|
+
{ },
|
|
11877
|
+
{ },
|
|
11878
|
+
{ },
|
|
11879
|
+
null,
|
|
11880
|
+
['PureCloud OAuth'],
|
|
11881
|
+
['application/json'],
|
|
11882
|
+
['application/json']
|
|
11883
|
+
);
|
|
11884
|
+
}
|
|
11885
|
+
|
|
11886
|
+
/**
|
|
11887
|
+
* Remove a pinned message from a room
|
|
11888
|
+
*
|
|
11889
|
+
* @param {String} roomJid roomJid
|
|
11890
|
+
* @param {String} pinnedMessageId pinnedMessageId
|
|
11891
|
+
* deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11892
|
+
*/
|
|
11893
|
+
deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
|
|
11894
|
+
// verify the required parameter 'roomJid' is set
|
|
11895
|
+
if (roomJid === undefined || roomJid === null) {
|
|
11896
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
|
|
11897
|
+
}
|
|
11898
|
+
// verify the required parameter 'pinnedMessageId' is set
|
|
11899
|
+
if (pinnedMessageId === undefined || pinnedMessageId === null) {
|
|
11900
|
+
throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
|
|
11901
|
+
}
|
|
11902
|
+
|
|
11903
|
+
return this.apiClient.callApi(
|
|
11904
|
+
'/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
|
|
11905
|
+
'DELETE',
|
|
11906
|
+
{ 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
|
|
11907
|
+
{ },
|
|
11908
|
+
{ },
|
|
11909
|
+
{ },
|
|
11910
|
+
null,
|
|
11911
|
+
['PureCloud OAuth'],
|
|
11912
|
+
['application/json'],
|
|
11913
|
+
['application/json']
|
|
11914
|
+
);
|
|
11915
|
+
}
|
|
11916
|
+
|
|
11917
|
+
/**
|
|
11918
|
+
* Delete a message to a user
|
|
11919
|
+
*
|
|
11920
|
+
* @param {String} userId userId
|
|
11921
|
+
* @param {String} messageId messageId
|
|
11922
|
+
* deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11923
|
+
*/
|
|
11924
|
+
deleteChatsUserMessage(userId, messageId) {
|
|
11925
|
+
// verify the required parameter 'userId' is set
|
|
11926
|
+
if (userId === undefined || userId === null) {
|
|
11927
|
+
throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
|
|
11928
|
+
}
|
|
11929
|
+
// verify the required parameter 'messageId' is set
|
|
11930
|
+
if (messageId === undefined || messageId === null) {
|
|
11931
|
+
throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
|
|
11932
|
+
}
|
|
11933
|
+
|
|
11934
|
+
return this.apiClient.callApi(
|
|
11935
|
+
'/api/v2/chats/users/{userId}/messages/{messageId}',
|
|
11936
|
+
'DELETE',
|
|
11937
|
+
{ 'userId': userId,'messageId': messageId },
|
|
11938
|
+
{ },
|
|
11939
|
+
{ },
|
|
11940
|
+
{ },
|
|
11941
|
+
null,
|
|
11942
|
+
['PureCloud OAuth'],
|
|
11943
|
+
['application/json'],
|
|
11944
|
+
['application/json']
|
|
11945
|
+
);
|
|
11946
|
+
}
|
|
11947
|
+
|
|
11705
11948
|
/**
|
|
11706
11949
|
* Get Chat Settings.
|
|
11707
11950
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -11723,6 +11966,127 @@ class ChatApi {
|
|
|
11723
11966
|
);
|
|
11724
11967
|
}
|
|
11725
11968
|
|
|
11969
|
+
/**
|
|
11970
|
+
* Get a message
|
|
11971
|
+
*
|
|
11972
|
+
* @param {String} messageId messageId
|
|
11973
|
+
* getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11974
|
+
*/
|
|
11975
|
+
getChatsMessage(messageId) {
|
|
11976
|
+
// verify the required parameter 'messageId' is set
|
|
11977
|
+
if (messageId === undefined || messageId === null) {
|
|
11978
|
+
throw 'Missing the required parameter "messageId" when calling getChatsMessage';
|
|
11979
|
+
}
|
|
11980
|
+
|
|
11981
|
+
return this.apiClient.callApi(
|
|
11982
|
+
'/api/v2/chats/messages/{messageId}',
|
|
11983
|
+
'GET',
|
|
11984
|
+
{ 'messageId': messageId },
|
|
11985
|
+
{ },
|
|
11986
|
+
{ },
|
|
11987
|
+
{ },
|
|
11988
|
+
null,
|
|
11989
|
+
['PureCloud OAuth'],
|
|
11990
|
+
['application/json'],
|
|
11991
|
+
['application/json']
|
|
11992
|
+
);
|
|
11993
|
+
}
|
|
11994
|
+
|
|
11995
|
+
/**
|
|
11996
|
+
* Get a room
|
|
11997
|
+
*
|
|
11998
|
+
* @param {String} roomJid roomJid
|
|
11999
|
+
* getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12000
|
+
*/
|
|
12001
|
+
getChatsRoom(roomJid) {
|
|
12002
|
+
// verify the required parameter 'roomJid' is set
|
|
12003
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12004
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
|
|
12005
|
+
}
|
|
12006
|
+
|
|
12007
|
+
return this.apiClient.callApi(
|
|
12008
|
+
'/api/v2/chats/rooms/{roomJid}',
|
|
12009
|
+
'GET',
|
|
12010
|
+
{ 'roomJid': roomJid },
|
|
12011
|
+
{ },
|
|
12012
|
+
{ },
|
|
12013
|
+
{ },
|
|
12014
|
+
null,
|
|
12015
|
+
['PureCloud OAuth'],
|
|
12016
|
+
['application/json'],
|
|
12017
|
+
['application/json']
|
|
12018
|
+
);
|
|
12019
|
+
}
|
|
12020
|
+
|
|
12021
|
+
/**
|
|
12022
|
+
* Get messages by id(s) from a room
|
|
12023
|
+
*
|
|
12024
|
+
* @param {String} roomJid roomJid
|
|
12025
|
+
* @param {String} messageIds messageIds, comma separated
|
|
12026
|
+
* getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12027
|
+
*/
|
|
12028
|
+
getChatsRoomMessage(roomJid, messageIds) {
|
|
12029
|
+
// verify the required parameter 'roomJid' is set
|
|
12030
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12031
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
|
|
12032
|
+
}
|
|
12033
|
+
// verify the required parameter 'messageIds' is set
|
|
12034
|
+
if (messageIds === undefined || messageIds === null) {
|
|
12035
|
+
throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
|
|
12036
|
+
}
|
|
12037
|
+
|
|
12038
|
+
return this.apiClient.callApi(
|
|
12039
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
|
|
12040
|
+
'GET',
|
|
12041
|
+
{ 'roomJid': roomJid,'messageIds': messageIds },
|
|
12042
|
+
{ },
|
|
12043
|
+
{ },
|
|
12044
|
+
{ },
|
|
12045
|
+
null,
|
|
12046
|
+
['PureCloud OAuth'],
|
|
12047
|
+
['application/json'],
|
|
12048
|
+
['application/json']
|
|
12049
|
+
);
|
|
12050
|
+
}
|
|
12051
|
+
|
|
12052
|
+
/**
|
|
12053
|
+
* Get a room's message history
|
|
12054
|
+
*
|
|
12055
|
+
* @param {String} roomJid roomJid
|
|
12056
|
+
* @param {Object} opts Optional parameters
|
|
12057
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
12058
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
12059
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
12060
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
12061
|
+
* @param {String} opts.nextPage next page token
|
|
12062
|
+
* @param {String} opts.previousPage Previous page token
|
|
12063
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
12064
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
12065
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
12066
|
+
* getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12067
|
+
*/
|
|
12068
|
+
getChatsRoomMessages(roomJid, opts) {
|
|
12069
|
+
opts = opts || {};
|
|
12070
|
+
|
|
12071
|
+
// verify the required parameter 'roomJid' is set
|
|
12072
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12073
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
|
|
12074
|
+
}
|
|
12075
|
+
|
|
12076
|
+
return this.apiClient.callApi(
|
|
12077
|
+
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
12078
|
+
'GET',
|
|
12079
|
+
{ 'roomJid': roomJid },
|
|
12080
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
12081
|
+
{ },
|
|
12082
|
+
{ },
|
|
12083
|
+
null,
|
|
12084
|
+
['PureCloud OAuth'],
|
|
12085
|
+
['application/json'],
|
|
12086
|
+
['application/json']
|
|
12087
|
+
);
|
|
12088
|
+
}
|
|
12089
|
+
|
|
11726
12090
|
/**
|
|
11727
12091
|
* Get Chat Settings.
|
|
11728
12092
|
*
|
|
@@ -11743,6 +12107,113 @@ class ChatApi {
|
|
|
11743
12107
|
);
|
|
11744
12108
|
}
|
|
11745
12109
|
|
|
12110
|
+
/**
|
|
12111
|
+
* Get history by thread
|
|
12112
|
+
*
|
|
12113
|
+
* @param {String} threadId threadId
|
|
12114
|
+
* @param {Object} opts Optional parameters
|
|
12115
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
12116
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
12117
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
12118
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
12119
|
+
* @param {String} opts.nextPage next page token
|
|
12120
|
+
* @param {String} opts.previousPage Previous page token
|
|
12121
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
12122
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
12123
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
12124
|
+
* getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12125
|
+
*/
|
|
12126
|
+
getChatsThreadMessages(threadId, opts) {
|
|
12127
|
+
opts = opts || {};
|
|
12128
|
+
|
|
12129
|
+
// verify the required parameter 'threadId' is set
|
|
12130
|
+
if (threadId === undefined || threadId === null) {
|
|
12131
|
+
throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
|
|
12132
|
+
}
|
|
12133
|
+
|
|
12134
|
+
return this.apiClient.callApi(
|
|
12135
|
+
'/api/v2/chats/threads/{threadId}/messages',
|
|
12136
|
+
'GET',
|
|
12137
|
+
{ 'threadId': threadId },
|
|
12138
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
12139
|
+
{ },
|
|
12140
|
+
{ },
|
|
12141
|
+
null,
|
|
12142
|
+
['PureCloud OAuth'],
|
|
12143
|
+
['application/json'],
|
|
12144
|
+
['application/json']
|
|
12145
|
+
);
|
|
12146
|
+
}
|
|
12147
|
+
|
|
12148
|
+
/**
|
|
12149
|
+
* Get messages by id(s) from a 1on1
|
|
12150
|
+
*
|
|
12151
|
+
* @param {String} userId userId
|
|
12152
|
+
* @param {String} messageIds messageIds, comma separated
|
|
12153
|
+
* getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12154
|
+
*/
|
|
12155
|
+
getChatsUserMessage(userId, messageIds) {
|
|
12156
|
+
// verify the required parameter 'userId' is set
|
|
12157
|
+
if (userId === undefined || userId === null) {
|
|
12158
|
+
throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
|
|
12159
|
+
}
|
|
12160
|
+
// verify the required parameter 'messageIds' is set
|
|
12161
|
+
if (messageIds === undefined || messageIds === null) {
|
|
12162
|
+
throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
|
|
12163
|
+
}
|
|
12164
|
+
|
|
12165
|
+
return this.apiClient.callApi(
|
|
12166
|
+
'/api/v2/chats/users/{userId}/messages/{messageIds}',
|
|
12167
|
+
'GET',
|
|
12168
|
+
{ 'userId': userId,'messageIds': messageIds },
|
|
12169
|
+
{ },
|
|
12170
|
+
{ },
|
|
12171
|
+
{ },
|
|
12172
|
+
null,
|
|
12173
|
+
['PureCloud OAuth'],
|
|
12174
|
+
['application/json'],
|
|
12175
|
+
['application/json']
|
|
12176
|
+
);
|
|
12177
|
+
}
|
|
12178
|
+
|
|
12179
|
+
/**
|
|
12180
|
+
* Get 1on1 History between a user
|
|
12181
|
+
*
|
|
12182
|
+
* @param {String} userId userId
|
|
12183
|
+
* @param {Object} opts Optional parameters
|
|
12184
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
12185
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
12186
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
12187
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
12188
|
+
* @param {String} opts.nextPage next page token
|
|
12189
|
+
* @param {String} opts.previousPage Previous page token
|
|
12190
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
12191
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
12192
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
12193
|
+
* getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12194
|
+
*/
|
|
12195
|
+
getChatsUserMessages(userId, opts) {
|
|
12196
|
+
opts = opts || {};
|
|
12197
|
+
|
|
12198
|
+
// verify the required parameter 'userId' is set
|
|
12199
|
+
if (userId === undefined || userId === null) {
|
|
12200
|
+
throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
|
|
12201
|
+
}
|
|
12202
|
+
|
|
12203
|
+
return this.apiClient.callApi(
|
|
12204
|
+
'/api/v2/chats/users/{userId}/messages',
|
|
12205
|
+
'GET',
|
|
12206
|
+
{ 'userId': userId },
|
|
12207
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
|
|
12208
|
+
{ },
|
|
12209
|
+
{ },
|
|
12210
|
+
null,
|
|
12211
|
+
['PureCloud OAuth'],
|
|
12212
|
+
['application/json'],
|
|
12213
|
+
['application/json']
|
|
12214
|
+
);
|
|
12215
|
+
}
|
|
12216
|
+
|
|
11746
12217
|
/**
|
|
11747
12218
|
* Patch Chat Settings.
|
|
11748
12219
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -11769,6 +12240,73 @@ class ChatApi {
|
|
|
11769
12240
|
);
|
|
11770
12241
|
}
|
|
11771
12242
|
|
|
12243
|
+
/**
|
|
12244
|
+
* Set properties for a room
|
|
12245
|
+
*
|
|
12246
|
+
* @param {String} roomJid roomJid
|
|
12247
|
+
* @param {Object} body Room properties
|
|
12248
|
+
* patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12249
|
+
*/
|
|
12250
|
+
patchChatsRoom(roomJid, body) {
|
|
12251
|
+
// verify the required parameter 'roomJid' is set
|
|
12252
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12253
|
+
throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
|
|
12254
|
+
}
|
|
12255
|
+
// verify the required parameter 'body' is set
|
|
12256
|
+
if (body === undefined || body === null) {
|
|
12257
|
+
throw 'Missing the required parameter "body" when calling patchChatsRoom';
|
|
12258
|
+
}
|
|
12259
|
+
|
|
12260
|
+
return this.apiClient.callApi(
|
|
12261
|
+
'/api/v2/chats/rooms/{roomJid}',
|
|
12262
|
+
'PATCH',
|
|
12263
|
+
{ 'roomJid': roomJid },
|
|
12264
|
+
{ },
|
|
12265
|
+
{ },
|
|
12266
|
+
{ },
|
|
12267
|
+
body,
|
|
12268
|
+
['PureCloud OAuth'],
|
|
12269
|
+
['application/json'],
|
|
12270
|
+
['application/json']
|
|
12271
|
+
);
|
|
12272
|
+
}
|
|
12273
|
+
|
|
12274
|
+
/**
|
|
12275
|
+
* Edit a message in a room
|
|
12276
|
+
*
|
|
12277
|
+
* @param {String} roomJid roomId
|
|
12278
|
+
* @param {String} messageId messageId
|
|
12279
|
+
* @param {Object} body messageBody
|
|
12280
|
+
* patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12281
|
+
*/
|
|
12282
|
+
patchChatsRoomMessage(roomJid, messageId, body) {
|
|
12283
|
+
// verify the required parameter 'roomJid' is set
|
|
12284
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12285
|
+
throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
|
|
12286
|
+
}
|
|
12287
|
+
// verify the required parameter 'messageId' is set
|
|
12288
|
+
if (messageId === undefined || messageId === null) {
|
|
12289
|
+
throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
|
|
12290
|
+
}
|
|
12291
|
+
// verify the required parameter 'body' is set
|
|
12292
|
+
if (body === undefined || body === null) {
|
|
12293
|
+
throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
|
|
12294
|
+
}
|
|
12295
|
+
|
|
12296
|
+
return this.apiClient.callApi(
|
|
12297
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
|
|
12298
|
+
'PATCH',
|
|
12299
|
+
{ 'roomJid': roomJid,'messageId': messageId },
|
|
12300
|
+
{ },
|
|
12301
|
+
{ },
|
|
12302
|
+
{ },
|
|
12303
|
+
body,
|
|
12304
|
+
['PureCloud OAuth'],
|
|
12305
|
+
['application/json'],
|
|
12306
|
+
['application/json']
|
|
12307
|
+
);
|
|
12308
|
+
}
|
|
12309
|
+
|
|
11772
12310
|
/**
|
|
11773
12311
|
* Patch Chat Settings.
|
|
11774
12312
|
*
|
|
@@ -11794,6 +12332,191 @@ class ChatApi {
|
|
|
11794
12332
|
);
|
|
11795
12333
|
}
|
|
11796
12334
|
|
|
12335
|
+
/**
|
|
12336
|
+
* Edit a message to a user
|
|
12337
|
+
*
|
|
12338
|
+
* @param {String} userId userId
|
|
12339
|
+
* @param {String} messageId messageId
|
|
12340
|
+
* @param {Object} body message body
|
|
12341
|
+
* patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12342
|
+
*/
|
|
12343
|
+
patchChatsUserMessage(userId, messageId, body) {
|
|
12344
|
+
// verify the required parameter 'userId' is set
|
|
12345
|
+
if (userId === undefined || userId === null) {
|
|
12346
|
+
throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
|
|
12347
|
+
}
|
|
12348
|
+
// verify the required parameter 'messageId' is set
|
|
12349
|
+
if (messageId === undefined || messageId === null) {
|
|
12350
|
+
throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
|
|
12351
|
+
}
|
|
12352
|
+
// verify the required parameter 'body' is set
|
|
12353
|
+
if (body === undefined || body === null) {
|
|
12354
|
+
throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
|
|
12355
|
+
}
|
|
12356
|
+
|
|
12357
|
+
return this.apiClient.callApi(
|
|
12358
|
+
'/api/v2/chats/users/{userId}/messages/{messageId}',
|
|
12359
|
+
'PATCH',
|
|
12360
|
+
{ 'userId': userId,'messageId': messageId },
|
|
12361
|
+
{ },
|
|
12362
|
+
{ },
|
|
12363
|
+
{ },
|
|
12364
|
+
body,
|
|
12365
|
+
['PureCloud OAuth'],
|
|
12366
|
+
['application/json'],
|
|
12367
|
+
['application/json']
|
|
12368
|
+
);
|
|
12369
|
+
}
|
|
12370
|
+
|
|
12371
|
+
/**
|
|
12372
|
+
* Send a message to a room
|
|
12373
|
+
*
|
|
12374
|
+
* @param {String} roomJid roomId
|
|
12375
|
+
* @param {Object} body messageBody
|
|
12376
|
+
* postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12377
|
+
*/
|
|
12378
|
+
postChatsRoomMessages(roomJid, body) {
|
|
12379
|
+
// verify the required parameter 'roomJid' is set
|
|
12380
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12381
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
|
|
12382
|
+
}
|
|
12383
|
+
// verify the required parameter 'body' is set
|
|
12384
|
+
if (body === undefined || body === null) {
|
|
12385
|
+
throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
|
|
12386
|
+
}
|
|
12387
|
+
|
|
12388
|
+
return this.apiClient.callApi(
|
|
12389
|
+
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
12390
|
+
'POST',
|
|
12391
|
+
{ 'roomJid': roomJid },
|
|
12392
|
+
{ },
|
|
12393
|
+
{ },
|
|
12394
|
+
{ },
|
|
12395
|
+
body,
|
|
12396
|
+
['PureCloud OAuth'],
|
|
12397
|
+
['application/json'],
|
|
12398
|
+
['application/json']
|
|
12399
|
+
);
|
|
12400
|
+
}
|
|
12401
|
+
|
|
12402
|
+
/**
|
|
12403
|
+
* Join a room
|
|
12404
|
+
*
|
|
12405
|
+
* @param {String} roomJid roomJid
|
|
12406
|
+
* @param {String} userId userId
|
|
12407
|
+
* postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12408
|
+
*/
|
|
12409
|
+
postChatsRoomParticipant(roomJid, userId) {
|
|
12410
|
+
// verify the required parameter 'roomJid' is set
|
|
12411
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12412
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
|
|
12413
|
+
}
|
|
12414
|
+
// verify the required parameter 'userId' is set
|
|
12415
|
+
if (userId === undefined || userId === null) {
|
|
12416
|
+
throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
|
|
12417
|
+
}
|
|
12418
|
+
|
|
12419
|
+
return this.apiClient.callApi(
|
|
12420
|
+
'/api/v2/chats/rooms/{roomJid}/participants/{userId}',
|
|
12421
|
+
'POST',
|
|
12422
|
+
{ 'roomJid': roomJid,'userId': userId },
|
|
12423
|
+
{ },
|
|
12424
|
+
{ },
|
|
12425
|
+
{ },
|
|
12426
|
+
null,
|
|
12427
|
+
['PureCloud OAuth'],
|
|
12428
|
+
['application/json'],
|
|
12429
|
+
['application/json']
|
|
12430
|
+
);
|
|
12431
|
+
}
|
|
12432
|
+
|
|
12433
|
+
/**
|
|
12434
|
+
* Add pinned messages for a room, up to a maximum of 5 pinned messages
|
|
12435
|
+
*
|
|
12436
|
+
* @param {String} roomJid roomJid
|
|
12437
|
+
* @param {Object} body Pinned Message Ids
|
|
12438
|
+
* postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12439
|
+
*/
|
|
12440
|
+
postChatsRoomPinnedmessages(roomJid, body) {
|
|
12441
|
+
// verify the required parameter 'roomJid' is set
|
|
12442
|
+
if (roomJid === undefined || roomJid === null) {
|
|
12443
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
|
|
12444
|
+
}
|
|
12445
|
+
// verify the required parameter 'body' is set
|
|
12446
|
+
if (body === undefined || body === null) {
|
|
12447
|
+
throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
|
|
12448
|
+
}
|
|
12449
|
+
|
|
12450
|
+
return this.apiClient.callApi(
|
|
12451
|
+
'/api/v2/chats/rooms/{roomJid}/pinnedmessages',
|
|
12452
|
+
'POST',
|
|
12453
|
+
{ 'roomJid': roomJid },
|
|
12454
|
+
{ },
|
|
12455
|
+
{ },
|
|
12456
|
+
{ },
|
|
12457
|
+
body,
|
|
12458
|
+
['PureCloud OAuth'],
|
|
12459
|
+
['application/json'],
|
|
12460
|
+
['application/json']
|
|
12461
|
+
);
|
|
12462
|
+
}
|
|
12463
|
+
|
|
12464
|
+
/**
|
|
12465
|
+
* Create an adhoc room
|
|
12466
|
+
*
|
|
12467
|
+
* @param {Object} opts Optional parameters
|
|
12468
|
+
* @param {Object} opts.body Room properties
|
|
12469
|
+
* postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12470
|
+
*/
|
|
12471
|
+
postChatsRooms(opts) {
|
|
12472
|
+
opts = opts || {};
|
|
12473
|
+
|
|
12474
|
+
|
|
12475
|
+
return this.apiClient.callApi(
|
|
12476
|
+
'/api/v2/chats/rooms',
|
|
12477
|
+
'POST',
|
|
12478
|
+
{ },
|
|
12479
|
+
{ },
|
|
12480
|
+
{ },
|
|
12481
|
+
{ },
|
|
12482
|
+
opts['body'],
|
|
12483
|
+
['PureCloud OAuth'],
|
|
12484
|
+
['application/json'],
|
|
12485
|
+
['application/json']
|
|
12486
|
+
);
|
|
12487
|
+
}
|
|
12488
|
+
|
|
12489
|
+
/**
|
|
12490
|
+
* Send a message to a user
|
|
12491
|
+
*
|
|
12492
|
+
* @param {String} userId userId
|
|
12493
|
+
* @param {Object} body message body
|
|
12494
|
+
* postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12495
|
+
*/
|
|
12496
|
+
postChatsUserMessages(userId, body) {
|
|
12497
|
+
// verify the required parameter 'userId' is set
|
|
12498
|
+
if (userId === undefined || userId === null) {
|
|
12499
|
+
throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
|
|
12500
|
+
}
|
|
12501
|
+
// verify the required parameter 'body' is set
|
|
12502
|
+
if (body === undefined || body === null) {
|
|
12503
|
+
throw 'Missing the required parameter "body" when calling postChatsUserMessages';
|
|
12504
|
+
}
|
|
12505
|
+
|
|
12506
|
+
return this.apiClient.callApi(
|
|
12507
|
+
'/api/v2/chats/users/{userId}/messages',
|
|
12508
|
+
'POST',
|
|
12509
|
+
{ 'userId': userId },
|
|
12510
|
+
{ },
|
|
12511
|
+
{ },
|
|
12512
|
+
{ },
|
|
12513
|
+
body,
|
|
12514
|
+
['PureCloud OAuth'],
|
|
12515
|
+
['application/json'],
|
|
12516
|
+
['application/json']
|
|
12517
|
+
);
|
|
12518
|
+
}
|
|
12519
|
+
|
|
11797
12520
|
/**
|
|
11798
12521
|
* Update Chat Settings.
|
|
11799
12522
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -11851,7 +12574,7 @@ class CoachingApi {
|
|
|
11851
12574
|
/**
|
|
11852
12575
|
* Coaching service.
|
|
11853
12576
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
11854
|
-
* @version
|
|
12577
|
+
* @version 176.0.0
|
|
11855
12578
|
*/
|
|
11856
12579
|
|
|
11857
12580
|
/**
|
|
@@ -12428,7 +13151,7 @@ class ContentManagementApi {
|
|
|
12428
13151
|
/**
|
|
12429
13152
|
* ContentManagement service.
|
|
12430
13153
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12431
|
-
* @version
|
|
13154
|
+
* @version 176.0.0
|
|
12432
13155
|
*/
|
|
12433
13156
|
|
|
12434
13157
|
/**
|
|
@@ -13571,7 +14294,7 @@ class ConversationsApi {
|
|
|
13571
14294
|
/**
|
|
13572
14295
|
* Conversations service.
|
|
13573
14296
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
13574
|
-
* @version
|
|
14297
|
+
* @version 176.0.0
|
|
13575
14298
|
*/
|
|
13576
14299
|
|
|
13577
14300
|
/**
|
|
@@ -20655,7 +21378,7 @@ class DataExtensionsApi {
|
|
|
20655
21378
|
/**
|
|
20656
21379
|
* DataExtensions service.
|
|
20657
21380
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20658
|
-
* @version
|
|
21381
|
+
* @version 176.0.0
|
|
20659
21382
|
*/
|
|
20660
21383
|
|
|
20661
21384
|
/**
|
|
@@ -20741,7 +21464,7 @@ class DownloadsApi {
|
|
|
20741
21464
|
/**
|
|
20742
21465
|
* Downloads service.
|
|
20743
21466
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
20744
|
-
* @version
|
|
21467
|
+
* @version 176.0.0
|
|
20745
21468
|
*/
|
|
20746
21469
|
|
|
20747
21470
|
/**
|
|
@@ -20793,7 +21516,7 @@ class EmailsApi {
|
|
|
20793
21516
|
/**
|
|
20794
21517
|
* Emails service.
|
|
20795
21518
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
20796
|
-
* @version
|
|
21519
|
+
* @version 176.0.0
|
|
20797
21520
|
*/
|
|
20798
21521
|
|
|
20799
21522
|
/**
|
|
@@ -20858,7 +21581,7 @@ class EventsApi {
|
|
|
20858
21581
|
/**
|
|
20859
21582
|
* Events service.
|
|
20860
21583
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
20861
|
-
* @version
|
|
21584
|
+
* @version 176.0.0
|
|
20862
21585
|
*/
|
|
20863
21586
|
|
|
20864
21587
|
/**
|
|
@@ -20954,7 +21677,7 @@ class ExternalContactsApi {
|
|
|
20954
21677
|
/**
|
|
20955
21678
|
* ExternalContacts service.
|
|
20956
21679
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20957
|
-
* @version
|
|
21680
|
+
* @version 176.0.0
|
|
20958
21681
|
*/
|
|
20959
21682
|
|
|
20960
21683
|
/**
|
|
@@ -22912,7 +23635,7 @@ class FaxApi {
|
|
|
22912
23635
|
/**
|
|
22913
23636
|
* Fax service.
|
|
22914
23637
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
22915
|
-
* @version
|
|
23638
|
+
* @version 176.0.0
|
|
22916
23639
|
*/
|
|
22917
23640
|
|
|
22918
23641
|
/**
|
|
@@ -23083,7 +23806,7 @@ class FlowsApi {
|
|
|
23083
23806
|
/**
|
|
23084
23807
|
* Flows service.
|
|
23085
23808
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23086
|
-
* @version
|
|
23809
|
+
* @version 176.0.0
|
|
23087
23810
|
*/
|
|
23088
23811
|
|
|
23089
23812
|
/**
|
|
@@ -23267,7 +23990,7 @@ class GamificationApi {
|
|
|
23267
23990
|
/**
|
|
23268
23991
|
* Gamification service.
|
|
23269
23992
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
23270
|
-
* @version
|
|
23993
|
+
* @version 176.0.0
|
|
23271
23994
|
*/
|
|
23272
23995
|
|
|
23273
23996
|
/**
|
|
@@ -25353,7 +26076,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
25353
26076
|
/**
|
|
25354
26077
|
* GeneralDataProtectionRegulation service.
|
|
25355
26078
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
25356
|
-
* @version
|
|
26079
|
+
* @version 176.0.0
|
|
25357
26080
|
*/
|
|
25358
26081
|
|
|
25359
26082
|
/**
|
|
@@ -25483,7 +26206,7 @@ class GeolocationApi {
|
|
|
25483
26206
|
/**
|
|
25484
26207
|
* Geolocation service.
|
|
25485
26208
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
25486
|
-
* @version
|
|
26209
|
+
* @version 176.0.0
|
|
25487
26210
|
*/
|
|
25488
26211
|
|
|
25489
26212
|
/**
|
|
@@ -25614,7 +26337,7 @@ class GreetingsApi {
|
|
|
25614
26337
|
/**
|
|
25615
26338
|
* Greetings service.
|
|
25616
26339
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
25617
|
-
* @version
|
|
26340
|
+
* @version 176.0.0
|
|
25618
26341
|
*/
|
|
25619
26342
|
|
|
25620
26343
|
/**
|
|
@@ -26069,7 +26792,7 @@ class GroupsApi {
|
|
|
26069
26792
|
/**
|
|
26070
26793
|
* Groups service.
|
|
26071
26794
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26072
|
-
* @version
|
|
26795
|
+
* @version 176.0.0
|
|
26073
26796
|
*/
|
|
26074
26797
|
|
|
26075
26798
|
/**
|
|
@@ -26588,7 +27311,7 @@ class IdentityProviderApi {
|
|
|
26588
27311
|
/**
|
|
26589
27312
|
* IdentityProvider service.
|
|
26590
27313
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
26591
|
-
* @version
|
|
27314
|
+
* @version 176.0.0
|
|
26592
27315
|
*/
|
|
26593
27316
|
|
|
26594
27317
|
/**
|
|
@@ -27344,7 +28067,7 @@ class InfrastructureAsCodeApi {
|
|
|
27344
28067
|
/**
|
|
27345
28068
|
* InfrastructureAsCode service.
|
|
27346
28069
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
27347
|
-
* @version
|
|
28070
|
+
* @version 176.0.0
|
|
27348
28071
|
*/
|
|
27349
28072
|
|
|
27350
28073
|
/**
|
|
@@ -27511,7 +28234,7 @@ class IntegrationsApi {
|
|
|
27511
28234
|
/**
|
|
27512
28235
|
* Integrations service.
|
|
27513
28236
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
27514
|
-
* @version
|
|
28237
|
+
* @version 176.0.0
|
|
27515
28238
|
*/
|
|
27516
28239
|
|
|
27517
28240
|
/**
|
|
@@ -29473,7 +30196,7 @@ class JourneyApi {
|
|
|
29473
30196
|
/**
|
|
29474
30197
|
* Journey service.
|
|
29475
30198
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
29476
|
-
* @version
|
|
30199
|
+
* @version 176.0.0
|
|
29477
30200
|
*/
|
|
29478
30201
|
|
|
29479
30202
|
/**
|
|
@@ -30637,7 +31360,7 @@ class KnowledgeApi {
|
|
|
30637
31360
|
/**
|
|
30638
31361
|
* Knowledge service.
|
|
30639
31362
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
30640
|
-
* @version
|
|
31363
|
+
* @version 176.0.0
|
|
30641
31364
|
*/
|
|
30642
31365
|
|
|
30643
31366
|
/**
|
|
@@ -33458,7 +34181,7 @@ class LanguageUnderstandingApi {
|
|
|
33458
34181
|
/**
|
|
33459
34182
|
* LanguageUnderstanding service.
|
|
33460
34183
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
33461
|
-
* @version
|
|
34184
|
+
* @version 176.0.0
|
|
33462
34185
|
*/
|
|
33463
34186
|
|
|
33464
34187
|
/**
|
|
@@ -34471,7 +35194,7 @@ class LanguagesApi {
|
|
|
34471
35194
|
/**
|
|
34472
35195
|
* Languages service.
|
|
34473
35196
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
34474
|
-
* @version
|
|
35197
|
+
* @version 176.0.0
|
|
34475
35198
|
*/
|
|
34476
35199
|
|
|
34477
35200
|
/**
|
|
@@ -34693,7 +35416,7 @@ class LearningApi {
|
|
|
34693
35416
|
/**
|
|
34694
35417
|
* Learning service.
|
|
34695
35418
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
34696
|
-
* @version
|
|
35419
|
+
* @version 176.0.0
|
|
34697
35420
|
*/
|
|
34698
35421
|
|
|
34699
35422
|
/**
|
|
@@ -35336,8 +36059,12 @@ class LearningApi {
|
|
|
35336
36059
|
* Publish a Learning module
|
|
35337
36060
|
*
|
|
35338
36061
|
* @param {String} moduleId The ID of the learning module
|
|
36062
|
+
* @param {Object} opts Optional parameters
|
|
36063
|
+
* @param {Object} opts.body The request body
|
|
35339
36064
|
*/
|
|
35340
|
-
postLearningModulePublish(moduleId) {
|
|
36065
|
+
postLearningModulePublish(moduleId, opts) {
|
|
36066
|
+
opts = opts || {};
|
|
36067
|
+
|
|
35341
36068
|
// verify the required parameter 'moduleId' is set
|
|
35342
36069
|
if (moduleId === undefined || moduleId === null) {
|
|
35343
36070
|
throw 'Missing the required parameter "moduleId" when calling postLearningModulePublish';
|
|
@@ -35350,7 +36077,7 @@ class LearningApi {
|
|
|
35350
36077
|
{ },
|
|
35351
36078
|
{ },
|
|
35352
36079
|
{ },
|
|
35353
|
-
|
|
36080
|
+
opts['body'],
|
|
35354
36081
|
['PureCloud OAuth'],
|
|
35355
36082
|
['application/json'],
|
|
35356
36083
|
['application/json']
|
|
@@ -35508,7 +36235,7 @@ class LicenseApi {
|
|
|
35508
36235
|
/**
|
|
35509
36236
|
* License service.
|
|
35510
36237
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
35511
|
-
* @version
|
|
36238
|
+
* @version 176.0.0
|
|
35512
36239
|
*/
|
|
35513
36240
|
|
|
35514
36241
|
/**
|
|
@@ -35746,7 +36473,7 @@ class LocationsApi {
|
|
|
35746
36473
|
/**
|
|
35747
36474
|
* Locations service.
|
|
35748
36475
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
35749
|
-
* @version
|
|
36476
|
+
* @version 176.0.0
|
|
35750
36477
|
*/
|
|
35751
36478
|
|
|
35752
36479
|
/**
|
|
@@ -35982,7 +36709,7 @@ class MessagingApi {
|
|
|
35982
36709
|
/**
|
|
35983
36710
|
* Messaging service.
|
|
35984
36711
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
35985
|
-
* @version
|
|
36712
|
+
* @version 176.0.0
|
|
35986
36713
|
*/
|
|
35987
36714
|
|
|
35988
36715
|
/**
|
|
@@ -36341,7 +37068,7 @@ class MobileDevicesApi {
|
|
|
36341
37068
|
/**
|
|
36342
37069
|
* MobileDevices service.
|
|
36343
37070
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36344
|
-
* @version
|
|
37071
|
+
* @version 176.0.0
|
|
36345
37072
|
*/
|
|
36346
37073
|
|
|
36347
37074
|
/**
|
|
@@ -36492,7 +37219,7 @@ class NotificationsApi {
|
|
|
36492
37219
|
/**
|
|
36493
37220
|
* Notifications service.
|
|
36494
37221
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
36495
|
-
* @version
|
|
37222
|
+
* @version 176.0.0
|
|
36496
37223
|
*/
|
|
36497
37224
|
|
|
36498
37225
|
/**
|
|
@@ -36725,7 +37452,7 @@ class OAuthApi {
|
|
|
36725
37452
|
/**
|
|
36726
37453
|
* OAuth service.
|
|
36727
37454
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
36728
|
-
* @version
|
|
37455
|
+
* @version 176.0.0
|
|
36729
37456
|
*/
|
|
36730
37457
|
|
|
36731
37458
|
/**
|
|
@@ -37091,7 +37818,7 @@ class ObjectsApi {
|
|
|
37091
37818
|
/**
|
|
37092
37819
|
* Objects service.
|
|
37093
37820
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37094
|
-
* @version
|
|
37821
|
+
* @version 176.0.0
|
|
37095
37822
|
*/
|
|
37096
37823
|
|
|
37097
37824
|
/**
|
|
@@ -37362,7 +38089,7 @@ class OrganizationApi {
|
|
|
37362
38089
|
/**
|
|
37363
38090
|
* Organization service.
|
|
37364
38091
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37365
|
-
* @version
|
|
38092
|
+
* @version 176.0.0
|
|
37366
38093
|
*/
|
|
37367
38094
|
|
|
37368
38095
|
/**
|
|
@@ -37817,7 +38544,7 @@ class OrganizationAuthorizationApi {
|
|
|
37817
38544
|
/**
|
|
37818
38545
|
* OrganizationAuthorization service.
|
|
37819
38546
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
37820
|
-
* @version
|
|
38547
|
+
* @version 176.0.0
|
|
37821
38548
|
*/
|
|
37822
38549
|
|
|
37823
38550
|
/**
|
|
@@ -39164,7 +39891,7 @@ class OutboundApi {
|
|
|
39164
39891
|
/**
|
|
39165
39892
|
* Outbound service.
|
|
39166
39893
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39167
|
-
* @version
|
|
39894
|
+
* @version 176.0.0
|
|
39168
39895
|
*/
|
|
39169
39896
|
|
|
39170
39897
|
/**
|
|
@@ -42786,7 +43513,7 @@ class PresenceApi {
|
|
|
42786
43513
|
/**
|
|
42787
43514
|
* Presence service.
|
|
42788
43515
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42789
|
-
* @version
|
|
43516
|
+
* @version 176.0.0
|
|
42790
43517
|
*/
|
|
42791
43518
|
|
|
42792
43519
|
/**
|
|
@@ -43525,7 +44252,7 @@ class ProcessAutomationApi {
|
|
|
43525
44252
|
/**
|
|
43526
44253
|
* ProcessAutomation service.
|
|
43527
44254
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43528
|
-
* @version
|
|
44255
|
+
* @version 176.0.0
|
|
43529
44256
|
*/
|
|
43530
44257
|
|
|
43531
44258
|
/**
|
|
@@ -43764,7 +44491,7 @@ class QualityApi {
|
|
|
43764
44491
|
/**
|
|
43765
44492
|
* Quality service.
|
|
43766
44493
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43767
|
-
* @version
|
|
44494
|
+
* @version 176.0.0
|
|
43768
44495
|
*/
|
|
43769
44496
|
|
|
43770
44497
|
/**
|
|
@@ -45518,7 +46245,7 @@ class RecordingApi {
|
|
|
45518
46245
|
/**
|
|
45519
46246
|
* Recording service.
|
|
45520
46247
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
45521
|
-
* @version
|
|
46248
|
+
* @version 176.0.0
|
|
45522
46249
|
*/
|
|
45523
46250
|
|
|
45524
46251
|
/**
|
|
@@ -47155,7 +47882,7 @@ class ResponseManagementApi {
|
|
|
47155
47882
|
/**
|
|
47156
47883
|
* ResponseManagement service.
|
|
47157
47884
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
47158
|
-
* @version
|
|
47885
|
+
* @version 176.0.0
|
|
47159
47886
|
*/
|
|
47160
47887
|
|
|
47161
47888
|
/**
|
|
@@ -47640,7 +48367,7 @@ class RoutingApi {
|
|
|
47640
48367
|
/**
|
|
47641
48368
|
* Routing service.
|
|
47642
48369
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47643
|
-
* @version
|
|
48370
|
+
* @version 176.0.0
|
|
47644
48371
|
*/
|
|
47645
48372
|
|
|
47646
48373
|
/**
|
|
@@ -49698,8 +50425,8 @@ class RoutingApi {
|
|
|
49698
50425
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
49699
50426
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
49700
50427
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
49701
|
-
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
49702
50428
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
50429
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
49703
50430
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
49704
50431
|
*/
|
|
49705
50432
|
getRoutingWrapupcodes(opts) {
|
|
@@ -49710,7 +50437,7 @@ class RoutingApi {
|
|
|
49710
50437
|
'/api/v2/routing/wrapupcodes',
|
|
49711
50438
|
'GET',
|
|
49712
50439
|
{ },
|
|
49713
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'
|
|
50440
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
49714
50441
|
{ },
|
|
49715
50442
|
{ },
|
|
49716
50443
|
null,
|
|
@@ -51348,7 +52075,7 @@ class SCIMApi {
|
|
|
51348
52075
|
/**
|
|
51349
52076
|
* SCIM service.
|
|
51350
52077
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
51351
|
-
* @version
|
|
52078
|
+
* @version 176.0.0
|
|
51352
52079
|
*/
|
|
51353
52080
|
|
|
51354
52081
|
/**
|
|
@@ -52225,7 +52952,7 @@ class ScriptsApi {
|
|
|
52225
52952
|
/**
|
|
52226
52953
|
* Scripts service.
|
|
52227
52954
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
52228
|
-
* @version
|
|
52955
|
+
* @version 176.0.0
|
|
52229
52956
|
*/
|
|
52230
52957
|
|
|
52231
52958
|
/**
|
|
@@ -52669,7 +53396,7 @@ class SearchApi {
|
|
|
52669
53396
|
/**
|
|
52670
53397
|
* Search service.
|
|
52671
53398
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
52672
|
-
* @version
|
|
53399
|
+
* @version 176.0.0
|
|
52673
53400
|
*/
|
|
52674
53401
|
|
|
52675
53402
|
/**
|
|
@@ -53358,7 +54085,7 @@ class SettingsApi {
|
|
|
53358
54085
|
/**
|
|
53359
54086
|
* Settings service.
|
|
53360
54087
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
53361
|
-
* @version
|
|
54088
|
+
* @version 176.0.0
|
|
53362
54089
|
*/
|
|
53363
54090
|
|
|
53364
54091
|
/**
|
|
@@ -53423,7 +54150,7 @@ class SpeechTextAnalyticsApi {
|
|
|
53423
54150
|
/**
|
|
53424
54151
|
* SpeechTextAnalytics service.
|
|
53425
54152
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
53426
|
-
* @version
|
|
54153
|
+
* @version 176.0.0
|
|
53427
54154
|
*/
|
|
53428
54155
|
|
|
53429
54156
|
/**
|
|
@@ -54406,7 +55133,7 @@ class StationsApi {
|
|
|
54406
55133
|
/**
|
|
54407
55134
|
* Stations service.
|
|
54408
55135
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
54409
|
-
* @version
|
|
55136
|
+
* @version 176.0.0
|
|
54410
55137
|
*/
|
|
54411
55138
|
|
|
54412
55139
|
/**
|
|
@@ -54508,7 +55235,7 @@ class SuggestApi {
|
|
|
54508
55235
|
/**
|
|
54509
55236
|
* Suggest service.
|
|
54510
55237
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
54511
|
-
* @version
|
|
55238
|
+
* @version 176.0.0
|
|
54512
55239
|
*/
|
|
54513
55240
|
|
|
54514
55241
|
/**
|
|
@@ -54647,7 +55374,7 @@ class TaskManagementApi {
|
|
|
54647
55374
|
/**
|
|
54648
55375
|
* TaskManagement service.
|
|
54649
55376
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
54650
|
-
* @version
|
|
55377
|
+
* @version 176.0.0
|
|
54651
55378
|
*/
|
|
54652
55379
|
|
|
54653
55380
|
/**
|
|
@@ -55928,7 +56655,7 @@ class TeamsApi {
|
|
|
55928
56655
|
/**
|
|
55929
56656
|
* Teams service.
|
|
55930
56657
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
55931
|
-
* @version
|
|
56658
|
+
* @version 176.0.0
|
|
55932
56659
|
*/
|
|
55933
56660
|
|
|
55934
56661
|
/**
|
|
@@ -56230,7 +56957,7 @@ class TelephonyApi {
|
|
|
56230
56957
|
/**
|
|
56231
56958
|
* Telephony service.
|
|
56232
56959
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
56233
|
-
* @version
|
|
56960
|
+
* @version 176.0.0
|
|
56234
56961
|
*/
|
|
56235
56962
|
|
|
56236
56963
|
/**
|
|
@@ -56358,7 +57085,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
56358
57085
|
/**
|
|
56359
57086
|
* TelephonyProvidersEdge service.
|
|
56360
57087
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
56361
|
-
* @version
|
|
57088
|
+
* @version 176.0.0
|
|
56362
57089
|
*/
|
|
56363
57090
|
|
|
56364
57091
|
/**
|
|
@@ -59647,7 +60374,7 @@ class TextbotsApi {
|
|
|
59647
60374
|
/**
|
|
59648
60375
|
* Textbots service.
|
|
59649
60376
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
59650
|
-
* @version
|
|
60377
|
+
* @version 176.0.0
|
|
59651
60378
|
*/
|
|
59652
60379
|
|
|
59653
60380
|
/**
|
|
@@ -59775,7 +60502,7 @@ class TokensApi {
|
|
|
59775
60502
|
/**
|
|
59776
60503
|
* Tokens service.
|
|
59777
60504
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
59778
|
-
* @version
|
|
60505
|
+
* @version 176.0.0
|
|
59779
60506
|
*/
|
|
59780
60507
|
|
|
59781
60508
|
/**
|
|
@@ -59931,7 +60658,7 @@ class UploadsApi {
|
|
|
59931
60658
|
/**
|
|
59932
60659
|
* Uploads service.
|
|
59933
60660
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
59934
|
-
* @version
|
|
60661
|
+
* @version 176.0.0
|
|
59935
60662
|
*/
|
|
59936
60663
|
|
|
59937
60664
|
/**
|
|
@@ -60107,7 +60834,7 @@ class UsageApi {
|
|
|
60107
60834
|
/**
|
|
60108
60835
|
* Usage service.
|
|
60109
60836
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
60110
|
-
* @version
|
|
60837
|
+
* @version 176.0.0
|
|
60111
60838
|
*/
|
|
60112
60839
|
|
|
60113
60840
|
/**
|
|
@@ -60317,7 +61044,7 @@ class UserRecordingsApi {
|
|
|
60317
61044
|
/**
|
|
60318
61045
|
* UserRecordings service.
|
|
60319
61046
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
60320
|
-
* @version
|
|
61047
|
+
* @version 176.0.0
|
|
60321
61048
|
*/
|
|
60322
61049
|
|
|
60323
61050
|
/**
|
|
@@ -60502,7 +61229,7 @@ class UsersApi {
|
|
|
60502
61229
|
/**
|
|
60503
61230
|
* Users service.
|
|
60504
61231
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
60505
|
-
* @version
|
|
61232
|
+
* @version 176.0.0
|
|
60506
61233
|
*/
|
|
60507
61234
|
|
|
60508
61235
|
/**
|
|
@@ -63063,7 +63790,7 @@ class UtilitiesApi {
|
|
|
63063
63790
|
/**
|
|
63064
63791
|
* Utilities service.
|
|
63065
63792
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
63066
|
-
* @version
|
|
63793
|
+
* @version 176.0.0
|
|
63067
63794
|
*/
|
|
63068
63795
|
|
|
63069
63796
|
/**
|
|
@@ -63174,7 +63901,7 @@ class VoicemailApi {
|
|
|
63174
63901
|
/**
|
|
63175
63902
|
* Voicemail service.
|
|
63176
63903
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
63177
|
-
* @version
|
|
63904
|
+
* @version 176.0.0
|
|
63178
63905
|
*/
|
|
63179
63906
|
|
|
63180
63907
|
/**
|
|
@@ -63841,7 +64568,7 @@ class WebChatApi {
|
|
|
63841
64568
|
/**
|
|
63842
64569
|
* WebChat service.
|
|
63843
64570
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
63844
|
-
* @version
|
|
64571
|
+
* @version 176.0.0
|
|
63845
64572
|
*/
|
|
63846
64573
|
|
|
63847
64574
|
/**
|
|
@@ -64390,7 +65117,7 @@ class WebDeploymentsApi {
|
|
|
64390
65117
|
/**
|
|
64391
65118
|
* WebDeployments service.
|
|
64392
65119
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
64393
|
-
* @version
|
|
65120
|
+
* @version 176.0.0
|
|
64394
65121
|
*/
|
|
64395
65122
|
|
|
64396
65123
|
/**
|
|
@@ -64917,7 +65644,7 @@ class WebMessagingApi {
|
|
|
64917
65644
|
/**
|
|
64918
65645
|
* WebMessaging service.
|
|
64919
65646
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
64920
|
-
* @version
|
|
65647
|
+
* @version 176.0.0
|
|
64921
65648
|
*/
|
|
64922
65649
|
|
|
64923
65650
|
/**
|
|
@@ -64963,7 +65690,7 @@ class WidgetsApi {
|
|
|
64963
65690
|
/**
|
|
64964
65691
|
* Widgets service.
|
|
64965
65692
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
64966
|
-
* @version
|
|
65693
|
+
* @version 176.0.0
|
|
64967
65694
|
*/
|
|
64968
65695
|
|
|
64969
65696
|
/**
|
|
@@ -65109,7 +65836,7 @@ class WorkforceManagementApi {
|
|
|
65109
65836
|
/**
|
|
65110
65837
|
* WorkforceManagement service.
|
|
65111
65838
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
65112
|
-
* @version
|
|
65839
|
+
* @version 176.0.0
|
|
65113
65840
|
*/
|
|
65114
65841
|
|
|
65115
65842
|
/**
|
|
@@ -70273,7 +71000,7 @@ class WorkforceManagementApi {
|
|
|
70273
71000
|
* </pre>
|
|
70274
71001
|
* </p>
|
|
70275
71002
|
* @module purecloud-platform-client-v2/index
|
|
70276
|
-
* @version
|
|
71003
|
+
* @version 176.0.0
|
|
70277
71004
|
*/
|
|
70278
71005
|
class platformClient {
|
|
70279
71006
|
constructor() {
|