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
@@ -9336,7 +9336,7 @@ class Configuration {
9336
9336
 
9337
9337
  /**
9338
9338
  * @module purecloud-platform-client-v2/ApiClient
9339
- * @version 175.0.0
9339
+ * @version 176.0.0
9340
9340
  */
9341
9341
  class ApiClient {
9342
9342
  /**
@@ -10415,7 +10415,7 @@ class AlertingApi {
10415
10415
  /**
10416
10416
  * Alerting service.
10417
10417
  * @module purecloud-platform-client-v2/api/AlertingApi
10418
- * @version 175.0.0
10418
+ * @version 176.0.0
10419
10419
  */
10420
10420
 
10421
10421
  /**
@@ -11065,7 +11065,7 @@ class AnalyticsApi {
11065
11065
  /**
11066
11066
  * Analytics service.
11067
11067
  * @module purecloud-platform-client-v2/api/AnalyticsApi
11068
- * @version 175.0.0
11068
+ * @version 176.0.0
11069
11069
  */
11070
11070
 
11071
11071
  /**
@@ -13511,7 +13511,7 @@ class ArchitectApi {
13511
13511
  /**
13512
13512
  * Architect service.
13513
13513
  * @module purecloud-platform-client-v2/api/ArchitectApi
13514
- * @version 175.0.0
13514
+ * @version 176.0.0
13515
13515
  */
13516
13516
 
13517
13517
  /**
@@ -17311,7 +17311,7 @@ class AuditApi {
17311
17311
  /**
17312
17312
  * Audit service.
17313
17313
  * @module purecloud-platform-client-v2/api/AuditApi
17314
- * @version 175.0.0
17314
+ * @version 176.0.0
17315
17315
  */
17316
17316
 
17317
17317
  /**
@@ -17482,7 +17482,7 @@ class AuthorizationApi {
17482
17482
  /**
17483
17483
  * Authorization service.
17484
17484
  * @module purecloud-platform-client-v2/api/AuthorizationApi
17485
- * @version 175.0.0
17485
+ * @version 176.0.0
17486
17486
  */
17487
17487
 
17488
17488
  /**
@@ -18713,7 +18713,7 @@ class BillingApi {
18713
18713
  /**
18714
18714
  * Billing service.
18715
18715
  * @module purecloud-platform-client-v2/api/BillingApi
18716
- * @version 175.0.0
18716
+ * @version 176.0.0
18717
18717
  */
18718
18718
 
18719
18719
  /**
@@ -18793,7 +18793,7 @@ class CarrierServicesApi {
18793
18793
  /**
18794
18794
  * CarrierServices service.
18795
18795
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
18796
- * @version 175.0.0
18796
+ * @version 176.0.0
18797
18797
  */
18798
18798
 
18799
18799
  /**
@@ -18863,7 +18863,7 @@ class ChatApi {
18863
18863
  /**
18864
18864
  * Chat service.
18865
18865
  * @module purecloud-platform-client-v2/api/ChatApi
18866
- * @version 175.0.0
18866
+ * @version 176.0.0
18867
18867
  */
18868
18868
 
18869
18869
  /**
@@ -18878,6 +18878,130 @@ class ChatApi {
18878
18878
  }
18879
18879
 
18880
18880
 
18881
+ /**
18882
+ * Delete a message in a room
18883
+ *
18884
+ * @param {String} roomJid roomId
18885
+ * @param {String} messageId messageId
18886
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18887
+ */
18888
+ deleteChatsRoomMessage(roomJid, messageId) {
18889
+ // verify the required parameter 'roomJid' is set
18890
+ if (roomJid === undefined || roomJid === null) {
18891
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
18892
+ }
18893
+ // verify the required parameter 'messageId' is set
18894
+ if (messageId === undefined || messageId === null) {
18895
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
18896
+ }
18897
+
18898
+ return this.apiClient.callApi(
18899
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
18900
+ 'DELETE',
18901
+ { 'roomJid': roomJid,'messageId': messageId },
18902
+ { },
18903
+ { },
18904
+ { },
18905
+ null,
18906
+ ['PureCloud OAuth'],
18907
+ ['application/json'],
18908
+ ['application/json']
18909
+ );
18910
+ }
18911
+
18912
+ /**
18913
+ * Remove a user from a room.
18914
+ *
18915
+ * @param {String} roomJid roomJid
18916
+ * @param {String} userId userId
18917
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18918
+ */
18919
+ deleteChatsRoomParticipant(roomJid, userId) {
18920
+ // verify the required parameter 'roomJid' is set
18921
+ if (roomJid === undefined || roomJid === null) {
18922
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
18923
+ }
18924
+ // verify the required parameter 'userId' is set
18925
+ if (userId === undefined || userId === null) {
18926
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
18927
+ }
18928
+
18929
+ return this.apiClient.callApi(
18930
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
18931
+ 'DELETE',
18932
+ { 'roomJid': roomJid,'userId': userId },
18933
+ { },
18934
+ { },
18935
+ { },
18936
+ null,
18937
+ ['PureCloud OAuth'],
18938
+ ['application/json'],
18939
+ ['application/json']
18940
+ );
18941
+ }
18942
+
18943
+ /**
18944
+ * Remove a pinned message from a room
18945
+ *
18946
+ * @param {String} roomJid roomJid
18947
+ * @param {String} pinnedMessageId pinnedMessageId
18948
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18949
+ */
18950
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
18951
+ // verify the required parameter 'roomJid' is set
18952
+ if (roomJid === undefined || roomJid === null) {
18953
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
18954
+ }
18955
+ // verify the required parameter 'pinnedMessageId' is set
18956
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
18957
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
18958
+ }
18959
+
18960
+ return this.apiClient.callApi(
18961
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
18962
+ 'DELETE',
18963
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
18964
+ { },
18965
+ { },
18966
+ { },
18967
+ null,
18968
+ ['PureCloud OAuth'],
18969
+ ['application/json'],
18970
+ ['application/json']
18971
+ );
18972
+ }
18973
+
18974
+ /**
18975
+ * Delete a message to a user
18976
+ *
18977
+ * @param {String} userId userId
18978
+ * @param {String} messageId messageId
18979
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18980
+ */
18981
+ deleteChatsUserMessage(userId, messageId) {
18982
+ // verify the required parameter 'userId' is set
18983
+ if (userId === undefined || userId === null) {
18984
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
18985
+ }
18986
+ // verify the required parameter 'messageId' is set
18987
+ if (messageId === undefined || messageId === null) {
18988
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
18989
+ }
18990
+
18991
+ return this.apiClient.callApi(
18992
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
18993
+ 'DELETE',
18994
+ { 'userId': userId,'messageId': messageId },
18995
+ { },
18996
+ { },
18997
+ { },
18998
+ null,
18999
+ ['PureCloud OAuth'],
19000
+ ['application/json'],
19001
+ ['application/json']
19002
+ );
19003
+ }
19004
+
18881
19005
  /**
18882
19006
  * Get Chat Settings.
18883
19007
  * This route is deprecated, please use /chats/settings instead
@@ -18899,6 +19023,127 @@ class ChatApi {
18899
19023
  );
18900
19024
  }
18901
19025
 
19026
+ /**
19027
+ * Get a message
19028
+ *
19029
+ * @param {String} messageId messageId
19030
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19031
+ */
19032
+ getChatsMessage(messageId) {
19033
+ // verify the required parameter 'messageId' is set
19034
+ if (messageId === undefined || messageId === null) {
19035
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
19036
+ }
19037
+
19038
+ return this.apiClient.callApi(
19039
+ '/api/v2/chats/messages/{messageId}',
19040
+ 'GET',
19041
+ { 'messageId': messageId },
19042
+ { },
19043
+ { },
19044
+ { },
19045
+ null,
19046
+ ['PureCloud OAuth'],
19047
+ ['application/json'],
19048
+ ['application/json']
19049
+ );
19050
+ }
19051
+
19052
+ /**
19053
+ * Get a room
19054
+ *
19055
+ * @param {String} roomJid roomJid
19056
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19057
+ */
19058
+ getChatsRoom(roomJid) {
19059
+ // verify the required parameter 'roomJid' is set
19060
+ if (roomJid === undefined || roomJid === null) {
19061
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
19062
+ }
19063
+
19064
+ return this.apiClient.callApi(
19065
+ '/api/v2/chats/rooms/{roomJid}',
19066
+ 'GET',
19067
+ { 'roomJid': roomJid },
19068
+ { },
19069
+ { },
19070
+ { },
19071
+ null,
19072
+ ['PureCloud OAuth'],
19073
+ ['application/json'],
19074
+ ['application/json']
19075
+ );
19076
+ }
19077
+
19078
+ /**
19079
+ * Get messages by id(s) from a room
19080
+ *
19081
+ * @param {String} roomJid roomJid
19082
+ * @param {String} messageIds messageIds, comma separated
19083
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19084
+ */
19085
+ getChatsRoomMessage(roomJid, messageIds) {
19086
+ // verify the required parameter 'roomJid' is set
19087
+ if (roomJid === undefined || roomJid === null) {
19088
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
19089
+ }
19090
+ // verify the required parameter 'messageIds' is set
19091
+ if (messageIds === undefined || messageIds === null) {
19092
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
19093
+ }
19094
+
19095
+ return this.apiClient.callApi(
19096
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
19097
+ 'GET',
19098
+ { 'roomJid': roomJid,'messageIds': messageIds },
19099
+ { },
19100
+ { },
19101
+ { },
19102
+ null,
19103
+ ['PureCloud OAuth'],
19104
+ ['application/json'],
19105
+ ['application/json']
19106
+ );
19107
+ }
19108
+
19109
+ /**
19110
+ * Get a room's message history
19111
+ *
19112
+ * @param {String} roomJid roomJid
19113
+ * @param {Object} opts Optional parameters
19114
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19115
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19116
+ * @param {String} opts.sortBy variable name requested to sort by
19117
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19118
+ * @param {String} opts.nextPage next page token
19119
+ * @param {String} opts.previousPage Previous page token
19120
+ * @param {String} opts.limit The maximum number of messages to retrieve
19121
+ * @param {String} opts.before The cutoff date for messages to retrieve
19122
+ * @param {String} opts.after The beginning date for messages to retrieve
19123
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19124
+ */
19125
+ getChatsRoomMessages(roomJid, opts) {
19126
+ opts = opts || {};
19127
+
19128
+ // verify the required parameter 'roomJid' is set
19129
+ if (roomJid === undefined || roomJid === null) {
19130
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
19131
+ }
19132
+
19133
+ return this.apiClient.callApi(
19134
+ '/api/v2/chats/rooms/{roomJid}/messages',
19135
+ 'GET',
19136
+ { 'roomJid': roomJid },
19137
+ { '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'] },
19138
+ { },
19139
+ { },
19140
+ null,
19141
+ ['PureCloud OAuth'],
19142
+ ['application/json'],
19143
+ ['application/json']
19144
+ );
19145
+ }
19146
+
18902
19147
  /**
18903
19148
  * Get Chat Settings.
18904
19149
  *
@@ -18919,6 +19164,113 @@ class ChatApi {
18919
19164
  );
18920
19165
  }
18921
19166
 
19167
+ /**
19168
+ * Get history by thread
19169
+ *
19170
+ * @param {String} threadId threadId
19171
+ * @param {Object} opts Optional parameters
19172
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19173
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19174
+ * @param {String} opts.sortBy variable name requested to sort by
19175
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19176
+ * @param {String} opts.nextPage next page token
19177
+ * @param {String} opts.previousPage Previous page token
19178
+ * @param {String} opts.limit The maximum number of messages to retrieve
19179
+ * @param {String} opts.before The cutoff date for messages to retrieve
19180
+ * @param {String} opts.after The beginning date for messages to retrieve
19181
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19182
+ */
19183
+ getChatsThreadMessages(threadId, opts) {
19184
+ opts = opts || {};
19185
+
19186
+ // verify the required parameter 'threadId' is set
19187
+ if (threadId === undefined || threadId === null) {
19188
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
19189
+ }
19190
+
19191
+ return this.apiClient.callApi(
19192
+ '/api/v2/chats/threads/{threadId}/messages',
19193
+ 'GET',
19194
+ { 'threadId': threadId },
19195
+ { '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'] },
19196
+ { },
19197
+ { },
19198
+ null,
19199
+ ['PureCloud OAuth'],
19200
+ ['application/json'],
19201
+ ['application/json']
19202
+ );
19203
+ }
19204
+
19205
+ /**
19206
+ * Get messages by id(s) from a 1on1
19207
+ *
19208
+ * @param {String} userId userId
19209
+ * @param {String} messageIds messageIds, comma separated
19210
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19211
+ */
19212
+ getChatsUserMessage(userId, messageIds) {
19213
+ // verify the required parameter 'userId' is set
19214
+ if (userId === undefined || userId === null) {
19215
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
19216
+ }
19217
+ // verify the required parameter 'messageIds' is set
19218
+ if (messageIds === undefined || messageIds === null) {
19219
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
19220
+ }
19221
+
19222
+ return this.apiClient.callApi(
19223
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
19224
+ 'GET',
19225
+ { 'userId': userId,'messageIds': messageIds },
19226
+ { },
19227
+ { },
19228
+ { },
19229
+ null,
19230
+ ['PureCloud OAuth'],
19231
+ ['application/json'],
19232
+ ['application/json']
19233
+ );
19234
+ }
19235
+
19236
+ /**
19237
+ * Get 1on1 History between a user
19238
+ *
19239
+ * @param {String} userId userId
19240
+ * @param {Object} opts Optional parameters
19241
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19242
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19243
+ * @param {String} opts.sortBy variable name requested to sort by
19244
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19245
+ * @param {String} opts.nextPage next page token
19246
+ * @param {String} opts.previousPage Previous page token
19247
+ * @param {String} opts.limit The maximum number of messages to retrieve
19248
+ * @param {String} opts.before The cutoff date for messages to retrieve
19249
+ * @param {String} opts.after The beginning date for messages to retrieve
19250
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19251
+ */
19252
+ getChatsUserMessages(userId, opts) {
19253
+ opts = opts || {};
19254
+
19255
+ // verify the required parameter 'userId' is set
19256
+ if (userId === undefined || userId === null) {
19257
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
19258
+ }
19259
+
19260
+ return this.apiClient.callApi(
19261
+ '/api/v2/chats/users/{userId}/messages',
19262
+ 'GET',
19263
+ { 'userId': userId },
19264
+ { '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'] },
19265
+ { },
19266
+ { },
19267
+ null,
19268
+ ['PureCloud OAuth'],
19269
+ ['application/json'],
19270
+ ['application/json']
19271
+ );
19272
+ }
19273
+
18922
19274
  /**
18923
19275
  * Patch Chat Settings.
18924
19276
  * This route is deprecated, please use /chats/settings instead
@@ -18945,6 +19297,73 @@ class ChatApi {
18945
19297
  );
18946
19298
  }
18947
19299
 
19300
+ /**
19301
+ * Set properties for a room
19302
+ *
19303
+ * @param {String} roomJid roomJid
19304
+ * @param {Object} body Room properties
19305
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19306
+ */
19307
+ patchChatsRoom(roomJid, body) {
19308
+ // verify the required parameter 'roomJid' is set
19309
+ if (roomJid === undefined || roomJid === null) {
19310
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
19311
+ }
19312
+ // verify the required parameter 'body' is set
19313
+ if (body === undefined || body === null) {
19314
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
19315
+ }
19316
+
19317
+ return this.apiClient.callApi(
19318
+ '/api/v2/chats/rooms/{roomJid}',
19319
+ 'PATCH',
19320
+ { 'roomJid': roomJid },
19321
+ { },
19322
+ { },
19323
+ { },
19324
+ body,
19325
+ ['PureCloud OAuth'],
19326
+ ['application/json'],
19327
+ ['application/json']
19328
+ );
19329
+ }
19330
+
19331
+ /**
19332
+ * Edit a message in a room
19333
+ *
19334
+ * @param {String} roomJid roomId
19335
+ * @param {String} messageId messageId
19336
+ * @param {Object} body messageBody
19337
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19338
+ */
19339
+ patchChatsRoomMessage(roomJid, messageId, body) {
19340
+ // verify the required parameter 'roomJid' is set
19341
+ if (roomJid === undefined || roomJid === null) {
19342
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
19343
+ }
19344
+ // verify the required parameter 'messageId' is set
19345
+ if (messageId === undefined || messageId === null) {
19346
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
19347
+ }
19348
+ // verify the required parameter 'body' is set
19349
+ if (body === undefined || body === null) {
19350
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
19351
+ }
19352
+
19353
+ return this.apiClient.callApi(
19354
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
19355
+ 'PATCH',
19356
+ { 'roomJid': roomJid,'messageId': messageId },
19357
+ { },
19358
+ { },
19359
+ { },
19360
+ body,
19361
+ ['PureCloud OAuth'],
19362
+ ['application/json'],
19363
+ ['application/json']
19364
+ );
19365
+ }
19366
+
18948
19367
  /**
18949
19368
  * Patch Chat Settings.
18950
19369
  *
@@ -18970,6 +19389,191 @@ class ChatApi {
18970
19389
  );
18971
19390
  }
18972
19391
 
19392
+ /**
19393
+ * Edit a message to a user
19394
+ *
19395
+ * @param {String} userId userId
19396
+ * @param {String} messageId messageId
19397
+ * @param {Object} body message body
19398
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19399
+ */
19400
+ patchChatsUserMessage(userId, messageId, body) {
19401
+ // verify the required parameter 'userId' is set
19402
+ if (userId === undefined || userId === null) {
19403
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
19404
+ }
19405
+ // verify the required parameter 'messageId' is set
19406
+ if (messageId === undefined || messageId === null) {
19407
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
19408
+ }
19409
+ // verify the required parameter 'body' is set
19410
+ if (body === undefined || body === null) {
19411
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
19412
+ }
19413
+
19414
+ return this.apiClient.callApi(
19415
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
19416
+ 'PATCH',
19417
+ { 'userId': userId,'messageId': messageId },
19418
+ { },
19419
+ { },
19420
+ { },
19421
+ body,
19422
+ ['PureCloud OAuth'],
19423
+ ['application/json'],
19424
+ ['application/json']
19425
+ );
19426
+ }
19427
+
19428
+ /**
19429
+ * Send a message to a room
19430
+ *
19431
+ * @param {String} roomJid roomId
19432
+ * @param {Object} body messageBody
19433
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19434
+ */
19435
+ postChatsRoomMessages(roomJid, body) {
19436
+ // verify the required parameter 'roomJid' is set
19437
+ if (roomJid === undefined || roomJid === null) {
19438
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
19439
+ }
19440
+ // verify the required parameter 'body' is set
19441
+ if (body === undefined || body === null) {
19442
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
19443
+ }
19444
+
19445
+ return this.apiClient.callApi(
19446
+ '/api/v2/chats/rooms/{roomJid}/messages',
19447
+ 'POST',
19448
+ { 'roomJid': roomJid },
19449
+ { },
19450
+ { },
19451
+ { },
19452
+ body,
19453
+ ['PureCloud OAuth'],
19454
+ ['application/json'],
19455
+ ['application/json']
19456
+ );
19457
+ }
19458
+
19459
+ /**
19460
+ * Join a room
19461
+ *
19462
+ * @param {String} roomJid roomJid
19463
+ * @param {String} userId userId
19464
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19465
+ */
19466
+ postChatsRoomParticipant(roomJid, userId) {
19467
+ // verify the required parameter 'roomJid' is set
19468
+ if (roomJid === undefined || roomJid === null) {
19469
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
19470
+ }
19471
+ // verify the required parameter 'userId' is set
19472
+ if (userId === undefined || userId === null) {
19473
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
19474
+ }
19475
+
19476
+ return this.apiClient.callApi(
19477
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
19478
+ 'POST',
19479
+ { 'roomJid': roomJid,'userId': userId },
19480
+ { },
19481
+ { },
19482
+ { },
19483
+ null,
19484
+ ['PureCloud OAuth'],
19485
+ ['application/json'],
19486
+ ['application/json']
19487
+ );
19488
+ }
19489
+
19490
+ /**
19491
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
19492
+ *
19493
+ * @param {String} roomJid roomJid
19494
+ * @param {Object} body Pinned Message Ids
19495
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19496
+ */
19497
+ postChatsRoomPinnedmessages(roomJid, body) {
19498
+ // verify the required parameter 'roomJid' is set
19499
+ if (roomJid === undefined || roomJid === null) {
19500
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
19501
+ }
19502
+ // verify the required parameter 'body' is set
19503
+ if (body === undefined || body === null) {
19504
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
19505
+ }
19506
+
19507
+ return this.apiClient.callApi(
19508
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
19509
+ 'POST',
19510
+ { 'roomJid': roomJid },
19511
+ { },
19512
+ { },
19513
+ { },
19514
+ body,
19515
+ ['PureCloud OAuth'],
19516
+ ['application/json'],
19517
+ ['application/json']
19518
+ );
19519
+ }
19520
+
19521
+ /**
19522
+ * Create an adhoc room
19523
+ *
19524
+ * @param {Object} opts Optional parameters
19525
+ * @param {Object} opts.body Room properties
19526
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19527
+ */
19528
+ postChatsRooms(opts) {
19529
+ opts = opts || {};
19530
+
19531
+
19532
+ return this.apiClient.callApi(
19533
+ '/api/v2/chats/rooms',
19534
+ 'POST',
19535
+ { },
19536
+ { },
19537
+ { },
19538
+ { },
19539
+ opts['body'],
19540
+ ['PureCloud OAuth'],
19541
+ ['application/json'],
19542
+ ['application/json']
19543
+ );
19544
+ }
19545
+
19546
+ /**
19547
+ * Send a message to a user
19548
+ *
19549
+ * @param {String} userId userId
19550
+ * @param {Object} body message body
19551
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19552
+ */
19553
+ postChatsUserMessages(userId, body) {
19554
+ // verify the required parameter 'userId' is set
19555
+ if (userId === undefined || userId === null) {
19556
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
19557
+ }
19558
+ // verify the required parameter 'body' is set
19559
+ if (body === undefined || body === null) {
19560
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
19561
+ }
19562
+
19563
+ return this.apiClient.callApi(
19564
+ '/api/v2/chats/users/{userId}/messages',
19565
+ 'POST',
19566
+ { 'userId': userId },
19567
+ { },
19568
+ { },
19569
+ { },
19570
+ body,
19571
+ ['PureCloud OAuth'],
19572
+ ['application/json'],
19573
+ ['application/json']
19574
+ );
19575
+ }
19576
+
18973
19577
  /**
18974
19578
  * Update Chat Settings.
18975
19579
  * This route is deprecated, please use /chats/settings instead
@@ -19027,7 +19631,7 @@ class CoachingApi {
19027
19631
  /**
19028
19632
  * Coaching service.
19029
19633
  * @module purecloud-platform-client-v2/api/CoachingApi
19030
- * @version 175.0.0
19634
+ * @version 176.0.0
19031
19635
  */
19032
19636
 
19033
19637
  /**
@@ -19604,7 +20208,7 @@ class ContentManagementApi {
19604
20208
  /**
19605
20209
  * ContentManagement service.
19606
20210
  * @module purecloud-platform-client-v2/api/ContentManagementApi
19607
- * @version 175.0.0
20211
+ * @version 176.0.0
19608
20212
  */
19609
20213
 
19610
20214
  /**
@@ -20747,7 +21351,7 @@ class ConversationsApi {
20747
21351
  /**
20748
21352
  * Conversations service.
20749
21353
  * @module purecloud-platform-client-v2/api/ConversationsApi
20750
- * @version 175.0.0
21354
+ * @version 176.0.0
20751
21355
  */
20752
21356
 
20753
21357
  /**
@@ -27831,7 +28435,7 @@ class DataExtensionsApi {
27831
28435
  /**
27832
28436
  * DataExtensions service.
27833
28437
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
27834
- * @version 175.0.0
28438
+ * @version 176.0.0
27835
28439
  */
27836
28440
 
27837
28441
  /**
@@ -27917,7 +28521,7 @@ class DownloadsApi {
27917
28521
  /**
27918
28522
  * Downloads service.
27919
28523
  * @module purecloud-platform-client-v2/api/DownloadsApi
27920
- * @version 175.0.0
28524
+ * @version 176.0.0
27921
28525
  */
27922
28526
 
27923
28527
  /**
@@ -27969,7 +28573,7 @@ class EmailsApi {
27969
28573
  /**
27970
28574
  * Emails service.
27971
28575
  * @module purecloud-platform-client-v2/api/EmailsApi
27972
- * @version 175.0.0
28576
+ * @version 176.0.0
27973
28577
  */
27974
28578
 
27975
28579
  /**
@@ -28034,7 +28638,7 @@ class EventsApi {
28034
28638
  /**
28035
28639
  * Events service.
28036
28640
  * @module purecloud-platform-client-v2/api/EventsApi
28037
- * @version 175.0.0
28641
+ * @version 176.0.0
28038
28642
  */
28039
28643
 
28040
28644
  /**
@@ -28130,7 +28734,7 @@ class ExternalContactsApi {
28130
28734
  /**
28131
28735
  * ExternalContacts service.
28132
28736
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
28133
- * @version 175.0.0
28737
+ * @version 176.0.0
28134
28738
  */
28135
28739
 
28136
28740
  /**
@@ -30088,7 +30692,7 @@ class FaxApi {
30088
30692
  /**
30089
30693
  * Fax service.
30090
30694
  * @module purecloud-platform-client-v2/api/FaxApi
30091
- * @version 175.0.0
30695
+ * @version 176.0.0
30092
30696
  */
30093
30697
 
30094
30698
  /**
@@ -30259,7 +30863,7 @@ class FlowsApi {
30259
30863
  /**
30260
30864
  * Flows service.
30261
30865
  * @module purecloud-platform-client-v2/api/FlowsApi
30262
- * @version 175.0.0
30866
+ * @version 176.0.0
30263
30867
  */
30264
30868
 
30265
30869
  /**
@@ -30443,7 +31047,7 @@ class GamificationApi {
30443
31047
  /**
30444
31048
  * Gamification service.
30445
31049
  * @module purecloud-platform-client-v2/api/GamificationApi
30446
- * @version 175.0.0
31050
+ * @version 176.0.0
30447
31051
  */
30448
31052
 
30449
31053
  /**
@@ -32529,7 +33133,7 @@ class GeneralDataProtectionRegulationApi {
32529
33133
  /**
32530
33134
  * GeneralDataProtectionRegulation service.
32531
33135
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32532
- * @version 175.0.0
33136
+ * @version 176.0.0
32533
33137
  */
32534
33138
 
32535
33139
  /**
@@ -32659,7 +33263,7 @@ class GeolocationApi {
32659
33263
  /**
32660
33264
  * Geolocation service.
32661
33265
  * @module purecloud-platform-client-v2/api/GeolocationApi
32662
- * @version 175.0.0
33266
+ * @version 176.0.0
32663
33267
  */
32664
33268
 
32665
33269
  /**
@@ -32790,7 +33394,7 @@ class GreetingsApi {
32790
33394
  /**
32791
33395
  * Greetings service.
32792
33396
  * @module purecloud-platform-client-v2/api/GreetingsApi
32793
- * @version 175.0.0
33397
+ * @version 176.0.0
32794
33398
  */
32795
33399
 
32796
33400
  /**
@@ -33245,7 +33849,7 @@ class GroupsApi {
33245
33849
  /**
33246
33850
  * Groups service.
33247
33851
  * @module purecloud-platform-client-v2/api/GroupsApi
33248
- * @version 175.0.0
33852
+ * @version 176.0.0
33249
33853
  */
33250
33854
 
33251
33855
  /**
@@ -33764,7 +34368,7 @@ class IdentityProviderApi {
33764
34368
  /**
33765
34369
  * IdentityProvider service.
33766
34370
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
33767
- * @version 175.0.0
34371
+ * @version 176.0.0
33768
34372
  */
33769
34373
 
33770
34374
  /**
@@ -34520,7 +35124,7 @@ class InfrastructureAsCodeApi {
34520
35124
  /**
34521
35125
  * InfrastructureAsCode service.
34522
35126
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34523
- * @version 175.0.0
35127
+ * @version 176.0.0
34524
35128
  */
34525
35129
 
34526
35130
  /**
@@ -34687,7 +35291,7 @@ class IntegrationsApi {
34687
35291
  /**
34688
35292
  * Integrations service.
34689
35293
  * @module purecloud-platform-client-v2/api/IntegrationsApi
34690
- * @version 175.0.0
35294
+ * @version 176.0.0
34691
35295
  */
34692
35296
 
34693
35297
  /**
@@ -36649,7 +37253,7 @@ class JourneyApi {
36649
37253
  /**
36650
37254
  * Journey service.
36651
37255
  * @module purecloud-platform-client-v2/api/JourneyApi
36652
- * @version 175.0.0
37256
+ * @version 176.0.0
36653
37257
  */
36654
37258
 
36655
37259
  /**
@@ -37813,7 +38417,7 @@ class KnowledgeApi {
37813
38417
  /**
37814
38418
  * Knowledge service.
37815
38419
  * @module purecloud-platform-client-v2/api/KnowledgeApi
37816
- * @version 175.0.0
38420
+ * @version 176.0.0
37817
38421
  */
37818
38422
 
37819
38423
  /**
@@ -40634,7 +41238,7 @@ class LanguageUnderstandingApi {
40634
41238
  /**
40635
41239
  * LanguageUnderstanding service.
40636
41240
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
40637
- * @version 175.0.0
41241
+ * @version 176.0.0
40638
41242
  */
40639
41243
 
40640
41244
  /**
@@ -41647,7 +42251,7 @@ class LanguagesApi {
41647
42251
  /**
41648
42252
  * Languages service.
41649
42253
  * @module purecloud-platform-client-v2/api/LanguagesApi
41650
- * @version 175.0.0
42254
+ * @version 176.0.0
41651
42255
  */
41652
42256
 
41653
42257
  /**
@@ -41869,7 +42473,7 @@ class LearningApi {
41869
42473
  /**
41870
42474
  * Learning service.
41871
42475
  * @module purecloud-platform-client-v2/api/LearningApi
41872
- * @version 175.0.0
42476
+ * @version 176.0.0
41873
42477
  */
41874
42478
 
41875
42479
  /**
@@ -42688,7 +43292,7 @@ class LicenseApi {
42688
43292
  /**
42689
43293
  * License service.
42690
43294
  * @module purecloud-platform-client-v2/api/LicenseApi
42691
- * @version 175.0.0
43295
+ * @version 176.0.0
42692
43296
  */
42693
43297
 
42694
43298
  /**
@@ -42926,7 +43530,7 @@ class LocationsApi {
42926
43530
  /**
42927
43531
  * Locations service.
42928
43532
  * @module purecloud-platform-client-v2/api/LocationsApi
42929
- * @version 175.0.0
43533
+ * @version 176.0.0
42930
43534
  */
42931
43535
 
42932
43536
  /**
@@ -43162,7 +43766,7 @@ class MessagingApi {
43162
43766
  /**
43163
43767
  * Messaging service.
43164
43768
  * @module purecloud-platform-client-v2/api/MessagingApi
43165
- * @version 175.0.0
43769
+ * @version 176.0.0
43166
43770
  */
43167
43771
 
43168
43772
  /**
@@ -43521,7 +44125,7 @@ class MobileDevicesApi {
43521
44125
  /**
43522
44126
  * MobileDevices service.
43523
44127
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
43524
- * @version 175.0.0
44128
+ * @version 176.0.0
43525
44129
  */
43526
44130
 
43527
44131
  /**
@@ -43672,7 +44276,7 @@ class NotificationsApi {
43672
44276
  /**
43673
44277
  * Notifications service.
43674
44278
  * @module purecloud-platform-client-v2/api/NotificationsApi
43675
- * @version 175.0.0
44279
+ * @version 176.0.0
43676
44280
  */
43677
44281
 
43678
44282
  /**
@@ -43905,7 +44509,7 @@ class OAuthApi {
43905
44509
  /**
43906
44510
  * OAuth service.
43907
44511
  * @module purecloud-platform-client-v2/api/OAuthApi
43908
- * @version 175.0.0
44512
+ * @version 176.0.0
43909
44513
  */
43910
44514
 
43911
44515
  /**
@@ -44271,7 +44875,7 @@ class ObjectsApi {
44271
44875
  /**
44272
44876
  * Objects service.
44273
44877
  * @module purecloud-platform-client-v2/api/ObjectsApi
44274
- * @version 175.0.0
44878
+ * @version 176.0.0
44275
44879
  */
44276
44880
 
44277
44881
  /**
@@ -44542,7 +45146,7 @@ class OrganizationApi {
44542
45146
  /**
44543
45147
  * Organization service.
44544
45148
  * @module purecloud-platform-client-v2/api/OrganizationApi
44545
- * @version 175.0.0
45149
+ * @version 176.0.0
44546
45150
  */
44547
45151
 
44548
45152
  /**
@@ -44997,7 +45601,7 @@ class OrganizationAuthorizationApi {
44997
45601
  /**
44998
45602
  * OrganizationAuthorization service.
44999
45603
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
45000
- * @version 175.0.0
45604
+ * @version 176.0.0
45001
45605
  */
45002
45606
 
45003
45607
  /**
@@ -46344,7 +46948,7 @@ class OutboundApi {
46344
46948
  /**
46345
46949
  * Outbound service.
46346
46950
  * @module purecloud-platform-client-v2/api/OutboundApi
46347
- * @version 175.0.0
46951
+ * @version 176.0.0
46348
46952
  */
46349
46953
 
46350
46954
  /**
@@ -49966,7 +50570,7 @@ class PresenceApi {
49966
50570
  /**
49967
50571
  * Presence service.
49968
50572
  * @module purecloud-platform-client-v2/api/PresenceApi
49969
- * @version 175.0.0
50573
+ * @version 176.0.0
49970
50574
  */
49971
50575
 
49972
50576
  /**
@@ -50705,7 +51309,7 @@ class ProcessAutomationApi {
50705
51309
  /**
50706
51310
  * ProcessAutomation service.
50707
51311
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
50708
- * @version 175.0.0
51312
+ * @version 176.0.0
50709
51313
  */
50710
51314
 
50711
51315
  /**
@@ -50944,7 +51548,7 @@ class QualityApi {
50944
51548
  /**
50945
51549
  * Quality service.
50946
51550
  * @module purecloud-platform-client-v2/api/QualityApi
50947
- * @version 175.0.0
51551
+ * @version 176.0.0
50948
51552
  */
50949
51553
 
50950
51554
  /**
@@ -52698,7 +53302,7 @@ class RecordingApi {
52698
53302
  /**
52699
53303
  * Recording service.
52700
53304
  * @module purecloud-platform-client-v2/api/RecordingApi
52701
- * @version 175.0.0
53305
+ * @version 176.0.0
52702
53306
  */
52703
53307
 
52704
53308
  /**
@@ -54335,7 +54939,7 @@ class ResponseManagementApi {
54335
54939
  /**
54336
54940
  * ResponseManagement service.
54337
54941
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
54338
- * @version 175.0.0
54942
+ * @version 176.0.0
54339
54943
  */
54340
54944
 
54341
54945
  /**
@@ -54820,7 +55424,7 @@ class RoutingApi {
54820
55424
  /**
54821
55425
  * Routing service.
54822
55426
  * @module purecloud-platform-client-v2/api/RoutingApi
54823
- * @version 175.0.0
55427
+ * @version 176.0.0
54824
55428
  */
54825
55429
 
54826
55430
  /**
@@ -56878,8 +57482,8 @@ class RoutingApi {
56878
57482
  * @param {Number} opts.pageNumber Page number (default to 1)
56879
57483
  * @param {Object} opts.sortBy Sort by (default to name)
56880
57484
  * @param {Object} opts.sortOrder Sort order (default to ascending)
56881
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
56882
57485
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
57486
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
56883
57487
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
56884
57488
  */
56885
57489
  getRoutingWrapupcodes(opts) {
@@ -56890,7 +57494,7 @@ class RoutingApi {
56890
57494
  '/api/v2/routing/wrapupcodes',
56891
57495
  'GET',
56892
57496
  { },
56893
- { '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') },
57497
+ { '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') },
56894
57498
  { },
56895
57499
  { },
56896
57500
  null,
@@ -58528,7 +59132,7 @@ class SCIMApi {
58528
59132
  /**
58529
59133
  * SCIM service.
58530
59134
  * @module purecloud-platform-client-v2/api/SCIMApi
58531
- * @version 175.0.0
59135
+ * @version 176.0.0
58532
59136
  */
58533
59137
 
58534
59138
  /**
@@ -59405,7 +60009,7 @@ class ScriptsApi {
59405
60009
  /**
59406
60010
  * Scripts service.
59407
60011
  * @module purecloud-platform-client-v2/api/ScriptsApi
59408
- * @version 175.0.0
60012
+ * @version 176.0.0
59409
60013
  */
59410
60014
 
59411
60015
  /**
@@ -59849,7 +60453,7 @@ class SearchApi {
59849
60453
  /**
59850
60454
  * Search service.
59851
60455
  * @module purecloud-platform-client-v2/api/SearchApi
59852
- * @version 175.0.0
60456
+ * @version 176.0.0
59853
60457
  */
59854
60458
 
59855
60459
  /**
@@ -60538,7 +61142,7 @@ class SettingsApi {
60538
61142
  /**
60539
61143
  * Settings service.
60540
61144
  * @module purecloud-platform-client-v2/api/SettingsApi
60541
- * @version 175.0.0
61145
+ * @version 176.0.0
60542
61146
  */
60543
61147
 
60544
61148
  /**
@@ -60603,7 +61207,7 @@ class SpeechTextAnalyticsApi {
60603
61207
  /**
60604
61208
  * SpeechTextAnalytics service.
60605
61209
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
60606
- * @version 175.0.0
61210
+ * @version 176.0.0
60607
61211
  */
60608
61212
 
60609
61213
  /**
@@ -61586,7 +62190,7 @@ class StationsApi {
61586
62190
  /**
61587
62191
  * Stations service.
61588
62192
  * @module purecloud-platform-client-v2/api/StationsApi
61589
- * @version 175.0.0
62193
+ * @version 176.0.0
61590
62194
  */
61591
62195
 
61592
62196
  /**
@@ -61688,7 +62292,7 @@ class SuggestApi {
61688
62292
  /**
61689
62293
  * Suggest service.
61690
62294
  * @module purecloud-platform-client-v2/api/SuggestApi
61691
- * @version 175.0.0
62295
+ * @version 176.0.0
61692
62296
  */
61693
62297
 
61694
62298
  /**
@@ -61827,7 +62431,7 @@ class TaskManagementApi {
61827
62431
  /**
61828
62432
  * TaskManagement service.
61829
62433
  * @module purecloud-platform-client-v2/api/TaskManagementApi
61830
- * @version 175.0.0
62434
+ * @version 176.0.0
61831
62435
  */
61832
62436
 
61833
62437
  /**
@@ -63108,7 +63712,7 @@ class TeamsApi {
63108
63712
  /**
63109
63713
  * Teams service.
63110
63714
  * @module purecloud-platform-client-v2/api/TeamsApi
63111
- * @version 175.0.0
63715
+ * @version 176.0.0
63112
63716
  */
63113
63717
 
63114
63718
  /**
@@ -63410,7 +64014,7 @@ class TelephonyApi {
63410
64014
  /**
63411
64015
  * Telephony service.
63412
64016
  * @module purecloud-platform-client-v2/api/TelephonyApi
63413
- * @version 175.0.0
64017
+ * @version 176.0.0
63414
64018
  */
63415
64019
 
63416
64020
  /**
@@ -63538,7 +64142,7 @@ class TelephonyProvidersEdgeApi {
63538
64142
  /**
63539
64143
  * TelephonyProvidersEdge service.
63540
64144
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
63541
- * @version 175.0.0
64145
+ * @version 176.0.0
63542
64146
  */
63543
64147
 
63544
64148
  /**
@@ -66827,7 +67431,7 @@ class TextbotsApi {
66827
67431
  /**
66828
67432
  * Textbots service.
66829
67433
  * @module purecloud-platform-client-v2/api/TextbotsApi
66830
- * @version 175.0.0
67434
+ * @version 176.0.0
66831
67435
  */
66832
67436
 
66833
67437
  /**
@@ -66955,7 +67559,7 @@ class TokensApi {
66955
67559
  /**
66956
67560
  * Tokens service.
66957
67561
  * @module purecloud-platform-client-v2/api/TokensApi
66958
- * @version 175.0.0
67562
+ * @version 176.0.0
66959
67563
  */
66960
67564
 
66961
67565
  /**
@@ -67111,7 +67715,7 @@ class UploadsApi {
67111
67715
  /**
67112
67716
  * Uploads service.
67113
67717
  * @module purecloud-platform-client-v2/api/UploadsApi
67114
- * @version 175.0.0
67718
+ * @version 176.0.0
67115
67719
  */
67116
67720
 
67117
67721
  /**
@@ -67287,7 +67891,7 @@ class UsageApi {
67287
67891
  /**
67288
67892
  * Usage service.
67289
67893
  * @module purecloud-platform-client-v2/api/UsageApi
67290
- * @version 175.0.0
67894
+ * @version 176.0.0
67291
67895
  */
67292
67896
 
67293
67897
  /**
@@ -67497,7 +68101,7 @@ class UserRecordingsApi {
67497
68101
  /**
67498
68102
  * UserRecordings service.
67499
68103
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
67500
- * @version 175.0.0
68104
+ * @version 176.0.0
67501
68105
  */
67502
68106
 
67503
68107
  /**
@@ -67682,7 +68286,7 @@ class UsersApi {
67682
68286
  /**
67683
68287
  * Users service.
67684
68288
  * @module purecloud-platform-client-v2/api/UsersApi
67685
- * @version 175.0.0
68289
+ * @version 176.0.0
67686
68290
  */
67687
68291
 
67688
68292
  /**
@@ -70243,7 +70847,7 @@ class UtilitiesApi {
70243
70847
  /**
70244
70848
  * Utilities service.
70245
70849
  * @module purecloud-platform-client-v2/api/UtilitiesApi
70246
- * @version 175.0.0
70850
+ * @version 176.0.0
70247
70851
  */
70248
70852
 
70249
70853
  /**
@@ -70354,7 +70958,7 @@ class VoicemailApi {
70354
70958
  /**
70355
70959
  * Voicemail service.
70356
70960
  * @module purecloud-platform-client-v2/api/VoicemailApi
70357
- * @version 175.0.0
70961
+ * @version 176.0.0
70358
70962
  */
70359
70963
 
70360
70964
  /**
@@ -71021,7 +71625,7 @@ class WebChatApi {
71021
71625
  /**
71022
71626
  * WebChat service.
71023
71627
  * @module purecloud-platform-client-v2/api/WebChatApi
71024
- * @version 175.0.0
71628
+ * @version 176.0.0
71025
71629
  */
71026
71630
 
71027
71631
  /**
@@ -71570,7 +72174,7 @@ class WebDeploymentsApi {
71570
72174
  /**
71571
72175
  * WebDeployments service.
71572
72176
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
71573
- * @version 175.0.0
72177
+ * @version 176.0.0
71574
72178
  */
71575
72179
 
71576
72180
  /**
@@ -72097,7 +72701,7 @@ class WebMessagingApi {
72097
72701
  /**
72098
72702
  * WebMessaging service.
72099
72703
  * @module purecloud-platform-client-v2/api/WebMessagingApi
72100
- * @version 175.0.0
72704
+ * @version 176.0.0
72101
72705
  */
72102
72706
 
72103
72707
  /**
@@ -72143,7 +72747,7 @@ class WidgetsApi {
72143
72747
  /**
72144
72748
  * Widgets service.
72145
72749
  * @module purecloud-platform-client-v2/api/WidgetsApi
72146
- * @version 175.0.0
72750
+ * @version 176.0.0
72147
72751
  */
72148
72752
 
72149
72753
  /**
@@ -72289,7 +72893,7 @@ class WorkforceManagementApi {
72289
72893
  /**
72290
72894
  * WorkforceManagement service.
72291
72895
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
72292
- * @version 175.0.0
72896
+ * @version 176.0.0
72293
72897
  */
72294
72898
 
72295
72899
  /**
@@ -77453,7 +78057,7 @@ class WorkforceManagementApi {
77453
78057
  * </pre>
77454
78058
  * </p>
77455
78059
  * @module purecloud-platform-client-v2/index
77456
- * @version 175.0.0
78060
+ * @version 176.0.0
77457
78061
  */
77458
78062
  class platformClient {
77459
78063
  constructor() {