purecloud-platform-client-v2 175.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.
Files changed (82) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +679 -75
  3. package/dist/web-amd/purecloud-platform-client-v2.js +679 -75
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +679 -75
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +679 -75
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +149 -5
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +605 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -3
  58. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  82. 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 175.0.0
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 175.0.0
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 175.0.0
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 175.0.0
4587
+ * @version 176.0.0
4588
4588
  */
4589
4589
 
4590
4590
  /**
@@ -8384,7 +8384,7 @@ class AuditApi {
8384
8384
  /**
8385
8385
  * Audit service.
8386
8386
  * @module purecloud-platform-client-v2/api/AuditApi
8387
- * @version 175.0.0
8387
+ * @version 176.0.0
8388
8388
  */
8389
8389
 
8390
8390
  /**
@@ -8555,7 +8555,7 @@ class AuthorizationApi {
8555
8555
  /**
8556
8556
  * Authorization service.
8557
8557
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8558
- * @version 175.0.0
8558
+ * @version 176.0.0
8559
8559
  */
8560
8560
 
8561
8561
  /**
@@ -9786,7 +9786,7 @@ class BillingApi {
9786
9786
  /**
9787
9787
  * Billing service.
9788
9788
  * @module purecloud-platform-client-v2/api/BillingApi
9789
- * @version 175.0.0
9789
+ * @version 176.0.0
9790
9790
  */
9791
9791
 
9792
9792
  /**
@@ -9866,7 +9866,7 @@ class CarrierServicesApi {
9866
9866
  /**
9867
9867
  * CarrierServices service.
9868
9868
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9869
- * @version 175.0.0
9869
+ * @version 176.0.0
9870
9870
  */
9871
9871
 
9872
9872
  /**
@@ -9936,7 +9936,7 @@ class ChatApi {
9936
9936
  /**
9937
9937
  * Chat service.
9938
9938
  * @module purecloud-platform-client-v2/api/ChatApi
9939
- * @version 175.0.0
9939
+ * @version 176.0.0
9940
9940
  */
9941
9941
 
9942
9942
  /**
@@ -9951,6 +9951,130 @@ class ChatApi {
9951
9951
  }
9952
9952
 
9953
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
+
9954
10078
  /**
9955
10079
  * Get Chat Settings.
9956
10080
  * This route is deprecated, please use /chats/settings instead
@@ -9972,6 +10096,127 @@ class ChatApi {
9972
10096
  );
9973
10097
  }
9974
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
+
9975
10220
  /**
9976
10221
  * Get Chat Settings.
9977
10222
  *
@@ -9992,6 +10237,113 @@ class ChatApi {
9992
10237
  );
9993
10238
  }
9994
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
+
9995
10347
  /**
9996
10348
  * Patch Chat Settings.
9997
10349
  * This route is deprecated, please use /chats/settings instead
@@ -10018,6 +10370,73 @@ class ChatApi {
10018
10370
  );
10019
10371
  }
10020
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
+
10021
10440
  /**
10022
10441
  * Patch Chat Settings.
10023
10442
  *
@@ -10043,6 +10462,191 @@ class ChatApi {
10043
10462
  );
10044
10463
  }
10045
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
+
10046
10650
  /**
10047
10651
  * Update Chat Settings.
10048
10652
  * This route is deprecated, please use /chats/settings instead
@@ -10100,7 +10704,7 @@ class CoachingApi {
10100
10704
  /**
10101
10705
  * Coaching service.
10102
10706
  * @module purecloud-platform-client-v2/api/CoachingApi
10103
- * @version 175.0.0
10707
+ * @version 176.0.0
10104
10708
  */
10105
10709
 
10106
10710
  /**
@@ -10677,7 +11281,7 @@ class ContentManagementApi {
10677
11281
  /**
10678
11282
  * ContentManagement service.
10679
11283
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10680
- * @version 175.0.0
11284
+ * @version 176.0.0
10681
11285
  */
10682
11286
 
10683
11287
  /**
@@ -11820,7 +12424,7 @@ class ConversationsApi {
11820
12424
  /**
11821
12425
  * Conversations service.
11822
12426
  * @module purecloud-platform-client-v2/api/ConversationsApi
11823
- * @version 175.0.0
12427
+ * @version 176.0.0
11824
12428
  */
11825
12429
 
11826
12430
  /**
@@ -18904,7 +19508,7 @@ class DataExtensionsApi {
18904
19508
  /**
18905
19509
  * DataExtensions service.
18906
19510
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
18907
- * @version 175.0.0
19511
+ * @version 176.0.0
18908
19512
  */
18909
19513
 
18910
19514
  /**
@@ -18990,7 +19594,7 @@ class DownloadsApi {
18990
19594
  /**
18991
19595
  * Downloads service.
18992
19596
  * @module purecloud-platform-client-v2/api/DownloadsApi
18993
- * @version 175.0.0
19597
+ * @version 176.0.0
18994
19598
  */
18995
19599
 
18996
19600
  /**
@@ -19042,7 +19646,7 @@ class EmailsApi {
19042
19646
  /**
19043
19647
  * Emails service.
19044
19648
  * @module purecloud-platform-client-v2/api/EmailsApi
19045
- * @version 175.0.0
19649
+ * @version 176.0.0
19046
19650
  */
19047
19651
 
19048
19652
  /**
@@ -19107,7 +19711,7 @@ class EventsApi {
19107
19711
  /**
19108
19712
  * Events service.
19109
19713
  * @module purecloud-platform-client-v2/api/EventsApi
19110
- * @version 175.0.0
19714
+ * @version 176.0.0
19111
19715
  */
19112
19716
 
19113
19717
  /**
@@ -19203,7 +19807,7 @@ class ExternalContactsApi {
19203
19807
  /**
19204
19808
  * ExternalContacts service.
19205
19809
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
19206
- * @version 175.0.0
19810
+ * @version 176.0.0
19207
19811
  */
19208
19812
 
19209
19813
  /**
@@ -21161,7 +21765,7 @@ class FaxApi {
21161
21765
  /**
21162
21766
  * Fax service.
21163
21767
  * @module purecloud-platform-client-v2/api/FaxApi
21164
- * @version 175.0.0
21768
+ * @version 176.0.0
21165
21769
  */
21166
21770
 
21167
21771
  /**
@@ -21332,7 +21936,7 @@ class FlowsApi {
21332
21936
  /**
21333
21937
  * Flows service.
21334
21938
  * @module purecloud-platform-client-v2/api/FlowsApi
21335
- * @version 175.0.0
21939
+ * @version 176.0.0
21336
21940
  */
21337
21941
 
21338
21942
  /**
@@ -21516,7 +22120,7 @@ class GamificationApi {
21516
22120
  /**
21517
22121
  * Gamification service.
21518
22122
  * @module purecloud-platform-client-v2/api/GamificationApi
21519
- * @version 175.0.0
22123
+ * @version 176.0.0
21520
22124
  */
21521
22125
 
21522
22126
  /**
@@ -23602,7 +24206,7 @@ class GeneralDataProtectionRegulationApi {
23602
24206
  /**
23603
24207
  * GeneralDataProtectionRegulation service.
23604
24208
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
23605
- * @version 175.0.0
24209
+ * @version 176.0.0
23606
24210
  */
23607
24211
 
23608
24212
  /**
@@ -23732,7 +24336,7 @@ class GeolocationApi {
23732
24336
  /**
23733
24337
  * Geolocation service.
23734
24338
  * @module purecloud-platform-client-v2/api/GeolocationApi
23735
- * @version 175.0.0
24339
+ * @version 176.0.0
23736
24340
  */
23737
24341
 
23738
24342
  /**
@@ -23863,7 +24467,7 @@ class GreetingsApi {
23863
24467
  /**
23864
24468
  * Greetings service.
23865
24469
  * @module purecloud-platform-client-v2/api/GreetingsApi
23866
- * @version 175.0.0
24470
+ * @version 176.0.0
23867
24471
  */
23868
24472
 
23869
24473
  /**
@@ -24318,7 +24922,7 @@ class GroupsApi {
24318
24922
  /**
24319
24923
  * Groups service.
24320
24924
  * @module purecloud-platform-client-v2/api/GroupsApi
24321
- * @version 175.0.0
24925
+ * @version 176.0.0
24322
24926
  */
24323
24927
 
24324
24928
  /**
@@ -24837,7 +25441,7 @@ class IdentityProviderApi {
24837
25441
  /**
24838
25442
  * IdentityProvider service.
24839
25443
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
24840
- * @version 175.0.0
25444
+ * @version 176.0.0
24841
25445
  */
24842
25446
 
24843
25447
  /**
@@ -25593,7 +26197,7 @@ class InfrastructureAsCodeApi {
25593
26197
  /**
25594
26198
  * InfrastructureAsCode service.
25595
26199
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
25596
- * @version 175.0.0
26200
+ * @version 176.0.0
25597
26201
  */
25598
26202
 
25599
26203
  /**
@@ -25760,7 +26364,7 @@ class IntegrationsApi {
25760
26364
  /**
25761
26365
  * Integrations service.
25762
26366
  * @module purecloud-platform-client-v2/api/IntegrationsApi
25763
- * @version 175.0.0
26367
+ * @version 176.0.0
25764
26368
  */
25765
26369
 
25766
26370
  /**
@@ -27722,7 +28326,7 @@ class JourneyApi {
27722
28326
  /**
27723
28327
  * Journey service.
27724
28328
  * @module purecloud-platform-client-v2/api/JourneyApi
27725
- * @version 175.0.0
28329
+ * @version 176.0.0
27726
28330
  */
27727
28331
 
27728
28332
  /**
@@ -28886,7 +29490,7 @@ class KnowledgeApi {
28886
29490
  /**
28887
29491
  * Knowledge service.
28888
29492
  * @module purecloud-platform-client-v2/api/KnowledgeApi
28889
- * @version 175.0.0
29493
+ * @version 176.0.0
28890
29494
  */
28891
29495
 
28892
29496
  /**
@@ -31707,7 +32311,7 @@ class LanguageUnderstandingApi {
31707
32311
  /**
31708
32312
  * LanguageUnderstanding service.
31709
32313
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31710
- * @version 175.0.0
32314
+ * @version 176.0.0
31711
32315
  */
31712
32316
 
31713
32317
  /**
@@ -32720,7 +33324,7 @@ class LanguagesApi {
32720
33324
  /**
32721
33325
  * Languages service.
32722
33326
  * @module purecloud-platform-client-v2/api/LanguagesApi
32723
- * @version 175.0.0
33327
+ * @version 176.0.0
32724
33328
  */
32725
33329
 
32726
33330
  /**
@@ -32942,7 +33546,7 @@ class LearningApi {
32942
33546
  /**
32943
33547
  * Learning service.
32944
33548
  * @module purecloud-platform-client-v2/api/LearningApi
32945
- * @version 175.0.0
33549
+ * @version 176.0.0
32946
33550
  */
32947
33551
 
32948
33552
  /**
@@ -33761,7 +34365,7 @@ class LicenseApi {
33761
34365
  /**
33762
34366
  * License service.
33763
34367
  * @module purecloud-platform-client-v2/api/LicenseApi
33764
- * @version 175.0.0
34368
+ * @version 176.0.0
33765
34369
  */
33766
34370
 
33767
34371
  /**
@@ -33999,7 +34603,7 @@ class LocationsApi {
33999
34603
  /**
34000
34604
  * Locations service.
34001
34605
  * @module purecloud-platform-client-v2/api/LocationsApi
34002
- * @version 175.0.0
34606
+ * @version 176.0.0
34003
34607
  */
34004
34608
 
34005
34609
  /**
@@ -34235,7 +34839,7 @@ class MessagingApi {
34235
34839
  /**
34236
34840
  * Messaging service.
34237
34841
  * @module purecloud-platform-client-v2/api/MessagingApi
34238
- * @version 175.0.0
34842
+ * @version 176.0.0
34239
34843
  */
34240
34844
 
34241
34845
  /**
@@ -34594,7 +35198,7 @@ class MobileDevicesApi {
34594
35198
  /**
34595
35199
  * MobileDevices service.
34596
35200
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34597
- * @version 175.0.0
35201
+ * @version 176.0.0
34598
35202
  */
34599
35203
 
34600
35204
  /**
@@ -34745,7 +35349,7 @@ class NotificationsApi {
34745
35349
  /**
34746
35350
  * Notifications service.
34747
35351
  * @module purecloud-platform-client-v2/api/NotificationsApi
34748
- * @version 175.0.0
35352
+ * @version 176.0.0
34749
35353
  */
34750
35354
 
34751
35355
  /**
@@ -34978,7 +35582,7 @@ class OAuthApi {
34978
35582
  /**
34979
35583
  * OAuth service.
34980
35584
  * @module purecloud-platform-client-v2/api/OAuthApi
34981
- * @version 175.0.0
35585
+ * @version 176.0.0
34982
35586
  */
34983
35587
 
34984
35588
  /**
@@ -35344,7 +35948,7 @@ class ObjectsApi {
35344
35948
  /**
35345
35949
  * Objects service.
35346
35950
  * @module purecloud-platform-client-v2/api/ObjectsApi
35347
- * @version 175.0.0
35951
+ * @version 176.0.0
35348
35952
  */
35349
35953
 
35350
35954
  /**
@@ -35615,7 +36219,7 @@ class OrganizationApi {
35615
36219
  /**
35616
36220
  * Organization service.
35617
36221
  * @module purecloud-platform-client-v2/api/OrganizationApi
35618
- * @version 175.0.0
36222
+ * @version 176.0.0
35619
36223
  */
35620
36224
 
35621
36225
  /**
@@ -36070,7 +36674,7 @@ class OrganizationAuthorizationApi {
36070
36674
  /**
36071
36675
  * OrganizationAuthorization service.
36072
36676
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
36073
- * @version 175.0.0
36677
+ * @version 176.0.0
36074
36678
  */
36075
36679
 
36076
36680
  /**
@@ -37417,7 +38021,7 @@ class OutboundApi {
37417
38021
  /**
37418
38022
  * Outbound service.
37419
38023
  * @module purecloud-platform-client-v2/api/OutboundApi
37420
- * @version 175.0.0
38024
+ * @version 176.0.0
37421
38025
  */
37422
38026
 
37423
38027
  /**
@@ -41039,7 +41643,7 @@ class PresenceApi {
41039
41643
  /**
41040
41644
  * Presence service.
41041
41645
  * @module purecloud-platform-client-v2/api/PresenceApi
41042
- * @version 175.0.0
41646
+ * @version 176.0.0
41043
41647
  */
41044
41648
 
41045
41649
  /**
@@ -41778,7 +42382,7 @@ class ProcessAutomationApi {
41778
42382
  /**
41779
42383
  * ProcessAutomation service.
41780
42384
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
41781
- * @version 175.0.0
42385
+ * @version 176.0.0
41782
42386
  */
41783
42387
 
41784
42388
  /**
@@ -42017,7 +42621,7 @@ class QualityApi {
42017
42621
  /**
42018
42622
  * Quality service.
42019
42623
  * @module purecloud-platform-client-v2/api/QualityApi
42020
- * @version 175.0.0
42624
+ * @version 176.0.0
42021
42625
  */
42022
42626
 
42023
42627
  /**
@@ -43771,7 +44375,7 @@ class RecordingApi {
43771
44375
  /**
43772
44376
  * Recording service.
43773
44377
  * @module purecloud-platform-client-v2/api/RecordingApi
43774
- * @version 175.0.0
44378
+ * @version 176.0.0
43775
44379
  */
43776
44380
 
43777
44381
  /**
@@ -45408,7 +46012,7 @@ class ResponseManagementApi {
45408
46012
  /**
45409
46013
  * ResponseManagement service.
45410
46014
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
45411
- * @version 175.0.0
46015
+ * @version 176.0.0
45412
46016
  */
45413
46017
 
45414
46018
  /**
@@ -45893,7 +46497,7 @@ class RoutingApi {
45893
46497
  /**
45894
46498
  * Routing service.
45895
46499
  * @module purecloud-platform-client-v2/api/RoutingApi
45896
- * @version 175.0.0
46500
+ * @version 176.0.0
45897
46501
  */
45898
46502
 
45899
46503
  /**
@@ -47951,8 +48555,8 @@ class RoutingApi {
47951
48555
  * @param {Number} opts.pageNumber Page number (default to 1)
47952
48556
  * @param {Object} opts.sortBy Sort by (default to name)
47953
48557
  * @param {Object} opts.sortOrder Sort order (default to ascending)
47954
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47955
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)
47956
48560
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
47957
48561
  */
47958
48562
  getRoutingWrapupcodes(opts) {
@@ -47963,7 +48567,7 @@ class RoutingApi {
47963
48567
  '/api/v2/routing/wrapupcodes',
47964
48568
  'GET',
47965
48569
  { },
47966
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], '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') },
47967
48571
  { },
47968
48572
  { },
47969
48573
  null,
@@ -49601,7 +50205,7 @@ class SCIMApi {
49601
50205
  /**
49602
50206
  * SCIM service.
49603
50207
  * @module purecloud-platform-client-v2/api/SCIMApi
49604
- * @version 175.0.0
50208
+ * @version 176.0.0
49605
50209
  */
49606
50210
 
49607
50211
  /**
@@ -50478,7 +51082,7 @@ class ScriptsApi {
50478
51082
  /**
50479
51083
  * Scripts service.
50480
51084
  * @module purecloud-platform-client-v2/api/ScriptsApi
50481
- * @version 175.0.0
51085
+ * @version 176.0.0
50482
51086
  */
50483
51087
 
50484
51088
  /**
@@ -50922,7 +51526,7 @@ class SearchApi {
50922
51526
  /**
50923
51527
  * Search service.
50924
51528
  * @module purecloud-platform-client-v2/api/SearchApi
50925
- * @version 175.0.0
51529
+ * @version 176.0.0
50926
51530
  */
50927
51531
 
50928
51532
  /**
@@ -51611,7 +52215,7 @@ class SettingsApi {
51611
52215
  /**
51612
52216
  * Settings service.
51613
52217
  * @module purecloud-platform-client-v2/api/SettingsApi
51614
- * @version 175.0.0
52218
+ * @version 176.0.0
51615
52219
  */
51616
52220
 
51617
52221
  /**
@@ -51676,7 +52280,7 @@ class SpeechTextAnalyticsApi {
51676
52280
  /**
51677
52281
  * SpeechTextAnalytics service.
51678
52282
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
51679
- * @version 175.0.0
52283
+ * @version 176.0.0
51680
52284
  */
51681
52285
 
51682
52286
  /**
@@ -52659,7 +53263,7 @@ class StationsApi {
52659
53263
  /**
52660
53264
  * Stations service.
52661
53265
  * @module purecloud-platform-client-v2/api/StationsApi
52662
- * @version 175.0.0
53266
+ * @version 176.0.0
52663
53267
  */
52664
53268
 
52665
53269
  /**
@@ -52761,7 +53365,7 @@ class SuggestApi {
52761
53365
  /**
52762
53366
  * Suggest service.
52763
53367
  * @module purecloud-platform-client-v2/api/SuggestApi
52764
- * @version 175.0.0
53368
+ * @version 176.0.0
52765
53369
  */
52766
53370
 
52767
53371
  /**
@@ -52900,7 +53504,7 @@ class TaskManagementApi {
52900
53504
  /**
52901
53505
  * TaskManagement service.
52902
53506
  * @module purecloud-platform-client-v2/api/TaskManagementApi
52903
- * @version 175.0.0
53507
+ * @version 176.0.0
52904
53508
  */
52905
53509
 
52906
53510
  /**
@@ -54181,7 +54785,7 @@ class TeamsApi {
54181
54785
  /**
54182
54786
  * Teams service.
54183
54787
  * @module purecloud-platform-client-v2/api/TeamsApi
54184
- * @version 175.0.0
54788
+ * @version 176.0.0
54185
54789
  */
54186
54790
 
54187
54791
  /**
@@ -54483,7 +55087,7 @@ class TelephonyApi {
54483
55087
  /**
54484
55088
  * Telephony service.
54485
55089
  * @module purecloud-platform-client-v2/api/TelephonyApi
54486
- * @version 175.0.0
55090
+ * @version 176.0.0
54487
55091
  */
54488
55092
 
54489
55093
  /**
@@ -54611,7 +55215,7 @@ class TelephonyProvidersEdgeApi {
54611
55215
  /**
54612
55216
  * TelephonyProvidersEdge service.
54613
55217
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
54614
- * @version 175.0.0
55218
+ * @version 176.0.0
54615
55219
  */
54616
55220
 
54617
55221
  /**
@@ -57900,7 +58504,7 @@ class TextbotsApi {
57900
58504
  /**
57901
58505
  * Textbots service.
57902
58506
  * @module purecloud-platform-client-v2/api/TextbotsApi
57903
- * @version 175.0.0
58507
+ * @version 176.0.0
57904
58508
  */
57905
58509
 
57906
58510
  /**
@@ -58028,7 +58632,7 @@ class TokensApi {
58028
58632
  /**
58029
58633
  * Tokens service.
58030
58634
  * @module purecloud-platform-client-v2/api/TokensApi
58031
- * @version 175.0.0
58635
+ * @version 176.0.0
58032
58636
  */
58033
58637
 
58034
58638
  /**
@@ -58184,7 +58788,7 @@ class UploadsApi {
58184
58788
  /**
58185
58789
  * Uploads service.
58186
58790
  * @module purecloud-platform-client-v2/api/UploadsApi
58187
- * @version 175.0.0
58791
+ * @version 176.0.0
58188
58792
  */
58189
58793
 
58190
58794
  /**
@@ -58360,7 +58964,7 @@ class UsageApi {
58360
58964
  /**
58361
58965
  * Usage service.
58362
58966
  * @module purecloud-platform-client-v2/api/UsageApi
58363
- * @version 175.0.0
58967
+ * @version 176.0.0
58364
58968
  */
58365
58969
 
58366
58970
  /**
@@ -58570,7 +59174,7 @@ class UserRecordingsApi {
58570
59174
  /**
58571
59175
  * UserRecordings service.
58572
59176
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
58573
- * @version 175.0.0
59177
+ * @version 176.0.0
58574
59178
  */
58575
59179
 
58576
59180
  /**
@@ -58755,7 +59359,7 @@ class UsersApi {
58755
59359
  /**
58756
59360
  * Users service.
58757
59361
  * @module purecloud-platform-client-v2/api/UsersApi
58758
- * @version 175.0.0
59362
+ * @version 176.0.0
58759
59363
  */
58760
59364
 
58761
59365
  /**
@@ -61316,7 +61920,7 @@ class UtilitiesApi {
61316
61920
  /**
61317
61921
  * Utilities service.
61318
61922
  * @module purecloud-platform-client-v2/api/UtilitiesApi
61319
- * @version 175.0.0
61923
+ * @version 176.0.0
61320
61924
  */
61321
61925
 
61322
61926
  /**
@@ -61427,7 +62031,7 @@ class VoicemailApi {
61427
62031
  /**
61428
62032
  * Voicemail service.
61429
62033
  * @module purecloud-platform-client-v2/api/VoicemailApi
61430
- * @version 175.0.0
62034
+ * @version 176.0.0
61431
62035
  */
61432
62036
 
61433
62037
  /**
@@ -62094,7 +62698,7 @@ class WebChatApi {
62094
62698
  /**
62095
62699
  * WebChat service.
62096
62700
  * @module purecloud-platform-client-v2/api/WebChatApi
62097
- * @version 175.0.0
62701
+ * @version 176.0.0
62098
62702
  */
62099
62703
 
62100
62704
  /**
@@ -62643,7 +63247,7 @@ class WebDeploymentsApi {
62643
63247
  /**
62644
63248
  * WebDeployments service.
62645
63249
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
62646
- * @version 175.0.0
63250
+ * @version 176.0.0
62647
63251
  */
62648
63252
 
62649
63253
  /**
@@ -63170,7 +63774,7 @@ class WebMessagingApi {
63170
63774
  /**
63171
63775
  * WebMessaging service.
63172
63776
  * @module purecloud-platform-client-v2/api/WebMessagingApi
63173
- * @version 175.0.0
63777
+ * @version 176.0.0
63174
63778
  */
63175
63779
 
63176
63780
  /**
@@ -63216,7 +63820,7 @@ class WidgetsApi {
63216
63820
  /**
63217
63821
  * Widgets service.
63218
63822
  * @module purecloud-platform-client-v2/api/WidgetsApi
63219
- * @version 175.0.0
63823
+ * @version 176.0.0
63220
63824
  */
63221
63825
 
63222
63826
  /**
@@ -63362,7 +63966,7 @@ class WorkforceManagementApi {
63362
63966
  /**
63363
63967
  * WorkforceManagement service.
63364
63968
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
63365
- * @version 175.0.0
63969
+ * @version 176.0.0
63366
63970
  */
63367
63971
 
63368
63972
  /**
@@ -68526,7 +69130,7 @@ class WorkforceManagementApi {
68526
69130
  * </pre>
68527
69131
  * </p>
68528
69132
  * @module purecloud-platform-client-v2/index
68529
- * @version 175.0.0
69133
+ * @version 176.0.0
68530
69134
  */
68531
69135
  class platformClient {
68532
69136
  constructor() {