purecloud-platform-client-v2 175.0.0 → 177.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 +714 -75
  3. package/dist/web-amd/purecloud-platform-client-v2.js +714 -75
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +714 -75
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +714 -75
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +380 -213
  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 +36 -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 177.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 177.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 177.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 177.0.0
4588
4588
  */
4589
4589
 
4590
4590
  /**
@@ -7117,6 +7117,41 @@ class ArchitectApi {
7117
7117
  );
7118
7118
  }
7119
7119
 
7120
+ /**
7121
+ * Updates a grammar language
7122
+ *
7123
+ * @param {String} grammarId Grammar ID
7124
+ * @param {String} languageCode Language
7125
+ * @param {Object} opts Optional parameters
7126
+ * @param {Object} opts.body
7127
+ * patchArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7128
+ */
7129
+ patchArchitectGrammarLanguage(grammarId, languageCode, opts) {
7130
+ opts = opts || {};
7131
+
7132
+ // verify the required parameter 'grammarId' is set
7133
+ if (grammarId === undefined || grammarId === null) {
7134
+ throw 'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';
7135
+ }
7136
+ // verify the required parameter 'languageCode' is set
7137
+ if (languageCode === undefined || languageCode === null) {
7138
+ throw 'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';
7139
+ }
7140
+
7141
+ return this.apiClient.callApi(
7142
+ '/api/v2/architect/grammars/{grammarId}/languages/{languageCode}',
7143
+ 'PATCH',
7144
+ { 'grammarId': grammarId,'languageCode': languageCode },
7145
+ { },
7146
+ { },
7147
+ { },
7148
+ opts['body'],
7149
+ ['PureCloud OAuth'],
7150
+ ['application/json'],
7151
+ ['application/json']
7152
+ );
7153
+ }
7154
+
7120
7155
  /**
7121
7156
  * Rebuild Dependency Tracking data for an organization
7122
7157
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
@@ -8384,7 +8419,7 @@ class AuditApi {
8384
8419
  /**
8385
8420
  * Audit service.
8386
8421
  * @module purecloud-platform-client-v2/api/AuditApi
8387
- * @version 175.0.0
8422
+ * @version 177.0.0
8388
8423
  */
8389
8424
 
8390
8425
  /**
@@ -8555,7 +8590,7 @@ class AuthorizationApi {
8555
8590
  /**
8556
8591
  * Authorization service.
8557
8592
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8558
- * @version 175.0.0
8593
+ * @version 177.0.0
8559
8594
  */
8560
8595
 
8561
8596
  /**
@@ -9786,7 +9821,7 @@ class BillingApi {
9786
9821
  /**
9787
9822
  * Billing service.
9788
9823
  * @module purecloud-platform-client-v2/api/BillingApi
9789
- * @version 175.0.0
9824
+ * @version 177.0.0
9790
9825
  */
9791
9826
 
9792
9827
  /**
@@ -9866,7 +9901,7 @@ class CarrierServicesApi {
9866
9901
  /**
9867
9902
  * CarrierServices service.
9868
9903
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9869
- * @version 175.0.0
9904
+ * @version 177.0.0
9870
9905
  */
9871
9906
 
9872
9907
  /**
@@ -9936,7 +9971,7 @@ class ChatApi {
9936
9971
  /**
9937
9972
  * Chat service.
9938
9973
  * @module purecloud-platform-client-v2/api/ChatApi
9939
- * @version 175.0.0
9974
+ * @version 177.0.0
9940
9975
  */
9941
9976
 
9942
9977
  /**
@@ -9951,6 +9986,130 @@ class ChatApi {
9951
9986
  }
9952
9987
 
9953
9988
 
9989
+ /**
9990
+ * Delete a message in a room
9991
+ *
9992
+ * @param {String} roomJid roomId
9993
+ * @param {String} messageId messageId
9994
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9995
+ */
9996
+ deleteChatsRoomMessage(roomJid, messageId) {
9997
+ // verify the required parameter 'roomJid' is set
9998
+ if (roomJid === undefined || roomJid === null) {
9999
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
10000
+ }
10001
+ // verify the required parameter 'messageId' is set
10002
+ if (messageId === undefined || messageId === null) {
10003
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
10004
+ }
10005
+
10006
+ return this.apiClient.callApi(
10007
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
10008
+ 'DELETE',
10009
+ { 'roomJid': roomJid,'messageId': messageId },
10010
+ { },
10011
+ { },
10012
+ { },
10013
+ null,
10014
+ ['PureCloud OAuth'],
10015
+ ['application/json'],
10016
+ ['application/json']
10017
+ );
10018
+ }
10019
+
10020
+ /**
10021
+ * Remove a user from a room.
10022
+ *
10023
+ * @param {String} roomJid roomJid
10024
+ * @param {String} userId userId
10025
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10026
+ */
10027
+ deleteChatsRoomParticipant(roomJid, userId) {
10028
+ // verify the required parameter 'roomJid' is set
10029
+ if (roomJid === undefined || roomJid === null) {
10030
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
10031
+ }
10032
+ // verify the required parameter 'userId' is set
10033
+ if (userId === undefined || userId === null) {
10034
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
10035
+ }
10036
+
10037
+ return this.apiClient.callApi(
10038
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10039
+ 'DELETE',
10040
+ { 'roomJid': roomJid,'userId': userId },
10041
+ { },
10042
+ { },
10043
+ { },
10044
+ null,
10045
+ ['PureCloud OAuth'],
10046
+ ['application/json'],
10047
+ ['application/json']
10048
+ );
10049
+ }
10050
+
10051
+ /**
10052
+ * Remove a pinned message from a room
10053
+ *
10054
+ * @param {String} roomJid roomJid
10055
+ * @param {String} pinnedMessageId pinnedMessageId
10056
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10057
+ */
10058
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
10059
+ // verify the required parameter 'roomJid' is set
10060
+ if (roomJid === undefined || roomJid === null) {
10061
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
10062
+ }
10063
+ // verify the required parameter 'pinnedMessageId' is set
10064
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
10065
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
10066
+ }
10067
+
10068
+ return this.apiClient.callApi(
10069
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
10070
+ 'DELETE',
10071
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
10072
+ { },
10073
+ { },
10074
+ { },
10075
+ null,
10076
+ ['PureCloud OAuth'],
10077
+ ['application/json'],
10078
+ ['application/json']
10079
+ );
10080
+ }
10081
+
10082
+ /**
10083
+ * Delete a message to a user
10084
+ *
10085
+ * @param {String} userId userId
10086
+ * @param {String} messageId messageId
10087
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10088
+ */
10089
+ deleteChatsUserMessage(userId, messageId) {
10090
+ // verify the required parameter 'userId' is set
10091
+ if (userId === undefined || userId === null) {
10092
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
10093
+ }
10094
+ // verify the required parameter 'messageId' is set
10095
+ if (messageId === undefined || messageId === null) {
10096
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
10097
+ }
10098
+
10099
+ return this.apiClient.callApi(
10100
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10101
+ 'DELETE',
10102
+ { 'userId': userId,'messageId': messageId },
10103
+ { },
10104
+ { },
10105
+ { },
10106
+ null,
10107
+ ['PureCloud OAuth'],
10108
+ ['application/json'],
10109
+ ['application/json']
10110
+ );
10111
+ }
10112
+
9954
10113
  /**
9955
10114
  * Get Chat Settings.
9956
10115
  * This route is deprecated, please use /chats/settings instead
@@ -9972,6 +10131,127 @@ class ChatApi {
9972
10131
  );
9973
10132
  }
9974
10133
 
10134
+ /**
10135
+ * Get a message
10136
+ *
10137
+ * @param {String} messageId messageId
10138
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10139
+ */
10140
+ getChatsMessage(messageId) {
10141
+ // verify the required parameter 'messageId' is set
10142
+ if (messageId === undefined || messageId === null) {
10143
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
10144
+ }
10145
+
10146
+ return this.apiClient.callApi(
10147
+ '/api/v2/chats/messages/{messageId}',
10148
+ 'GET',
10149
+ { 'messageId': messageId },
10150
+ { },
10151
+ { },
10152
+ { },
10153
+ null,
10154
+ ['PureCloud OAuth'],
10155
+ ['application/json'],
10156
+ ['application/json']
10157
+ );
10158
+ }
10159
+
10160
+ /**
10161
+ * Get a room
10162
+ *
10163
+ * @param {String} roomJid roomJid
10164
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10165
+ */
10166
+ getChatsRoom(roomJid) {
10167
+ // verify the required parameter 'roomJid' is set
10168
+ if (roomJid === undefined || roomJid === null) {
10169
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
10170
+ }
10171
+
10172
+ return this.apiClient.callApi(
10173
+ '/api/v2/chats/rooms/{roomJid}',
10174
+ 'GET',
10175
+ { 'roomJid': roomJid },
10176
+ { },
10177
+ { },
10178
+ { },
10179
+ null,
10180
+ ['PureCloud OAuth'],
10181
+ ['application/json'],
10182
+ ['application/json']
10183
+ );
10184
+ }
10185
+
10186
+ /**
10187
+ * Get messages by id(s) from a room
10188
+ *
10189
+ * @param {String} roomJid roomJid
10190
+ * @param {String} messageIds messageIds, comma separated
10191
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10192
+ */
10193
+ getChatsRoomMessage(roomJid, messageIds) {
10194
+ // verify the required parameter 'roomJid' is set
10195
+ if (roomJid === undefined || roomJid === null) {
10196
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
10197
+ }
10198
+ // verify the required parameter 'messageIds' is set
10199
+ if (messageIds === undefined || messageIds === null) {
10200
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
10201
+ }
10202
+
10203
+ return this.apiClient.callApi(
10204
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
10205
+ 'GET',
10206
+ { 'roomJid': roomJid,'messageIds': messageIds },
10207
+ { },
10208
+ { },
10209
+ { },
10210
+ null,
10211
+ ['PureCloud OAuth'],
10212
+ ['application/json'],
10213
+ ['application/json']
10214
+ );
10215
+ }
10216
+
10217
+ /**
10218
+ * Get a room's message history
10219
+ *
10220
+ * @param {String} roomJid roomJid
10221
+ * @param {Object} opts Optional parameters
10222
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10223
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10224
+ * @param {String} opts.sortBy variable name requested to sort by
10225
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10226
+ * @param {String} opts.nextPage next page token
10227
+ * @param {String} opts.previousPage Previous page token
10228
+ * @param {String} opts.limit The maximum number of messages to retrieve
10229
+ * @param {String} opts.before The cutoff date for messages to retrieve
10230
+ * @param {String} opts.after The beginning date for messages to retrieve
10231
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10232
+ */
10233
+ getChatsRoomMessages(roomJid, opts) {
10234
+ opts = opts || {};
10235
+
10236
+ // verify the required parameter 'roomJid' is set
10237
+ if (roomJid === undefined || roomJid === null) {
10238
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
10239
+ }
10240
+
10241
+ return this.apiClient.callApi(
10242
+ '/api/v2/chats/rooms/{roomJid}/messages',
10243
+ 'GET',
10244
+ { 'roomJid': roomJid },
10245
+ { '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'] },
10246
+ { },
10247
+ { },
10248
+ null,
10249
+ ['PureCloud OAuth'],
10250
+ ['application/json'],
10251
+ ['application/json']
10252
+ );
10253
+ }
10254
+
9975
10255
  /**
9976
10256
  * Get Chat Settings.
9977
10257
  *
@@ -9992,6 +10272,113 @@ class ChatApi {
9992
10272
  );
9993
10273
  }
9994
10274
 
10275
+ /**
10276
+ * Get history by thread
10277
+ *
10278
+ * @param {String} threadId threadId
10279
+ * @param {Object} opts Optional parameters
10280
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10281
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10282
+ * @param {String} opts.sortBy variable name requested to sort by
10283
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10284
+ * @param {String} opts.nextPage next page token
10285
+ * @param {String} opts.previousPage Previous page token
10286
+ * @param {String} opts.limit The maximum number of messages to retrieve
10287
+ * @param {String} opts.before The cutoff date for messages to retrieve
10288
+ * @param {String} opts.after The beginning date for messages to retrieve
10289
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10290
+ */
10291
+ getChatsThreadMessages(threadId, opts) {
10292
+ opts = opts || {};
10293
+
10294
+ // verify the required parameter 'threadId' is set
10295
+ if (threadId === undefined || threadId === null) {
10296
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
10297
+ }
10298
+
10299
+ return this.apiClient.callApi(
10300
+ '/api/v2/chats/threads/{threadId}/messages',
10301
+ 'GET',
10302
+ { 'threadId': threadId },
10303
+ { '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'] },
10304
+ { },
10305
+ { },
10306
+ null,
10307
+ ['PureCloud OAuth'],
10308
+ ['application/json'],
10309
+ ['application/json']
10310
+ );
10311
+ }
10312
+
10313
+ /**
10314
+ * Get messages by id(s) from a 1on1
10315
+ *
10316
+ * @param {String} userId userId
10317
+ * @param {String} messageIds messageIds, comma separated
10318
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10319
+ */
10320
+ getChatsUserMessage(userId, messageIds) {
10321
+ // verify the required parameter 'userId' is set
10322
+ if (userId === undefined || userId === null) {
10323
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
10324
+ }
10325
+ // verify the required parameter 'messageIds' is set
10326
+ if (messageIds === undefined || messageIds === null) {
10327
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
10328
+ }
10329
+
10330
+ return this.apiClient.callApi(
10331
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
10332
+ 'GET',
10333
+ { 'userId': userId,'messageIds': messageIds },
10334
+ { },
10335
+ { },
10336
+ { },
10337
+ null,
10338
+ ['PureCloud OAuth'],
10339
+ ['application/json'],
10340
+ ['application/json']
10341
+ );
10342
+ }
10343
+
10344
+ /**
10345
+ * Get 1on1 History between a user
10346
+ *
10347
+ * @param {String} userId userId
10348
+ * @param {Object} opts Optional parameters
10349
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10350
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10351
+ * @param {String} opts.sortBy variable name requested to sort by
10352
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10353
+ * @param {String} opts.nextPage next page token
10354
+ * @param {String} opts.previousPage Previous page token
10355
+ * @param {String} opts.limit The maximum number of messages to retrieve
10356
+ * @param {String} opts.before The cutoff date for messages to retrieve
10357
+ * @param {String} opts.after The beginning date for messages to retrieve
10358
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10359
+ */
10360
+ getChatsUserMessages(userId, opts) {
10361
+ opts = opts || {};
10362
+
10363
+ // verify the required parameter 'userId' is set
10364
+ if (userId === undefined || userId === null) {
10365
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
10366
+ }
10367
+
10368
+ return this.apiClient.callApi(
10369
+ '/api/v2/chats/users/{userId}/messages',
10370
+ 'GET',
10371
+ { 'userId': userId },
10372
+ { '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'] },
10373
+ { },
10374
+ { },
10375
+ null,
10376
+ ['PureCloud OAuth'],
10377
+ ['application/json'],
10378
+ ['application/json']
10379
+ );
10380
+ }
10381
+
9995
10382
  /**
9996
10383
  * Patch Chat Settings.
9997
10384
  * This route is deprecated, please use /chats/settings instead
@@ -10018,6 +10405,73 @@ class ChatApi {
10018
10405
  );
10019
10406
  }
10020
10407
 
10408
+ /**
10409
+ * Set properties for a room
10410
+ *
10411
+ * @param {String} roomJid roomJid
10412
+ * @param {Object} body Room properties
10413
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10414
+ */
10415
+ patchChatsRoom(roomJid, body) {
10416
+ // verify the required parameter 'roomJid' is set
10417
+ if (roomJid === undefined || roomJid === null) {
10418
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
10419
+ }
10420
+ // verify the required parameter 'body' is set
10421
+ if (body === undefined || body === null) {
10422
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
10423
+ }
10424
+
10425
+ return this.apiClient.callApi(
10426
+ '/api/v2/chats/rooms/{roomJid}',
10427
+ 'PATCH',
10428
+ { 'roomJid': roomJid },
10429
+ { },
10430
+ { },
10431
+ { },
10432
+ body,
10433
+ ['PureCloud OAuth'],
10434
+ ['application/json'],
10435
+ ['application/json']
10436
+ );
10437
+ }
10438
+
10439
+ /**
10440
+ * Edit a message in a room
10441
+ *
10442
+ * @param {String} roomJid roomId
10443
+ * @param {String} messageId messageId
10444
+ * @param {Object} body messageBody
10445
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10446
+ */
10447
+ patchChatsRoomMessage(roomJid, messageId, body) {
10448
+ // verify the required parameter 'roomJid' is set
10449
+ if (roomJid === undefined || roomJid === null) {
10450
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
10451
+ }
10452
+ // verify the required parameter 'messageId' is set
10453
+ if (messageId === undefined || messageId === null) {
10454
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
10455
+ }
10456
+ // verify the required parameter 'body' is set
10457
+ if (body === undefined || body === null) {
10458
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
10459
+ }
10460
+
10461
+ return this.apiClient.callApi(
10462
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
10463
+ 'PATCH',
10464
+ { 'roomJid': roomJid,'messageId': messageId },
10465
+ { },
10466
+ { },
10467
+ { },
10468
+ body,
10469
+ ['PureCloud OAuth'],
10470
+ ['application/json'],
10471
+ ['application/json']
10472
+ );
10473
+ }
10474
+
10021
10475
  /**
10022
10476
  * Patch Chat Settings.
10023
10477
  *
@@ -10043,6 +10497,191 @@ class ChatApi {
10043
10497
  );
10044
10498
  }
10045
10499
 
10500
+ /**
10501
+ * Edit a message to a user
10502
+ *
10503
+ * @param {String} userId userId
10504
+ * @param {String} messageId messageId
10505
+ * @param {Object} body message body
10506
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10507
+ */
10508
+ patchChatsUserMessage(userId, messageId, body) {
10509
+ // verify the required parameter 'userId' is set
10510
+ if (userId === undefined || userId === null) {
10511
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
10512
+ }
10513
+ // verify the required parameter 'messageId' is set
10514
+ if (messageId === undefined || messageId === null) {
10515
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
10516
+ }
10517
+ // verify the required parameter 'body' is set
10518
+ if (body === undefined || body === null) {
10519
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
10520
+ }
10521
+
10522
+ return this.apiClient.callApi(
10523
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10524
+ 'PATCH',
10525
+ { 'userId': userId,'messageId': messageId },
10526
+ { },
10527
+ { },
10528
+ { },
10529
+ body,
10530
+ ['PureCloud OAuth'],
10531
+ ['application/json'],
10532
+ ['application/json']
10533
+ );
10534
+ }
10535
+
10536
+ /**
10537
+ * Send a message to a room
10538
+ *
10539
+ * @param {String} roomJid roomId
10540
+ * @param {Object} body messageBody
10541
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10542
+ */
10543
+ postChatsRoomMessages(roomJid, body) {
10544
+ // verify the required parameter 'roomJid' is set
10545
+ if (roomJid === undefined || roomJid === null) {
10546
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
10547
+ }
10548
+ // verify the required parameter 'body' is set
10549
+ if (body === undefined || body === null) {
10550
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
10551
+ }
10552
+
10553
+ return this.apiClient.callApi(
10554
+ '/api/v2/chats/rooms/{roomJid}/messages',
10555
+ 'POST',
10556
+ { 'roomJid': roomJid },
10557
+ { },
10558
+ { },
10559
+ { },
10560
+ body,
10561
+ ['PureCloud OAuth'],
10562
+ ['application/json'],
10563
+ ['application/json']
10564
+ );
10565
+ }
10566
+
10567
+ /**
10568
+ * Join a room
10569
+ *
10570
+ * @param {String} roomJid roomJid
10571
+ * @param {String} userId userId
10572
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10573
+ */
10574
+ postChatsRoomParticipant(roomJid, userId) {
10575
+ // verify the required parameter 'roomJid' is set
10576
+ if (roomJid === undefined || roomJid === null) {
10577
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
10578
+ }
10579
+ // verify the required parameter 'userId' is set
10580
+ if (userId === undefined || userId === null) {
10581
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
10582
+ }
10583
+
10584
+ return this.apiClient.callApi(
10585
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10586
+ 'POST',
10587
+ { 'roomJid': roomJid,'userId': userId },
10588
+ { },
10589
+ { },
10590
+ { },
10591
+ null,
10592
+ ['PureCloud OAuth'],
10593
+ ['application/json'],
10594
+ ['application/json']
10595
+ );
10596
+ }
10597
+
10598
+ /**
10599
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
10600
+ *
10601
+ * @param {String} roomJid roomJid
10602
+ * @param {Object} body Pinned Message Ids
10603
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10604
+ */
10605
+ postChatsRoomPinnedmessages(roomJid, body) {
10606
+ // verify the required parameter 'roomJid' is set
10607
+ if (roomJid === undefined || roomJid === null) {
10608
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
10609
+ }
10610
+ // verify the required parameter 'body' is set
10611
+ if (body === undefined || body === null) {
10612
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
10613
+ }
10614
+
10615
+ return this.apiClient.callApi(
10616
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
10617
+ 'POST',
10618
+ { 'roomJid': roomJid },
10619
+ { },
10620
+ { },
10621
+ { },
10622
+ body,
10623
+ ['PureCloud OAuth'],
10624
+ ['application/json'],
10625
+ ['application/json']
10626
+ );
10627
+ }
10628
+
10629
+ /**
10630
+ * Create an adhoc room
10631
+ *
10632
+ * @param {Object} opts Optional parameters
10633
+ * @param {Object} opts.body Room properties
10634
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10635
+ */
10636
+ postChatsRooms(opts) {
10637
+ opts = opts || {};
10638
+
10639
+
10640
+ return this.apiClient.callApi(
10641
+ '/api/v2/chats/rooms',
10642
+ 'POST',
10643
+ { },
10644
+ { },
10645
+ { },
10646
+ { },
10647
+ opts['body'],
10648
+ ['PureCloud OAuth'],
10649
+ ['application/json'],
10650
+ ['application/json']
10651
+ );
10652
+ }
10653
+
10654
+ /**
10655
+ * Send a message to a user
10656
+ *
10657
+ * @param {String} userId userId
10658
+ * @param {Object} body message body
10659
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10660
+ */
10661
+ postChatsUserMessages(userId, body) {
10662
+ // verify the required parameter 'userId' is set
10663
+ if (userId === undefined || userId === null) {
10664
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
10665
+ }
10666
+ // verify the required parameter 'body' is set
10667
+ if (body === undefined || body === null) {
10668
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
10669
+ }
10670
+
10671
+ return this.apiClient.callApi(
10672
+ '/api/v2/chats/users/{userId}/messages',
10673
+ 'POST',
10674
+ { 'userId': userId },
10675
+ { },
10676
+ { },
10677
+ { },
10678
+ body,
10679
+ ['PureCloud OAuth'],
10680
+ ['application/json'],
10681
+ ['application/json']
10682
+ );
10683
+ }
10684
+
10046
10685
  /**
10047
10686
  * Update Chat Settings.
10048
10687
  * This route is deprecated, please use /chats/settings instead
@@ -10100,7 +10739,7 @@ class CoachingApi {
10100
10739
  /**
10101
10740
  * Coaching service.
10102
10741
  * @module purecloud-platform-client-v2/api/CoachingApi
10103
- * @version 175.0.0
10742
+ * @version 177.0.0
10104
10743
  */
10105
10744
 
10106
10745
  /**
@@ -10677,7 +11316,7 @@ class ContentManagementApi {
10677
11316
  /**
10678
11317
  * ContentManagement service.
10679
11318
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10680
- * @version 175.0.0
11319
+ * @version 177.0.0
10681
11320
  */
10682
11321
 
10683
11322
  /**
@@ -11820,7 +12459,7 @@ class ConversationsApi {
11820
12459
  /**
11821
12460
  * Conversations service.
11822
12461
  * @module purecloud-platform-client-v2/api/ConversationsApi
11823
- * @version 175.0.0
12462
+ * @version 177.0.0
11824
12463
  */
11825
12464
 
11826
12465
  /**
@@ -18904,7 +19543,7 @@ class DataExtensionsApi {
18904
19543
  /**
18905
19544
  * DataExtensions service.
18906
19545
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
18907
- * @version 175.0.0
19546
+ * @version 177.0.0
18908
19547
  */
18909
19548
 
18910
19549
  /**
@@ -18990,7 +19629,7 @@ class DownloadsApi {
18990
19629
  /**
18991
19630
  * Downloads service.
18992
19631
  * @module purecloud-platform-client-v2/api/DownloadsApi
18993
- * @version 175.0.0
19632
+ * @version 177.0.0
18994
19633
  */
18995
19634
 
18996
19635
  /**
@@ -19042,7 +19681,7 @@ class EmailsApi {
19042
19681
  /**
19043
19682
  * Emails service.
19044
19683
  * @module purecloud-platform-client-v2/api/EmailsApi
19045
- * @version 175.0.0
19684
+ * @version 177.0.0
19046
19685
  */
19047
19686
 
19048
19687
  /**
@@ -19107,7 +19746,7 @@ class EventsApi {
19107
19746
  /**
19108
19747
  * Events service.
19109
19748
  * @module purecloud-platform-client-v2/api/EventsApi
19110
- * @version 175.0.0
19749
+ * @version 177.0.0
19111
19750
  */
19112
19751
 
19113
19752
  /**
@@ -19203,7 +19842,7 @@ class ExternalContactsApi {
19203
19842
  /**
19204
19843
  * ExternalContacts service.
19205
19844
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
19206
- * @version 175.0.0
19845
+ * @version 177.0.0
19207
19846
  */
19208
19847
 
19209
19848
  /**
@@ -21161,7 +21800,7 @@ class FaxApi {
21161
21800
  /**
21162
21801
  * Fax service.
21163
21802
  * @module purecloud-platform-client-v2/api/FaxApi
21164
- * @version 175.0.0
21803
+ * @version 177.0.0
21165
21804
  */
21166
21805
 
21167
21806
  /**
@@ -21332,7 +21971,7 @@ class FlowsApi {
21332
21971
  /**
21333
21972
  * Flows service.
21334
21973
  * @module purecloud-platform-client-v2/api/FlowsApi
21335
- * @version 175.0.0
21974
+ * @version 177.0.0
21336
21975
  */
21337
21976
 
21338
21977
  /**
@@ -21516,7 +22155,7 @@ class GamificationApi {
21516
22155
  /**
21517
22156
  * Gamification service.
21518
22157
  * @module purecloud-platform-client-v2/api/GamificationApi
21519
- * @version 175.0.0
22158
+ * @version 177.0.0
21520
22159
  */
21521
22160
 
21522
22161
  /**
@@ -23602,7 +24241,7 @@ class GeneralDataProtectionRegulationApi {
23602
24241
  /**
23603
24242
  * GeneralDataProtectionRegulation service.
23604
24243
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
23605
- * @version 175.0.0
24244
+ * @version 177.0.0
23606
24245
  */
23607
24246
 
23608
24247
  /**
@@ -23732,7 +24371,7 @@ class GeolocationApi {
23732
24371
  /**
23733
24372
  * Geolocation service.
23734
24373
  * @module purecloud-platform-client-v2/api/GeolocationApi
23735
- * @version 175.0.0
24374
+ * @version 177.0.0
23736
24375
  */
23737
24376
 
23738
24377
  /**
@@ -23863,7 +24502,7 @@ class GreetingsApi {
23863
24502
  /**
23864
24503
  * Greetings service.
23865
24504
  * @module purecloud-platform-client-v2/api/GreetingsApi
23866
- * @version 175.0.0
24505
+ * @version 177.0.0
23867
24506
  */
23868
24507
 
23869
24508
  /**
@@ -24318,7 +24957,7 @@ class GroupsApi {
24318
24957
  /**
24319
24958
  * Groups service.
24320
24959
  * @module purecloud-platform-client-v2/api/GroupsApi
24321
- * @version 175.0.0
24960
+ * @version 177.0.0
24322
24961
  */
24323
24962
 
24324
24963
  /**
@@ -24837,7 +25476,7 @@ class IdentityProviderApi {
24837
25476
  /**
24838
25477
  * IdentityProvider service.
24839
25478
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
24840
- * @version 175.0.0
25479
+ * @version 177.0.0
24841
25480
  */
24842
25481
 
24843
25482
  /**
@@ -25593,7 +26232,7 @@ class InfrastructureAsCodeApi {
25593
26232
  /**
25594
26233
  * InfrastructureAsCode service.
25595
26234
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
25596
- * @version 175.0.0
26235
+ * @version 177.0.0
25597
26236
  */
25598
26237
 
25599
26238
  /**
@@ -25760,7 +26399,7 @@ class IntegrationsApi {
25760
26399
  /**
25761
26400
  * Integrations service.
25762
26401
  * @module purecloud-platform-client-v2/api/IntegrationsApi
25763
- * @version 175.0.0
26402
+ * @version 177.0.0
25764
26403
  */
25765
26404
 
25766
26405
  /**
@@ -27722,7 +28361,7 @@ class JourneyApi {
27722
28361
  /**
27723
28362
  * Journey service.
27724
28363
  * @module purecloud-platform-client-v2/api/JourneyApi
27725
- * @version 175.0.0
28364
+ * @version 177.0.0
27726
28365
  */
27727
28366
 
27728
28367
  /**
@@ -28886,7 +29525,7 @@ class KnowledgeApi {
28886
29525
  /**
28887
29526
  * Knowledge service.
28888
29527
  * @module purecloud-platform-client-v2/api/KnowledgeApi
28889
- * @version 175.0.0
29528
+ * @version 177.0.0
28890
29529
  */
28891
29530
 
28892
29531
  /**
@@ -31707,7 +32346,7 @@ class LanguageUnderstandingApi {
31707
32346
  /**
31708
32347
  * LanguageUnderstanding service.
31709
32348
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31710
- * @version 175.0.0
32349
+ * @version 177.0.0
31711
32350
  */
31712
32351
 
31713
32352
  /**
@@ -32720,7 +33359,7 @@ class LanguagesApi {
32720
33359
  /**
32721
33360
  * Languages service.
32722
33361
  * @module purecloud-platform-client-v2/api/LanguagesApi
32723
- * @version 175.0.0
33362
+ * @version 177.0.0
32724
33363
  */
32725
33364
 
32726
33365
  /**
@@ -32942,7 +33581,7 @@ class LearningApi {
32942
33581
  /**
32943
33582
  * Learning service.
32944
33583
  * @module purecloud-platform-client-v2/api/LearningApi
32945
- * @version 175.0.0
33584
+ * @version 177.0.0
32946
33585
  */
32947
33586
 
32948
33587
  /**
@@ -33761,7 +34400,7 @@ class LicenseApi {
33761
34400
  /**
33762
34401
  * License service.
33763
34402
  * @module purecloud-platform-client-v2/api/LicenseApi
33764
- * @version 175.0.0
34403
+ * @version 177.0.0
33765
34404
  */
33766
34405
 
33767
34406
  /**
@@ -33999,7 +34638,7 @@ class LocationsApi {
33999
34638
  /**
34000
34639
  * Locations service.
34001
34640
  * @module purecloud-platform-client-v2/api/LocationsApi
34002
- * @version 175.0.0
34641
+ * @version 177.0.0
34003
34642
  */
34004
34643
 
34005
34644
  /**
@@ -34235,7 +34874,7 @@ class MessagingApi {
34235
34874
  /**
34236
34875
  * Messaging service.
34237
34876
  * @module purecloud-platform-client-v2/api/MessagingApi
34238
- * @version 175.0.0
34877
+ * @version 177.0.0
34239
34878
  */
34240
34879
 
34241
34880
  /**
@@ -34594,7 +35233,7 @@ class MobileDevicesApi {
34594
35233
  /**
34595
35234
  * MobileDevices service.
34596
35235
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34597
- * @version 175.0.0
35236
+ * @version 177.0.0
34598
35237
  */
34599
35238
 
34600
35239
  /**
@@ -34745,7 +35384,7 @@ class NotificationsApi {
34745
35384
  /**
34746
35385
  * Notifications service.
34747
35386
  * @module purecloud-platform-client-v2/api/NotificationsApi
34748
- * @version 175.0.0
35387
+ * @version 177.0.0
34749
35388
  */
34750
35389
 
34751
35390
  /**
@@ -34978,7 +35617,7 @@ class OAuthApi {
34978
35617
  /**
34979
35618
  * OAuth service.
34980
35619
  * @module purecloud-platform-client-v2/api/OAuthApi
34981
- * @version 175.0.0
35620
+ * @version 177.0.0
34982
35621
  */
34983
35622
 
34984
35623
  /**
@@ -35344,7 +35983,7 @@ class ObjectsApi {
35344
35983
  /**
35345
35984
  * Objects service.
35346
35985
  * @module purecloud-platform-client-v2/api/ObjectsApi
35347
- * @version 175.0.0
35986
+ * @version 177.0.0
35348
35987
  */
35349
35988
 
35350
35989
  /**
@@ -35615,7 +36254,7 @@ class OrganizationApi {
35615
36254
  /**
35616
36255
  * Organization service.
35617
36256
  * @module purecloud-platform-client-v2/api/OrganizationApi
35618
- * @version 175.0.0
36257
+ * @version 177.0.0
35619
36258
  */
35620
36259
 
35621
36260
  /**
@@ -36070,7 +36709,7 @@ class OrganizationAuthorizationApi {
36070
36709
  /**
36071
36710
  * OrganizationAuthorization service.
36072
36711
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
36073
- * @version 175.0.0
36712
+ * @version 177.0.0
36074
36713
  */
36075
36714
 
36076
36715
  /**
@@ -37417,7 +38056,7 @@ class OutboundApi {
37417
38056
  /**
37418
38057
  * Outbound service.
37419
38058
  * @module purecloud-platform-client-v2/api/OutboundApi
37420
- * @version 175.0.0
38059
+ * @version 177.0.0
37421
38060
  */
37422
38061
 
37423
38062
  /**
@@ -41039,7 +41678,7 @@ class PresenceApi {
41039
41678
  /**
41040
41679
  * Presence service.
41041
41680
  * @module purecloud-platform-client-v2/api/PresenceApi
41042
- * @version 175.0.0
41681
+ * @version 177.0.0
41043
41682
  */
41044
41683
 
41045
41684
  /**
@@ -41778,7 +42417,7 @@ class ProcessAutomationApi {
41778
42417
  /**
41779
42418
  * ProcessAutomation service.
41780
42419
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
41781
- * @version 175.0.0
42420
+ * @version 177.0.0
41782
42421
  */
41783
42422
 
41784
42423
  /**
@@ -42017,7 +42656,7 @@ class QualityApi {
42017
42656
  /**
42018
42657
  * Quality service.
42019
42658
  * @module purecloud-platform-client-v2/api/QualityApi
42020
- * @version 175.0.0
42659
+ * @version 177.0.0
42021
42660
  */
42022
42661
 
42023
42662
  /**
@@ -43771,7 +44410,7 @@ class RecordingApi {
43771
44410
  /**
43772
44411
  * Recording service.
43773
44412
  * @module purecloud-platform-client-v2/api/RecordingApi
43774
- * @version 175.0.0
44413
+ * @version 177.0.0
43775
44414
  */
43776
44415
 
43777
44416
  /**
@@ -45408,7 +46047,7 @@ class ResponseManagementApi {
45408
46047
  /**
45409
46048
  * ResponseManagement service.
45410
46049
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
45411
- * @version 175.0.0
46050
+ * @version 177.0.0
45412
46051
  */
45413
46052
 
45414
46053
  /**
@@ -45893,7 +46532,7 @@ class RoutingApi {
45893
46532
  /**
45894
46533
  * Routing service.
45895
46534
  * @module purecloud-platform-client-v2/api/RoutingApi
45896
- * @version 175.0.0
46535
+ * @version 177.0.0
45897
46536
  */
45898
46537
 
45899
46538
  /**
@@ -47951,8 +48590,8 @@ class RoutingApi {
47951
48590
  * @param {Number} opts.pageNumber Page number (default to 1)
47952
48591
  * @param {Object} opts.sortBy Sort by (default to name)
47953
48592
  * @param {Object} opts.sortOrder Sort order (default to ascending)
47954
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47955
48593
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
48594
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47956
48595
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
47957
48596
  */
47958
48597
  getRoutingWrapupcodes(opts) {
@@ -47963,7 +48602,7 @@ class RoutingApi {
47963
48602
  '/api/v2/routing/wrapupcodes',
47964
48603
  'GET',
47965
48604
  { },
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') },
48605
+ { '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
48606
  { },
47968
48607
  { },
47969
48608
  null,
@@ -49601,7 +50240,7 @@ class SCIMApi {
49601
50240
  /**
49602
50241
  * SCIM service.
49603
50242
  * @module purecloud-platform-client-v2/api/SCIMApi
49604
- * @version 175.0.0
50243
+ * @version 177.0.0
49605
50244
  */
49606
50245
 
49607
50246
  /**
@@ -50478,7 +51117,7 @@ class ScriptsApi {
50478
51117
  /**
50479
51118
  * Scripts service.
50480
51119
  * @module purecloud-platform-client-v2/api/ScriptsApi
50481
- * @version 175.0.0
51120
+ * @version 177.0.0
50482
51121
  */
50483
51122
 
50484
51123
  /**
@@ -50922,7 +51561,7 @@ class SearchApi {
50922
51561
  /**
50923
51562
  * Search service.
50924
51563
  * @module purecloud-platform-client-v2/api/SearchApi
50925
- * @version 175.0.0
51564
+ * @version 177.0.0
50926
51565
  */
50927
51566
 
50928
51567
  /**
@@ -51611,7 +52250,7 @@ class SettingsApi {
51611
52250
  /**
51612
52251
  * Settings service.
51613
52252
  * @module purecloud-platform-client-v2/api/SettingsApi
51614
- * @version 175.0.0
52253
+ * @version 177.0.0
51615
52254
  */
51616
52255
 
51617
52256
  /**
@@ -51676,7 +52315,7 @@ class SpeechTextAnalyticsApi {
51676
52315
  /**
51677
52316
  * SpeechTextAnalytics service.
51678
52317
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
51679
- * @version 175.0.0
52318
+ * @version 177.0.0
51680
52319
  */
51681
52320
 
51682
52321
  /**
@@ -52659,7 +53298,7 @@ class StationsApi {
52659
53298
  /**
52660
53299
  * Stations service.
52661
53300
  * @module purecloud-platform-client-v2/api/StationsApi
52662
- * @version 175.0.0
53301
+ * @version 177.0.0
52663
53302
  */
52664
53303
 
52665
53304
  /**
@@ -52761,7 +53400,7 @@ class SuggestApi {
52761
53400
  /**
52762
53401
  * Suggest service.
52763
53402
  * @module purecloud-platform-client-v2/api/SuggestApi
52764
- * @version 175.0.0
53403
+ * @version 177.0.0
52765
53404
  */
52766
53405
 
52767
53406
  /**
@@ -52900,7 +53539,7 @@ class TaskManagementApi {
52900
53539
  /**
52901
53540
  * TaskManagement service.
52902
53541
  * @module purecloud-platform-client-v2/api/TaskManagementApi
52903
- * @version 175.0.0
53542
+ * @version 177.0.0
52904
53543
  */
52905
53544
 
52906
53545
  /**
@@ -54181,7 +54820,7 @@ class TeamsApi {
54181
54820
  /**
54182
54821
  * Teams service.
54183
54822
  * @module purecloud-platform-client-v2/api/TeamsApi
54184
- * @version 175.0.0
54823
+ * @version 177.0.0
54185
54824
  */
54186
54825
 
54187
54826
  /**
@@ -54483,7 +55122,7 @@ class TelephonyApi {
54483
55122
  /**
54484
55123
  * Telephony service.
54485
55124
  * @module purecloud-platform-client-v2/api/TelephonyApi
54486
- * @version 175.0.0
55125
+ * @version 177.0.0
54487
55126
  */
54488
55127
 
54489
55128
  /**
@@ -54611,7 +55250,7 @@ class TelephonyProvidersEdgeApi {
54611
55250
  /**
54612
55251
  * TelephonyProvidersEdge service.
54613
55252
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
54614
- * @version 175.0.0
55253
+ * @version 177.0.0
54615
55254
  */
54616
55255
 
54617
55256
  /**
@@ -57900,7 +58539,7 @@ class TextbotsApi {
57900
58539
  /**
57901
58540
  * Textbots service.
57902
58541
  * @module purecloud-platform-client-v2/api/TextbotsApi
57903
- * @version 175.0.0
58542
+ * @version 177.0.0
57904
58543
  */
57905
58544
 
57906
58545
  /**
@@ -58028,7 +58667,7 @@ class TokensApi {
58028
58667
  /**
58029
58668
  * Tokens service.
58030
58669
  * @module purecloud-platform-client-v2/api/TokensApi
58031
- * @version 175.0.0
58670
+ * @version 177.0.0
58032
58671
  */
58033
58672
 
58034
58673
  /**
@@ -58184,7 +58823,7 @@ class UploadsApi {
58184
58823
  /**
58185
58824
  * Uploads service.
58186
58825
  * @module purecloud-platform-client-v2/api/UploadsApi
58187
- * @version 175.0.0
58826
+ * @version 177.0.0
58188
58827
  */
58189
58828
 
58190
58829
  /**
@@ -58360,7 +58999,7 @@ class UsageApi {
58360
58999
  /**
58361
59000
  * Usage service.
58362
59001
  * @module purecloud-platform-client-v2/api/UsageApi
58363
- * @version 175.0.0
59002
+ * @version 177.0.0
58364
59003
  */
58365
59004
 
58366
59005
  /**
@@ -58570,7 +59209,7 @@ class UserRecordingsApi {
58570
59209
  /**
58571
59210
  * UserRecordings service.
58572
59211
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
58573
- * @version 175.0.0
59212
+ * @version 177.0.0
58574
59213
  */
58575
59214
 
58576
59215
  /**
@@ -58755,7 +59394,7 @@ class UsersApi {
58755
59394
  /**
58756
59395
  * Users service.
58757
59396
  * @module purecloud-platform-client-v2/api/UsersApi
58758
- * @version 175.0.0
59397
+ * @version 177.0.0
58759
59398
  */
58760
59399
 
58761
59400
  /**
@@ -61316,7 +61955,7 @@ class UtilitiesApi {
61316
61955
  /**
61317
61956
  * Utilities service.
61318
61957
  * @module purecloud-platform-client-v2/api/UtilitiesApi
61319
- * @version 175.0.0
61958
+ * @version 177.0.0
61320
61959
  */
61321
61960
 
61322
61961
  /**
@@ -61427,7 +62066,7 @@ class VoicemailApi {
61427
62066
  /**
61428
62067
  * Voicemail service.
61429
62068
  * @module purecloud-platform-client-v2/api/VoicemailApi
61430
- * @version 175.0.0
62069
+ * @version 177.0.0
61431
62070
  */
61432
62071
 
61433
62072
  /**
@@ -62094,7 +62733,7 @@ class WebChatApi {
62094
62733
  /**
62095
62734
  * WebChat service.
62096
62735
  * @module purecloud-platform-client-v2/api/WebChatApi
62097
- * @version 175.0.0
62736
+ * @version 177.0.0
62098
62737
  */
62099
62738
 
62100
62739
  /**
@@ -62643,7 +63282,7 @@ class WebDeploymentsApi {
62643
63282
  /**
62644
63283
  * WebDeployments service.
62645
63284
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
62646
- * @version 175.0.0
63285
+ * @version 177.0.0
62647
63286
  */
62648
63287
 
62649
63288
  /**
@@ -63170,7 +63809,7 @@ class WebMessagingApi {
63170
63809
  /**
63171
63810
  * WebMessaging service.
63172
63811
  * @module purecloud-platform-client-v2/api/WebMessagingApi
63173
- * @version 175.0.0
63812
+ * @version 177.0.0
63174
63813
  */
63175
63814
 
63176
63815
  /**
@@ -63216,7 +63855,7 @@ class WidgetsApi {
63216
63855
  /**
63217
63856
  * Widgets service.
63218
63857
  * @module purecloud-platform-client-v2/api/WidgetsApi
63219
- * @version 175.0.0
63858
+ * @version 177.0.0
63220
63859
  */
63221
63860
 
63222
63861
  /**
@@ -63362,7 +64001,7 @@ class WorkforceManagementApi {
63362
64001
  /**
63363
64002
  * WorkforceManagement service.
63364
64003
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
63365
- * @version 175.0.0
64004
+ * @version 177.0.0
63366
64005
  */
63367
64006
 
63368
64007
  /**
@@ -68526,7 +69165,7 @@ class WorkforceManagementApi {
68526
69165
  * </pre>
68527
69166
  * </p>
68528
69167
  * @module purecloud-platform-client-v2/index
68529
- * @version 175.0.0
69168
+ * @version 177.0.0
68530
69169
  */
68531
69170
  class platformClient {
68532
69171
  constructor() {