purecloud-platform-client-v2 175.0.0 → 176.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +679 -75
  3. package/dist/web-amd/purecloud-platform-client-v2.js +679 -75
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +679 -75
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +679 -75
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +149 -5
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +605 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -3
  58. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -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 176.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 176.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 176.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 176.0.0
4585
4585
  */
4586
4586
 
4587
4587
  /**
@@ -8381,7 +8381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8381
8381
  /**
8382
8382
  * Audit service.
8383
8383
  * @module purecloud-platform-client-v2/api/AuditApi
8384
- * @version 175.0.0
8384
+ * @version 176.0.0
8385
8385
  */
8386
8386
 
8387
8387
  /**
@@ -8552,7 +8552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8552
8552
  /**
8553
8553
  * Authorization service.
8554
8554
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8555
- * @version 175.0.0
8555
+ * @version 176.0.0
8556
8556
  */
8557
8557
 
8558
8558
  /**
@@ -9783,7 +9783,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9783
9783
  /**
9784
9784
  * Billing service.
9785
9785
  * @module purecloud-platform-client-v2/api/BillingApi
9786
- * @version 175.0.0
9786
+ * @version 176.0.0
9787
9787
  */
9788
9788
 
9789
9789
  /**
@@ -9863,7 +9863,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9863
9863
  /**
9864
9864
  * CarrierServices service.
9865
9865
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9866
- * @version 175.0.0
9866
+ * @version 176.0.0
9867
9867
  */
9868
9868
 
9869
9869
  /**
@@ -9933,7 +9933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9933
9933
  /**
9934
9934
  * Chat service.
9935
9935
  * @module purecloud-platform-client-v2/api/ChatApi
9936
- * @version 175.0.0
9936
+ * @version 176.0.0
9937
9937
  */
9938
9938
 
9939
9939
  /**
@@ -9948,6 +9948,130 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9948
9948
  }
9949
9949
 
9950
9950
 
9951
+ /**
9952
+ * Delete a message in a room
9953
+ *
9954
+ * @param {String} roomJid roomId
9955
+ * @param {String} messageId messageId
9956
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9957
+ */
9958
+ deleteChatsRoomMessage(roomJid, messageId) {
9959
+ // verify the required parameter 'roomJid' is set
9960
+ if (roomJid === undefined || roomJid === null) {
9961
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
9962
+ }
9963
+ // verify the required parameter 'messageId' is set
9964
+ if (messageId === undefined || messageId === null) {
9965
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
9966
+ }
9967
+
9968
+ return this.apiClient.callApi(
9969
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
9970
+ 'DELETE',
9971
+ { 'roomJid': roomJid,'messageId': messageId },
9972
+ { },
9973
+ { },
9974
+ { },
9975
+ null,
9976
+ ['PureCloud OAuth'],
9977
+ ['application/json'],
9978
+ ['application/json']
9979
+ );
9980
+ }
9981
+
9982
+ /**
9983
+ * Remove a user from a room.
9984
+ *
9985
+ * @param {String} roomJid roomJid
9986
+ * @param {String} userId userId
9987
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9988
+ */
9989
+ deleteChatsRoomParticipant(roomJid, userId) {
9990
+ // verify the required parameter 'roomJid' is set
9991
+ if (roomJid === undefined || roomJid === null) {
9992
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
9993
+ }
9994
+ // verify the required parameter 'userId' is set
9995
+ if (userId === undefined || userId === null) {
9996
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
9997
+ }
9998
+
9999
+ return this.apiClient.callApi(
10000
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10001
+ 'DELETE',
10002
+ { 'roomJid': roomJid,'userId': userId },
10003
+ { },
10004
+ { },
10005
+ { },
10006
+ null,
10007
+ ['PureCloud OAuth'],
10008
+ ['application/json'],
10009
+ ['application/json']
10010
+ );
10011
+ }
10012
+
10013
+ /**
10014
+ * Remove a pinned message from a room
10015
+ *
10016
+ * @param {String} roomJid roomJid
10017
+ * @param {String} pinnedMessageId pinnedMessageId
10018
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10019
+ */
10020
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
10021
+ // verify the required parameter 'roomJid' is set
10022
+ if (roomJid === undefined || roomJid === null) {
10023
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
10024
+ }
10025
+ // verify the required parameter 'pinnedMessageId' is set
10026
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
10027
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
10028
+ }
10029
+
10030
+ return this.apiClient.callApi(
10031
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
10032
+ 'DELETE',
10033
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
10034
+ { },
10035
+ { },
10036
+ { },
10037
+ null,
10038
+ ['PureCloud OAuth'],
10039
+ ['application/json'],
10040
+ ['application/json']
10041
+ );
10042
+ }
10043
+
10044
+ /**
10045
+ * Delete a message to a user
10046
+ *
10047
+ * @param {String} userId userId
10048
+ * @param {String} messageId messageId
10049
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10050
+ */
10051
+ deleteChatsUserMessage(userId, messageId) {
10052
+ // verify the required parameter 'userId' is set
10053
+ if (userId === undefined || userId === null) {
10054
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
10055
+ }
10056
+ // verify the required parameter 'messageId' is set
10057
+ if (messageId === undefined || messageId === null) {
10058
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
10059
+ }
10060
+
10061
+ return this.apiClient.callApi(
10062
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10063
+ 'DELETE',
10064
+ { 'userId': userId,'messageId': messageId },
10065
+ { },
10066
+ { },
10067
+ { },
10068
+ null,
10069
+ ['PureCloud OAuth'],
10070
+ ['application/json'],
10071
+ ['application/json']
10072
+ );
10073
+ }
10074
+
9951
10075
  /**
9952
10076
  * Get Chat Settings.
9953
10077
  * This route is deprecated, please use /chats/settings instead
@@ -9969,6 +10093,127 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9969
10093
  );
9970
10094
  }
9971
10095
 
10096
+ /**
10097
+ * Get a message
10098
+ *
10099
+ * @param {String} messageId messageId
10100
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10101
+ */
10102
+ getChatsMessage(messageId) {
10103
+ // verify the required parameter 'messageId' is set
10104
+ if (messageId === undefined || messageId === null) {
10105
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
10106
+ }
10107
+
10108
+ return this.apiClient.callApi(
10109
+ '/api/v2/chats/messages/{messageId}',
10110
+ 'GET',
10111
+ { 'messageId': messageId },
10112
+ { },
10113
+ { },
10114
+ { },
10115
+ null,
10116
+ ['PureCloud OAuth'],
10117
+ ['application/json'],
10118
+ ['application/json']
10119
+ );
10120
+ }
10121
+
10122
+ /**
10123
+ * Get a room
10124
+ *
10125
+ * @param {String} roomJid roomJid
10126
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10127
+ */
10128
+ getChatsRoom(roomJid) {
10129
+ // verify the required parameter 'roomJid' is set
10130
+ if (roomJid === undefined || roomJid === null) {
10131
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
10132
+ }
10133
+
10134
+ return this.apiClient.callApi(
10135
+ '/api/v2/chats/rooms/{roomJid}',
10136
+ 'GET',
10137
+ { 'roomJid': roomJid },
10138
+ { },
10139
+ { },
10140
+ { },
10141
+ null,
10142
+ ['PureCloud OAuth'],
10143
+ ['application/json'],
10144
+ ['application/json']
10145
+ );
10146
+ }
10147
+
10148
+ /**
10149
+ * Get messages by id(s) from a room
10150
+ *
10151
+ * @param {String} roomJid roomJid
10152
+ * @param {String} messageIds messageIds, comma separated
10153
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10154
+ */
10155
+ getChatsRoomMessage(roomJid, messageIds) {
10156
+ // verify the required parameter 'roomJid' is set
10157
+ if (roomJid === undefined || roomJid === null) {
10158
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
10159
+ }
10160
+ // verify the required parameter 'messageIds' is set
10161
+ if (messageIds === undefined || messageIds === null) {
10162
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
10163
+ }
10164
+
10165
+ return this.apiClient.callApi(
10166
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
10167
+ 'GET',
10168
+ { 'roomJid': roomJid,'messageIds': messageIds },
10169
+ { },
10170
+ { },
10171
+ { },
10172
+ null,
10173
+ ['PureCloud OAuth'],
10174
+ ['application/json'],
10175
+ ['application/json']
10176
+ );
10177
+ }
10178
+
10179
+ /**
10180
+ * Get a room's message history
10181
+ *
10182
+ * @param {String} roomJid roomJid
10183
+ * @param {Object} opts Optional parameters
10184
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10185
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10186
+ * @param {String} opts.sortBy variable name requested to sort by
10187
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10188
+ * @param {String} opts.nextPage next page token
10189
+ * @param {String} opts.previousPage Previous page token
10190
+ * @param {String} opts.limit The maximum number of messages to retrieve
10191
+ * @param {String} opts.before The cutoff date for messages to retrieve
10192
+ * @param {String} opts.after The beginning date for messages to retrieve
10193
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10194
+ */
10195
+ getChatsRoomMessages(roomJid, opts) {
10196
+ opts = opts || {};
10197
+
10198
+ // verify the required parameter 'roomJid' is set
10199
+ if (roomJid === undefined || roomJid === null) {
10200
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
10201
+ }
10202
+
10203
+ return this.apiClient.callApi(
10204
+ '/api/v2/chats/rooms/{roomJid}/messages',
10205
+ 'GET',
10206
+ { 'roomJid': roomJid },
10207
+ { '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'] },
10208
+ { },
10209
+ { },
10210
+ null,
10211
+ ['PureCloud OAuth'],
10212
+ ['application/json'],
10213
+ ['application/json']
10214
+ );
10215
+ }
10216
+
9972
10217
  /**
9973
10218
  * Get Chat Settings.
9974
10219
  *
@@ -9989,6 +10234,113 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9989
10234
  );
9990
10235
  }
9991
10236
 
10237
+ /**
10238
+ * Get history by thread
10239
+ *
10240
+ * @param {String} threadId threadId
10241
+ * @param {Object} opts Optional parameters
10242
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10243
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10244
+ * @param {String} opts.sortBy variable name requested to sort by
10245
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10246
+ * @param {String} opts.nextPage next page token
10247
+ * @param {String} opts.previousPage Previous page token
10248
+ * @param {String} opts.limit The maximum number of messages to retrieve
10249
+ * @param {String} opts.before The cutoff date for messages to retrieve
10250
+ * @param {String} opts.after The beginning date for messages to retrieve
10251
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10252
+ */
10253
+ getChatsThreadMessages(threadId, opts) {
10254
+ opts = opts || {};
10255
+
10256
+ // verify the required parameter 'threadId' is set
10257
+ if (threadId === undefined || threadId === null) {
10258
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
10259
+ }
10260
+
10261
+ return this.apiClient.callApi(
10262
+ '/api/v2/chats/threads/{threadId}/messages',
10263
+ 'GET',
10264
+ { 'threadId': threadId },
10265
+ { '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'] },
10266
+ { },
10267
+ { },
10268
+ null,
10269
+ ['PureCloud OAuth'],
10270
+ ['application/json'],
10271
+ ['application/json']
10272
+ );
10273
+ }
10274
+
10275
+ /**
10276
+ * Get messages by id(s) from a 1on1
10277
+ *
10278
+ * @param {String} userId userId
10279
+ * @param {String} messageIds messageIds, comma separated
10280
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10281
+ */
10282
+ getChatsUserMessage(userId, messageIds) {
10283
+ // verify the required parameter 'userId' is set
10284
+ if (userId === undefined || userId === null) {
10285
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
10286
+ }
10287
+ // verify the required parameter 'messageIds' is set
10288
+ if (messageIds === undefined || messageIds === null) {
10289
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
10290
+ }
10291
+
10292
+ return this.apiClient.callApi(
10293
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
10294
+ 'GET',
10295
+ { 'userId': userId,'messageIds': messageIds },
10296
+ { },
10297
+ { },
10298
+ { },
10299
+ null,
10300
+ ['PureCloud OAuth'],
10301
+ ['application/json'],
10302
+ ['application/json']
10303
+ );
10304
+ }
10305
+
10306
+ /**
10307
+ * Get 1on1 History between a user
10308
+ *
10309
+ * @param {String} userId userId
10310
+ * @param {Object} opts Optional parameters
10311
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
10312
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
10313
+ * @param {String} opts.sortBy variable name requested to sort by
10314
+ * @param {Array.<String>} opts.expand variable name requested by expand list
10315
+ * @param {String} opts.nextPage next page token
10316
+ * @param {String} opts.previousPage Previous page token
10317
+ * @param {String} opts.limit The maximum number of messages to retrieve
10318
+ * @param {String} opts.before The cutoff date for messages to retrieve
10319
+ * @param {String} opts.after The beginning date for messages to retrieve
10320
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10321
+ */
10322
+ getChatsUserMessages(userId, opts) {
10323
+ opts = opts || {};
10324
+
10325
+ // verify the required parameter 'userId' is set
10326
+ if (userId === undefined || userId === null) {
10327
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
10328
+ }
10329
+
10330
+ return this.apiClient.callApi(
10331
+ '/api/v2/chats/users/{userId}/messages',
10332
+ 'GET',
10333
+ { 'userId': userId },
10334
+ { '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'] },
10335
+ { },
10336
+ { },
10337
+ null,
10338
+ ['PureCloud OAuth'],
10339
+ ['application/json'],
10340
+ ['application/json']
10341
+ );
10342
+ }
10343
+
9992
10344
  /**
9993
10345
  * Patch Chat Settings.
9994
10346
  * This route is deprecated, please use /chats/settings instead
@@ -10015,6 +10367,73 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10015
10367
  );
10016
10368
  }
10017
10369
 
10370
+ /**
10371
+ * Set properties for a room
10372
+ *
10373
+ * @param {String} roomJid roomJid
10374
+ * @param {Object} body Room properties
10375
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10376
+ */
10377
+ patchChatsRoom(roomJid, body) {
10378
+ // verify the required parameter 'roomJid' is set
10379
+ if (roomJid === undefined || roomJid === null) {
10380
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
10381
+ }
10382
+ // verify the required parameter 'body' is set
10383
+ if (body === undefined || body === null) {
10384
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
10385
+ }
10386
+
10387
+ return this.apiClient.callApi(
10388
+ '/api/v2/chats/rooms/{roomJid}',
10389
+ 'PATCH',
10390
+ { 'roomJid': roomJid },
10391
+ { },
10392
+ { },
10393
+ { },
10394
+ body,
10395
+ ['PureCloud OAuth'],
10396
+ ['application/json'],
10397
+ ['application/json']
10398
+ );
10399
+ }
10400
+
10401
+ /**
10402
+ * Edit a message in a room
10403
+ *
10404
+ * @param {String} roomJid roomId
10405
+ * @param {String} messageId messageId
10406
+ * @param {Object} body messageBody
10407
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10408
+ */
10409
+ patchChatsRoomMessage(roomJid, messageId, body) {
10410
+ // verify the required parameter 'roomJid' is set
10411
+ if (roomJid === undefined || roomJid === null) {
10412
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
10413
+ }
10414
+ // verify the required parameter 'messageId' is set
10415
+ if (messageId === undefined || messageId === null) {
10416
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
10417
+ }
10418
+ // verify the required parameter 'body' is set
10419
+ if (body === undefined || body === null) {
10420
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
10421
+ }
10422
+
10423
+ return this.apiClient.callApi(
10424
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
10425
+ 'PATCH',
10426
+ { 'roomJid': roomJid,'messageId': messageId },
10427
+ { },
10428
+ { },
10429
+ { },
10430
+ body,
10431
+ ['PureCloud OAuth'],
10432
+ ['application/json'],
10433
+ ['application/json']
10434
+ );
10435
+ }
10436
+
10018
10437
  /**
10019
10438
  * Patch Chat Settings.
10020
10439
  *
@@ -10040,6 +10459,191 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10040
10459
  );
10041
10460
  }
10042
10461
 
10462
+ /**
10463
+ * Edit a message to a user
10464
+ *
10465
+ * @param {String} userId userId
10466
+ * @param {String} messageId messageId
10467
+ * @param {Object} body message body
10468
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10469
+ */
10470
+ patchChatsUserMessage(userId, messageId, body) {
10471
+ // verify the required parameter 'userId' is set
10472
+ if (userId === undefined || userId === null) {
10473
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
10474
+ }
10475
+ // verify the required parameter 'messageId' is set
10476
+ if (messageId === undefined || messageId === null) {
10477
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
10478
+ }
10479
+ // verify the required parameter 'body' is set
10480
+ if (body === undefined || body === null) {
10481
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
10482
+ }
10483
+
10484
+ return this.apiClient.callApi(
10485
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
10486
+ 'PATCH',
10487
+ { 'userId': userId,'messageId': messageId },
10488
+ { },
10489
+ { },
10490
+ { },
10491
+ body,
10492
+ ['PureCloud OAuth'],
10493
+ ['application/json'],
10494
+ ['application/json']
10495
+ );
10496
+ }
10497
+
10498
+ /**
10499
+ * Send a message to a room
10500
+ *
10501
+ * @param {String} roomJid roomId
10502
+ * @param {Object} body messageBody
10503
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10504
+ */
10505
+ postChatsRoomMessages(roomJid, body) {
10506
+ // verify the required parameter 'roomJid' is set
10507
+ if (roomJid === undefined || roomJid === null) {
10508
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
10509
+ }
10510
+ // verify the required parameter 'body' is set
10511
+ if (body === undefined || body === null) {
10512
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
10513
+ }
10514
+
10515
+ return this.apiClient.callApi(
10516
+ '/api/v2/chats/rooms/{roomJid}/messages',
10517
+ 'POST',
10518
+ { 'roomJid': roomJid },
10519
+ { },
10520
+ { },
10521
+ { },
10522
+ body,
10523
+ ['PureCloud OAuth'],
10524
+ ['application/json'],
10525
+ ['application/json']
10526
+ );
10527
+ }
10528
+
10529
+ /**
10530
+ * Join a room
10531
+ *
10532
+ * @param {String} roomJid roomJid
10533
+ * @param {String} userId userId
10534
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10535
+ */
10536
+ postChatsRoomParticipant(roomJid, userId) {
10537
+ // verify the required parameter 'roomJid' is set
10538
+ if (roomJid === undefined || roomJid === null) {
10539
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
10540
+ }
10541
+ // verify the required parameter 'userId' is set
10542
+ if (userId === undefined || userId === null) {
10543
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
10544
+ }
10545
+
10546
+ return this.apiClient.callApi(
10547
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
10548
+ 'POST',
10549
+ { 'roomJid': roomJid,'userId': userId },
10550
+ { },
10551
+ { },
10552
+ { },
10553
+ null,
10554
+ ['PureCloud OAuth'],
10555
+ ['application/json'],
10556
+ ['application/json']
10557
+ );
10558
+ }
10559
+
10560
+ /**
10561
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
10562
+ *
10563
+ * @param {String} roomJid roomJid
10564
+ * @param {Object} body Pinned Message Ids
10565
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10566
+ */
10567
+ postChatsRoomPinnedmessages(roomJid, body) {
10568
+ // verify the required parameter 'roomJid' is set
10569
+ if (roomJid === undefined || roomJid === null) {
10570
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
10571
+ }
10572
+ // verify the required parameter 'body' is set
10573
+ if (body === undefined || body === null) {
10574
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
10575
+ }
10576
+
10577
+ return this.apiClient.callApi(
10578
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
10579
+ 'POST',
10580
+ { 'roomJid': roomJid },
10581
+ { },
10582
+ { },
10583
+ { },
10584
+ body,
10585
+ ['PureCloud OAuth'],
10586
+ ['application/json'],
10587
+ ['application/json']
10588
+ );
10589
+ }
10590
+
10591
+ /**
10592
+ * Create an adhoc room
10593
+ *
10594
+ * @param {Object} opts Optional parameters
10595
+ * @param {Object} opts.body Room properties
10596
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10597
+ */
10598
+ postChatsRooms(opts) {
10599
+ opts = opts || {};
10600
+
10601
+
10602
+ return this.apiClient.callApi(
10603
+ '/api/v2/chats/rooms',
10604
+ 'POST',
10605
+ { },
10606
+ { },
10607
+ { },
10608
+ { },
10609
+ opts['body'],
10610
+ ['PureCloud OAuth'],
10611
+ ['application/json'],
10612
+ ['application/json']
10613
+ );
10614
+ }
10615
+
10616
+ /**
10617
+ * Send a message to a user
10618
+ *
10619
+ * @param {String} userId userId
10620
+ * @param {Object} body message body
10621
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10622
+ */
10623
+ postChatsUserMessages(userId, body) {
10624
+ // verify the required parameter 'userId' is set
10625
+ if (userId === undefined || userId === null) {
10626
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
10627
+ }
10628
+ // verify the required parameter 'body' is set
10629
+ if (body === undefined || body === null) {
10630
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
10631
+ }
10632
+
10633
+ return this.apiClient.callApi(
10634
+ '/api/v2/chats/users/{userId}/messages',
10635
+ 'POST',
10636
+ { 'userId': userId },
10637
+ { },
10638
+ { },
10639
+ { },
10640
+ body,
10641
+ ['PureCloud OAuth'],
10642
+ ['application/json'],
10643
+ ['application/json']
10644
+ );
10645
+ }
10646
+
10043
10647
  /**
10044
10648
  * Update Chat Settings.
10045
10649
  * This route is deprecated, please use /chats/settings instead
@@ -10097,7 +10701,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10097
10701
  /**
10098
10702
  * Coaching service.
10099
10703
  * @module purecloud-platform-client-v2/api/CoachingApi
10100
- * @version 175.0.0
10704
+ * @version 176.0.0
10101
10705
  */
10102
10706
 
10103
10707
  /**
@@ -10674,7 +11278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10674
11278
  /**
10675
11279
  * ContentManagement service.
10676
11280
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10677
- * @version 175.0.0
11281
+ * @version 176.0.0
10678
11282
  */
10679
11283
 
10680
11284
  /**
@@ -11817,7 +12421,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11817
12421
  /**
11818
12422
  * Conversations service.
11819
12423
  * @module purecloud-platform-client-v2/api/ConversationsApi
11820
- * @version 175.0.0
12424
+ * @version 176.0.0
11821
12425
  */
11822
12426
 
11823
12427
  /**
@@ -18901,7 +19505,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18901
19505
  /**
18902
19506
  * DataExtensions service.
18903
19507
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
18904
- * @version 175.0.0
19508
+ * @version 176.0.0
18905
19509
  */
18906
19510
 
18907
19511
  /**
@@ -18987,7 +19591,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18987
19591
  /**
18988
19592
  * Downloads service.
18989
19593
  * @module purecloud-platform-client-v2/api/DownloadsApi
18990
- * @version 175.0.0
19594
+ * @version 176.0.0
18991
19595
  */
18992
19596
 
18993
19597
  /**
@@ -19039,7 +19643,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19039
19643
  /**
19040
19644
  * Emails service.
19041
19645
  * @module purecloud-platform-client-v2/api/EmailsApi
19042
- * @version 175.0.0
19646
+ * @version 176.0.0
19043
19647
  */
19044
19648
 
19045
19649
  /**
@@ -19104,7 +19708,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19104
19708
  /**
19105
19709
  * Events service.
19106
19710
  * @module purecloud-platform-client-v2/api/EventsApi
19107
- * @version 175.0.0
19711
+ * @version 176.0.0
19108
19712
  */
19109
19713
 
19110
19714
  /**
@@ -19200,7 +19804,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19200
19804
  /**
19201
19805
  * ExternalContacts service.
19202
19806
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
19203
- * @version 175.0.0
19807
+ * @version 176.0.0
19204
19808
  */
19205
19809
 
19206
19810
  /**
@@ -21158,7 +21762,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21158
21762
  /**
21159
21763
  * Fax service.
21160
21764
  * @module purecloud-platform-client-v2/api/FaxApi
21161
- * @version 175.0.0
21765
+ * @version 176.0.0
21162
21766
  */
21163
21767
 
21164
21768
  /**
@@ -21329,7 +21933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21329
21933
  /**
21330
21934
  * Flows service.
21331
21935
  * @module purecloud-platform-client-v2/api/FlowsApi
21332
- * @version 175.0.0
21936
+ * @version 176.0.0
21333
21937
  */
21334
21938
 
21335
21939
  /**
@@ -21513,7 +22117,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21513
22117
  /**
21514
22118
  * Gamification service.
21515
22119
  * @module purecloud-platform-client-v2/api/GamificationApi
21516
- * @version 175.0.0
22120
+ * @version 176.0.0
21517
22121
  */
21518
22122
 
21519
22123
  /**
@@ -23599,7 +24203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23599
24203
  /**
23600
24204
  * GeneralDataProtectionRegulation service.
23601
24205
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
23602
- * @version 175.0.0
24206
+ * @version 176.0.0
23603
24207
  */
23604
24208
 
23605
24209
  /**
@@ -23729,7 +24333,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23729
24333
  /**
23730
24334
  * Geolocation service.
23731
24335
  * @module purecloud-platform-client-v2/api/GeolocationApi
23732
- * @version 175.0.0
24336
+ * @version 176.0.0
23733
24337
  */
23734
24338
 
23735
24339
  /**
@@ -23860,7 +24464,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23860
24464
  /**
23861
24465
  * Greetings service.
23862
24466
  * @module purecloud-platform-client-v2/api/GreetingsApi
23863
- * @version 175.0.0
24467
+ * @version 176.0.0
23864
24468
  */
23865
24469
 
23866
24470
  /**
@@ -24315,7 +24919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24315
24919
  /**
24316
24920
  * Groups service.
24317
24921
  * @module purecloud-platform-client-v2/api/GroupsApi
24318
- * @version 175.0.0
24922
+ * @version 176.0.0
24319
24923
  */
24320
24924
 
24321
24925
  /**
@@ -24834,7 +25438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24834
25438
  /**
24835
25439
  * IdentityProvider service.
24836
25440
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
24837
- * @version 175.0.0
25441
+ * @version 176.0.0
24838
25442
  */
24839
25443
 
24840
25444
  /**
@@ -25590,7 +26194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25590
26194
  /**
25591
26195
  * InfrastructureAsCode service.
25592
26196
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
25593
- * @version 175.0.0
26197
+ * @version 176.0.0
25594
26198
  */
25595
26199
 
25596
26200
  /**
@@ -25757,7 +26361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25757
26361
  /**
25758
26362
  * Integrations service.
25759
26363
  * @module purecloud-platform-client-v2/api/IntegrationsApi
25760
- * @version 175.0.0
26364
+ * @version 176.0.0
25761
26365
  */
25762
26366
 
25763
26367
  /**
@@ -27719,7 +28323,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27719
28323
  /**
27720
28324
  * Journey service.
27721
28325
  * @module purecloud-platform-client-v2/api/JourneyApi
27722
- * @version 175.0.0
28326
+ * @version 176.0.0
27723
28327
  */
27724
28328
 
27725
28329
  /**
@@ -28883,7 +29487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28883
29487
  /**
28884
29488
  * Knowledge service.
28885
29489
  * @module purecloud-platform-client-v2/api/KnowledgeApi
28886
- * @version 175.0.0
29490
+ * @version 176.0.0
28887
29491
  */
28888
29492
 
28889
29493
  /**
@@ -31704,7 +32308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31704
32308
  /**
31705
32309
  * LanguageUnderstanding service.
31706
32310
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31707
- * @version 175.0.0
32311
+ * @version 176.0.0
31708
32312
  */
31709
32313
 
31710
32314
  /**
@@ -32717,7 +33321,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32717
33321
  /**
32718
33322
  * Languages service.
32719
33323
  * @module purecloud-platform-client-v2/api/LanguagesApi
32720
- * @version 175.0.0
33324
+ * @version 176.0.0
32721
33325
  */
32722
33326
 
32723
33327
  /**
@@ -32939,7 +33543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32939
33543
  /**
32940
33544
  * Learning service.
32941
33545
  * @module purecloud-platform-client-v2/api/LearningApi
32942
- * @version 175.0.0
33546
+ * @version 176.0.0
32943
33547
  */
32944
33548
 
32945
33549
  /**
@@ -33758,7 +34362,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33758
34362
  /**
33759
34363
  * License service.
33760
34364
  * @module purecloud-platform-client-v2/api/LicenseApi
33761
- * @version 175.0.0
34365
+ * @version 176.0.0
33762
34366
  */
33763
34367
 
33764
34368
  /**
@@ -33996,7 +34600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33996
34600
  /**
33997
34601
  * Locations service.
33998
34602
  * @module purecloud-platform-client-v2/api/LocationsApi
33999
- * @version 175.0.0
34603
+ * @version 176.0.0
34000
34604
  */
34001
34605
 
34002
34606
  /**
@@ -34232,7 +34836,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34232
34836
  /**
34233
34837
  * Messaging service.
34234
34838
  * @module purecloud-platform-client-v2/api/MessagingApi
34235
- * @version 175.0.0
34839
+ * @version 176.0.0
34236
34840
  */
34237
34841
 
34238
34842
  /**
@@ -34591,7 +35195,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34591
35195
  /**
34592
35196
  * MobileDevices service.
34593
35197
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34594
- * @version 175.0.0
35198
+ * @version 176.0.0
34595
35199
  */
34596
35200
 
34597
35201
  /**
@@ -34742,7 +35346,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34742
35346
  /**
34743
35347
  * Notifications service.
34744
35348
  * @module purecloud-platform-client-v2/api/NotificationsApi
34745
- * @version 175.0.0
35349
+ * @version 176.0.0
34746
35350
  */
34747
35351
 
34748
35352
  /**
@@ -34975,7 +35579,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34975
35579
  /**
34976
35580
  * OAuth service.
34977
35581
  * @module purecloud-platform-client-v2/api/OAuthApi
34978
- * @version 175.0.0
35582
+ * @version 176.0.0
34979
35583
  */
34980
35584
 
34981
35585
  /**
@@ -35341,7 +35945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35341
35945
  /**
35342
35946
  * Objects service.
35343
35947
  * @module purecloud-platform-client-v2/api/ObjectsApi
35344
- * @version 175.0.0
35948
+ * @version 176.0.0
35345
35949
  */
35346
35950
 
35347
35951
  /**
@@ -35612,7 +36216,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35612
36216
  /**
35613
36217
  * Organization service.
35614
36218
  * @module purecloud-platform-client-v2/api/OrganizationApi
35615
- * @version 175.0.0
36219
+ * @version 176.0.0
35616
36220
  */
35617
36221
 
35618
36222
  /**
@@ -36067,7 +36671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36067
36671
  /**
36068
36672
  * OrganizationAuthorization service.
36069
36673
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
36070
- * @version 175.0.0
36674
+ * @version 176.0.0
36071
36675
  */
36072
36676
 
36073
36677
  /**
@@ -37414,7 +38018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37414
38018
  /**
37415
38019
  * Outbound service.
37416
38020
  * @module purecloud-platform-client-v2/api/OutboundApi
37417
- * @version 175.0.0
38021
+ * @version 176.0.0
37418
38022
  */
37419
38023
 
37420
38024
  /**
@@ -41036,7 +41640,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41036
41640
  /**
41037
41641
  * Presence service.
41038
41642
  * @module purecloud-platform-client-v2/api/PresenceApi
41039
- * @version 175.0.0
41643
+ * @version 176.0.0
41040
41644
  */
41041
41645
 
41042
41646
  /**
@@ -41775,7 +42379,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41775
42379
  /**
41776
42380
  * ProcessAutomation service.
41777
42381
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
41778
- * @version 175.0.0
42382
+ * @version 176.0.0
41779
42383
  */
41780
42384
 
41781
42385
  /**
@@ -42014,7 +42618,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42014
42618
  /**
42015
42619
  * Quality service.
42016
42620
  * @module purecloud-platform-client-v2/api/QualityApi
42017
- * @version 175.0.0
42621
+ * @version 176.0.0
42018
42622
  */
42019
42623
 
42020
42624
  /**
@@ -43768,7 +44372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43768
44372
  /**
43769
44373
  * Recording service.
43770
44374
  * @module purecloud-platform-client-v2/api/RecordingApi
43771
- * @version 175.0.0
44375
+ * @version 176.0.0
43772
44376
  */
43773
44377
 
43774
44378
  /**
@@ -45405,7 +46009,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45405
46009
  /**
45406
46010
  * ResponseManagement service.
45407
46011
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
45408
- * @version 175.0.0
46012
+ * @version 176.0.0
45409
46013
  */
45410
46014
 
45411
46015
  /**
@@ -45890,7 +46494,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45890
46494
  /**
45891
46495
  * Routing service.
45892
46496
  * @module purecloud-platform-client-v2/api/RoutingApi
45893
- * @version 175.0.0
46497
+ * @version 176.0.0
45894
46498
  */
45895
46499
 
45896
46500
  /**
@@ -47948,8 +48552,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47948
48552
  * @param {Number} opts.pageNumber Page number (default to 1)
47949
48553
  * @param {Object} opts.sortBy Sort by (default to name)
47950
48554
  * @param {Object} opts.sortOrder Sort order (default to ascending)
47951
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47952
48555
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
48556
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
47953
48557
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
47954
48558
  */
47955
48559
  getRoutingWrapupcodes(opts) {
@@ -47960,7 +48564,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47960
48564
  '/api/v2/routing/wrapupcodes',
47961
48565
  'GET',
47962
48566
  { },
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') },
48567
+ { '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
48568
  { },
47965
48569
  { },
47966
48570
  null,
@@ -49598,7 +50202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49598
50202
  /**
49599
50203
  * SCIM service.
49600
50204
  * @module purecloud-platform-client-v2/api/SCIMApi
49601
- * @version 175.0.0
50205
+ * @version 176.0.0
49602
50206
  */
49603
50207
 
49604
50208
  /**
@@ -50475,7 +51079,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50475
51079
  /**
50476
51080
  * Scripts service.
50477
51081
  * @module purecloud-platform-client-v2/api/ScriptsApi
50478
- * @version 175.0.0
51082
+ * @version 176.0.0
50479
51083
  */
50480
51084
 
50481
51085
  /**
@@ -50919,7 +51523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50919
51523
  /**
50920
51524
  * Search service.
50921
51525
  * @module purecloud-platform-client-v2/api/SearchApi
50922
- * @version 175.0.0
51526
+ * @version 176.0.0
50923
51527
  */
50924
51528
 
50925
51529
  /**
@@ -51608,7 +52212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51608
52212
  /**
51609
52213
  * Settings service.
51610
52214
  * @module purecloud-platform-client-v2/api/SettingsApi
51611
- * @version 175.0.0
52215
+ * @version 176.0.0
51612
52216
  */
51613
52217
 
51614
52218
  /**
@@ -51673,7 +52277,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51673
52277
  /**
51674
52278
  * SpeechTextAnalytics service.
51675
52279
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
51676
- * @version 175.0.0
52280
+ * @version 176.0.0
51677
52281
  */
51678
52282
 
51679
52283
  /**
@@ -52656,7 +53260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52656
53260
  /**
52657
53261
  * Stations service.
52658
53262
  * @module purecloud-platform-client-v2/api/StationsApi
52659
- * @version 175.0.0
53263
+ * @version 176.0.0
52660
53264
  */
52661
53265
 
52662
53266
  /**
@@ -52758,7 +53362,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52758
53362
  /**
52759
53363
  * Suggest service.
52760
53364
  * @module purecloud-platform-client-v2/api/SuggestApi
52761
- * @version 175.0.0
53365
+ * @version 176.0.0
52762
53366
  */
52763
53367
 
52764
53368
  /**
@@ -52897,7 +53501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52897
53501
  /**
52898
53502
  * TaskManagement service.
52899
53503
  * @module purecloud-platform-client-v2/api/TaskManagementApi
52900
- * @version 175.0.0
53504
+ * @version 176.0.0
52901
53505
  */
52902
53506
 
52903
53507
  /**
@@ -54178,7 +54782,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54178
54782
  /**
54179
54783
  * Teams service.
54180
54784
  * @module purecloud-platform-client-v2/api/TeamsApi
54181
- * @version 175.0.0
54785
+ * @version 176.0.0
54182
54786
  */
54183
54787
 
54184
54788
  /**
@@ -54480,7 +55084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54480
55084
  /**
54481
55085
  * Telephony service.
54482
55086
  * @module purecloud-platform-client-v2/api/TelephonyApi
54483
- * @version 175.0.0
55087
+ * @version 176.0.0
54484
55088
  */
54485
55089
 
54486
55090
  /**
@@ -54608,7 +55212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54608
55212
  /**
54609
55213
  * TelephonyProvidersEdge service.
54610
55214
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
54611
- * @version 175.0.0
55215
+ * @version 176.0.0
54612
55216
  */
54613
55217
 
54614
55218
  /**
@@ -57897,7 +58501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57897
58501
  /**
57898
58502
  * Textbots service.
57899
58503
  * @module purecloud-platform-client-v2/api/TextbotsApi
57900
- * @version 175.0.0
58504
+ * @version 176.0.0
57901
58505
  */
57902
58506
 
57903
58507
  /**
@@ -58025,7 +58629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58025
58629
  /**
58026
58630
  * Tokens service.
58027
58631
  * @module purecloud-platform-client-v2/api/TokensApi
58028
- * @version 175.0.0
58632
+ * @version 176.0.0
58029
58633
  */
58030
58634
 
58031
58635
  /**
@@ -58181,7 +58785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58181
58785
  /**
58182
58786
  * Uploads service.
58183
58787
  * @module purecloud-platform-client-v2/api/UploadsApi
58184
- * @version 175.0.0
58788
+ * @version 176.0.0
58185
58789
  */
58186
58790
 
58187
58791
  /**
@@ -58357,7 +58961,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58357
58961
  /**
58358
58962
  * Usage service.
58359
58963
  * @module purecloud-platform-client-v2/api/UsageApi
58360
- * @version 175.0.0
58964
+ * @version 176.0.0
58361
58965
  */
58362
58966
 
58363
58967
  /**
@@ -58567,7 +59171,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58567
59171
  /**
58568
59172
  * UserRecordings service.
58569
59173
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
58570
- * @version 175.0.0
59174
+ * @version 176.0.0
58571
59175
  */
58572
59176
 
58573
59177
  /**
@@ -58752,7 +59356,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58752
59356
  /**
58753
59357
  * Users service.
58754
59358
  * @module purecloud-platform-client-v2/api/UsersApi
58755
- * @version 175.0.0
59359
+ * @version 176.0.0
58756
59360
  */
58757
59361
 
58758
59362
  /**
@@ -61313,7 +61917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61313
61917
  /**
61314
61918
  * Utilities service.
61315
61919
  * @module purecloud-platform-client-v2/api/UtilitiesApi
61316
- * @version 175.0.0
61920
+ * @version 176.0.0
61317
61921
  */
61318
61922
 
61319
61923
  /**
@@ -61424,7 +62028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61424
62028
  /**
61425
62029
  * Voicemail service.
61426
62030
  * @module purecloud-platform-client-v2/api/VoicemailApi
61427
- * @version 175.0.0
62031
+ * @version 176.0.0
61428
62032
  */
61429
62033
 
61430
62034
  /**
@@ -62091,7 +62695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62091
62695
  /**
62092
62696
  * WebChat service.
62093
62697
  * @module purecloud-platform-client-v2/api/WebChatApi
62094
- * @version 175.0.0
62698
+ * @version 176.0.0
62095
62699
  */
62096
62700
 
62097
62701
  /**
@@ -62640,7 +63244,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62640
63244
  /**
62641
63245
  * WebDeployments service.
62642
63246
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
62643
- * @version 175.0.0
63247
+ * @version 176.0.0
62644
63248
  */
62645
63249
 
62646
63250
  /**
@@ -63167,7 +63771,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63167
63771
  /**
63168
63772
  * WebMessaging service.
63169
63773
  * @module purecloud-platform-client-v2/api/WebMessagingApi
63170
- * @version 175.0.0
63774
+ * @version 176.0.0
63171
63775
  */
63172
63776
 
63173
63777
  /**
@@ -63213,7 +63817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63213
63817
  /**
63214
63818
  * Widgets service.
63215
63819
  * @module purecloud-platform-client-v2/api/WidgetsApi
63216
- * @version 175.0.0
63820
+ * @version 176.0.0
63217
63821
  */
63218
63822
 
63219
63823
  /**
@@ -63359,7 +63963,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63359
63963
  /**
63360
63964
  * WorkforceManagement service.
63361
63965
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
63362
- * @version 175.0.0
63966
+ * @version 176.0.0
63363
63967
  */
63364
63968
 
63365
63969
  /**
@@ -68523,7 +69127,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68523
69127
  * </pre>
68524
69128
  * </p>
68525
69129
  * @module purecloud-platform-client-v2/index
68526
- * @version 175.0.0
69130
+ * @version 176.0.0
68527
69131
  */
68528
69132
  class platformClient {
68529
69133
  constructor() {