purecloud-platform-client-v2 175.0.0 → 177.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +714 -75
  3. package/dist/web-amd/purecloud-platform-client-v2.js +714 -75
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +714 -75
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +714 -75
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +380 -213
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +36 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +605 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -3
  58. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -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 177.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 177.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 177.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 177.0.0
13515
13515
  */
13516
13516
 
13517
13517
  /**
@@ -16044,6 +16044,41 @@ class ArchitectApi {
16044
16044
  );
16045
16045
  }
16046
16046
 
16047
+ /**
16048
+ * Updates a grammar language
16049
+ *
16050
+ * @param {String} grammarId Grammar ID
16051
+ * @param {String} languageCode Language
16052
+ * @param {Object} opts Optional parameters
16053
+ * @param {Object} opts.body
16054
+ * patchArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16055
+ */
16056
+ patchArchitectGrammarLanguage(grammarId, languageCode, opts) {
16057
+ opts = opts || {};
16058
+
16059
+ // verify the required parameter 'grammarId' is set
16060
+ if (grammarId === undefined || grammarId === null) {
16061
+ throw 'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';
16062
+ }
16063
+ // verify the required parameter 'languageCode' is set
16064
+ if (languageCode === undefined || languageCode === null) {
16065
+ throw 'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';
16066
+ }
16067
+
16068
+ return this.apiClient.callApi(
16069
+ '/api/v2/architect/grammars/{grammarId}/languages/{languageCode}',
16070
+ 'PATCH',
16071
+ { 'grammarId': grammarId,'languageCode': languageCode },
16072
+ { },
16073
+ { },
16074
+ { },
16075
+ opts['body'],
16076
+ ['PureCloud OAuth'],
16077
+ ['application/json'],
16078
+ ['application/json']
16079
+ );
16080
+ }
16081
+
16047
16082
  /**
16048
16083
  * Rebuild Dependency Tracking data for an organization
16049
16084
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
@@ -17311,7 +17346,7 @@ class AuditApi {
17311
17346
  /**
17312
17347
  * Audit service.
17313
17348
  * @module purecloud-platform-client-v2/api/AuditApi
17314
- * @version 175.0.0
17349
+ * @version 177.0.0
17315
17350
  */
17316
17351
 
17317
17352
  /**
@@ -17482,7 +17517,7 @@ class AuthorizationApi {
17482
17517
  /**
17483
17518
  * Authorization service.
17484
17519
  * @module purecloud-platform-client-v2/api/AuthorizationApi
17485
- * @version 175.0.0
17520
+ * @version 177.0.0
17486
17521
  */
17487
17522
 
17488
17523
  /**
@@ -18713,7 +18748,7 @@ class BillingApi {
18713
18748
  /**
18714
18749
  * Billing service.
18715
18750
  * @module purecloud-platform-client-v2/api/BillingApi
18716
- * @version 175.0.0
18751
+ * @version 177.0.0
18717
18752
  */
18718
18753
 
18719
18754
  /**
@@ -18793,7 +18828,7 @@ class CarrierServicesApi {
18793
18828
  /**
18794
18829
  * CarrierServices service.
18795
18830
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
18796
- * @version 175.0.0
18831
+ * @version 177.0.0
18797
18832
  */
18798
18833
 
18799
18834
  /**
@@ -18863,7 +18898,7 @@ class ChatApi {
18863
18898
  /**
18864
18899
  * Chat service.
18865
18900
  * @module purecloud-platform-client-v2/api/ChatApi
18866
- * @version 175.0.0
18901
+ * @version 177.0.0
18867
18902
  */
18868
18903
 
18869
18904
  /**
@@ -18878,6 +18913,130 @@ class ChatApi {
18878
18913
  }
18879
18914
 
18880
18915
 
18916
+ /**
18917
+ * Delete a message in a room
18918
+ *
18919
+ * @param {String} roomJid roomId
18920
+ * @param {String} messageId messageId
18921
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18922
+ */
18923
+ deleteChatsRoomMessage(roomJid, messageId) {
18924
+ // verify the required parameter 'roomJid' is set
18925
+ if (roomJid === undefined || roomJid === null) {
18926
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
18927
+ }
18928
+ // verify the required parameter 'messageId' is set
18929
+ if (messageId === undefined || messageId === null) {
18930
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
18931
+ }
18932
+
18933
+ return this.apiClient.callApi(
18934
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
18935
+ 'DELETE',
18936
+ { 'roomJid': roomJid,'messageId': messageId },
18937
+ { },
18938
+ { },
18939
+ { },
18940
+ null,
18941
+ ['PureCloud OAuth'],
18942
+ ['application/json'],
18943
+ ['application/json']
18944
+ );
18945
+ }
18946
+
18947
+ /**
18948
+ * Remove a user from a room.
18949
+ *
18950
+ * @param {String} roomJid roomJid
18951
+ * @param {String} userId userId
18952
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18953
+ */
18954
+ deleteChatsRoomParticipant(roomJid, userId) {
18955
+ // verify the required parameter 'roomJid' is set
18956
+ if (roomJid === undefined || roomJid === null) {
18957
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
18958
+ }
18959
+ // verify the required parameter 'userId' is set
18960
+ if (userId === undefined || userId === null) {
18961
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
18962
+ }
18963
+
18964
+ return this.apiClient.callApi(
18965
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
18966
+ 'DELETE',
18967
+ { 'roomJid': roomJid,'userId': userId },
18968
+ { },
18969
+ { },
18970
+ { },
18971
+ null,
18972
+ ['PureCloud OAuth'],
18973
+ ['application/json'],
18974
+ ['application/json']
18975
+ );
18976
+ }
18977
+
18978
+ /**
18979
+ * Remove a pinned message from a room
18980
+ *
18981
+ * @param {String} roomJid roomJid
18982
+ * @param {String} pinnedMessageId pinnedMessageId
18983
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18984
+ */
18985
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
18986
+ // verify the required parameter 'roomJid' is set
18987
+ if (roomJid === undefined || roomJid === null) {
18988
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
18989
+ }
18990
+ // verify the required parameter 'pinnedMessageId' is set
18991
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
18992
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
18993
+ }
18994
+
18995
+ return this.apiClient.callApi(
18996
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
18997
+ 'DELETE',
18998
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
18999
+ { },
19000
+ { },
19001
+ { },
19002
+ null,
19003
+ ['PureCloud OAuth'],
19004
+ ['application/json'],
19005
+ ['application/json']
19006
+ );
19007
+ }
19008
+
19009
+ /**
19010
+ * Delete a message to a user
19011
+ *
19012
+ * @param {String} userId userId
19013
+ * @param {String} messageId messageId
19014
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19015
+ */
19016
+ deleteChatsUserMessage(userId, messageId) {
19017
+ // verify the required parameter 'userId' is set
19018
+ if (userId === undefined || userId === null) {
19019
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
19020
+ }
19021
+ // verify the required parameter 'messageId' is set
19022
+ if (messageId === undefined || messageId === null) {
19023
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
19024
+ }
19025
+
19026
+ return this.apiClient.callApi(
19027
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
19028
+ 'DELETE',
19029
+ { 'userId': userId,'messageId': messageId },
19030
+ { },
19031
+ { },
19032
+ { },
19033
+ null,
19034
+ ['PureCloud OAuth'],
19035
+ ['application/json'],
19036
+ ['application/json']
19037
+ );
19038
+ }
19039
+
18881
19040
  /**
18882
19041
  * Get Chat Settings.
18883
19042
  * This route is deprecated, please use /chats/settings instead
@@ -18899,6 +19058,127 @@ class ChatApi {
18899
19058
  );
18900
19059
  }
18901
19060
 
19061
+ /**
19062
+ * Get a message
19063
+ *
19064
+ * @param {String} messageId messageId
19065
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19066
+ */
19067
+ getChatsMessage(messageId) {
19068
+ // verify the required parameter 'messageId' is set
19069
+ if (messageId === undefined || messageId === null) {
19070
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
19071
+ }
19072
+
19073
+ return this.apiClient.callApi(
19074
+ '/api/v2/chats/messages/{messageId}',
19075
+ 'GET',
19076
+ { 'messageId': messageId },
19077
+ { },
19078
+ { },
19079
+ { },
19080
+ null,
19081
+ ['PureCloud OAuth'],
19082
+ ['application/json'],
19083
+ ['application/json']
19084
+ );
19085
+ }
19086
+
19087
+ /**
19088
+ * Get a room
19089
+ *
19090
+ * @param {String} roomJid roomJid
19091
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19092
+ */
19093
+ getChatsRoom(roomJid) {
19094
+ // verify the required parameter 'roomJid' is set
19095
+ if (roomJid === undefined || roomJid === null) {
19096
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
19097
+ }
19098
+
19099
+ return this.apiClient.callApi(
19100
+ '/api/v2/chats/rooms/{roomJid}',
19101
+ 'GET',
19102
+ { 'roomJid': roomJid },
19103
+ { },
19104
+ { },
19105
+ { },
19106
+ null,
19107
+ ['PureCloud OAuth'],
19108
+ ['application/json'],
19109
+ ['application/json']
19110
+ );
19111
+ }
19112
+
19113
+ /**
19114
+ * Get messages by id(s) from a room
19115
+ *
19116
+ * @param {String} roomJid roomJid
19117
+ * @param {String} messageIds messageIds, comma separated
19118
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19119
+ */
19120
+ getChatsRoomMessage(roomJid, messageIds) {
19121
+ // verify the required parameter 'roomJid' is set
19122
+ if (roomJid === undefined || roomJid === null) {
19123
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
19124
+ }
19125
+ // verify the required parameter 'messageIds' is set
19126
+ if (messageIds === undefined || messageIds === null) {
19127
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
19128
+ }
19129
+
19130
+ return this.apiClient.callApi(
19131
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
19132
+ 'GET',
19133
+ { 'roomJid': roomJid,'messageIds': messageIds },
19134
+ { },
19135
+ { },
19136
+ { },
19137
+ null,
19138
+ ['PureCloud OAuth'],
19139
+ ['application/json'],
19140
+ ['application/json']
19141
+ );
19142
+ }
19143
+
19144
+ /**
19145
+ * Get a room's message history
19146
+ *
19147
+ * @param {String} roomJid roomJid
19148
+ * @param {Object} opts Optional parameters
19149
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19150
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19151
+ * @param {String} opts.sortBy variable name requested to sort by
19152
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19153
+ * @param {String} opts.nextPage next page token
19154
+ * @param {String} opts.previousPage Previous page token
19155
+ * @param {String} opts.limit The maximum number of messages to retrieve
19156
+ * @param {String} opts.before The cutoff date for messages to retrieve
19157
+ * @param {String} opts.after The beginning date for messages to retrieve
19158
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19159
+ */
19160
+ getChatsRoomMessages(roomJid, opts) {
19161
+ opts = opts || {};
19162
+
19163
+ // verify the required parameter 'roomJid' is set
19164
+ if (roomJid === undefined || roomJid === null) {
19165
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
19166
+ }
19167
+
19168
+ return this.apiClient.callApi(
19169
+ '/api/v2/chats/rooms/{roomJid}/messages',
19170
+ 'GET',
19171
+ { 'roomJid': roomJid },
19172
+ { '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'] },
19173
+ { },
19174
+ { },
19175
+ null,
19176
+ ['PureCloud OAuth'],
19177
+ ['application/json'],
19178
+ ['application/json']
19179
+ );
19180
+ }
19181
+
18902
19182
  /**
18903
19183
  * Get Chat Settings.
18904
19184
  *
@@ -18919,6 +19199,113 @@ class ChatApi {
18919
19199
  );
18920
19200
  }
18921
19201
 
19202
+ /**
19203
+ * Get history by thread
19204
+ *
19205
+ * @param {String} threadId threadId
19206
+ * @param {Object} opts Optional parameters
19207
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19208
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19209
+ * @param {String} opts.sortBy variable name requested to sort by
19210
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19211
+ * @param {String} opts.nextPage next page token
19212
+ * @param {String} opts.previousPage Previous page token
19213
+ * @param {String} opts.limit The maximum number of messages to retrieve
19214
+ * @param {String} opts.before The cutoff date for messages to retrieve
19215
+ * @param {String} opts.after The beginning date for messages to retrieve
19216
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19217
+ */
19218
+ getChatsThreadMessages(threadId, opts) {
19219
+ opts = opts || {};
19220
+
19221
+ // verify the required parameter 'threadId' is set
19222
+ if (threadId === undefined || threadId === null) {
19223
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
19224
+ }
19225
+
19226
+ return this.apiClient.callApi(
19227
+ '/api/v2/chats/threads/{threadId}/messages',
19228
+ 'GET',
19229
+ { 'threadId': threadId },
19230
+ { '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'] },
19231
+ { },
19232
+ { },
19233
+ null,
19234
+ ['PureCloud OAuth'],
19235
+ ['application/json'],
19236
+ ['application/json']
19237
+ );
19238
+ }
19239
+
19240
+ /**
19241
+ * Get messages by id(s) from a 1on1
19242
+ *
19243
+ * @param {String} userId userId
19244
+ * @param {String} messageIds messageIds, comma separated
19245
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19246
+ */
19247
+ getChatsUserMessage(userId, messageIds) {
19248
+ // verify the required parameter 'userId' is set
19249
+ if (userId === undefined || userId === null) {
19250
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
19251
+ }
19252
+ // verify the required parameter 'messageIds' is set
19253
+ if (messageIds === undefined || messageIds === null) {
19254
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
19255
+ }
19256
+
19257
+ return this.apiClient.callApi(
19258
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
19259
+ 'GET',
19260
+ { 'userId': userId,'messageIds': messageIds },
19261
+ { },
19262
+ { },
19263
+ { },
19264
+ null,
19265
+ ['PureCloud OAuth'],
19266
+ ['application/json'],
19267
+ ['application/json']
19268
+ );
19269
+ }
19270
+
19271
+ /**
19272
+ * Get 1on1 History between a user
19273
+ *
19274
+ * @param {String} userId userId
19275
+ * @param {Object} opts Optional parameters
19276
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19277
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19278
+ * @param {String} opts.sortBy variable name requested to sort by
19279
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19280
+ * @param {String} opts.nextPage next page token
19281
+ * @param {String} opts.previousPage Previous page token
19282
+ * @param {String} opts.limit The maximum number of messages to retrieve
19283
+ * @param {String} opts.before The cutoff date for messages to retrieve
19284
+ * @param {String} opts.after The beginning date for messages to retrieve
19285
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19286
+ */
19287
+ getChatsUserMessages(userId, opts) {
19288
+ opts = opts || {};
19289
+
19290
+ // verify the required parameter 'userId' is set
19291
+ if (userId === undefined || userId === null) {
19292
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
19293
+ }
19294
+
19295
+ return this.apiClient.callApi(
19296
+ '/api/v2/chats/users/{userId}/messages',
19297
+ 'GET',
19298
+ { 'userId': userId },
19299
+ { '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'] },
19300
+ { },
19301
+ { },
19302
+ null,
19303
+ ['PureCloud OAuth'],
19304
+ ['application/json'],
19305
+ ['application/json']
19306
+ );
19307
+ }
19308
+
18922
19309
  /**
18923
19310
  * Patch Chat Settings.
18924
19311
  * This route is deprecated, please use /chats/settings instead
@@ -18945,6 +19332,73 @@ class ChatApi {
18945
19332
  );
18946
19333
  }
18947
19334
 
19335
+ /**
19336
+ * Set properties for a room
19337
+ *
19338
+ * @param {String} roomJid roomJid
19339
+ * @param {Object} body Room properties
19340
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19341
+ */
19342
+ patchChatsRoom(roomJid, body) {
19343
+ // verify the required parameter 'roomJid' is set
19344
+ if (roomJid === undefined || roomJid === null) {
19345
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
19346
+ }
19347
+ // verify the required parameter 'body' is set
19348
+ if (body === undefined || body === null) {
19349
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
19350
+ }
19351
+
19352
+ return this.apiClient.callApi(
19353
+ '/api/v2/chats/rooms/{roomJid}',
19354
+ 'PATCH',
19355
+ { 'roomJid': roomJid },
19356
+ { },
19357
+ { },
19358
+ { },
19359
+ body,
19360
+ ['PureCloud OAuth'],
19361
+ ['application/json'],
19362
+ ['application/json']
19363
+ );
19364
+ }
19365
+
19366
+ /**
19367
+ * Edit a message in a room
19368
+ *
19369
+ * @param {String} roomJid roomId
19370
+ * @param {String} messageId messageId
19371
+ * @param {Object} body messageBody
19372
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19373
+ */
19374
+ patchChatsRoomMessage(roomJid, messageId, body) {
19375
+ // verify the required parameter 'roomJid' is set
19376
+ if (roomJid === undefined || roomJid === null) {
19377
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
19378
+ }
19379
+ // verify the required parameter 'messageId' is set
19380
+ if (messageId === undefined || messageId === null) {
19381
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
19382
+ }
19383
+ // verify the required parameter 'body' is set
19384
+ if (body === undefined || body === null) {
19385
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
19386
+ }
19387
+
19388
+ return this.apiClient.callApi(
19389
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
19390
+ 'PATCH',
19391
+ { 'roomJid': roomJid,'messageId': messageId },
19392
+ { },
19393
+ { },
19394
+ { },
19395
+ body,
19396
+ ['PureCloud OAuth'],
19397
+ ['application/json'],
19398
+ ['application/json']
19399
+ );
19400
+ }
19401
+
18948
19402
  /**
18949
19403
  * Patch Chat Settings.
18950
19404
  *
@@ -18970,6 +19424,191 @@ class ChatApi {
18970
19424
  );
18971
19425
  }
18972
19426
 
19427
+ /**
19428
+ * Edit a message to a user
19429
+ *
19430
+ * @param {String} userId userId
19431
+ * @param {String} messageId messageId
19432
+ * @param {Object} body message body
19433
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19434
+ */
19435
+ patchChatsUserMessage(userId, messageId, body) {
19436
+ // verify the required parameter 'userId' is set
19437
+ if (userId === undefined || userId === null) {
19438
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
19439
+ }
19440
+ // verify the required parameter 'messageId' is set
19441
+ if (messageId === undefined || messageId === null) {
19442
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
19443
+ }
19444
+ // verify the required parameter 'body' is set
19445
+ if (body === undefined || body === null) {
19446
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
19447
+ }
19448
+
19449
+ return this.apiClient.callApi(
19450
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
19451
+ 'PATCH',
19452
+ { 'userId': userId,'messageId': messageId },
19453
+ { },
19454
+ { },
19455
+ { },
19456
+ body,
19457
+ ['PureCloud OAuth'],
19458
+ ['application/json'],
19459
+ ['application/json']
19460
+ );
19461
+ }
19462
+
19463
+ /**
19464
+ * Send a message to a room
19465
+ *
19466
+ * @param {String} roomJid roomId
19467
+ * @param {Object} body messageBody
19468
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19469
+ */
19470
+ postChatsRoomMessages(roomJid, body) {
19471
+ // verify the required parameter 'roomJid' is set
19472
+ if (roomJid === undefined || roomJid === null) {
19473
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
19474
+ }
19475
+ // verify the required parameter 'body' is set
19476
+ if (body === undefined || body === null) {
19477
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
19478
+ }
19479
+
19480
+ return this.apiClient.callApi(
19481
+ '/api/v2/chats/rooms/{roomJid}/messages',
19482
+ 'POST',
19483
+ { 'roomJid': roomJid },
19484
+ { },
19485
+ { },
19486
+ { },
19487
+ body,
19488
+ ['PureCloud OAuth'],
19489
+ ['application/json'],
19490
+ ['application/json']
19491
+ );
19492
+ }
19493
+
19494
+ /**
19495
+ * Join a room
19496
+ *
19497
+ * @param {String} roomJid roomJid
19498
+ * @param {String} userId userId
19499
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19500
+ */
19501
+ postChatsRoomParticipant(roomJid, userId) {
19502
+ // verify the required parameter 'roomJid' is set
19503
+ if (roomJid === undefined || roomJid === null) {
19504
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
19505
+ }
19506
+ // verify the required parameter 'userId' is set
19507
+ if (userId === undefined || userId === null) {
19508
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
19509
+ }
19510
+
19511
+ return this.apiClient.callApi(
19512
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
19513
+ 'POST',
19514
+ { 'roomJid': roomJid,'userId': userId },
19515
+ { },
19516
+ { },
19517
+ { },
19518
+ null,
19519
+ ['PureCloud OAuth'],
19520
+ ['application/json'],
19521
+ ['application/json']
19522
+ );
19523
+ }
19524
+
19525
+ /**
19526
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
19527
+ *
19528
+ * @param {String} roomJid roomJid
19529
+ * @param {Object} body Pinned Message Ids
19530
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19531
+ */
19532
+ postChatsRoomPinnedmessages(roomJid, body) {
19533
+ // verify the required parameter 'roomJid' is set
19534
+ if (roomJid === undefined || roomJid === null) {
19535
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
19536
+ }
19537
+ // verify the required parameter 'body' is set
19538
+ if (body === undefined || body === null) {
19539
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
19540
+ }
19541
+
19542
+ return this.apiClient.callApi(
19543
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
19544
+ 'POST',
19545
+ { 'roomJid': roomJid },
19546
+ { },
19547
+ { },
19548
+ { },
19549
+ body,
19550
+ ['PureCloud OAuth'],
19551
+ ['application/json'],
19552
+ ['application/json']
19553
+ );
19554
+ }
19555
+
19556
+ /**
19557
+ * Create an adhoc room
19558
+ *
19559
+ * @param {Object} opts Optional parameters
19560
+ * @param {Object} opts.body Room properties
19561
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19562
+ */
19563
+ postChatsRooms(opts) {
19564
+ opts = opts || {};
19565
+
19566
+
19567
+ return this.apiClient.callApi(
19568
+ '/api/v2/chats/rooms',
19569
+ 'POST',
19570
+ { },
19571
+ { },
19572
+ { },
19573
+ { },
19574
+ opts['body'],
19575
+ ['PureCloud OAuth'],
19576
+ ['application/json'],
19577
+ ['application/json']
19578
+ );
19579
+ }
19580
+
19581
+ /**
19582
+ * Send a message to a user
19583
+ *
19584
+ * @param {String} userId userId
19585
+ * @param {Object} body message body
19586
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19587
+ */
19588
+ postChatsUserMessages(userId, body) {
19589
+ // verify the required parameter 'userId' is set
19590
+ if (userId === undefined || userId === null) {
19591
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
19592
+ }
19593
+ // verify the required parameter 'body' is set
19594
+ if (body === undefined || body === null) {
19595
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
19596
+ }
19597
+
19598
+ return this.apiClient.callApi(
19599
+ '/api/v2/chats/users/{userId}/messages',
19600
+ 'POST',
19601
+ { 'userId': userId },
19602
+ { },
19603
+ { },
19604
+ { },
19605
+ body,
19606
+ ['PureCloud OAuth'],
19607
+ ['application/json'],
19608
+ ['application/json']
19609
+ );
19610
+ }
19611
+
18973
19612
  /**
18974
19613
  * Update Chat Settings.
18975
19614
  * This route is deprecated, please use /chats/settings instead
@@ -19027,7 +19666,7 @@ class CoachingApi {
19027
19666
  /**
19028
19667
  * Coaching service.
19029
19668
  * @module purecloud-platform-client-v2/api/CoachingApi
19030
- * @version 175.0.0
19669
+ * @version 177.0.0
19031
19670
  */
19032
19671
 
19033
19672
  /**
@@ -19604,7 +20243,7 @@ class ContentManagementApi {
19604
20243
  /**
19605
20244
  * ContentManagement service.
19606
20245
  * @module purecloud-platform-client-v2/api/ContentManagementApi
19607
- * @version 175.0.0
20246
+ * @version 177.0.0
19608
20247
  */
19609
20248
 
19610
20249
  /**
@@ -20747,7 +21386,7 @@ class ConversationsApi {
20747
21386
  /**
20748
21387
  * Conversations service.
20749
21388
  * @module purecloud-platform-client-v2/api/ConversationsApi
20750
- * @version 175.0.0
21389
+ * @version 177.0.0
20751
21390
  */
20752
21391
 
20753
21392
  /**
@@ -27831,7 +28470,7 @@ class DataExtensionsApi {
27831
28470
  /**
27832
28471
  * DataExtensions service.
27833
28472
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
27834
- * @version 175.0.0
28473
+ * @version 177.0.0
27835
28474
  */
27836
28475
 
27837
28476
  /**
@@ -27917,7 +28556,7 @@ class DownloadsApi {
27917
28556
  /**
27918
28557
  * Downloads service.
27919
28558
  * @module purecloud-platform-client-v2/api/DownloadsApi
27920
- * @version 175.0.0
28559
+ * @version 177.0.0
27921
28560
  */
27922
28561
 
27923
28562
  /**
@@ -27969,7 +28608,7 @@ class EmailsApi {
27969
28608
  /**
27970
28609
  * Emails service.
27971
28610
  * @module purecloud-platform-client-v2/api/EmailsApi
27972
- * @version 175.0.0
28611
+ * @version 177.0.0
27973
28612
  */
27974
28613
 
27975
28614
  /**
@@ -28034,7 +28673,7 @@ class EventsApi {
28034
28673
  /**
28035
28674
  * Events service.
28036
28675
  * @module purecloud-platform-client-v2/api/EventsApi
28037
- * @version 175.0.0
28676
+ * @version 177.0.0
28038
28677
  */
28039
28678
 
28040
28679
  /**
@@ -28130,7 +28769,7 @@ class ExternalContactsApi {
28130
28769
  /**
28131
28770
  * ExternalContacts service.
28132
28771
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
28133
- * @version 175.0.0
28772
+ * @version 177.0.0
28134
28773
  */
28135
28774
 
28136
28775
  /**
@@ -30088,7 +30727,7 @@ class FaxApi {
30088
30727
  /**
30089
30728
  * Fax service.
30090
30729
  * @module purecloud-platform-client-v2/api/FaxApi
30091
- * @version 175.0.0
30730
+ * @version 177.0.0
30092
30731
  */
30093
30732
 
30094
30733
  /**
@@ -30259,7 +30898,7 @@ class FlowsApi {
30259
30898
  /**
30260
30899
  * Flows service.
30261
30900
  * @module purecloud-platform-client-v2/api/FlowsApi
30262
- * @version 175.0.0
30901
+ * @version 177.0.0
30263
30902
  */
30264
30903
 
30265
30904
  /**
@@ -30443,7 +31082,7 @@ class GamificationApi {
30443
31082
  /**
30444
31083
  * Gamification service.
30445
31084
  * @module purecloud-platform-client-v2/api/GamificationApi
30446
- * @version 175.0.0
31085
+ * @version 177.0.0
30447
31086
  */
30448
31087
 
30449
31088
  /**
@@ -32529,7 +33168,7 @@ class GeneralDataProtectionRegulationApi {
32529
33168
  /**
32530
33169
  * GeneralDataProtectionRegulation service.
32531
33170
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32532
- * @version 175.0.0
33171
+ * @version 177.0.0
32533
33172
  */
32534
33173
 
32535
33174
  /**
@@ -32659,7 +33298,7 @@ class GeolocationApi {
32659
33298
  /**
32660
33299
  * Geolocation service.
32661
33300
  * @module purecloud-platform-client-v2/api/GeolocationApi
32662
- * @version 175.0.0
33301
+ * @version 177.0.0
32663
33302
  */
32664
33303
 
32665
33304
  /**
@@ -32790,7 +33429,7 @@ class GreetingsApi {
32790
33429
  /**
32791
33430
  * Greetings service.
32792
33431
  * @module purecloud-platform-client-v2/api/GreetingsApi
32793
- * @version 175.0.0
33432
+ * @version 177.0.0
32794
33433
  */
32795
33434
 
32796
33435
  /**
@@ -33245,7 +33884,7 @@ class GroupsApi {
33245
33884
  /**
33246
33885
  * Groups service.
33247
33886
  * @module purecloud-platform-client-v2/api/GroupsApi
33248
- * @version 175.0.0
33887
+ * @version 177.0.0
33249
33888
  */
33250
33889
 
33251
33890
  /**
@@ -33764,7 +34403,7 @@ class IdentityProviderApi {
33764
34403
  /**
33765
34404
  * IdentityProvider service.
33766
34405
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
33767
- * @version 175.0.0
34406
+ * @version 177.0.0
33768
34407
  */
33769
34408
 
33770
34409
  /**
@@ -34520,7 +35159,7 @@ class InfrastructureAsCodeApi {
34520
35159
  /**
34521
35160
  * InfrastructureAsCode service.
34522
35161
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34523
- * @version 175.0.0
35162
+ * @version 177.0.0
34524
35163
  */
34525
35164
 
34526
35165
  /**
@@ -34687,7 +35326,7 @@ class IntegrationsApi {
34687
35326
  /**
34688
35327
  * Integrations service.
34689
35328
  * @module purecloud-platform-client-v2/api/IntegrationsApi
34690
- * @version 175.0.0
35329
+ * @version 177.0.0
34691
35330
  */
34692
35331
 
34693
35332
  /**
@@ -36649,7 +37288,7 @@ class JourneyApi {
36649
37288
  /**
36650
37289
  * Journey service.
36651
37290
  * @module purecloud-platform-client-v2/api/JourneyApi
36652
- * @version 175.0.0
37291
+ * @version 177.0.0
36653
37292
  */
36654
37293
 
36655
37294
  /**
@@ -37813,7 +38452,7 @@ class KnowledgeApi {
37813
38452
  /**
37814
38453
  * Knowledge service.
37815
38454
  * @module purecloud-platform-client-v2/api/KnowledgeApi
37816
- * @version 175.0.0
38455
+ * @version 177.0.0
37817
38456
  */
37818
38457
 
37819
38458
  /**
@@ -40634,7 +41273,7 @@ class LanguageUnderstandingApi {
40634
41273
  /**
40635
41274
  * LanguageUnderstanding service.
40636
41275
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
40637
- * @version 175.0.0
41276
+ * @version 177.0.0
40638
41277
  */
40639
41278
 
40640
41279
  /**
@@ -41647,7 +42286,7 @@ class LanguagesApi {
41647
42286
  /**
41648
42287
  * Languages service.
41649
42288
  * @module purecloud-platform-client-v2/api/LanguagesApi
41650
- * @version 175.0.0
42289
+ * @version 177.0.0
41651
42290
  */
41652
42291
 
41653
42292
  /**
@@ -41869,7 +42508,7 @@ class LearningApi {
41869
42508
  /**
41870
42509
  * Learning service.
41871
42510
  * @module purecloud-platform-client-v2/api/LearningApi
41872
- * @version 175.0.0
42511
+ * @version 177.0.0
41873
42512
  */
41874
42513
 
41875
42514
  /**
@@ -42688,7 +43327,7 @@ class LicenseApi {
42688
43327
  /**
42689
43328
  * License service.
42690
43329
  * @module purecloud-platform-client-v2/api/LicenseApi
42691
- * @version 175.0.0
43330
+ * @version 177.0.0
42692
43331
  */
42693
43332
 
42694
43333
  /**
@@ -42926,7 +43565,7 @@ class LocationsApi {
42926
43565
  /**
42927
43566
  * Locations service.
42928
43567
  * @module purecloud-platform-client-v2/api/LocationsApi
42929
- * @version 175.0.0
43568
+ * @version 177.0.0
42930
43569
  */
42931
43570
 
42932
43571
  /**
@@ -43162,7 +43801,7 @@ class MessagingApi {
43162
43801
  /**
43163
43802
  * Messaging service.
43164
43803
  * @module purecloud-platform-client-v2/api/MessagingApi
43165
- * @version 175.0.0
43804
+ * @version 177.0.0
43166
43805
  */
43167
43806
 
43168
43807
  /**
@@ -43521,7 +44160,7 @@ class MobileDevicesApi {
43521
44160
  /**
43522
44161
  * MobileDevices service.
43523
44162
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
43524
- * @version 175.0.0
44163
+ * @version 177.0.0
43525
44164
  */
43526
44165
 
43527
44166
  /**
@@ -43672,7 +44311,7 @@ class NotificationsApi {
43672
44311
  /**
43673
44312
  * Notifications service.
43674
44313
  * @module purecloud-platform-client-v2/api/NotificationsApi
43675
- * @version 175.0.0
44314
+ * @version 177.0.0
43676
44315
  */
43677
44316
 
43678
44317
  /**
@@ -43905,7 +44544,7 @@ class OAuthApi {
43905
44544
  /**
43906
44545
  * OAuth service.
43907
44546
  * @module purecloud-platform-client-v2/api/OAuthApi
43908
- * @version 175.0.0
44547
+ * @version 177.0.0
43909
44548
  */
43910
44549
 
43911
44550
  /**
@@ -44271,7 +44910,7 @@ class ObjectsApi {
44271
44910
  /**
44272
44911
  * Objects service.
44273
44912
  * @module purecloud-platform-client-v2/api/ObjectsApi
44274
- * @version 175.0.0
44913
+ * @version 177.0.0
44275
44914
  */
44276
44915
 
44277
44916
  /**
@@ -44542,7 +45181,7 @@ class OrganizationApi {
44542
45181
  /**
44543
45182
  * Organization service.
44544
45183
  * @module purecloud-platform-client-v2/api/OrganizationApi
44545
- * @version 175.0.0
45184
+ * @version 177.0.0
44546
45185
  */
44547
45186
 
44548
45187
  /**
@@ -44997,7 +45636,7 @@ class OrganizationAuthorizationApi {
44997
45636
  /**
44998
45637
  * OrganizationAuthorization service.
44999
45638
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
45000
- * @version 175.0.0
45639
+ * @version 177.0.0
45001
45640
  */
45002
45641
 
45003
45642
  /**
@@ -46344,7 +46983,7 @@ class OutboundApi {
46344
46983
  /**
46345
46984
  * Outbound service.
46346
46985
  * @module purecloud-platform-client-v2/api/OutboundApi
46347
- * @version 175.0.0
46986
+ * @version 177.0.0
46348
46987
  */
46349
46988
 
46350
46989
  /**
@@ -49966,7 +50605,7 @@ class PresenceApi {
49966
50605
  /**
49967
50606
  * Presence service.
49968
50607
  * @module purecloud-platform-client-v2/api/PresenceApi
49969
- * @version 175.0.0
50608
+ * @version 177.0.0
49970
50609
  */
49971
50610
 
49972
50611
  /**
@@ -50705,7 +51344,7 @@ class ProcessAutomationApi {
50705
51344
  /**
50706
51345
  * ProcessAutomation service.
50707
51346
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
50708
- * @version 175.0.0
51347
+ * @version 177.0.0
50709
51348
  */
50710
51349
 
50711
51350
  /**
@@ -50944,7 +51583,7 @@ class QualityApi {
50944
51583
  /**
50945
51584
  * Quality service.
50946
51585
  * @module purecloud-platform-client-v2/api/QualityApi
50947
- * @version 175.0.0
51586
+ * @version 177.0.0
50948
51587
  */
50949
51588
 
50950
51589
  /**
@@ -52698,7 +53337,7 @@ class RecordingApi {
52698
53337
  /**
52699
53338
  * Recording service.
52700
53339
  * @module purecloud-platform-client-v2/api/RecordingApi
52701
- * @version 175.0.0
53340
+ * @version 177.0.0
52702
53341
  */
52703
53342
 
52704
53343
  /**
@@ -54335,7 +54974,7 @@ class ResponseManagementApi {
54335
54974
  /**
54336
54975
  * ResponseManagement service.
54337
54976
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
54338
- * @version 175.0.0
54977
+ * @version 177.0.0
54339
54978
  */
54340
54979
 
54341
54980
  /**
@@ -54820,7 +55459,7 @@ class RoutingApi {
54820
55459
  /**
54821
55460
  * Routing service.
54822
55461
  * @module purecloud-platform-client-v2/api/RoutingApi
54823
- * @version 175.0.0
55462
+ * @version 177.0.0
54824
55463
  */
54825
55464
 
54826
55465
  /**
@@ -56878,8 +57517,8 @@ class RoutingApi {
56878
57517
  * @param {Number} opts.pageNumber Page number (default to 1)
56879
57518
  * @param {Object} opts.sortBy Sort by (default to name)
56880
57519
  * @param {Object} opts.sortOrder Sort order (default to ascending)
56881
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
56882
57520
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
57521
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
56883
57522
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
56884
57523
  */
56885
57524
  getRoutingWrapupcodes(opts) {
@@ -56890,7 +57529,7 @@ class RoutingApi {
56890
57529
  '/api/v2/routing/wrapupcodes',
56891
57530
  'GET',
56892
57531
  { },
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') },
57532
+ { '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
57533
  { },
56895
57534
  { },
56896
57535
  null,
@@ -58528,7 +59167,7 @@ class SCIMApi {
58528
59167
  /**
58529
59168
  * SCIM service.
58530
59169
  * @module purecloud-platform-client-v2/api/SCIMApi
58531
- * @version 175.0.0
59170
+ * @version 177.0.0
58532
59171
  */
58533
59172
 
58534
59173
  /**
@@ -59405,7 +60044,7 @@ class ScriptsApi {
59405
60044
  /**
59406
60045
  * Scripts service.
59407
60046
  * @module purecloud-platform-client-v2/api/ScriptsApi
59408
- * @version 175.0.0
60047
+ * @version 177.0.0
59409
60048
  */
59410
60049
 
59411
60050
  /**
@@ -59849,7 +60488,7 @@ class SearchApi {
59849
60488
  /**
59850
60489
  * Search service.
59851
60490
  * @module purecloud-platform-client-v2/api/SearchApi
59852
- * @version 175.0.0
60491
+ * @version 177.0.0
59853
60492
  */
59854
60493
 
59855
60494
  /**
@@ -60538,7 +61177,7 @@ class SettingsApi {
60538
61177
  /**
60539
61178
  * Settings service.
60540
61179
  * @module purecloud-platform-client-v2/api/SettingsApi
60541
- * @version 175.0.0
61180
+ * @version 177.0.0
60542
61181
  */
60543
61182
 
60544
61183
  /**
@@ -60603,7 +61242,7 @@ class SpeechTextAnalyticsApi {
60603
61242
  /**
60604
61243
  * SpeechTextAnalytics service.
60605
61244
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
60606
- * @version 175.0.0
61245
+ * @version 177.0.0
60607
61246
  */
60608
61247
 
60609
61248
  /**
@@ -61586,7 +62225,7 @@ class StationsApi {
61586
62225
  /**
61587
62226
  * Stations service.
61588
62227
  * @module purecloud-platform-client-v2/api/StationsApi
61589
- * @version 175.0.0
62228
+ * @version 177.0.0
61590
62229
  */
61591
62230
 
61592
62231
  /**
@@ -61688,7 +62327,7 @@ class SuggestApi {
61688
62327
  /**
61689
62328
  * Suggest service.
61690
62329
  * @module purecloud-platform-client-v2/api/SuggestApi
61691
- * @version 175.0.0
62330
+ * @version 177.0.0
61692
62331
  */
61693
62332
 
61694
62333
  /**
@@ -61827,7 +62466,7 @@ class TaskManagementApi {
61827
62466
  /**
61828
62467
  * TaskManagement service.
61829
62468
  * @module purecloud-platform-client-v2/api/TaskManagementApi
61830
- * @version 175.0.0
62469
+ * @version 177.0.0
61831
62470
  */
61832
62471
 
61833
62472
  /**
@@ -63108,7 +63747,7 @@ class TeamsApi {
63108
63747
  /**
63109
63748
  * Teams service.
63110
63749
  * @module purecloud-platform-client-v2/api/TeamsApi
63111
- * @version 175.0.0
63750
+ * @version 177.0.0
63112
63751
  */
63113
63752
 
63114
63753
  /**
@@ -63410,7 +64049,7 @@ class TelephonyApi {
63410
64049
  /**
63411
64050
  * Telephony service.
63412
64051
  * @module purecloud-platform-client-v2/api/TelephonyApi
63413
- * @version 175.0.0
64052
+ * @version 177.0.0
63414
64053
  */
63415
64054
 
63416
64055
  /**
@@ -63538,7 +64177,7 @@ class TelephonyProvidersEdgeApi {
63538
64177
  /**
63539
64178
  * TelephonyProvidersEdge service.
63540
64179
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
63541
- * @version 175.0.0
64180
+ * @version 177.0.0
63542
64181
  */
63543
64182
 
63544
64183
  /**
@@ -66827,7 +67466,7 @@ class TextbotsApi {
66827
67466
  /**
66828
67467
  * Textbots service.
66829
67468
  * @module purecloud-platform-client-v2/api/TextbotsApi
66830
- * @version 175.0.0
67469
+ * @version 177.0.0
66831
67470
  */
66832
67471
 
66833
67472
  /**
@@ -66955,7 +67594,7 @@ class TokensApi {
66955
67594
  /**
66956
67595
  * Tokens service.
66957
67596
  * @module purecloud-platform-client-v2/api/TokensApi
66958
- * @version 175.0.0
67597
+ * @version 177.0.0
66959
67598
  */
66960
67599
 
66961
67600
  /**
@@ -67111,7 +67750,7 @@ class UploadsApi {
67111
67750
  /**
67112
67751
  * Uploads service.
67113
67752
  * @module purecloud-platform-client-v2/api/UploadsApi
67114
- * @version 175.0.0
67753
+ * @version 177.0.0
67115
67754
  */
67116
67755
 
67117
67756
  /**
@@ -67287,7 +67926,7 @@ class UsageApi {
67287
67926
  /**
67288
67927
  * Usage service.
67289
67928
  * @module purecloud-platform-client-v2/api/UsageApi
67290
- * @version 175.0.0
67929
+ * @version 177.0.0
67291
67930
  */
67292
67931
 
67293
67932
  /**
@@ -67497,7 +68136,7 @@ class UserRecordingsApi {
67497
68136
  /**
67498
68137
  * UserRecordings service.
67499
68138
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
67500
- * @version 175.0.0
68139
+ * @version 177.0.0
67501
68140
  */
67502
68141
 
67503
68142
  /**
@@ -67682,7 +68321,7 @@ class UsersApi {
67682
68321
  /**
67683
68322
  * Users service.
67684
68323
  * @module purecloud-platform-client-v2/api/UsersApi
67685
- * @version 175.0.0
68324
+ * @version 177.0.0
67686
68325
  */
67687
68326
 
67688
68327
  /**
@@ -70243,7 +70882,7 @@ class UtilitiesApi {
70243
70882
  /**
70244
70883
  * Utilities service.
70245
70884
  * @module purecloud-platform-client-v2/api/UtilitiesApi
70246
- * @version 175.0.0
70885
+ * @version 177.0.0
70247
70886
  */
70248
70887
 
70249
70888
  /**
@@ -70354,7 +70993,7 @@ class VoicemailApi {
70354
70993
  /**
70355
70994
  * Voicemail service.
70356
70995
  * @module purecloud-platform-client-v2/api/VoicemailApi
70357
- * @version 175.0.0
70996
+ * @version 177.0.0
70358
70997
  */
70359
70998
 
70360
70999
  /**
@@ -71021,7 +71660,7 @@ class WebChatApi {
71021
71660
  /**
71022
71661
  * WebChat service.
71023
71662
  * @module purecloud-platform-client-v2/api/WebChatApi
71024
- * @version 175.0.0
71663
+ * @version 177.0.0
71025
71664
  */
71026
71665
 
71027
71666
  /**
@@ -71570,7 +72209,7 @@ class WebDeploymentsApi {
71570
72209
  /**
71571
72210
  * WebDeployments service.
71572
72211
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
71573
- * @version 175.0.0
72212
+ * @version 177.0.0
71574
72213
  */
71575
72214
 
71576
72215
  /**
@@ -72097,7 +72736,7 @@ class WebMessagingApi {
72097
72736
  /**
72098
72737
  * WebMessaging service.
72099
72738
  * @module purecloud-platform-client-v2/api/WebMessagingApi
72100
- * @version 175.0.0
72739
+ * @version 177.0.0
72101
72740
  */
72102
72741
 
72103
72742
  /**
@@ -72143,7 +72782,7 @@ class WidgetsApi {
72143
72782
  /**
72144
72783
  * Widgets service.
72145
72784
  * @module purecloud-platform-client-v2/api/WidgetsApi
72146
- * @version 175.0.0
72785
+ * @version 177.0.0
72147
72786
  */
72148
72787
 
72149
72788
  /**
@@ -72289,7 +72928,7 @@ class WorkforceManagementApi {
72289
72928
  /**
72290
72929
  * WorkforceManagement service.
72291
72930
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
72292
- * @version 175.0.0
72931
+ * @version 177.0.0
72293
72932
  */
72294
72933
 
72295
72934
  /**
@@ -77453,7 +78092,7 @@ class WorkforceManagementApi {
77453
78092
  * </pre>
77454
78093
  * </p>
77455
78094
  * @module purecloud-platform-client-v2/index
77456
- * @version 175.0.0
78095
+ * @version 177.0.0
77457
78096
  */
77458
78097
  class platformClient {
77459
78098
  constructor() {