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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 176.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1488,7 +1488,7 @@ class AlertingApi {
|
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Alerting service.
|
|
1490
1490
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1491
|
-
* @version
|
|
1491
|
+
* @version 176.0.0
|
|
1492
1492
|
*/
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
@@ -2138,7 +2138,7 @@ class AnalyticsApi {
|
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Analytics service.
|
|
2140
2140
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2141
|
-
* @version
|
|
2141
|
+
* @version 176.0.0
|
|
2142
2142
|
*/
|
|
2143
2143
|
|
|
2144
2144
|
/**
|
|
@@ -4584,7 +4584,7 @@ class ArchitectApi {
|
|
|
4584
4584
|
/**
|
|
4585
4585
|
* Architect service.
|
|
4586
4586
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4587
|
-
* @version
|
|
4587
|
+
* @version 176.0.0
|
|
4588
4588
|
*/
|
|
4589
4589
|
|
|
4590
4590
|
/**
|
|
@@ -6277,6 +6277,125 @@ class ArchitectApi {
|
|
|
6277
6277
|
);
|
|
6278
6278
|
}
|
|
6279
6279
|
|
|
6280
|
+
/**
|
|
6281
|
+
* Get overall health scores for all intents present in the NLU domain version associated with the bot flow version.
|
|
6282
|
+
*
|
|
6283
|
+
* @param {String} flowId Flow ID.
|
|
6284
|
+
* @param {String} versionId Version ID.
|
|
6285
|
+
* @param {Object} opts Optional parameters
|
|
6286
|
+
* @param {Object} opts.language Language to filter for
|
|
6287
|
+
*/
|
|
6288
|
+
getFlowVersionHealth(flowId, versionId, opts) {
|
|
6289
|
+
opts = opts || {};
|
|
6290
|
+
|
|
6291
|
+
// verify the required parameter 'flowId' is set
|
|
6292
|
+
if (flowId === undefined || flowId === null) {
|
|
6293
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionHealth';
|
|
6294
|
+
}
|
|
6295
|
+
// verify the required parameter 'versionId' is set
|
|
6296
|
+
if (versionId === undefined || versionId === null) {
|
|
6297
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionHealth';
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
return this.apiClient.callApi(
|
|
6301
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/health',
|
|
6302
|
+
'GET',
|
|
6303
|
+
{ 'flowId': flowId,'versionId': versionId },
|
|
6304
|
+
{ 'language': opts['language'] },
|
|
6305
|
+
{ },
|
|
6306
|
+
{ },
|
|
6307
|
+
null,
|
|
6308
|
+
['PureCloud OAuth'],
|
|
6309
|
+
['application/json'],
|
|
6310
|
+
['application/json']
|
|
6311
|
+
);
|
|
6312
|
+
}
|
|
6313
|
+
|
|
6314
|
+
/**
|
|
6315
|
+
* Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent.
|
|
6316
|
+
*
|
|
6317
|
+
* @param {String} flowId Flow ID.
|
|
6318
|
+
* @param {String} versionId Version ID.
|
|
6319
|
+
* @param {String} intentId Intent ID.
|
|
6320
|
+
* @param {Object} language Language to filter for
|
|
6321
|
+
*/
|
|
6322
|
+
getFlowVersionIntentHealth(flowId, versionId, intentId, language) {
|
|
6323
|
+
// verify the required parameter 'flowId' is set
|
|
6324
|
+
if (flowId === undefined || flowId === null) {
|
|
6325
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';
|
|
6326
|
+
}
|
|
6327
|
+
// verify the required parameter 'versionId' is set
|
|
6328
|
+
if (versionId === undefined || versionId === null) {
|
|
6329
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';
|
|
6330
|
+
}
|
|
6331
|
+
// verify the required parameter 'intentId' is set
|
|
6332
|
+
if (intentId === undefined || intentId === null) {
|
|
6333
|
+
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';
|
|
6334
|
+
}
|
|
6335
|
+
// verify the required parameter 'language' is set
|
|
6336
|
+
if (language === undefined || language === null) {
|
|
6337
|
+
throw 'Missing the required parameter "language" when calling getFlowVersionIntentHealth';
|
|
6338
|
+
}
|
|
6339
|
+
|
|
6340
|
+
return this.apiClient.callApi(
|
|
6341
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health',
|
|
6342
|
+
'GET',
|
|
6343
|
+
{ 'flowId': flowId,'versionId': versionId,'intentId': intentId },
|
|
6344
|
+
{ 'language': language },
|
|
6345
|
+
{ },
|
|
6346
|
+
{ },
|
|
6347
|
+
null,
|
|
6348
|
+
['PureCloud OAuth'],
|
|
6349
|
+
['application/json'],
|
|
6350
|
+
['application/json']
|
|
6351
|
+
);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
/**
|
|
6355
|
+
* Get health metrics associated with a specific utterance of an intent.
|
|
6356
|
+
*
|
|
6357
|
+
* @param {String} flowId Flow ID.
|
|
6358
|
+
* @param {String} versionId Version ID.
|
|
6359
|
+
* @param {String} intentId Intent ID.
|
|
6360
|
+
* @param {String} utteranceId Utterance ID.
|
|
6361
|
+
* @param {Object} language Language to filter for
|
|
6362
|
+
*/
|
|
6363
|
+
getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language) {
|
|
6364
|
+
// verify the required parameter 'flowId' is set
|
|
6365
|
+
if (flowId === undefined || flowId === null) {
|
|
6366
|
+
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';
|
|
6367
|
+
}
|
|
6368
|
+
// verify the required parameter 'versionId' is set
|
|
6369
|
+
if (versionId === undefined || versionId === null) {
|
|
6370
|
+
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';
|
|
6371
|
+
}
|
|
6372
|
+
// verify the required parameter 'intentId' is set
|
|
6373
|
+
if (intentId === undefined || intentId === null) {
|
|
6374
|
+
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';
|
|
6375
|
+
}
|
|
6376
|
+
// verify the required parameter 'utteranceId' is set
|
|
6377
|
+
if (utteranceId === undefined || utteranceId === null) {
|
|
6378
|
+
throw 'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';
|
|
6379
|
+
}
|
|
6380
|
+
// verify the required parameter 'language' is set
|
|
6381
|
+
if (language === undefined || language === null) {
|
|
6382
|
+
throw 'Missing the required parameter "language" when calling getFlowVersionIntentUtteranceHealth';
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
return this.apiClient.callApi(
|
|
6386
|
+
'/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health',
|
|
6387
|
+
'GET',
|
|
6388
|
+
{ 'flowId': flowId,'versionId': versionId,'intentId': intentId,'utteranceId': utteranceId },
|
|
6389
|
+
{ 'language': language },
|
|
6390
|
+
{ },
|
|
6391
|
+
{ },
|
|
6392
|
+
null,
|
|
6393
|
+
['PureCloud OAuth'],
|
|
6394
|
+
['application/json'],
|
|
6395
|
+
['application/json']
|
|
6396
|
+
);
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6280
6399
|
/**
|
|
6281
6400
|
* Get flow version list
|
|
6282
6401
|
*
|
|
@@ -8265,7 +8384,7 @@ class AuditApi {
|
|
|
8265
8384
|
/**
|
|
8266
8385
|
* Audit service.
|
|
8267
8386
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8268
|
-
* @version
|
|
8387
|
+
* @version 176.0.0
|
|
8269
8388
|
*/
|
|
8270
8389
|
|
|
8271
8390
|
/**
|
|
@@ -8436,7 +8555,7 @@ class AuthorizationApi {
|
|
|
8436
8555
|
/**
|
|
8437
8556
|
* Authorization service.
|
|
8438
8557
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8439
|
-
* @version
|
|
8558
|
+
* @version 176.0.0
|
|
8440
8559
|
*/
|
|
8441
8560
|
|
|
8442
8561
|
/**
|
|
@@ -9667,7 +9786,7 @@ class BillingApi {
|
|
|
9667
9786
|
/**
|
|
9668
9787
|
* Billing service.
|
|
9669
9788
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9670
|
-
* @version
|
|
9789
|
+
* @version 176.0.0
|
|
9671
9790
|
*/
|
|
9672
9791
|
|
|
9673
9792
|
/**
|
|
@@ -9747,7 +9866,7 @@ class CarrierServicesApi {
|
|
|
9747
9866
|
/**
|
|
9748
9867
|
* CarrierServices service.
|
|
9749
9868
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9750
|
-
* @version
|
|
9869
|
+
* @version 176.0.0
|
|
9751
9870
|
*/
|
|
9752
9871
|
|
|
9753
9872
|
/**
|
|
@@ -9817,7 +9936,7 @@ class ChatApi {
|
|
|
9817
9936
|
/**
|
|
9818
9937
|
* Chat service.
|
|
9819
9938
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9820
|
-
* @version
|
|
9939
|
+
* @version 176.0.0
|
|
9821
9940
|
*/
|
|
9822
9941
|
|
|
9823
9942
|
/**
|
|
@@ -9832,6 +9951,130 @@ class ChatApi {
|
|
|
9832
9951
|
}
|
|
9833
9952
|
|
|
9834
9953
|
|
|
9954
|
+
/**
|
|
9955
|
+
* Delete a message in a room
|
|
9956
|
+
*
|
|
9957
|
+
* @param {String} roomJid roomId
|
|
9958
|
+
* @param {String} messageId messageId
|
|
9959
|
+
* deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9960
|
+
*/
|
|
9961
|
+
deleteChatsRoomMessage(roomJid, messageId) {
|
|
9962
|
+
// verify the required parameter 'roomJid' is set
|
|
9963
|
+
if (roomJid === undefined || roomJid === null) {
|
|
9964
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
|
|
9965
|
+
}
|
|
9966
|
+
// verify the required parameter 'messageId' is set
|
|
9967
|
+
if (messageId === undefined || messageId === null) {
|
|
9968
|
+
throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
|
|
9969
|
+
}
|
|
9970
|
+
|
|
9971
|
+
return this.apiClient.callApi(
|
|
9972
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
|
|
9973
|
+
'DELETE',
|
|
9974
|
+
{ 'roomJid': roomJid,'messageId': messageId },
|
|
9975
|
+
{ },
|
|
9976
|
+
{ },
|
|
9977
|
+
{ },
|
|
9978
|
+
null,
|
|
9979
|
+
['PureCloud OAuth'],
|
|
9980
|
+
['application/json'],
|
|
9981
|
+
['application/json']
|
|
9982
|
+
);
|
|
9983
|
+
}
|
|
9984
|
+
|
|
9985
|
+
/**
|
|
9986
|
+
* Remove a user from a room.
|
|
9987
|
+
*
|
|
9988
|
+
* @param {String} roomJid roomJid
|
|
9989
|
+
* @param {String} userId userId
|
|
9990
|
+
* deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9991
|
+
*/
|
|
9992
|
+
deleteChatsRoomParticipant(roomJid, userId) {
|
|
9993
|
+
// verify the required parameter 'roomJid' is set
|
|
9994
|
+
if (roomJid === undefined || roomJid === null) {
|
|
9995
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
|
|
9996
|
+
}
|
|
9997
|
+
// verify the required parameter 'userId' is set
|
|
9998
|
+
if (userId === undefined || userId === null) {
|
|
9999
|
+
throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
|
|
10000
|
+
}
|
|
10001
|
+
|
|
10002
|
+
return this.apiClient.callApi(
|
|
10003
|
+
'/api/v2/chats/rooms/{roomJid}/participants/{userId}',
|
|
10004
|
+
'DELETE',
|
|
10005
|
+
{ 'roomJid': roomJid,'userId': userId },
|
|
10006
|
+
{ },
|
|
10007
|
+
{ },
|
|
10008
|
+
{ },
|
|
10009
|
+
null,
|
|
10010
|
+
['PureCloud OAuth'],
|
|
10011
|
+
['application/json'],
|
|
10012
|
+
['application/json']
|
|
10013
|
+
);
|
|
10014
|
+
}
|
|
10015
|
+
|
|
10016
|
+
/**
|
|
10017
|
+
* Remove a pinned message from a room
|
|
10018
|
+
*
|
|
10019
|
+
* @param {String} roomJid roomJid
|
|
10020
|
+
* @param {String} pinnedMessageId pinnedMessageId
|
|
10021
|
+
* deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10022
|
+
*/
|
|
10023
|
+
deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
|
|
10024
|
+
// verify the required parameter 'roomJid' is set
|
|
10025
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10026
|
+
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
|
|
10027
|
+
}
|
|
10028
|
+
// verify the required parameter 'pinnedMessageId' is set
|
|
10029
|
+
if (pinnedMessageId === undefined || pinnedMessageId === null) {
|
|
10030
|
+
throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10033
|
+
return this.apiClient.callApi(
|
|
10034
|
+
'/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
|
|
10035
|
+
'DELETE',
|
|
10036
|
+
{ 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
|
|
10037
|
+
{ },
|
|
10038
|
+
{ },
|
|
10039
|
+
{ },
|
|
10040
|
+
null,
|
|
10041
|
+
['PureCloud OAuth'],
|
|
10042
|
+
['application/json'],
|
|
10043
|
+
['application/json']
|
|
10044
|
+
);
|
|
10045
|
+
}
|
|
10046
|
+
|
|
10047
|
+
/**
|
|
10048
|
+
* Delete a message to a user
|
|
10049
|
+
*
|
|
10050
|
+
* @param {String} userId userId
|
|
10051
|
+
* @param {String} messageId messageId
|
|
10052
|
+
* deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10053
|
+
*/
|
|
10054
|
+
deleteChatsUserMessage(userId, messageId) {
|
|
10055
|
+
// verify the required parameter 'userId' is set
|
|
10056
|
+
if (userId === undefined || userId === null) {
|
|
10057
|
+
throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
|
|
10058
|
+
}
|
|
10059
|
+
// verify the required parameter 'messageId' is set
|
|
10060
|
+
if (messageId === undefined || messageId === null) {
|
|
10061
|
+
throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
|
|
10062
|
+
}
|
|
10063
|
+
|
|
10064
|
+
return this.apiClient.callApi(
|
|
10065
|
+
'/api/v2/chats/users/{userId}/messages/{messageId}',
|
|
10066
|
+
'DELETE',
|
|
10067
|
+
{ 'userId': userId,'messageId': messageId },
|
|
10068
|
+
{ },
|
|
10069
|
+
{ },
|
|
10070
|
+
{ },
|
|
10071
|
+
null,
|
|
10072
|
+
['PureCloud OAuth'],
|
|
10073
|
+
['application/json'],
|
|
10074
|
+
['application/json']
|
|
10075
|
+
);
|
|
10076
|
+
}
|
|
10077
|
+
|
|
9835
10078
|
/**
|
|
9836
10079
|
* Get Chat Settings.
|
|
9837
10080
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -9853,6 +10096,127 @@ class ChatApi {
|
|
|
9853
10096
|
);
|
|
9854
10097
|
}
|
|
9855
10098
|
|
|
10099
|
+
/**
|
|
10100
|
+
* Get a message
|
|
10101
|
+
*
|
|
10102
|
+
* @param {String} messageId messageId
|
|
10103
|
+
* getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10104
|
+
*/
|
|
10105
|
+
getChatsMessage(messageId) {
|
|
10106
|
+
// verify the required parameter 'messageId' is set
|
|
10107
|
+
if (messageId === undefined || messageId === null) {
|
|
10108
|
+
throw 'Missing the required parameter "messageId" when calling getChatsMessage';
|
|
10109
|
+
}
|
|
10110
|
+
|
|
10111
|
+
return this.apiClient.callApi(
|
|
10112
|
+
'/api/v2/chats/messages/{messageId}',
|
|
10113
|
+
'GET',
|
|
10114
|
+
{ 'messageId': messageId },
|
|
10115
|
+
{ },
|
|
10116
|
+
{ },
|
|
10117
|
+
{ },
|
|
10118
|
+
null,
|
|
10119
|
+
['PureCloud OAuth'],
|
|
10120
|
+
['application/json'],
|
|
10121
|
+
['application/json']
|
|
10122
|
+
);
|
|
10123
|
+
}
|
|
10124
|
+
|
|
10125
|
+
/**
|
|
10126
|
+
* Get a room
|
|
10127
|
+
*
|
|
10128
|
+
* @param {String} roomJid roomJid
|
|
10129
|
+
* getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10130
|
+
*/
|
|
10131
|
+
getChatsRoom(roomJid) {
|
|
10132
|
+
// verify the required parameter 'roomJid' is set
|
|
10133
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10134
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
|
|
10135
|
+
}
|
|
10136
|
+
|
|
10137
|
+
return this.apiClient.callApi(
|
|
10138
|
+
'/api/v2/chats/rooms/{roomJid}',
|
|
10139
|
+
'GET',
|
|
10140
|
+
{ 'roomJid': roomJid },
|
|
10141
|
+
{ },
|
|
10142
|
+
{ },
|
|
10143
|
+
{ },
|
|
10144
|
+
null,
|
|
10145
|
+
['PureCloud OAuth'],
|
|
10146
|
+
['application/json'],
|
|
10147
|
+
['application/json']
|
|
10148
|
+
);
|
|
10149
|
+
}
|
|
10150
|
+
|
|
10151
|
+
/**
|
|
10152
|
+
* Get messages by id(s) from a room
|
|
10153
|
+
*
|
|
10154
|
+
* @param {String} roomJid roomJid
|
|
10155
|
+
* @param {String} messageIds messageIds, comma separated
|
|
10156
|
+
* getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10157
|
+
*/
|
|
10158
|
+
getChatsRoomMessage(roomJid, messageIds) {
|
|
10159
|
+
// verify the required parameter 'roomJid' is set
|
|
10160
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10161
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
|
|
10162
|
+
}
|
|
10163
|
+
// verify the required parameter 'messageIds' is set
|
|
10164
|
+
if (messageIds === undefined || messageIds === null) {
|
|
10165
|
+
throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
|
|
10166
|
+
}
|
|
10167
|
+
|
|
10168
|
+
return this.apiClient.callApi(
|
|
10169
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
|
|
10170
|
+
'GET',
|
|
10171
|
+
{ 'roomJid': roomJid,'messageIds': messageIds },
|
|
10172
|
+
{ },
|
|
10173
|
+
{ },
|
|
10174
|
+
{ },
|
|
10175
|
+
null,
|
|
10176
|
+
['PureCloud OAuth'],
|
|
10177
|
+
['application/json'],
|
|
10178
|
+
['application/json']
|
|
10179
|
+
);
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
/**
|
|
10183
|
+
* Get a room's message history
|
|
10184
|
+
*
|
|
10185
|
+
* @param {String} roomJid roomJid
|
|
10186
|
+
* @param {Object} opts Optional parameters
|
|
10187
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10188
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10189
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
10190
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10191
|
+
* @param {String} opts.nextPage next page token
|
|
10192
|
+
* @param {String} opts.previousPage Previous page token
|
|
10193
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10194
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10195
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
10196
|
+
* getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10197
|
+
*/
|
|
10198
|
+
getChatsRoomMessages(roomJid, opts) {
|
|
10199
|
+
opts = opts || {};
|
|
10200
|
+
|
|
10201
|
+
// verify the required parameter 'roomJid' is set
|
|
10202
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10203
|
+
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
return this.apiClient.callApi(
|
|
10207
|
+
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
10208
|
+
'GET',
|
|
10209
|
+
{ 'roomJid': roomJid },
|
|
10210
|
+
{ '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'] },
|
|
10211
|
+
{ },
|
|
10212
|
+
{ },
|
|
10213
|
+
null,
|
|
10214
|
+
['PureCloud OAuth'],
|
|
10215
|
+
['application/json'],
|
|
10216
|
+
['application/json']
|
|
10217
|
+
);
|
|
10218
|
+
}
|
|
10219
|
+
|
|
9856
10220
|
/**
|
|
9857
10221
|
* Get Chat Settings.
|
|
9858
10222
|
*
|
|
@@ -9873,6 +10237,113 @@ class ChatApi {
|
|
|
9873
10237
|
);
|
|
9874
10238
|
}
|
|
9875
10239
|
|
|
10240
|
+
/**
|
|
10241
|
+
* Get history by thread
|
|
10242
|
+
*
|
|
10243
|
+
* @param {String} threadId threadId
|
|
10244
|
+
* @param {Object} opts Optional parameters
|
|
10245
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10246
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10247
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
10248
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10249
|
+
* @param {String} opts.nextPage next page token
|
|
10250
|
+
* @param {String} opts.previousPage Previous page token
|
|
10251
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10252
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10253
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
10254
|
+
* getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10255
|
+
*/
|
|
10256
|
+
getChatsThreadMessages(threadId, opts) {
|
|
10257
|
+
opts = opts || {};
|
|
10258
|
+
|
|
10259
|
+
// verify the required parameter 'threadId' is set
|
|
10260
|
+
if (threadId === undefined || threadId === null) {
|
|
10261
|
+
throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
|
|
10262
|
+
}
|
|
10263
|
+
|
|
10264
|
+
return this.apiClient.callApi(
|
|
10265
|
+
'/api/v2/chats/threads/{threadId}/messages',
|
|
10266
|
+
'GET',
|
|
10267
|
+
{ 'threadId': threadId },
|
|
10268
|
+
{ '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'] },
|
|
10269
|
+
{ },
|
|
10270
|
+
{ },
|
|
10271
|
+
null,
|
|
10272
|
+
['PureCloud OAuth'],
|
|
10273
|
+
['application/json'],
|
|
10274
|
+
['application/json']
|
|
10275
|
+
);
|
|
10276
|
+
}
|
|
10277
|
+
|
|
10278
|
+
/**
|
|
10279
|
+
* Get messages by id(s) from a 1on1
|
|
10280
|
+
*
|
|
10281
|
+
* @param {String} userId userId
|
|
10282
|
+
* @param {String} messageIds messageIds, comma separated
|
|
10283
|
+
* getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10284
|
+
*/
|
|
10285
|
+
getChatsUserMessage(userId, messageIds) {
|
|
10286
|
+
// verify the required parameter 'userId' is set
|
|
10287
|
+
if (userId === undefined || userId === null) {
|
|
10288
|
+
throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
|
|
10289
|
+
}
|
|
10290
|
+
// verify the required parameter 'messageIds' is set
|
|
10291
|
+
if (messageIds === undefined || messageIds === null) {
|
|
10292
|
+
throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
|
|
10293
|
+
}
|
|
10294
|
+
|
|
10295
|
+
return this.apiClient.callApi(
|
|
10296
|
+
'/api/v2/chats/users/{userId}/messages/{messageIds}',
|
|
10297
|
+
'GET',
|
|
10298
|
+
{ 'userId': userId,'messageIds': messageIds },
|
|
10299
|
+
{ },
|
|
10300
|
+
{ },
|
|
10301
|
+
{ },
|
|
10302
|
+
null,
|
|
10303
|
+
['PureCloud OAuth'],
|
|
10304
|
+
['application/json'],
|
|
10305
|
+
['application/json']
|
|
10306
|
+
);
|
|
10307
|
+
}
|
|
10308
|
+
|
|
10309
|
+
/**
|
|
10310
|
+
* Get 1on1 History between a user
|
|
10311
|
+
*
|
|
10312
|
+
* @param {String} userId userId
|
|
10313
|
+
* @param {Object} opts Optional parameters
|
|
10314
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
10315
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
10316
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
10317
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
10318
|
+
* @param {String} opts.nextPage next page token
|
|
10319
|
+
* @param {String} opts.previousPage Previous page token
|
|
10320
|
+
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
10321
|
+
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
10322
|
+
* @param {String} opts.after The beginning date for messages to retrieve
|
|
10323
|
+
* getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10324
|
+
*/
|
|
10325
|
+
getChatsUserMessages(userId, opts) {
|
|
10326
|
+
opts = opts || {};
|
|
10327
|
+
|
|
10328
|
+
// verify the required parameter 'userId' is set
|
|
10329
|
+
if (userId === undefined || userId === null) {
|
|
10330
|
+
throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
|
|
10331
|
+
}
|
|
10332
|
+
|
|
10333
|
+
return this.apiClient.callApi(
|
|
10334
|
+
'/api/v2/chats/users/{userId}/messages',
|
|
10335
|
+
'GET',
|
|
10336
|
+
{ 'userId': userId },
|
|
10337
|
+
{ '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'] },
|
|
10338
|
+
{ },
|
|
10339
|
+
{ },
|
|
10340
|
+
null,
|
|
10341
|
+
['PureCloud OAuth'],
|
|
10342
|
+
['application/json'],
|
|
10343
|
+
['application/json']
|
|
10344
|
+
);
|
|
10345
|
+
}
|
|
10346
|
+
|
|
9876
10347
|
/**
|
|
9877
10348
|
* Patch Chat Settings.
|
|
9878
10349
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -9899,6 +10370,73 @@ class ChatApi {
|
|
|
9899
10370
|
);
|
|
9900
10371
|
}
|
|
9901
10372
|
|
|
10373
|
+
/**
|
|
10374
|
+
* Set properties for a room
|
|
10375
|
+
*
|
|
10376
|
+
* @param {String} roomJid roomJid
|
|
10377
|
+
* @param {Object} body Room properties
|
|
10378
|
+
* patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10379
|
+
*/
|
|
10380
|
+
patchChatsRoom(roomJid, body) {
|
|
10381
|
+
// verify the required parameter 'roomJid' is set
|
|
10382
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10383
|
+
throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
|
|
10384
|
+
}
|
|
10385
|
+
// verify the required parameter 'body' is set
|
|
10386
|
+
if (body === undefined || body === null) {
|
|
10387
|
+
throw 'Missing the required parameter "body" when calling patchChatsRoom';
|
|
10388
|
+
}
|
|
10389
|
+
|
|
10390
|
+
return this.apiClient.callApi(
|
|
10391
|
+
'/api/v2/chats/rooms/{roomJid}',
|
|
10392
|
+
'PATCH',
|
|
10393
|
+
{ 'roomJid': roomJid },
|
|
10394
|
+
{ },
|
|
10395
|
+
{ },
|
|
10396
|
+
{ },
|
|
10397
|
+
body,
|
|
10398
|
+
['PureCloud OAuth'],
|
|
10399
|
+
['application/json'],
|
|
10400
|
+
['application/json']
|
|
10401
|
+
);
|
|
10402
|
+
}
|
|
10403
|
+
|
|
10404
|
+
/**
|
|
10405
|
+
* Edit a message in a room
|
|
10406
|
+
*
|
|
10407
|
+
* @param {String} roomJid roomId
|
|
10408
|
+
* @param {String} messageId messageId
|
|
10409
|
+
* @param {Object} body messageBody
|
|
10410
|
+
* patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10411
|
+
*/
|
|
10412
|
+
patchChatsRoomMessage(roomJid, messageId, body) {
|
|
10413
|
+
// verify the required parameter 'roomJid' is set
|
|
10414
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10415
|
+
throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
|
|
10416
|
+
}
|
|
10417
|
+
// verify the required parameter 'messageId' is set
|
|
10418
|
+
if (messageId === undefined || messageId === null) {
|
|
10419
|
+
throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
|
|
10420
|
+
}
|
|
10421
|
+
// verify the required parameter 'body' is set
|
|
10422
|
+
if (body === undefined || body === null) {
|
|
10423
|
+
throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
|
|
10424
|
+
}
|
|
10425
|
+
|
|
10426
|
+
return this.apiClient.callApi(
|
|
10427
|
+
'/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
|
|
10428
|
+
'PATCH',
|
|
10429
|
+
{ 'roomJid': roomJid,'messageId': messageId },
|
|
10430
|
+
{ },
|
|
10431
|
+
{ },
|
|
10432
|
+
{ },
|
|
10433
|
+
body,
|
|
10434
|
+
['PureCloud OAuth'],
|
|
10435
|
+
['application/json'],
|
|
10436
|
+
['application/json']
|
|
10437
|
+
);
|
|
10438
|
+
}
|
|
10439
|
+
|
|
9902
10440
|
/**
|
|
9903
10441
|
* Patch Chat Settings.
|
|
9904
10442
|
*
|
|
@@ -9924,6 +10462,191 @@ class ChatApi {
|
|
|
9924
10462
|
);
|
|
9925
10463
|
}
|
|
9926
10464
|
|
|
10465
|
+
/**
|
|
10466
|
+
* Edit a message to a user
|
|
10467
|
+
*
|
|
10468
|
+
* @param {String} userId userId
|
|
10469
|
+
* @param {String} messageId messageId
|
|
10470
|
+
* @param {Object} body message body
|
|
10471
|
+
* patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10472
|
+
*/
|
|
10473
|
+
patchChatsUserMessage(userId, messageId, body) {
|
|
10474
|
+
// verify the required parameter 'userId' is set
|
|
10475
|
+
if (userId === undefined || userId === null) {
|
|
10476
|
+
throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
|
|
10477
|
+
}
|
|
10478
|
+
// verify the required parameter 'messageId' is set
|
|
10479
|
+
if (messageId === undefined || messageId === null) {
|
|
10480
|
+
throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
|
|
10481
|
+
}
|
|
10482
|
+
// verify the required parameter 'body' is set
|
|
10483
|
+
if (body === undefined || body === null) {
|
|
10484
|
+
throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
|
|
10485
|
+
}
|
|
10486
|
+
|
|
10487
|
+
return this.apiClient.callApi(
|
|
10488
|
+
'/api/v2/chats/users/{userId}/messages/{messageId}',
|
|
10489
|
+
'PATCH',
|
|
10490
|
+
{ 'userId': userId,'messageId': messageId },
|
|
10491
|
+
{ },
|
|
10492
|
+
{ },
|
|
10493
|
+
{ },
|
|
10494
|
+
body,
|
|
10495
|
+
['PureCloud OAuth'],
|
|
10496
|
+
['application/json'],
|
|
10497
|
+
['application/json']
|
|
10498
|
+
);
|
|
10499
|
+
}
|
|
10500
|
+
|
|
10501
|
+
/**
|
|
10502
|
+
* Send a message to a room
|
|
10503
|
+
*
|
|
10504
|
+
* @param {String} roomJid roomId
|
|
10505
|
+
* @param {Object} body messageBody
|
|
10506
|
+
* postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10507
|
+
*/
|
|
10508
|
+
postChatsRoomMessages(roomJid, body) {
|
|
10509
|
+
// verify the required parameter 'roomJid' is set
|
|
10510
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10511
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
|
|
10512
|
+
}
|
|
10513
|
+
// verify the required parameter 'body' is set
|
|
10514
|
+
if (body === undefined || body === null) {
|
|
10515
|
+
throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
return this.apiClient.callApi(
|
|
10519
|
+
'/api/v2/chats/rooms/{roomJid}/messages',
|
|
10520
|
+
'POST',
|
|
10521
|
+
{ 'roomJid': roomJid },
|
|
10522
|
+
{ },
|
|
10523
|
+
{ },
|
|
10524
|
+
{ },
|
|
10525
|
+
body,
|
|
10526
|
+
['PureCloud OAuth'],
|
|
10527
|
+
['application/json'],
|
|
10528
|
+
['application/json']
|
|
10529
|
+
);
|
|
10530
|
+
}
|
|
10531
|
+
|
|
10532
|
+
/**
|
|
10533
|
+
* Join a room
|
|
10534
|
+
*
|
|
10535
|
+
* @param {String} roomJid roomJid
|
|
10536
|
+
* @param {String} userId userId
|
|
10537
|
+
* postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10538
|
+
*/
|
|
10539
|
+
postChatsRoomParticipant(roomJid, userId) {
|
|
10540
|
+
// verify the required parameter 'roomJid' is set
|
|
10541
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10542
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
|
|
10543
|
+
}
|
|
10544
|
+
// verify the required parameter 'userId' is set
|
|
10545
|
+
if (userId === undefined || userId === null) {
|
|
10546
|
+
throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
|
|
10547
|
+
}
|
|
10548
|
+
|
|
10549
|
+
return this.apiClient.callApi(
|
|
10550
|
+
'/api/v2/chats/rooms/{roomJid}/participants/{userId}',
|
|
10551
|
+
'POST',
|
|
10552
|
+
{ 'roomJid': roomJid,'userId': userId },
|
|
10553
|
+
{ },
|
|
10554
|
+
{ },
|
|
10555
|
+
{ },
|
|
10556
|
+
null,
|
|
10557
|
+
['PureCloud OAuth'],
|
|
10558
|
+
['application/json'],
|
|
10559
|
+
['application/json']
|
|
10560
|
+
);
|
|
10561
|
+
}
|
|
10562
|
+
|
|
10563
|
+
/**
|
|
10564
|
+
* Add pinned messages for a room, up to a maximum of 5 pinned messages
|
|
10565
|
+
*
|
|
10566
|
+
* @param {String} roomJid roomJid
|
|
10567
|
+
* @param {Object} body Pinned Message Ids
|
|
10568
|
+
* postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10569
|
+
*/
|
|
10570
|
+
postChatsRoomPinnedmessages(roomJid, body) {
|
|
10571
|
+
// verify the required parameter 'roomJid' is set
|
|
10572
|
+
if (roomJid === undefined || roomJid === null) {
|
|
10573
|
+
throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
|
|
10574
|
+
}
|
|
10575
|
+
// verify the required parameter 'body' is set
|
|
10576
|
+
if (body === undefined || body === null) {
|
|
10577
|
+
throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
|
|
10578
|
+
}
|
|
10579
|
+
|
|
10580
|
+
return this.apiClient.callApi(
|
|
10581
|
+
'/api/v2/chats/rooms/{roomJid}/pinnedmessages',
|
|
10582
|
+
'POST',
|
|
10583
|
+
{ 'roomJid': roomJid },
|
|
10584
|
+
{ },
|
|
10585
|
+
{ },
|
|
10586
|
+
{ },
|
|
10587
|
+
body,
|
|
10588
|
+
['PureCloud OAuth'],
|
|
10589
|
+
['application/json'],
|
|
10590
|
+
['application/json']
|
|
10591
|
+
);
|
|
10592
|
+
}
|
|
10593
|
+
|
|
10594
|
+
/**
|
|
10595
|
+
* Create an adhoc room
|
|
10596
|
+
*
|
|
10597
|
+
* @param {Object} opts Optional parameters
|
|
10598
|
+
* @param {Object} opts.body Room properties
|
|
10599
|
+
* postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10600
|
+
*/
|
|
10601
|
+
postChatsRooms(opts) {
|
|
10602
|
+
opts = opts || {};
|
|
10603
|
+
|
|
10604
|
+
|
|
10605
|
+
return this.apiClient.callApi(
|
|
10606
|
+
'/api/v2/chats/rooms',
|
|
10607
|
+
'POST',
|
|
10608
|
+
{ },
|
|
10609
|
+
{ },
|
|
10610
|
+
{ },
|
|
10611
|
+
{ },
|
|
10612
|
+
opts['body'],
|
|
10613
|
+
['PureCloud OAuth'],
|
|
10614
|
+
['application/json'],
|
|
10615
|
+
['application/json']
|
|
10616
|
+
);
|
|
10617
|
+
}
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* Send a message to a user
|
|
10621
|
+
*
|
|
10622
|
+
* @param {String} userId userId
|
|
10623
|
+
* @param {Object} body message body
|
|
10624
|
+
* postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10625
|
+
*/
|
|
10626
|
+
postChatsUserMessages(userId, body) {
|
|
10627
|
+
// verify the required parameter 'userId' is set
|
|
10628
|
+
if (userId === undefined || userId === null) {
|
|
10629
|
+
throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
|
|
10630
|
+
}
|
|
10631
|
+
// verify the required parameter 'body' is set
|
|
10632
|
+
if (body === undefined || body === null) {
|
|
10633
|
+
throw 'Missing the required parameter "body" when calling postChatsUserMessages';
|
|
10634
|
+
}
|
|
10635
|
+
|
|
10636
|
+
return this.apiClient.callApi(
|
|
10637
|
+
'/api/v2/chats/users/{userId}/messages',
|
|
10638
|
+
'POST',
|
|
10639
|
+
{ 'userId': userId },
|
|
10640
|
+
{ },
|
|
10641
|
+
{ },
|
|
10642
|
+
{ },
|
|
10643
|
+
body,
|
|
10644
|
+
['PureCloud OAuth'],
|
|
10645
|
+
['application/json'],
|
|
10646
|
+
['application/json']
|
|
10647
|
+
);
|
|
10648
|
+
}
|
|
10649
|
+
|
|
9927
10650
|
/**
|
|
9928
10651
|
* Update Chat Settings.
|
|
9929
10652
|
* This route is deprecated, please use /chats/settings instead
|
|
@@ -9981,7 +10704,7 @@ class CoachingApi {
|
|
|
9981
10704
|
/**
|
|
9982
10705
|
* Coaching service.
|
|
9983
10706
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9984
|
-
* @version
|
|
10707
|
+
* @version 176.0.0
|
|
9985
10708
|
*/
|
|
9986
10709
|
|
|
9987
10710
|
/**
|
|
@@ -10558,7 +11281,7 @@ class ContentManagementApi {
|
|
|
10558
11281
|
/**
|
|
10559
11282
|
* ContentManagement service.
|
|
10560
11283
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10561
|
-
* @version
|
|
11284
|
+
* @version 176.0.0
|
|
10562
11285
|
*/
|
|
10563
11286
|
|
|
10564
11287
|
/**
|
|
@@ -11701,7 +12424,7 @@ class ConversationsApi {
|
|
|
11701
12424
|
/**
|
|
11702
12425
|
* Conversations service.
|
|
11703
12426
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11704
|
-
* @version
|
|
12427
|
+
* @version 176.0.0
|
|
11705
12428
|
*/
|
|
11706
12429
|
|
|
11707
12430
|
/**
|
|
@@ -18785,7 +19508,7 @@ class DataExtensionsApi {
|
|
|
18785
19508
|
/**
|
|
18786
19509
|
* DataExtensions service.
|
|
18787
19510
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
18788
|
-
* @version
|
|
19511
|
+
* @version 176.0.0
|
|
18789
19512
|
*/
|
|
18790
19513
|
|
|
18791
19514
|
/**
|
|
@@ -18871,7 +19594,7 @@ class DownloadsApi {
|
|
|
18871
19594
|
/**
|
|
18872
19595
|
* Downloads service.
|
|
18873
19596
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
18874
|
-
* @version
|
|
19597
|
+
* @version 176.0.0
|
|
18875
19598
|
*/
|
|
18876
19599
|
|
|
18877
19600
|
/**
|
|
@@ -18923,7 +19646,7 @@ class EmailsApi {
|
|
|
18923
19646
|
/**
|
|
18924
19647
|
* Emails service.
|
|
18925
19648
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
18926
|
-
* @version
|
|
19649
|
+
* @version 176.0.0
|
|
18927
19650
|
*/
|
|
18928
19651
|
|
|
18929
19652
|
/**
|
|
@@ -18988,7 +19711,7 @@ class EventsApi {
|
|
|
18988
19711
|
/**
|
|
18989
19712
|
* Events service.
|
|
18990
19713
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
18991
|
-
* @version
|
|
19714
|
+
* @version 176.0.0
|
|
18992
19715
|
*/
|
|
18993
19716
|
|
|
18994
19717
|
/**
|
|
@@ -19084,7 +19807,7 @@ class ExternalContactsApi {
|
|
|
19084
19807
|
/**
|
|
19085
19808
|
* ExternalContacts service.
|
|
19086
19809
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
19087
|
-
* @version
|
|
19810
|
+
* @version 176.0.0
|
|
19088
19811
|
*/
|
|
19089
19812
|
|
|
19090
19813
|
/**
|
|
@@ -21042,7 +21765,7 @@ class FaxApi {
|
|
|
21042
21765
|
/**
|
|
21043
21766
|
* Fax service.
|
|
21044
21767
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
21045
|
-
* @version
|
|
21768
|
+
* @version 176.0.0
|
|
21046
21769
|
*/
|
|
21047
21770
|
|
|
21048
21771
|
/**
|
|
@@ -21213,7 +21936,7 @@ class FlowsApi {
|
|
|
21213
21936
|
/**
|
|
21214
21937
|
* Flows service.
|
|
21215
21938
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
21216
|
-
* @version
|
|
21939
|
+
* @version 176.0.0
|
|
21217
21940
|
*/
|
|
21218
21941
|
|
|
21219
21942
|
/**
|
|
@@ -21397,7 +22120,7 @@ class GamificationApi {
|
|
|
21397
22120
|
/**
|
|
21398
22121
|
* Gamification service.
|
|
21399
22122
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
21400
|
-
* @version
|
|
22123
|
+
* @version 176.0.0
|
|
21401
22124
|
*/
|
|
21402
22125
|
|
|
21403
22126
|
/**
|
|
@@ -23483,7 +24206,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
23483
24206
|
/**
|
|
23484
24207
|
* GeneralDataProtectionRegulation service.
|
|
23485
24208
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
23486
|
-
* @version
|
|
24209
|
+
* @version 176.0.0
|
|
23487
24210
|
*/
|
|
23488
24211
|
|
|
23489
24212
|
/**
|
|
@@ -23613,7 +24336,7 @@ class GeolocationApi {
|
|
|
23613
24336
|
/**
|
|
23614
24337
|
* Geolocation service.
|
|
23615
24338
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
23616
|
-
* @version
|
|
24339
|
+
* @version 176.0.0
|
|
23617
24340
|
*/
|
|
23618
24341
|
|
|
23619
24342
|
/**
|
|
@@ -23744,7 +24467,7 @@ class GreetingsApi {
|
|
|
23744
24467
|
/**
|
|
23745
24468
|
* Greetings service.
|
|
23746
24469
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
23747
|
-
* @version
|
|
24470
|
+
* @version 176.0.0
|
|
23748
24471
|
*/
|
|
23749
24472
|
|
|
23750
24473
|
/**
|
|
@@ -24199,7 +24922,7 @@ class GroupsApi {
|
|
|
24199
24922
|
/**
|
|
24200
24923
|
* Groups service.
|
|
24201
24924
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
24202
|
-
* @version
|
|
24925
|
+
* @version 176.0.0
|
|
24203
24926
|
*/
|
|
24204
24927
|
|
|
24205
24928
|
/**
|
|
@@ -24718,7 +25441,7 @@ class IdentityProviderApi {
|
|
|
24718
25441
|
/**
|
|
24719
25442
|
* IdentityProvider service.
|
|
24720
25443
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
24721
|
-
* @version
|
|
25444
|
+
* @version 176.0.0
|
|
24722
25445
|
*/
|
|
24723
25446
|
|
|
24724
25447
|
/**
|
|
@@ -25474,7 +26197,7 @@ class InfrastructureAsCodeApi {
|
|
|
25474
26197
|
/**
|
|
25475
26198
|
* InfrastructureAsCode service.
|
|
25476
26199
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
25477
|
-
* @version
|
|
26200
|
+
* @version 176.0.0
|
|
25478
26201
|
*/
|
|
25479
26202
|
|
|
25480
26203
|
/**
|
|
@@ -25641,7 +26364,7 @@ class IntegrationsApi {
|
|
|
25641
26364
|
/**
|
|
25642
26365
|
* Integrations service.
|
|
25643
26366
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
25644
|
-
* @version
|
|
26367
|
+
* @version 176.0.0
|
|
25645
26368
|
*/
|
|
25646
26369
|
|
|
25647
26370
|
/**
|
|
@@ -27603,7 +28326,7 @@ class JourneyApi {
|
|
|
27603
28326
|
/**
|
|
27604
28327
|
* Journey service.
|
|
27605
28328
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
27606
|
-
* @version
|
|
28329
|
+
* @version 176.0.0
|
|
27607
28330
|
*/
|
|
27608
28331
|
|
|
27609
28332
|
/**
|
|
@@ -28767,7 +29490,7 @@ class KnowledgeApi {
|
|
|
28767
29490
|
/**
|
|
28768
29491
|
* Knowledge service.
|
|
28769
29492
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
28770
|
-
* @version
|
|
29493
|
+
* @version 176.0.0
|
|
28771
29494
|
*/
|
|
28772
29495
|
|
|
28773
29496
|
/**
|
|
@@ -31588,7 +32311,7 @@ class LanguageUnderstandingApi {
|
|
|
31588
32311
|
/**
|
|
31589
32312
|
* LanguageUnderstanding service.
|
|
31590
32313
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
31591
|
-
* @version
|
|
32314
|
+
* @version 176.0.0
|
|
31592
32315
|
*/
|
|
31593
32316
|
|
|
31594
32317
|
/**
|
|
@@ -32601,7 +33324,7 @@ class LanguagesApi {
|
|
|
32601
33324
|
/**
|
|
32602
33325
|
* Languages service.
|
|
32603
33326
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
32604
|
-
* @version
|
|
33327
|
+
* @version 176.0.0
|
|
32605
33328
|
*/
|
|
32606
33329
|
|
|
32607
33330
|
/**
|
|
@@ -32823,7 +33546,7 @@ class LearningApi {
|
|
|
32823
33546
|
/**
|
|
32824
33547
|
* Learning service.
|
|
32825
33548
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
32826
|
-
* @version
|
|
33549
|
+
* @version 176.0.0
|
|
32827
33550
|
*/
|
|
32828
33551
|
|
|
32829
33552
|
/**
|
|
@@ -33466,8 +34189,12 @@ class LearningApi {
|
|
|
33466
34189
|
* Publish a Learning module
|
|
33467
34190
|
*
|
|
33468
34191
|
* @param {String} moduleId The ID of the learning module
|
|
34192
|
+
* @param {Object} opts Optional parameters
|
|
34193
|
+
* @param {Object} opts.body The request body
|
|
33469
34194
|
*/
|
|
33470
|
-
postLearningModulePublish(moduleId) {
|
|
34195
|
+
postLearningModulePublish(moduleId, opts) {
|
|
34196
|
+
opts = opts || {};
|
|
34197
|
+
|
|
33471
34198
|
// verify the required parameter 'moduleId' is set
|
|
33472
34199
|
if (moduleId === undefined || moduleId === null) {
|
|
33473
34200
|
throw 'Missing the required parameter "moduleId" when calling postLearningModulePublish';
|
|
@@ -33480,7 +34207,7 @@ class LearningApi {
|
|
|
33480
34207
|
{ },
|
|
33481
34208
|
{ },
|
|
33482
34209
|
{ },
|
|
33483
|
-
|
|
34210
|
+
opts['body'],
|
|
33484
34211
|
['PureCloud OAuth'],
|
|
33485
34212
|
['application/json'],
|
|
33486
34213
|
['application/json']
|
|
@@ -33638,7 +34365,7 @@ class LicenseApi {
|
|
|
33638
34365
|
/**
|
|
33639
34366
|
* License service.
|
|
33640
34367
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
33641
|
-
* @version
|
|
34368
|
+
* @version 176.0.0
|
|
33642
34369
|
*/
|
|
33643
34370
|
|
|
33644
34371
|
/**
|
|
@@ -33876,7 +34603,7 @@ class LocationsApi {
|
|
|
33876
34603
|
/**
|
|
33877
34604
|
* Locations service.
|
|
33878
34605
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
33879
|
-
* @version
|
|
34606
|
+
* @version 176.0.0
|
|
33880
34607
|
*/
|
|
33881
34608
|
|
|
33882
34609
|
/**
|
|
@@ -34112,7 +34839,7 @@ class MessagingApi {
|
|
|
34112
34839
|
/**
|
|
34113
34840
|
* Messaging service.
|
|
34114
34841
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
34115
|
-
* @version
|
|
34842
|
+
* @version 176.0.0
|
|
34116
34843
|
*/
|
|
34117
34844
|
|
|
34118
34845
|
/**
|
|
@@ -34471,7 +35198,7 @@ class MobileDevicesApi {
|
|
|
34471
35198
|
/**
|
|
34472
35199
|
* MobileDevices service.
|
|
34473
35200
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
34474
|
-
* @version
|
|
35201
|
+
* @version 176.0.0
|
|
34475
35202
|
*/
|
|
34476
35203
|
|
|
34477
35204
|
/**
|
|
@@ -34622,7 +35349,7 @@ class NotificationsApi {
|
|
|
34622
35349
|
/**
|
|
34623
35350
|
* Notifications service.
|
|
34624
35351
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
34625
|
-
* @version
|
|
35352
|
+
* @version 176.0.0
|
|
34626
35353
|
*/
|
|
34627
35354
|
|
|
34628
35355
|
/**
|
|
@@ -34855,7 +35582,7 @@ class OAuthApi {
|
|
|
34855
35582
|
/**
|
|
34856
35583
|
* OAuth service.
|
|
34857
35584
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
34858
|
-
* @version
|
|
35585
|
+
* @version 176.0.0
|
|
34859
35586
|
*/
|
|
34860
35587
|
|
|
34861
35588
|
/**
|
|
@@ -35221,7 +35948,7 @@ class ObjectsApi {
|
|
|
35221
35948
|
/**
|
|
35222
35949
|
* Objects service.
|
|
35223
35950
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
35224
|
-
* @version
|
|
35951
|
+
* @version 176.0.0
|
|
35225
35952
|
*/
|
|
35226
35953
|
|
|
35227
35954
|
/**
|
|
@@ -35492,7 +36219,7 @@ class OrganizationApi {
|
|
|
35492
36219
|
/**
|
|
35493
36220
|
* Organization service.
|
|
35494
36221
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
35495
|
-
* @version
|
|
36222
|
+
* @version 176.0.0
|
|
35496
36223
|
*/
|
|
35497
36224
|
|
|
35498
36225
|
/**
|
|
@@ -35947,7 +36674,7 @@ class OrganizationAuthorizationApi {
|
|
|
35947
36674
|
/**
|
|
35948
36675
|
* OrganizationAuthorization service.
|
|
35949
36676
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
35950
|
-
* @version
|
|
36677
|
+
* @version 176.0.0
|
|
35951
36678
|
*/
|
|
35952
36679
|
|
|
35953
36680
|
/**
|
|
@@ -37294,7 +38021,7 @@ class OutboundApi {
|
|
|
37294
38021
|
/**
|
|
37295
38022
|
* Outbound service.
|
|
37296
38023
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
37297
|
-
* @version
|
|
38024
|
+
* @version 176.0.0
|
|
37298
38025
|
*/
|
|
37299
38026
|
|
|
37300
38027
|
/**
|
|
@@ -40916,7 +41643,7 @@ class PresenceApi {
|
|
|
40916
41643
|
/**
|
|
40917
41644
|
* Presence service.
|
|
40918
41645
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
40919
|
-
* @version
|
|
41646
|
+
* @version 176.0.0
|
|
40920
41647
|
*/
|
|
40921
41648
|
|
|
40922
41649
|
/**
|
|
@@ -41655,7 +42382,7 @@ class ProcessAutomationApi {
|
|
|
41655
42382
|
/**
|
|
41656
42383
|
* ProcessAutomation service.
|
|
41657
42384
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
41658
|
-
* @version
|
|
42385
|
+
* @version 176.0.0
|
|
41659
42386
|
*/
|
|
41660
42387
|
|
|
41661
42388
|
/**
|
|
@@ -41894,7 +42621,7 @@ class QualityApi {
|
|
|
41894
42621
|
/**
|
|
41895
42622
|
* Quality service.
|
|
41896
42623
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
41897
|
-
* @version
|
|
42624
|
+
* @version 176.0.0
|
|
41898
42625
|
*/
|
|
41899
42626
|
|
|
41900
42627
|
/**
|
|
@@ -43648,7 +44375,7 @@ class RecordingApi {
|
|
|
43648
44375
|
/**
|
|
43649
44376
|
* Recording service.
|
|
43650
44377
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
43651
|
-
* @version
|
|
44378
|
+
* @version 176.0.0
|
|
43652
44379
|
*/
|
|
43653
44380
|
|
|
43654
44381
|
/**
|
|
@@ -45285,7 +46012,7 @@ class ResponseManagementApi {
|
|
|
45285
46012
|
/**
|
|
45286
46013
|
* ResponseManagement service.
|
|
45287
46014
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
45288
|
-
* @version
|
|
46015
|
+
* @version 176.0.0
|
|
45289
46016
|
*/
|
|
45290
46017
|
|
|
45291
46018
|
/**
|
|
@@ -45770,7 +46497,7 @@ class RoutingApi {
|
|
|
45770
46497
|
/**
|
|
45771
46498
|
* Routing service.
|
|
45772
46499
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
45773
|
-
* @version
|
|
46500
|
+
* @version 176.0.0
|
|
45774
46501
|
*/
|
|
45775
46502
|
|
|
45776
46503
|
/**
|
|
@@ -47828,8 +48555,8 @@ class RoutingApi {
|
|
|
47828
48555
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47829
48556
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
47830
48557
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
47831
|
-
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
47832
48558
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
48559
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
47833
48560
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
47834
48561
|
*/
|
|
47835
48562
|
getRoutingWrapupcodes(opts) {
|
|
@@ -47840,7 +48567,7 @@ class RoutingApi {
|
|
|
47840
48567
|
'/api/v2/routing/wrapupcodes',
|
|
47841
48568
|
'GET',
|
|
47842
48569
|
{ },
|
|
47843
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'
|
|
48570
|
+
{ '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') },
|
|
47844
48571
|
{ },
|
|
47845
48572
|
{ },
|
|
47846
48573
|
null,
|
|
@@ -49478,7 +50205,7 @@ class SCIMApi {
|
|
|
49478
50205
|
/**
|
|
49479
50206
|
* SCIM service.
|
|
49480
50207
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
49481
|
-
* @version
|
|
50208
|
+
* @version 176.0.0
|
|
49482
50209
|
*/
|
|
49483
50210
|
|
|
49484
50211
|
/**
|
|
@@ -50355,7 +51082,7 @@ class ScriptsApi {
|
|
|
50355
51082
|
/**
|
|
50356
51083
|
* Scripts service.
|
|
50357
51084
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
50358
|
-
* @version
|
|
51085
|
+
* @version 176.0.0
|
|
50359
51086
|
*/
|
|
50360
51087
|
|
|
50361
51088
|
/**
|
|
@@ -50799,7 +51526,7 @@ class SearchApi {
|
|
|
50799
51526
|
/**
|
|
50800
51527
|
* Search service.
|
|
50801
51528
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
50802
|
-
* @version
|
|
51529
|
+
* @version 176.0.0
|
|
50803
51530
|
*/
|
|
50804
51531
|
|
|
50805
51532
|
/**
|
|
@@ -51488,7 +52215,7 @@ class SettingsApi {
|
|
|
51488
52215
|
/**
|
|
51489
52216
|
* Settings service.
|
|
51490
52217
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
51491
|
-
* @version
|
|
52218
|
+
* @version 176.0.0
|
|
51492
52219
|
*/
|
|
51493
52220
|
|
|
51494
52221
|
/**
|
|
@@ -51553,7 +52280,7 @@ class SpeechTextAnalyticsApi {
|
|
|
51553
52280
|
/**
|
|
51554
52281
|
* SpeechTextAnalytics service.
|
|
51555
52282
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
51556
|
-
* @version
|
|
52283
|
+
* @version 176.0.0
|
|
51557
52284
|
*/
|
|
51558
52285
|
|
|
51559
52286
|
/**
|
|
@@ -52536,7 +53263,7 @@ class StationsApi {
|
|
|
52536
53263
|
/**
|
|
52537
53264
|
* Stations service.
|
|
52538
53265
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
52539
|
-
* @version
|
|
53266
|
+
* @version 176.0.0
|
|
52540
53267
|
*/
|
|
52541
53268
|
|
|
52542
53269
|
/**
|
|
@@ -52638,7 +53365,7 @@ class SuggestApi {
|
|
|
52638
53365
|
/**
|
|
52639
53366
|
* Suggest service.
|
|
52640
53367
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
52641
|
-
* @version
|
|
53368
|
+
* @version 176.0.0
|
|
52642
53369
|
*/
|
|
52643
53370
|
|
|
52644
53371
|
/**
|
|
@@ -52777,7 +53504,7 @@ class TaskManagementApi {
|
|
|
52777
53504
|
/**
|
|
52778
53505
|
* TaskManagement service.
|
|
52779
53506
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
52780
|
-
* @version
|
|
53507
|
+
* @version 176.0.0
|
|
52781
53508
|
*/
|
|
52782
53509
|
|
|
52783
53510
|
/**
|
|
@@ -54058,7 +54785,7 @@ class TeamsApi {
|
|
|
54058
54785
|
/**
|
|
54059
54786
|
* Teams service.
|
|
54060
54787
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
54061
|
-
* @version
|
|
54788
|
+
* @version 176.0.0
|
|
54062
54789
|
*/
|
|
54063
54790
|
|
|
54064
54791
|
/**
|
|
@@ -54360,7 +55087,7 @@ class TelephonyApi {
|
|
|
54360
55087
|
/**
|
|
54361
55088
|
* Telephony service.
|
|
54362
55089
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
54363
|
-
* @version
|
|
55090
|
+
* @version 176.0.0
|
|
54364
55091
|
*/
|
|
54365
55092
|
|
|
54366
55093
|
/**
|
|
@@ -54488,7 +55215,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
54488
55215
|
/**
|
|
54489
55216
|
* TelephonyProvidersEdge service.
|
|
54490
55217
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
54491
|
-
* @version
|
|
55218
|
+
* @version 176.0.0
|
|
54492
55219
|
*/
|
|
54493
55220
|
|
|
54494
55221
|
/**
|
|
@@ -57777,7 +58504,7 @@ class TextbotsApi {
|
|
|
57777
58504
|
/**
|
|
57778
58505
|
* Textbots service.
|
|
57779
58506
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
57780
|
-
* @version
|
|
58507
|
+
* @version 176.0.0
|
|
57781
58508
|
*/
|
|
57782
58509
|
|
|
57783
58510
|
/**
|
|
@@ -57905,7 +58632,7 @@ class TokensApi {
|
|
|
57905
58632
|
/**
|
|
57906
58633
|
* Tokens service.
|
|
57907
58634
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
57908
|
-
* @version
|
|
58635
|
+
* @version 176.0.0
|
|
57909
58636
|
*/
|
|
57910
58637
|
|
|
57911
58638
|
/**
|
|
@@ -58061,7 +58788,7 @@ class UploadsApi {
|
|
|
58061
58788
|
/**
|
|
58062
58789
|
* Uploads service.
|
|
58063
58790
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
58064
|
-
* @version
|
|
58791
|
+
* @version 176.0.0
|
|
58065
58792
|
*/
|
|
58066
58793
|
|
|
58067
58794
|
/**
|
|
@@ -58237,7 +58964,7 @@ class UsageApi {
|
|
|
58237
58964
|
/**
|
|
58238
58965
|
* Usage service.
|
|
58239
58966
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
58240
|
-
* @version
|
|
58967
|
+
* @version 176.0.0
|
|
58241
58968
|
*/
|
|
58242
58969
|
|
|
58243
58970
|
/**
|
|
@@ -58447,7 +59174,7 @@ class UserRecordingsApi {
|
|
|
58447
59174
|
/**
|
|
58448
59175
|
* UserRecordings service.
|
|
58449
59176
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
58450
|
-
* @version
|
|
59177
|
+
* @version 176.0.0
|
|
58451
59178
|
*/
|
|
58452
59179
|
|
|
58453
59180
|
/**
|
|
@@ -58632,7 +59359,7 @@ class UsersApi {
|
|
|
58632
59359
|
/**
|
|
58633
59360
|
* Users service.
|
|
58634
59361
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
58635
|
-
* @version
|
|
59362
|
+
* @version 176.0.0
|
|
58636
59363
|
*/
|
|
58637
59364
|
|
|
58638
59365
|
/**
|
|
@@ -61193,7 +61920,7 @@ class UtilitiesApi {
|
|
|
61193
61920
|
/**
|
|
61194
61921
|
* Utilities service.
|
|
61195
61922
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
61196
|
-
* @version
|
|
61923
|
+
* @version 176.0.0
|
|
61197
61924
|
*/
|
|
61198
61925
|
|
|
61199
61926
|
/**
|
|
@@ -61304,7 +62031,7 @@ class VoicemailApi {
|
|
|
61304
62031
|
/**
|
|
61305
62032
|
* Voicemail service.
|
|
61306
62033
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
61307
|
-
* @version
|
|
62034
|
+
* @version 176.0.0
|
|
61308
62035
|
*/
|
|
61309
62036
|
|
|
61310
62037
|
/**
|
|
@@ -61971,7 +62698,7 @@ class WebChatApi {
|
|
|
61971
62698
|
/**
|
|
61972
62699
|
* WebChat service.
|
|
61973
62700
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
61974
|
-
* @version
|
|
62701
|
+
* @version 176.0.0
|
|
61975
62702
|
*/
|
|
61976
62703
|
|
|
61977
62704
|
/**
|
|
@@ -62520,7 +63247,7 @@ class WebDeploymentsApi {
|
|
|
62520
63247
|
/**
|
|
62521
63248
|
* WebDeployments service.
|
|
62522
63249
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
62523
|
-
* @version
|
|
63250
|
+
* @version 176.0.0
|
|
62524
63251
|
*/
|
|
62525
63252
|
|
|
62526
63253
|
/**
|
|
@@ -63047,7 +63774,7 @@ class WebMessagingApi {
|
|
|
63047
63774
|
/**
|
|
63048
63775
|
* WebMessaging service.
|
|
63049
63776
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
63050
|
-
* @version
|
|
63777
|
+
* @version 176.0.0
|
|
63051
63778
|
*/
|
|
63052
63779
|
|
|
63053
63780
|
/**
|
|
@@ -63093,7 +63820,7 @@ class WidgetsApi {
|
|
|
63093
63820
|
/**
|
|
63094
63821
|
* Widgets service.
|
|
63095
63822
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
63096
|
-
* @version
|
|
63823
|
+
* @version 176.0.0
|
|
63097
63824
|
*/
|
|
63098
63825
|
|
|
63099
63826
|
/**
|
|
@@ -63239,7 +63966,7 @@ class WorkforceManagementApi {
|
|
|
63239
63966
|
/**
|
|
63240
63967
|
* WorkforceManagement service.
|
|
63241
63968
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
63242
|
-
* @version
|
|
63969
|
+
* @version 176.0.0
|
|
63243
63970
|
*/
|
|
63244
63971
|
|
|
63245
63972
|
/**
|
|
@@ -68403,7 +69130,7 @@ class WorkforceManagementApi {
|
|
|
68403
69130
|
* </pre>
|
|
68404
69131
|
* </p>
|
|
68405
69132
|
* @module purecloud-platform-client-v2/index
|
|
68406
|
-
* @version
|
|
69133
|
+
* @version 176.0.0
|
|
68407
69134
|
*/
|
|
68408
69135
|
class platformClient {
|
|
68409
69136
|
constructor() {
|