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
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 175.0.0
402
+ * @version 177.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1485,7 +1485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1485
1485
  /**
1486
1486
  * Alerting service.
1487
1487
  * @module purecloud-platform-client-v2/api/AlertingApi
1488
- * @version 175.0.0
1488
+ * @version 177.0.0
1489
1489
  */
1490
1490
 
1491
1491
  /**
@@ -2135,7 +2135,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2135
2135
  /**
2136
2136
  * Analytics service.
2137
2137
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2138
- * @version 175.0.0
2138
+ * @version 177.0.0
2139
2139
  */
2140
2140
 
2141
2141
  /**
@@ -4581,7 +4581,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4581
4581
  /**
4582
4582
  * Architect service.
4583
4583
  * @module purecloud-platform-client-v2/api/ArchitectApi
4584
- * @version 175.0.0
4584
+ * @version 177.0.0
4585
4585
  */
4586
4586
 
4587
4587
  /**
@@ -7114,6 +7114,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7114
7114
  );
7115
7115
  }
7116
7116
 
7117
+ /**
7118
+ * Updates a grammar language
7119
+ *
7120
+ * @param {String} grammarId Grammar ID
7121
+ * @param {String} languageCode Language
7122
+ * @param {Object} opts Optional parameters
7123
+ * @param {Object} opts.body
7124
+ * patchArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7125
+ */
7126
+ patchArchitectGrammarLanguage(grammarId, languageCode, opts) {
7127
+ opts = opts || {};
7128
+
7129
+ // verify the required parameter 'grammarId' is set
7130
+ if (grammarId === undefined || grammarId === null) {
7131
+ throw 'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';
7132
+ }
7133
+ // verify the required parameter 'languageCode' is set
7134
+ if (languageCode === undefined || languageCode === null) {
7135
+ throw 'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';
7136
+ }
7137
+
7138
+ return this.apiClient.callApi(
7139
+ '/api/v2/architect/grammars/{grammarId}/languages/{languageCode}',
7140
+ 'PATCH',
7141
+ { 'grammarId': grammarId,'languageCode': languageCode },
7142
+ { },
7143
+ { },
7144
+ { },
7145
+ opts['body'],
7146
+ ['PureCloud OAuth'],
7147
+ ['application/json'],
7148
+ ['application/json']
7149
+ );
7150
+ }
7151
+
7117
7152
  /**
7118
7153
  * Rebuild Dependency Tracking data for an organization
7119
7154
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
@@ -8381,7 +8416,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8381
8416
  /**
8382
8417
  * Audit service.
8383
8418
  * @module purecloud-platform-client-v2/api/AuditApi
8384
- * @version 175.0.0
8419
+ * @version 177.0.0
8385
8420
  */
8386
8421
 
8387
8422
  /**
@@ -8552,7 +8587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8552
8587
  /**
8553
8588
  * Authorization service.
8554
8589
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8555
- * @version 175.0.0
8590
+ * @version 177.0.0
8556
8591
  */
8557
8592
 
8558
8593
  /**
@@ -9783,7 +9818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9783
9818
  /**
9784
9819
  * Billing service.
9785
9820
  * @module purecloud-platform-client-v2/api/BillingApi
9786
- * @version 175.0.0
9821
+ * @version 177.0.0
9787
9822
  */
9788
9823
 
9789
9824
  /**
@@ -9863,7 +9898,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9863
9898
  /**
9864
9899
  * CarrierServices service.
9865
9900
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9866
- * @version 175.0.0
9901
+ * @version 177.0.0
9867
9902
  */
9868
9903
 
9869
9904
  /**
@@ -9933,7 +9968,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9933
9968
  /**
9934
9969
  * Chat service.
9935
9970
  * @module purecloud-platform-client-v2/api/ChatApi
9936
- * @version 175.0.0
9971
+ * @version 177.0.0
9937
9972
  */
9938
9973
 
9939
9974
  /**
@@ -9948,6 +9983,130 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9948
9983
  }
9949
9984
 
9950
9985
 
9986
+ /**
9987
+ * Delete a message in a room
9988
+ *
9989
+ * @param {String} roomJid roomId
9990
+ * @param {String} messageId messageId
9991
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9992
+ */
9993
+ deleteChatsRoomMessage(roomJid, messageId) {
9994
+ // verify the required parameter 'roomJid' is set
9995
+ if (roomJid === undefined || roomJid === null) {
9996
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
9997
+ }
9998
+ // verify the required parameter 'messageId' is set
9999
+ if (messageId === undefined || messageId === null) {
10000
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
10001
+ }
10002
+
10003
+ return this.apiClient.callApi(
10004
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
10005
+ 'DELETE',
10006
+ { 'roomJid': roomJid,'messageId': messageId },
10007
+ { },
10008
+ { },
10009
+ { },
10010
+ null,
10011
+ ['PureCloud OAuth'],
10012
+ ['application/json'],
10013
+ ['application/json']
10014
+ );
10015
+ }
10016
+
10017
+ /**
10018
+ * Remove a user from a room.
10019
+ *
10020
+ * @param {String} roomJid roomJid
10021
+ * @param {String} userId userId
10022
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10023
+ */
10024
+ deleteChatsRoomParticipant(roomJid, userId) {
10025
+ // verify the required parameter 'roomJid' is set
10026
+ if (roomJid === undefined || roomJid === null) {
10027
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
10028
+ }
10029
+ // verify the required parameter 'userId' is set
10030
+ if (userId === undefined || userId === null) {
10031
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
10032
+ }
10033
+
10034
+ return this.apiClient.callApi(
10035
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10036
+ 'DELETE',
10037
+ { 'roomJid': roomJid,'userId': userId },
10038
+ { },
10039
+ { },
10040
+ { },
10041
+ null,
10042
+ ['PureCloud OAuth'],
10043
+ ['application/json'],
10044
+ ['application/json']
10045
+ );
10046
+ }
10047
+
10048
+ /**
10049
+ * Remove a pinned message from a room
10050
+ *
10051
+ * @param {String} roomJid roomJid
10052
+ * @param {String} pinnedMessageId pinnedMessageId
10053
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10054
+ */
10055
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
10056
+ // verify the required parameter 'roomJid' is set
10057
+ if (roomJid === undefined || roomJid === null) {
10058
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
10059
+ }
10060
+ // verify the required parameter 'pinnedMessageId' is set
10061
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
10062
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
10063
+ }
10064
+
10065
+ return this.apiClient.callApi(
10066
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
10067
+ 'DELETE',
10068
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
10069
+ { },
10070
+ { },
10071
+ { },
10072
+ null,
10073
+ ['PureCloud OAuth'],
10074
+ ['application/json'],
10075
+ ['application/json']
10076
+ );
10077
+ }
10078
+
10079
+ /**
10080
+ * Delete a message to a user
10081
+ *
10082
+ * @param {String} userId userId
10083
+ * @param {String} messageId messageId
10084
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10085
+ */
10086
+ deleteChatsUserMessage(userId, messageId) {
10087
+ // verify the required parameter 'userId' is set
10088
+ if (userId === undefined || userId === null) {
10089
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
10090
+ }
10091
+ // verify the required parameter 'messageId' is set
10092
+ if (messageId === undefined || messageId === null) {
10093
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
10094
+ }
10095
+
10096
+ return this.apiClient.callApi(
10097
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10098
+ 'DELETE',
10099
+ { 'userId': userId,'messageId': messageId },
10100
+ { },
10101
+ { },
10102
+ { },
10103
+ null,
10104
+ ['PureCloud OAuth'],
10105
+ ['application/json'],
10106
+ ['application/json']
10107
+ );
10108
+ }
10109
+
9951
10110
  /**
9952
10111
  * Get Chat Settings.
9953
10112
  * This route is deprecated, please use /chats/settings instead
@@ -9969,6 +10128,127 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9969
10128
  );
9970
10129
  }
9971
10130
 
10131
+ /**
10132
+ * Get a message
10133
+ *
10134
+ * @param {String} messageId messageId
10135
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10136
+ */
10137
+ getChatsMessage(messageId) {
10138
+ // verify the required parameter 'messageId' is set
10139
+ if (messageId === undefined || messageId === null) {
10140
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
10141
+ }
10142
+
10143
+ return this.apiClient.callApi(
10144
+ '/api/v2/chats/messages/{messageId}',
10145
+ 'GET',
10146
+ { 'messageId': messageId },
10147
+ { },
10148
+ { },
10149
+ { },
10150
+ null,
10151
+ ['PureCloud OAuth'],
10152
+ ['application/json'],
10153
+ ['application/json']
10154
+ );
10155
+ }
10156
+
10157
+ /**
10158
+ * Get a room
10159
+ *
10160
+ * @param {String} roomJid roomJid
10161
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10162
+ */
10163
+ getChatsRoom(roomJid) {
10164
+ // verify the required parameter 'roomJid' is set
10165
+ if (roomJid === undefined || roomJid === null) {
10166
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
10167
+ }
10168
+
10169
+ return this.apiClient.callApi(
10170
+ '/api/v2/chats/rooms/{roomJid}',
10171
+ 'GET',
10172
+ { 'roomJid': roomJid },
10173
+ { },
10174
+ { },
10175
+ { },
10176
+ null,
10177
+ ['PureCloud OAuth'],
10178
+ ['application/json'],
10179
+ ['application/json']
10180
+ );
10181
+ }
10182
+
10183
+ /**
10184
+ * Get messages by id(s) from a room
10185
+ *
10186
+ * @param {String} roomJid roomJid
10187
+ * @param {String} messageIds messageIds, comma separated
10188
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10189
+ */
10190
+ getChatsRoomMessage(roomJid, messageIds) {
10191
+ // verify the required parameter 'roomJid' is set
10192
+ if (roomJid === undefined || roomJid === null) {
10193
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
10194
+ }
10195
+ // verify the required parameter 'messageIds' is set
10196
+ if (messageIds === undefined || messageIds === null) {
10197
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
10198
+ }
10199
+
10200
+ return this.apiClient.callApi(
10201
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
10202
+ 'GET',
10203
+ { 'roomJid': roomJid,'messageIds': messageIds },
10204
+ { },
10205
+ { },
10206
+ { },
10207
+ null,
10208
+ ['PureCloud OAuth'],
10209
+ ['application/json'],
10210
+ ['application/json']
10211
+ );
10212
+ }
10213
+
10214
+ /**
10215
+ * Get a room's message history
10216
+ *
10217
+ * @param {String} roomJid roomJid
10218
+ * @param {Object} opts Optional parameters
10219
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10220
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10221
+ * @param {String} opts.sortBy variable name requested to sort by
10222
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10223
+ * @param {String} opts.nextPage next page token
10224
+ * @param {String} opts.previousPage Previous page token
10225
+ * @param {String} opts.limit The maximum number of messages to retrieve
10226
+ * @param {String} opts.before The cutoff date for messages to retrieve
10227
+ * @param {String} opts.after The beginning date for messages to retrieve
10228
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10229
+ */
10230
+ getChatsRoomMessages(roomJid, opts) {
10231
+ opts = opts || {};
10232
+
10233
+ // verify the required parameter 'roomJid' is set
10234
+ if (roomJid === undefined || roomJid === null) {
10235
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
10236
+ }
10237
+
10238
+ return this.apiClient.callApi(
10239
+ '/api/v2/chats/rooms/{roomJid}/messages',
10240
+ 'GET',
10241
+ { 'roomJid': roomJid },
10242
+ { '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'] },
10243
+ { },
10244
+ { },
10245
+ null,
10246
+ ['PureCloud OAuth'],
10247
+ ['application/json'],
10248
+ ['application/json']
10249
+ );
10250
+ }
10251
+
9972
10252
  /**
9973
10253
  * Get Chat Settings.
9974
10254
  *
@@ -9989,6 +10269,113 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9989
10269
  );
9990
10270
  }
9991
10271
 
10272
+ /**
10273
+ * Get history by thread
10274
+ *
10275
+ * @param {String} threadId threadId
10276
+ * @param {Object} opts Optional parameters
10277
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10278
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10279
+ * @param {String} opts.sortBy variable name requested to sort by
10280
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10281
+ * @param {String} opts.nextPage next page token
10282
+ * @param {String} opts.previousPage Previous page token
10283
+ * @param {String} opts.limit The maximum number of messages to retrieve
10284
+ * @param {String} opts.before The cutoff date for messages to retrieve
10285
+ * @param {String} opts.after The beginning date for messages to retrieve
10286
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10287
+ */
10288
+ getChatsThreadMessages(threadId, opts) {
10289
+ opts = opts || {};
10290
+
10291
+ // verify the required parameter 'threadId' is set
10292
+ if (threadId === undefined || threadId === null) {
10293
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
10294
+ }
10295
+
10296
+ return this.apiClient.callApi(
10297
+ '/api/v2/chats/threads/{threadId}/messages',
10298
+ 'GET',
10299
+ { 'threadId': threadId },
10300
+ { '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'] },
10301
+ { },
10302
+ { },
10303
+ null,
10304
+ ['PureCloud OAuth'],
10305
+ ['application/json'],
10306
+ ['application/json']
10307
+ );
10308
+ }
10309
+
10310
+ /**
10311
+ * Get messages by id(s) from a 1on1
10312
+ *
10313
+ * @param {String} userId userId
10314
+ * @param {String} messageIds messageIds, comma separated
10315
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10316
+ */
10317
+ getChatsUserMessage(userId, messageIds) {
10318
+ // verify the required parameter 'userId' is set
10319
+ if (userId === undefined || userId === null) {
10320
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
10321
+ }
10322
+ // verify the required parameter 'messageIds' is set
10323
+ if (messageIds === undefined || messageIds === null) {
10324
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
10325
+ }
10326
+
10327
+ return this.apiClient.callApi(
10328
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
10329
+ 'GET',
10330
+ { 'userId': userId,'messageIds': messageIds },
10331
+ { },
10332
+ { },
10333
+ { },
10334
+ null,
10335
+ ['PureCloud OAuth'],
10336
+ ['application/json'],
10337
+ ['application/json']
10338
+ );
10339
+ }
10340
+
10341
+ /**
10342
+ * Get 1on1 History between a user
10343
+ *
10344
+ * @param {String} userId userId
10345
+ * @param {Object} opts Optional parameters
10346
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10347
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10348
+ * @param {String} opts.sortBy variable name requested to sort by
10349
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10350
+ * @param {String} opts.nextPage next page token
10351
+ * @param {String} opts.previousPage Previous page token
10352
+ * @param {String} opts.limit The maximum number of messages to retrieve
10353
+ * @param {String} opts.before The cutoff date for messages to retrieve
10354
+ * @param {String} opts.after The beginning date for messages to retrieve
10355
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10356
+ */
10357
+ getChatsUserMessages(userId, opts) {
10358
+ opts = opts || {};
10359
+
10360
+ // verify the required parameter 'userId' is set
10361
+ if (userId === undefined || userId === null) {
10362
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
10363
+ }
10364
+
10365
+ return this.apiClient.callApi(
10366
+ '/api/v2/chats/users/{userId}/messages',
10367
+ 'GET',
10368
+ { 'userId': userId },
10369
+ { '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'] },
10370
+ { },
10371
+ { },
10372
+ null,
10373
+ ['PureCloud OAuth'],
10374
+ ['application/json'],
10375
+ ['application/json']
10376
+ );
10377
+ }
10378
+
9992
10379
  /**
9993
10380
  * Patch Chat Settings.
9994
10381
  * This route is deprecated, please use /chats/settings instead
@@ -10015,6 +10402,73 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10015
10402
  );
10016
10403
  }
10017
10404
 
10405
+ /**
10406
+ * Set properties for a room
10407
+ *
10408
+ * @param {String} roomJid roomJid
10409
+ * @param {Object} body Room properties
10410
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10411
+ */
10412
+ patchChatsRoom(roomJid, body) {
10413
+ // verify the required parameter 'roomJid' is set
10414
+ if (roomJid === undefined || roomJid === null) {
10415
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
10416
+ }
10417
+ // verify the required parameter 'body' is set
10418
+ if (body === undefined || body === null) {
10419
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
10420
+ }
10421
+
10422
+ return this.apiClient.callApi(
10423
+ '/api/v2/chats/rooms/{roomJid}',
10424
+ 'PATCH',
10425
+ { 'roomJid': roomJid },
10426
+ { },
10427
+ { },
10428
+ { },
10429
+ body,
10430
+ ['PureCloud OAuth'],
10431
+ ['application/json'],
10432
+ ['application/json']
10433
+ );
10434
+ }
10435
+
10436
+ /**
10437
+ * Edit a message in a room
10438
+ *
10439
+ * @param {String} roomJid roomId
10440
+ * @param {String} messageId messageId
10441
+ * @param {Object} body messageBody
10442
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10443
+ */
10444
+ patchChatsRoomMessage(roomJid, messageId, body) {
10445
+ // verify the required parameter 'roomJid' is set
10446
+ if (roomJid === undefined || roomJid === null) {
10447
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
10448
+ }
10449
+ // verify the required parameter 'messageId' is set
10450
+ if (messageId === undefined || messageId === null) {
10451
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
10452
+ }
10453
+ // verify the required parameter 'body' is set
10454
+ if (body === undefined || body === null) {
10455
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
10456
+ }
10457
+
10458
+ return this.apiClient.callApi(
10459
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
10460
+ 'PATCH',
10461
+ { 'roomJid': roomJid,'messageId': messageId },
10462
+ { },
10463
+ { },
10464
+ { },
10465
+ body,
10466
+ ['PureCloud OAuth'],
10467
+ ['application/json'],
10468
+ ['application/json']
10469
+ );
10470
+ }
10471
+
10018
10472
  /**
10019
10473
  * Patch Chat Settings.
10020
10474
  *
@@ -10040,6 +10494,191 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10040
10494
  );
10041
10495
  }
10042
10496
 
10497
+ /**
10498
+ * Edit a message to a user
10499
+ *
10500
+ * @param {String} userId userId
10501
+ * @param {String} messageId messageId
10502
+ * @param {Object} body message body
10503
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10504
+ */
10505
+ patchChatsUserMessage(userId, messageId, body) {
10506
+ // verify the required parameter 'userId' is set
10507
+ if (userId === undefined || userId === null) {
10508
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
10509
+ }
10510
+ // verify the required parameter 'messageId' is set
10511
+ if (messageId === undefined || messageId === null) {
10512
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
10513
+ }
10514
+ // verify the required parameter 'body' is set
10515
+ if (body === undefined || body === null) {
10516
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
10517
+ }
10518
+
10519
+ return this.apiClient.callApi(
10520
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10521
+ 'PATCH',
10522
+ { 'userId': userId,'messageId': messageId },
10523
+ { },
10524
+ { },
10525
+ { },
10526
+ body,
10527
+ ['PureCloud OAuth'],
10528
+ ['application/json'],
10529
+ ['application/json']
10530
+ );
10531
+ }
10532
+
10533
+ /**
10534
+ * Send a message to a room
10535
+ *
10536
+ * @param {String} roomJid roomId
10537
+ * @param {Object} body messageBody
10538
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10539
+ */
10540
+ postChatsRoomMessages(roomJid, body) {
10541
+ // verify the required parameter 'roomJid' is set
10542
+ if (roomJid === undefined || roomJid === null) {
10543
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
10544
+ }
10545
+ // verify the required parameter 'body' is set
10546
+ if (body === undefined || body === null) {
10547
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
10548
+ }
10549
+
10550
+ return this.apiClient.callApi(
10551
+ '/api/v2/chats/rooms/{roomJid}/messages',
10552
+ 'POST',
10553
+ { 'roomJid': roomJid },
10554
+ { },
10555
+ { },
10556
+ { },
10557
+ body,
10558
+ ['PureCloud OAuth'],
10559
+ ['application/json'],
10560
+ ['application/json']
10561
+ );
10562
+ }
10563
+
10564
+ /**
10565
+ * Join a room
10566
+ *
10567
+ * @param {String} roomJid roomJid
10568
+ * @param {String} userId userId
10569
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10570
+ */
10571
+ postChatsRoomParticipant(roomJid, userId) {
10572
+ // verify the required parameter 'roomJid' is set
10573
+ if (roomJid === undefined || roomJid === null) {
10574
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
10575
+ }
10576
+ // verify the required parameter 'userId' is set
10577
+ if (userId === undefined || userId === null) {
10578
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
10579
+ }
10580
+
10581
+ return this.apiClient.callApi(
10582
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10583
+ 'POST',
10584
+ { 'roomJid': roomJid,'userId': userId },
10585
+ { },
10586
+ { },
10587
+ { },
10588
+ null,
10589
+ ['PureCloud OAuth'],
10590
+ ['application/json'],
10591
+ ['application/json']
10592
+ );
10593
+ }
10594
+
10595
+ /**
10596
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
10597
+ *
10598
+ * @param {String} roomJid roomJid
10599
+ * @param {Object} body Pinned Message Ids
10600
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10601
+ */
10602
+ postChatsRoomPinnedmessages(roomJid, body) {
10603
+ // verify the required parameter 'roomJid' is set
10604
+ if (roomJid === undefined || roomJid === null) {
10605
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
10606
+ }
10607
+ // verify the required parameter 'body' is set
10608
+ if (body === undefined || body === null) {
10609
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
10610
+ }
10611
+
10612
+ return this.apiClient.callApi(
10613
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
10614
+ 'POST',
10615
+ { 'roomJid': roomJid },
10616
+ { },
10617
+ { },
10618
+ { },
10619
+ body,
10620
+ ['PureCloud OAuth'],
10621
+ ['application/json'],
10622
+ ['application/json']
10623
+ );
10624
+ }
10625
+
10626
+ /**
10627
+ * Create an adhoc room
10628
+ *
10629
+ * @param {Object} opts Optional parameters
10630
+ * @param {Object} opts.body Room properties
10631
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10632
+ */
10633
+ postChatsRooms(opts) {
10634
+ opts = opts || {};
10635
+
10636
+
10637
+ return this.apiClient.callApi(
10638
+ '/api/v2/chats/rooms',
10639
+ 'POST',
10640
+ { },
10641
+ { },
10642
+ { },
10643
+ { },
10644
+ opts['body'],
10645
+ ['PureCloud OAuth'],
10646
+ ['application/json'],
10647
+ ['application/json']
10648
+ );
10649
+ }
10650
+
10651
+ /**
10652
+ * Send a message to a user
10653
+ *
10654
+ * @param {String} userId userId
10655
+ * @param {Object} body message body
10656
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10657
+ */
10658
+ postChatsUserMessages(userId, body) {
10659
+ // verify the required parameter 'userId' is set
10660
+ if (userId === undefined || userId === null) {
10661
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
10662
+ }
10663
+ // verify the required parameter 'body' is set
10664
+ if (body === undefined || body === null) {
10665
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
10666
+ }
10667
+
10668
+ return this.apiClient.callApi(
10669
+ '/api/v2/chats/users/{userId}/messages',
10670
+ 'POST',
10671
+ { 'userId': userId },
10672
+ { },
10673
+ { },
10674
+ { },
10675
+ body,
10676
+ ['PureCloud OAuth'],
10677
+ ['application/json'],
10678
+ ['application/json']
10679
+ );
10680
+ }
10681
+
10043
10682
  /**
10044
10683
  * Update Chat Settings.
10045
10684
  * This route is deprecated, please use /chats/settings instead
@@ -10097,7 +10736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10097
10736
  /**
10098
10737
  * Coaching service.
10099
10738
  * @module purecloud-platform-client-v2/api/CoachingApi
10100
- * @version 175.0.0
10739
+ * @version 177.0.0
10101
10740
  */
10102
10741
 
10103
10742
  /**
@@ -10674,7 +11313,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10674
11313
  /**
10675
11314
  * ContentManagement service.
10676
11315
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10677
- * @version 175.0.0
11316
+ * @version 177.0.0
10678
11317
  */
10679
11318
 
10680
11319
  /**
@@ -11817,7 +12456,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11817
12456
  /**
11818
12457
  * Conversations service.
11819
12458
  * @module purecloud-platform-client-v2/api/ConversationsApi
11820
- * @version 175.0.0
12459
+ * @version 177.0.0
11821
12460
  */
11822
12461
 
11823
12462
  /**
@@ -18901,7 +19540,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18901
19540
  /**
18902
19541
  * DataExtensions service.
18903
19542
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
18904
- * @version 175.0.0
19543
+ * @version 177.0.0
18905
19544
  */
18906
19545
 
18907
19546
  /**
@@ -18987,7 +19626,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18987
19626
  /**
18988
19627
  * Downloads service.
18989
19628
  * @module purecloud-platform-client-v2/api/DownloadsApi
18990
- * @version 175.0.0
19629
+ * @version 177.0.0
18991
19630
  */
18992
19631
 
18993
19632
  /**
@@ -19039,7 +19678,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19039
19678
  /**
19040
19679
  * Emails service.
19041
19680
  * @module purecloud-platform-client-v2/api/EmailsApi
19042
- * @version 175.0.0
19681
+ * @version 177.0.0
19043
19682
  */
19044
19683
 
19045
19684
  /**
@@ -19104,7 +19743,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19104
19743
  /**
19105
19744
  * Events service.
19106
19745
  * @module purecloud-platform-client-v2/api/EventsApi
19107
- * @version 175.0.0
19746
+ * @version 177.0.0
19108
19747
  */
19109
19748
 
19110
19749
  /**
@@ -19200,7 +19839,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19200
19839
  /**
19201
19840
  * ExternalContacts service.
19202
19841
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
19203
- * @version 175.0.0
19842
+ * @version 177.0.0
19204
19843
  */
19205
19844
 
19206
19845
  /**
@@ -21158,7 +21797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21158
21797
  /**
21159
21798
  * Fax service.
21160
21799
  * @module purecloud-platform-client-v2/api/FaxApi
21161
- * @version 175.0.0
21800
+ * @version 177.0.0
21162
21801
  */
21163
21802
 
21164
21803
  /**
@@ -21329,7 +21968,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21329
21968
  /**
21330
21969
  * Flows service.
21331
21970
  * @module purecloud-platform-client-v2/api/FlowsApi
21332
- * @version 175.0.0
21971
+ * @version 177.0.0
21333
21972
  */
21334
21973
 
21335
21974
  /**
@@ -21513,7 +22152,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21513
22152
  /**
21514
22153
  * Gamification service.
21515
22154
  * @module purecloud-platform-client-v2/api/GamificationApi
21516
- * @version 175.0.0
22155
+ * @version 177.0.0
21517
22156
  */
21518
22157
 
21519
22158
  /**
@@ -23599,7 +24238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23599
24238
  /**
23600
24239
  * GeneralDataProtectionRegulation service.
23601
24240
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
23602
- * @version 175.0.0
24241
+ * @version 177.0.0
23603
24242
  */
23604
24243
 
23605
24244
  /**
@@ -23729,7 +24368,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23729
24368
  /**
23730
24369
  * Geolocation service.
23731
24370
  * @module purecloud-platform-client-v2/api/GeolocationApi
23732
- * @version 175.0.0
24371
+ * @version 177.0.0
23733
24372
  */
23734
24373
 
23735
24374
  /**
@@ -23860,7 +24499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23860
24499
  /**
23861
24500
  * Greetings service.
23862
24501
  * @module purecloud-platform-client-v2/api/GreetingsApi
23863
- * @version 175.0.0
24502
+ * @version 177.0.0
23864
24503
  */
23865
24504
 
23866
24505
  /**
@@ -24315,7 +24954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24315
24954
  /**
24316
24955
  * Groups service.
24317
24956
  * @module purecloud-platform-client-v2/api/GroupsApi
24318
- * @version 175.0.0
24957
+ * @version 177.0.0
24319
24958
  */
24320
24959
 
24321
24960
  /**
@@ -24834,7 +25473,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24834
25473
  /**
24835
25474
  * IdentityProvider service.
24836
25475
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
24837
- * @version 175.0.0
25476
+ * @version 177.0.0
24838
25477
  */
24839
25478
 
24840
25479
  /**
@@ -25590,7 +26229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25590
26229
  /**
25591
26230
  * InfrastructureAsCode service.
25592
26231
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
25593
- * @version 175.0.0
26232
+ * @version 177.0.0
25594
26233
  */
25595
26234
 
25596
26235
  /**
@@ -25757,7 +26396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25757
26396
  /**
25758
26397
  * Integrations service.
25759
26398
  * @module purecloud-platform-client-v2/api/IntegrationsApi
25760
- * @version 175.0.0
26399
+ * @version 177.0.0
25761
26400
  */
25762
26401
 
25763
26402
  /**
@@ -27719,7 +28358,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27719
28358
  /**
27720
28359
  * Journey service.
27721
28360
  * @module purecloud-platform-client-v2/api/JourneyApi
27722
- * @version 175.0.0
28361
+ * @version 177.0.0
27723
28362
  */
27724
28363
 
27725
28364
  /**
@@ -28883,7 +29522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28883
29522
  /**
28884
29523
  * Knowledge service.
28885
29524
  * @module purecloud-platform-client-v2/api/KnowledgeApi
28886
- * @version 175.0.0
29525
+ * @version 177.0.0
28887
29526
  */
28888
29527
 
28889
29528
  /**
@@ -31704,7 +32343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31704
32343
  /**
31705
32344
  * LanguageUnderstanding service.
31706
32345
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31707
- * @version 175.0.0
32346
+ * @version 177.0.0
31708
32347
  */
31709
32348
 
31710
32349
  /**
@@ -32717,7 +33356,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32717
33356
  /**
32718
33357
  * Languages service.
32719
33358
  * @module purecloud-platform-client-v2/api/LanguagesApi
32720
- * @version 175.0.0
33359
+ * @version 177.0.0
32721
33360
  */
32722
33361
 
32723
33362
  /**
@@ -32939,7 +33578,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32939
33578
  /**
32940
33579
  * Learning service.
32941
33580
  * @module purecloud-platform-client-v2/api/LearningApi
32942
- * @version 175.0.0
33581
+ * @version 177.0.0
32943
33582
  */
32944
33583
 
32945
33584
  /**
@@ -33758,7 +34397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33758
34397
  /**
33759
34398
  * License service.
33760
34399
  * @module purecloud-platform-client-v2/api/LicenseApi
33761
- * @version 175.0.0
34400
+ * @version 177.0.0
33762
34401
  */
33763
34402
 
33764
34403
  /**
@@ -33996,7 +34635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33996
34635
  /**
33997
34636
  * Locations service.
33998
34637
  * @module purecloud-platform-client-v2/api/LocationsApi
33999
- * @version 175.0.0
34638
+ * @version 177.0.0
34000
34639
  */
34001
34640
 
34002
34641
  /**
@@ -34232,7 +34871,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34232
34871
  /**
34233
34872
  * Messaging service.
34234
34873
  * @module purecloud-platform-client-v2/api/MessagingApi
34235
- * @version 175.0.0
34874
+ * @version 177.0.0
34236
34875
  */
34237
34876
 
34238
34877
  /**
@@ -34591,7 +35230,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34591
35230
  /**
34592
35231
  * MobileDevices service.
34593
35232
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34594
- * @version 175.0.0
35233
+ * @version 177.0.0
34595
35234
  */
34596
35235
 
34597
35236
  /**
@@ -34742,7 +35381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34742
35381
  /**
34743
35382
  * Notifications service.
34744
35383
  * @module purecloud-platform-client-v2/api/NotificationsApi
34745
- * @version 175.0.0
35384
+ * @version 177.0.0
34746
35385
  */
34747
35386
 
34748
35387
  /**
@@ -34975,7 +35614,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34975
35614
  /**
34976
35615
  * OAuth service.
34977
35616
  * @module purecloud-platform-client-v2/api/OAuthApi
34978
- * @version 175.0.0
35617
+ * @version 177.0.0
34979
35618
  */
34980
35619
 
34981
35620
  /**
@@ -35341,7 +35980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35341
35980
  /**
35342
35981
  * Objects service.
35343
35982
  * @module purecloud-platform-client-v2/api/ObjectsApi
35344
- * @version 175.0.0
35983
+ * @version 177.0.0
35345
35984
  */
35346
35985
 
35347
35986
  /**
@@ -35612,7 +36251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35612
36251
  /**
35613
36252
  * Organization service.
35614
36253
  * @module purecloud-platform-client-v2/api/OrganizationApi
35615
- * @version 175.0.0
36254
+ * @version 177.0.0
35616
36255
  */
35617
36256
 
35618
36257
  /**
@@ -36067,7 +36706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36067
36706
  /**
36068
36707
  * OrganizationAuthorization service.
36069
36708
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
36070
- * @version 175.0.0
36709
+ * @version 177.0.0
36071
36710
  */
36072
36711
 
36073
36712
  /**
@@ -37414,7 +38053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37414
38053
  /**
37415
38054
  * Outbound service.
37416
38055
  * @module purecloud-platform-client-v2/api/OutboundApi
37417
- * @version 175.0.0
38056
+ * @version 177.0.0
37418
38057
  */
37419
38058
 
37420
38059
  /**
@@ -41036,7 +41675,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41036
41675
  /**
41037
41676
  * Presence service.
41038
41677
  * @module purecloud-platform-client-v2/api/PresenceApi
41039
- * @version 175.0.0
41678
+ * @version 177.0.0
41040
41679
  */
41041
41680
 
41042
41681
  /**
@@ -41775,7 +42414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41775
42414
  /**
41776
42415
  * ProcessAutomation service.
41777
42416
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
41778
- * @version 175.0.0
42417
+ * @version 177.0.0
41779
42418
  */
41780
42419
 
41781
42420
  /**
@@ -42014,7 +42653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42014
42653
  /**
42015
42654
  * Quality service.
42016
42655
  * @module purecloud-platform-client-v2/api/QualityApi
42017
- * @version 175.0.0
42656
+ * @version 177.0.0
42018
42657
  */
42019
42658
 
42020
42659
  /**
@@ -43768,7 +44407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43768
44407
  /**
43769
44408
  * Recording service.
43770
44409
  * @module purecloud-platform-client-v2/api/RecordingApi
43771
- * @version 175.0.0
44410
+ * @version 177.0.0
43772
44411
  */
43773
44412
 
43774
44413
  /**
@@ -45405,7 +46044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45405
46044
  /**
45406
46045
  * ResponseManagement service.
45407
46046
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
45408
- * @version 175.0.0
46047
+ * @version 177.0.0
45409
46048
  */
45410
46049
 
45411
46050
  /**
@@ -45890,7 +46529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45890
46529
  /**
45891
46530
  * Routing service.
45892
46531
  * @module purecloud-platform-client-v2/api/RoutingApi
45893
- * @version 175.0.0
46532
+ * @version 177.0.0
45894
46533
  */
45895
46534
 
45896
46535
  /**
@@ -47948,8 +48587,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47948
48587
  * @param {Number} opts.pageNumber Page number (default to 1)
47949
48588
  * @param {Object} opts.sortBy Sort by (default to name)
47950
48589
  * @param {Object} opts.sortOrder Sort order (default to ascending)
47951
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47952
48590
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
48591
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47953
48592
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
47954
48593
  */
47955
48594
  getRoutingWrapupcodes(opts) {
@@ -47960,7 +48599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47960
48599
  '/api/v2/routing/wrapupcodes',
47961
48600
  'GET',
47962
48601
  { },
47963
- { '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') },
48602
+ { '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') },
47964
48603
  { },
47965
48604
  { },
47966
48605
  null,
@@ -49598,7 +50237,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49598
50237
  /**
49599
50238
  * SCIM service.
49600
50239
  * @module purecloud-platform-client-v2/api/SCIMApi
49601
- * @version 175.0.0
50240
+ * @version 177.0.0
49602
50241
  */
49603
50242
 
49604
50243
  /**
@@ -50475,7 +51114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50475
51114
  /**
50476
51115
  * Scripts service.
50477
51116
  * @module purecloud-platform-client-v2/api/ScriptsApi
50478
- * @version 175.0.0
51117
+ * @version 177.0.0
50479
51118
  */
50480
51119
 
50481
51120
  /**
@@ -50919,7 +51558,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50919
51558
  /**
50920
51559
  * Search service.
50921
51560
  * @module purecloud-platform-client-v2/api/SearchApi
50922
- * @version 175.0.0
51561
+ * @version 177.0.0
50923
51562
  */
50924
51563
 
50925
51564
  /**
@@ -51608,7 +52247,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51608
52247
  /**
51609
52248
  * Settings service.
51610
52249
  * @module purecloud-platform-client-v2/api/SettingsApi
51611
- * @version 175.0.0
52250
+ * @version 177.0.0
51612
52251
  */
51613
52252
 
51614
52253
  /**
@@ -51673,7 +52312,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51673
52312
  /**
51674
52313
  * SpeechTextAnalytics service.
51675
52314
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
51676
- * @version 175.0.0
52315
+ * @version 177.0.0
51677
52316
  */
51678
52317
 
51679
52318
  /**
@@ -52656,7 +53295,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52656
53295
  /**
52657
53296
  * Stations service.
52658
53297
  * @module purecloud-platform-client-v2/api/StationsApi
52659
- * @version 175.0.0
53298
+ * @version 177.0.0
52660
53299
  */
52661
53300
 
52662
53301
  /**
@@ -52758,7 +53397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52758
53397
  /**
52759
53398
  * Suggest service.
52760
53399
  * @module purecloud-platform-client-v2/api/SuggestApi
52761
- * @version 175.0.0
53400
+ * @version 177.0.0
52762
53401
  */
52763
53402
 
52764
53403
  /**
@@ -52897,7 +53536,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52897
53536
  /**
52898
53537
  * TaskManagement service.
52899
53538
  * @module purecloud-platform-client-v2/api/TaskManagementApi
52900
- * @version 175.0.0
53539
+ * @version 177.0.0
52901
53540
  */
52902
53541
 
52903
53542
  /**
@@ -54178,7 +54817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54178
54817
  /**
54179
54818
  * Teams service.
54180
54819
  * @module purecloud-platform-client-v2/api/TeamsApi
54181
- * @version 175.0.0
54820
+ * @version 177.0.0
54182
54821
  */
54183
54822
 
54184
54823
  /**
@@ -54480,7 +55119,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54480
55119
  /**
54481
55120
  * Telephony service.
54482
55121
  * @module purecloud-platform-client-v2/api/TelephonyApi
54483
- * @version 175.0.0
55122
+ * @version 177.0.0
54484
55123
  */
54485
55124
 
54486
55125
  /**
@@ -54608,7 +55247,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54608
55247
  /**
54609
55248
  * TelephonyProvidersEdge service.
54610
55249
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
54611
- * @version 175.0.0
55250
+ * @version 177.0.0
54612
55251
  */
54613
55252
 
54614
55253
  /**
@@ -57897,7 +58536,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57897
58536
  /**
57898
58537
  * Textbots service.
57899
58538
  * @module purecloud-platform-client-v2/api/TextbotsApi
57900
- * @version 175.0.0
58539
+ * @version 177.0.0
57901
58540
  */
57902
58541
 
57903
58542
  /**
@@ -58025,7 +58664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58025
58664
  /**
58026
58665
  * Tokens service.
58027
58666
  * @module purecloud-platform-client-v2/api/TokensApi
58028
- * @version 175.0.0
58667
+ * @version 177.0.0
58029
58668
  */
58030
58669
 
58031
58670
  /**
@@ -58181,7 +58820,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58181
58820
  /**
58182
58821
  * Uploads service.
58183
58822
  * @module purecloud-platform-client-v2/api/UploadsApi
58184
- * @version 175.0.0
58823
+ * @version 177.0.0
58185
58824
  */
58186
58825
 
58187
58826
  /**
@@ -58357,7 +58996,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58357
58996
  /**
58358
58997
  * Usage service.
58359
58998
  * @module purecloud-platform-client-v2/api/UsageApi
58360
- * @version 175.0.0
58999
+ * @version 177.0.0
58361
59000
  */
58362
59001
 
58363
59002
  /**
@@ -58567,7 +59206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58567
59206
  /**
58568
59207
  * UserRecordings service.
58569
59208
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
58570
- * @version 175.0.0
59209
+ * @version 177.0.0
58571
59210
  */
58572
59211
 
58573
59212
  /**
@@ -58752,7 +59391,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58752
59391
  /**
58753
59392
  * Users service.
58754
59393
  * @module purecloud-platform-client-v2/api/UsersApi
58755
- * @version 175.0.0
59394
+ * @version 177.0.0
58756
59395
  */
58757
59396
 
58758
59397
  /**
@@ -61313,7 +61952,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61313
61952
  /**
61314
61953
  * Utilities service.
61315
61954
  * @module purecloud-platform-client-v2/api/UtilitiesApi
61316
- * @version 175.0.0
61955
+ * @version 177.0.0
61317
61956
  */
61318
61957
 
61319
61958
  /**
@@ -61424,7 +62063,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61424
62063
  /**
61425
62064
  * Voicemail service.
61426
62065
  * @module purecloud-platform-client-v2/api/VoicemailApi
61427
- * @version 175.0.0
62066
+ * @version 177.0.0
61428
62067
  */
61429
62068
 
61430
62069
  /**
@@ -62091,7 +62730,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62091
62730
  /**
62092
62731
  * WebChat service.
62093
62732
  * @module purecloud-platform-client-v2/api/WebChatApi
62094
- * @version 175.0.0
62733
+ * @version 177.0.0
62095
62734
  */
62096
62735
 
62097
62736
  /**
@@ -62640,7 +63279,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62640
63279
  /**
62641
63280
  * WebDeployments service.
62642
63281
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
62643
- * @version 175.0.0
63282
+ * @version 177.0.0
62644
63283
  */
62645
63284
 
62646
63285
  /**
@@ -63167,7 +63806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63167
63806
  /**
63168
63807
  * WebMessaging service.
63169
63808
  * @module purecloud-platform-client-v2/api/WebMessagingApi
63170
- * @version 175.0.0
63809
+ * @version 177.0.0
63171
63810
  */
63172
63811
 
63173
63812
  /**
@@ -63213,7 +63852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63213
63852
  /**
63214
63853
  * Widgets service.
63215
63854
  * @module purecloud-platform-client-v2/api/WidgetsApi
63216
- * @version 175.0.0
63855
+ * @version 177.0.0
63217
63856
  */
63218
63857
 
63219
63858
  /**
@@ -63359,7 +63998,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63359
63998
  /**
63360
63999
  * WorkforceManagement service.
63361
64000
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
63362
- * @version 175.0.0
64001
+ * @version 177.0.0
63363
64002
  */
63364
64003
 
63365
64004
  /**
@@ -68523,7 +69162,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68523
69162
  * </pre>
68524
69163
  * </p>
68525
69164
  * @module purecloud-platform-client-v2/index
68526
- * @version 175.0.0
69165
+ * @version 177.0.0
68527
69166
  */
68528
69167
  class platformClient {
68529
69168
  constructor() {