purecloud-platform-client-v2 174.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 +804 -77
  3. package/dist/web-amd/purecloud-platform-client-v2.js +804 -77
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +804 -77
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +804 -77
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +296 -7
  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 +120 -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 +7 -3
  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 174.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 174.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 174.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 174.0.0
13514
+ * @version 176.0.0
13515
13515
  */
13516
13516
 
13517
13517
  /**
@@ -15204,6 +15204,125 @@ class ArchitectApi {
15204
15204
  );
15205
15205
  }
15206
15206
 
15207
+ /**
15208
+ * Get overall health scores for all intents present in the NLU domain version associated with the bot flow version.
15209
+ *
15210
+ * @param {String} flowId Flow ID.
15211
+ * @param {String} versionId Version ID.
15212
+ * @param {Object} opts Optional parameters
15213
+ * @param {Object} opts.language Language to filter for
15214
+ */
15215
+ getFlowVersionHealth(flowId, versionId, opts) {
15216
+ opts = opts || {};
15217
+
15218
+ // verify the required parameter 'flowId' is set
15219
+ if (flowId === undefined || flowId === null) {
15220
+ throw 'Missing the required parameter "flowId" when calling getFlowVersionHealth';
15221
+ }
15222
+ // verify the required parameter 'versionId' is set
15223
+ if (versionId === undefined || versionId === null) {
15224
+ throw 'Missing the required parameter "versionId" when calling getFlowVersionHealth';
15225
+ }
15226
+
15227
+ return this.apiClient.callApi(
15228
+ '/api/v2/flows/{flowId}/versions/{versionId}/health',
15229
+ 'GET',
15230
+ { 'flowId': flowId,'versionId': versionId },
15231
+ { 'language': opts['language'] },
15232
+ { },
15233
+ { },
15234
+ null,
15235
+ ['PureCloud OAuth'],
15236
+ ['application/json'],
15237
+ ['application/json']
15238
+ );
15239
+ }
15240
+
15241
+ /**
15242
+ * Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent.
15243
+ *
15244
+ * @param {String} flowId Flow ID.
15245
+ * @param {String} versionId Version ID.
15246
+ * @param {String} intentId Intent ID.
15247
+ * @param {Object} language Language to filter for
15248
+ */
15249
+ getFlowVersionIntentHealth(flowId, versionId, intentId, language) {
15250
+ // verify the required parameter 'flowId' is set
15251
+ if (flowId === undefined || flowId === null) {
15252
+ throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';
15253
+ }
15254
+ // verify the required parameter 'versionId' is set
15255
+ if (versionId === undefined || versionId === null) {
15256
+ throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';
15257
+ }
15258
+ // verify the required parameter 'intentId' is set
15259
+ if (intentId === undefined || intentId === null) {
15260
+ throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';
15261
+ }
15262
+ // verify the required parameter 'language' is set
15263
+ if (language === undefined || language === null) {
15264
+ throw 'Missing the required parameter "language" when calling getFlowVersionIntentHealth';
15265
+ }
15266
+
15267
+ return this.apiClient.callApi(
15268
+ '/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health',
15269
+ 'GET',
15270
+ { 'flowId': flowId,'versionId': versionId,'intentId': intentId },
15271
+ { 'language': language },
15272
+ { },
15273
+ { },
15274
+ null,
15275
+ ['PureCloud OAuth'],
15276
+ ['application/json'],
15277
+ ['application/json']
15278
+ );
15279
+ }
15280
+
15281
+ /**
15282
+ * Get health metrics associated with a specific utterance of an intent.
15283
+ *
15284
+ * @param {String} flowId Flow ID.
15285
+ * @param {String} versionId Version ID.
15286
+ * @param {String} intentId Intent ID.
15287
+ * @param {String} utteranceId Utterance ID.
15288
+ * @param {Object} language Language to filter for
15289
+ */
15290
+ getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language) {
15291
+ // verify the required parameter 'flowId' is set
15292
+ if (flowId === undefined || flowId === null) {
15293
+ throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';
15294
+ }
15295
+ // verify the required parameter 'versionId' is set
15296
+ if (versionId === undefined || versionId === null) {
15297
+ throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';
15298
+ }
15299
+ // verify the required parameter 'intentId' is set
15300
+ if (intentId === undefined || intentId === null) {
15301
+ throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';
15302
+ }
15303
+ // verify the required parameter 'utteranceId' is set
15304
+ if (utteranceId === undefined || utteranceId === null) {
15305
+ throw 'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';
15306
+ }
15307
+ // verify the required parameter 'language' is set
15308
+ if (language === undefined || language === null) {
15309
+ throw 'Missing the required parameter "language" when calling getFlowVersionIntentUtteranceHealth';
15310
+ }
15311
+
15312
+ return this.apiClient.callApi(
15313
+ '/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health',
15314
+ 'GET',
15315
+ { 'flowId': flowId,'versionId': versionId,'intentId': intentId,'utteranceId': utteranceId },
15316
+ { 'language': language },
15317
+ { },
15318
+ { },
15319
+ null,
15320
+ ['PureCloud OAuth'],
15321
+ ['application/json'],
15322
+ ['application/json']
15323
+ );
15324
+ }
15325
+
15207
15326
  /**
15208
15327
  * Get flow version list
15209
15328
  *
@@ -17192,7 +17311,7 @@ class AuditApi {
17192
17311
  /**
17193
17312
  * Audit service.
17194
17313
  * @module purecloud-platform-client-v2/api/AuditApi
17195
- * @version 174.0.0
17314
+ * @version 176.0.0
17196
17315
  */
17197
17316
 
17198
17317
  /**
@@ -17363,7 +17482,7 @@ class AuthorizationApi {
17363
17482
  /**
17364
17483
  * Authorization service.
17365
17484
  * @module purecloud-platform-client-v2/api/AuthorizationApi
17366
- * @version 174.0.0
17485
+ * @version 176.0.0
17367
17486
  */
17368
17487
 
17369
17488
  /**
@@ -18594,7 +18713,7 @@ class BillingApi {
18594
18713
  /**
18595
18714
  * Billing service.
18596
18715
  * @module purecloud-platform-client-v2/api/BillingApi
18597
- * @version 174.0.0
18716
+ * @version 176.0.0
18598
18717
  */
18599
18718
 
18600
18719
  /**
@@ -18674,7 +18793,7 @@ class CarrierServicesApi {
18674
18793
  /**
18675
18794
  * CarrierServices service.
18676
18795
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
18677
- * @version 174.0.0
18796
+ * @version 176.0.0
18678
18797
  */
18679
18798
 
18680
18799
  /**
@@ -18744,7 +18863,7 @@ class ChatApi {
18744
18863
  /**
18745
18864
  * Chat service.
18746
18865
  * @module purecloud-platform-client-v2/api/ChatApi
18747
- * @version 174.0.0
18866
+ * @version 176.0.0
18748
18867
  */
18749
18868
 
18750
18869
  /**
@@ -18759,6 +18878,130 @@ class ChatApi {
18759
18878
  }
18760
18879
 
18761
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
+
18762
19005
  /**
18763
19006
  * Get Chat Settings.
18764
19007
  * This route is deprecated, please use /chats/settings instead
@@ -18780,6 +19023,127 @@ class ChatApi {
18780
19023
  );
18781
19024
  }
18782
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
+
18783
19147
  /**
18784
19148
  * Get Chat Settings.
18785
19149
  *
@@ -18800,6 +19164,113 @@ class ChatApi {
18800
19164
  );
18801
19165
  }
18802
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
+
18803
19274
  /**
18804
19275
  * Patch Chat Settings.
18805
19276
  * This route is deprecated, please use /chats/settings instead
@@ -18826,6 +19297,73 @@ class ChatApi {
18826
19297
  );
18827
19298
  }
18828
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
+
18829
19367
  /**
18830
19368
  * Patch Chat Settings.
18831
19369
  *
@@ -18851,6 +19389,191 @@ class ChatApi {
18851
19389
  );
18852
19390
  }
18853
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
+
18854
19577
  /**
18855
19578
  * Update Chat Settings.
18856
19579
  * This route is deprecated, please use /chats/settings instead
@@ -18908,7 +19631,7 @@ class CoachingApi {
18908
19631
  /**
18909
19632
  * Coaching service.
18910
19633
  * @module purecloud-platform-client-v2/api/CoachingApi
18911
- * @version 174.0.0
19634
+ * @version 176.0.0
18912
19635
  */
18913
19636
 
18914
19637
  /**
@@ -19485,7 +20208,7 @@ class ContentManagementApi {
19485
20208
  /**
19486
20209
  * ContentManagement service.
19487
20210
  * @module purecloud-platform-client-v2/api/ContentManagementApi
19488
- * @version 174.0.0
20211
+ * @version 176.0.0
19489
20212
  */
19490
20213
 
19491
20214
  /**
@@ -20628,7 +21351,7 @@ class ConversationsApi {
20628
21351
  /**
20629
21352
  * Conversations service.
20630
21353
  * @module purecloud-platform-client-v2/api/ConversationsApi
20631
- * @version 174.0.0
21354
+ * @version 176.0.0
20632
21355
  */
20633
21356
 
20634
21357
  /**
@@ -27712,7 +28435,7 @@ class DataExtensionsApi {
27712
28435
  /**
27713
28436
  * DataExtensions service.
27714
28437
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
27715
- * @version 174.0.0
28438
+ * @version 176.0.0
27716
28439
  */
27717
28440
 
27718
28441
  /**
@@ -27798,7 +28521,7 @@ class DownloadsApi {
27798
28521
  /**
27799
28522
  * Downloads service.
27800
28523
  * @module purecloud-platform-client-v2/api/DownloadsApi
27801
- * @version 174.0.0
28524
+ * @version 176.0.0
27802
28525
  */
27803
28526
 
27804
28527
  /**
@@ -27850,7 +28573,7 @@ class EmailsApi {
27850
28573
  /**
27851
28574
  * Emails service.
27852
28575
  * @module purecloud-platform-client-v2/api/EmailsApi
27853
- * @version 174.0.0
28576
+ * @version 176.0.0
27854
28577
  */
27855
28578
 
27856
28579
  /**
@@ -27915,7 +28638,7 @@ class EventsApi {
27915
28638
  /**
27916
28639
  * Events service.
27917
28640
  * @module purecloud-platform-client-v2/api/EventsApi
27918
- * @version 174.0.0
28641
+ * @version 176.0.0
27919
28642
  */
27920
28643
 
27921
28644
  /**
@@ -28011,7 +28734,7 @@ class ExternalContactsApi {
28011
28734
  /**
28012
28735
  * ExternalContacts service.
28013
28736
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
28014
- * @version 174.0.0
28737
+ * @version 176.0.0
28015
28738
  */
28016
28739
 
28017
28740
  /**
@@ -29969,7 +30692,7 @@ class FaxApi {
29969
30692
  /**
29970
30693
  * Fax service.
29971
30694
  * @module purecloud-platform-client-v2/api/FaxApi
29972
- * @version 174.0.0
30695
+ * @version 176.0.0
29973
30696
  */
29974
30697
 
29975
30698
  /**
@@ -30140,7 +30863,7 @@ class FlowsApi {
30140
30863
  /**
30141
30864
  * Flows service.
30142
30865
  * @module purecloud-platform-client-v2/api/FlowsApi
30143
- * @version 174.0.0
30866
+ * @version 176.0.0
30144
30867
  */
30145
30868
 
30146
30869
  /**
@@ -30324,7 +31047,7 @@ class GamificationApi {
30324
31047
  /**
30325
31048
  * Gamification service.
30326
31049
  * @module purecloud-platform-client-v2/api/GamificationApi
30327
- * @version 174.0.0
31050
+ * @version 176.0.0
30328
31051
  */
30329
31052
 
30330
31053
  /**
@@ -32410,7 +33133,7 @@ class GeneralDataProtectionRegulationApi {
32410
33133
  /**
32411
33134
  * GeneralDataProtectionRegulation service.
32412
33135
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32413
- * @version 174.0.0
33136
+ * @version 176.0.0
32414
33137
  */
32415
33138
 
32416
33139
  /**
@@ -32540,7 +33263,7 @@ class GeolocationApi {
32540
33263
  /**
32541
33264
  * Geolocation service.
32542
33265
  * @module purecloud-platform-client-v2/api/GeolocationApi
32543
- * @version 174.0.0
33266
+ * @version 176.0.0
32544
33267
  */
32545
33268
 
32546
33269
  /**
@@ -32671,7 +33394,7 @@ class GreetingsApi {
32671
33394
  /**
32672
33395
  * Greetings service.
32673
33396
  * @module purecloud-platform-client-v2/api/GreetingsApi
32674
- * @version 174.0.0
33397
+ * @version 176.0.0
32675
33398
  */
32676
33399
 
32677
33400
  /**
@@ -33126,7 +33849,7 @@ class GroupsApi {
33126
33849
  /**
33127
33850
  * Groups service.
33128
33851
  * @module purecloud-platform-client-v2/api/GroupsApi
33129
- * @version 174.0.0
33852
+ * @version 176.0.0
33130
33853
  */
33131
33854
 
33132
33855
  /**
@@ -33645,7 +34368,7 @@ class IdentityProviderApi {
33645
34368
  /**
33646
34369
  * IdentityProvider service.
33647
34370
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
33648
- * @version 174.0.0
34371
+ * @version 176.0.0
33649
34372
  */
33650
34373
 
33651
34374
  /**
@@ -34401,7 +35124,7 @@ class InfrastructureAsCodeApi {
34401
35124
  /**
34402
35125
  * InfrastructureAsCode service.
34403
35126
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34404
- * @version 174.0.0
35127
+ * @version 176.0.0
34405
35128
  */
34406
35129
 
34407
35130
  /**
@@ -34568,7 +35291,7 @@ class IntegrationsApi {
34568
35291
  /**
34569
35292
  * Integrations service.
34570
35293
  * @module purecloud-platform-client-v2/api/IntegrationsApi
34571
- * @version 174.0.0
35294
+ * @version 176.0.0
34572
35295
  */
34573
35296
 
34574
35297
  /**
@@ -36530,7 +37253,7 @@ class JourneyApi {
36530
37253
  /**
36531
37254
  * Journey service.
36532
37255
  * @module purecloud-platform-client-v2/api/JourneyApi
36533
- * @version 174.0.0
37256
+ * @version 176.0.0
36534
37257
  */
36535
37258
 
36536
37259
  /**
@@ -37694,7 +38417,7 @@ class KnowledgeApi {
37694
38417
  /**
37695
38418
  * Knowledge service.
37696
38419
  * @module purecloud-platform-client-v2/api/KnowledgeApi
37697
- * @version 174.0.0
38420
+ * @version 176.0.0
37698
38421
  */
37699
38422
 
37700
38423
  /**
@@ -40515,7 +41238,7 @@ class LanguageUnderstandingApi {
40515
41238
  /**
40516
41239
  * LanguageUnderstanding service.
40517
41240
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
40518
- * @version 174.0.0
41241
+ * @version 176.0.0
40519
41242
  */
40520
41243
 
40521
41244
  /**
@@ -41528,7 +42251,7 @@ class LanguagesApi {
41528
42251
  /**
41529
42252
  * Languages service.
41530
42253
  * @module purecloud-platform-client-v2/api/LanguagesApi
41531
- * @version 174.0.0
42254
+ * @version 176.0.0
41532
42255
  */
41533
42256
 
41534
42257
  /**
@@ -41750,7 +42473,7 @@ class LearningApi {
41750
42473
  /**
41751
42474
  * Learning service.
41752
42475
  * @module purecloud-platform-client-v2/api/LearningApi
41753
- * @version 174.0.0
42476
+ * @version 176.0.0
41754
42477
  */
41755
42478
 
41756
42479
  /**
@@ -42393,8 +43116,12 @@ class LearningApi {
42393
43116
  * Publish a Learning module
42394
43117
  *
42395
43118
  * @param {String} moduleId The ID of the learning module
43119
+ * @param {Object} opts Optional parameters
43120
+ * @param {Object} opts.body The request body
42396
43121
  */
42397
- postLearningModulePublish(moduleId) {
43122
+ postLearningModulePublish(moduleId, opts) {
43123
+ opts = opts || {};
43124
+
42398
43125
  // verify the required parameter 'moduleId' is set
42399
43126
  if (moduleId === undefined || moduleId === null) {
42400
43127
  throw 'Missing the required parameter "moduleId" when calling postLearningModulePublish';
@@ -42407,7 +43134,7 @@ class LearningApi {
42407
43134
  { },
42408
43135
  { },
42409
43136
  { },
42410
- null,
43137
+ opts['body'],
42411
43138
  ['PureCloud OAuth'],
42412
43139
  ['application/json'],
42413
43140
  ['application/json']
@@ -42565,7 +43292,7 @@ class LicenseApi {
42565
43292
  /**
42566
43293
  * License service.
42567
43294
  * @module purecloud-platform-client-v2/api/LicenseApi
42568
- * @version 174.0.0
43295
+ * @version 176.0.0
42569
43296
  */
42570
43297
 
42571
43298
  /**
@@ -42803,7 +43530,7 @@ class LocationsApi {
42803
43530
  /**
42804
43531
  * Locations service.
42805
43532
  * @module purecloud-platform-client-v2/api/LocationsApi
42806
- * @version 174.0.0
43533
+ * @version 176.0.0
42807
43534
  */
42808
43535
 
42809
43536
  /**
@@ -43039,7 +43766,7 @@ class MessagingApi {
43039
43766
  /**
43040
43767
  * Messaging service.
43041
43768
  * @module purecloud-platform-client-v2/api/MessagingApi
43042
- * @version 174.0.0
43769
+ * @version 176.0.0
43043
43770
  */
43044
43771
 
43045
43772
  /**
@@ -43398,7 +44125,7 @@ class MobileDevicesApi {
43398
44125
  /**
43399
44126
  * MobileDevices service.
43400
44127
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
43401
- * @version 174.0.0
44128
+ * @version 176.0.0
43402
44129
  */
43403
44130
 
43404
44131
  /**
@@ -43549,7 +44276,7 @@ class NotificationsApi {
43549
44276
  /**
43550
44277
  * Notifications service.
43551
44278
  * @module purecloud-platform-client-v2/api/NotificationsApi
43552
- * @version 174.0.0
44279
+ * @version 176.0.0
43553
44280
  */
43554
44281
 
43555
44282
  /**
@@ -43782,7 +44509,7 @@ class OAuthApi {
43782
44509
  /**
43783
44510
  * OAuth service.
43784
44511
  * @module purecloud-platform-client-v2/api/OAuthApi
43785
- * @version 174.0.0
44512
+ * @version 176.0.0
43786
44513
  */
43787
44514
 
43788
44515
  /**
@@ -44148,7 +44875,7 @@ class ObjectsApi {
44148
44875
  /**
44149
44876
  * Objects service.
44150
44877
  * @module purecloud-platform-client-v2/api/ObjectsApi
44151
- * @version 174.0.0
44878
+ * @version 176.0.0
44152
44879
  */
44153
44880
 
44154
44881
  /**
@@ -44419,7 +45146,7 @@ class OrganizationApi {
44419
45146
  /**
44420
45147
  * Organization service.
44421
45148
  * @module purecloud-platform-client-v2/api/OrganizationApi
44422
- * @version 174.0.0
45149
+ * @version 176.0.0
44423
45150
  */
44424
45151
 
44425
45152
  /**
@@ -44874,7 +45601,7 @@ class OrganizationAuthorizationApi {
44874
45601
  /**
44875
45602
  * OrganizationAuthorization service.
44876
45603
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
44877
- * @version 174.0.0
45604
+ * @version 176.0.0
44878
45605
  */
44879
45606
 
44880
45607
  /**
@@ -46221,7 +46948,7 @@ class OutboundApi {
46221
46948
  /**
46222
46949
  * Outbound service.
46223
46950
  * @module purecloud-platform-client-v2/api/OutboundApi
46224
- * @version 174.0.0
46951
+ * @version 176.0.0
46225
46952
  */
46226
46953
 
46227
46954
  /**
@@ -49843,7 +50570,7 @@ class PresenceApi {
49843
50570
  /**
49844
50571
  * Presence service.
49845
50572
  * @module purecloud-platform-client-v2/api/PresenceApi
49846
- * @version 174.0.0
50573
+ * @version 176.0.0
49847
50574
  */
49848
50575
 
49849
50576
  /**
@@ -50582,7 +51309,7 @@ class ProcessAutomationApi {
50582
51309
  /**
50583
51310
  * ProcessAutomation service.
50584
51311
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
50585
- * @version 174.0.0
51312
+ * @version 176.0.0
50586
51313
  */
50587
51314
 
50588
51315
  /**
@@ -50821,7 +51548,7 @@ class QualityApi {
50821
51548
  /**
50822
51549
  * Quality service.
50823
51550
  * @module purecloud-platform-client-v2/api/QualityApi
50824
- * @version 174.0.0
51551
+ * @version 176.0.0
50825
51552
  */
50826
51553
 
50827
51554
  /**
@@ -52575,7 +53302,7 @@ class RecordingApi {
52575
53302
  /**
52576
53303
  * Recording service.
52577
53304
  * @module purecloud-platform-client-v2/api/RecordingApi
52578
- * @version 174.0.0
53305
+ * @version 176.0.0
52579
53306
  */
52580
53307
 
52581
53308
  /**
@@ -54212,7 +54939,7 @@ class ResponseManagementApi {
54212
54939
  /**
54213
54940
  * ResponseManagement service.
54214
54941
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
54215
- * @version 174.0.0
54942
+ * @version 176.0.0
54216
54943
  */
54217
54944
 
54218
54945
  /**
@@ -54697,7 +55424,7 @@ class RoutingApi {
54697
55424
  /**
54698
55425
  * Routing service.
54699
55426
  * @module purecloud-platform-client-v2/api/RoutingApi
54700
- * @version 174.0.0
55427
+ * @version 176.0.0
54701
55428
  */
54702
55429
 
54703
55430
  /**
@@ -56755,8 +57482,8 @@ class RoutingApi {
56755
57482
  * @param {Number} opts.pageNumber Page number (default to 1)
56756
57483
  * @param {Object} opts.sortBy Sort by (default to name)
56757
57484
  * @param {Object} opts.sortOrder Sort order (default to ascending)
56758
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
56759
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)
56760
57487
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
56761
57488
  */
56762
57489
  getRoutingWrapupcodes(opts) {
@@ -56767,7 +57494,7 @@ class RoutingApi {
56767
57494
  '/api/v2/routing/wrapupcodes',
56768
57495
  'GET',
56769
57496
  { },
56770
- { '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') },
56771
57498
  { },
56772
57499
  { },
56773
57500
  null,
@@ -58405,7 +59132,7 @@ class SCIMApi {
58405
59132
  /**
58406
59133
  * SCIM service.
58407
59134
  * @module purecloud-platform-client-v2/api/SCIMApi
58408
- * @version 174.0.0
59135
+ * @version 176.0.0
58409
59136
  */
58410
59137
 
58411
59138
  /**
@@ -59282,7 +60009,7 @@ class ScriptsApi {
59282
60009
  /**
59283
60010
  * Scripts service.
59284
60011
  * @module purecloud-platform-client-v2/api/ScriptsApi
59285
- * @version 174.0.0
60012
+ * @version 176.0.0
59286
60013
  */
59287
60014
 
59288
60015
  /**
@@ -59726,7 +60453,7 @@ class SearchApi {
59726
60453
  /**
59727
60454
  * Search service.
59728
60455
  * @module purecloud-platform-client-v2/api/SearchApi
59729
- * @version 174.0.0
60456
+ * @version 176.0.0
59730
60457
  */
59731
60458
 
59732
60459
  /**
@@ -60415,7 +61142,7 @@ class SettingsApi {
60415
61142
  /**
60416
61143
  * Settings service.
60417
61144
  * @module purecloud-platform-client-v2/api/SettingsApi
60418
- * @version 174.0.0
61145
+ * @version 176.0.0
60419
61146
  */
60420
61147
 
60421
61148
  /**
@@ -60480,7 +61207,7 @@ class SpeechTextAnalyticsApi {
60480
61207
  /**
60481
61208
  * SpeechTextAnalytics service.
60482
61209
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
60483
- * @version 174.0.0
61210
+ * @version 176.0.0
60484
61211
  */
60485
61212
 
60486
61213
  /**
@@ -61463,7 +62190,7 @@ class StationsApi {
61463
62190
  /**
61464
62191
  * Stations service.
61465
62192
  * @module purecloud-platform-client-v2/api/StationsApi
61466
- * @version 174.0.0
62193
+ * @version 176.0.0
61467
62194
  */
61468
62195
 
61469
62196
  /**
@@ -61565,7 +62292,7 @@ class SuggestApi {
61565
62292
  /**
61566
62293
  * Suggest service.
61567
62294
  * @module purecloud-platform-client-v2/api/SuggestApi
61568
- * @version 174.0.0
62295
+ * @version 176.0.0
61569
62296
  */
61570
62297
 
61571
62298
  /**
@@ -61704,7 +62431,7 @@ class TaskManagementApi {
61704
62431
  /**
61705
62432
  * TaskManagement service.
61706
62433
  * @module purecloud-platform-client-v2/api/TaskManagementApi
61707
- * @version 174.0.0
62434
+ * @version 176.0.0
61708
62435
  */
61709
62436
 
61710
62437
  /**
@@ -62985,7 +63712,7 @@ class TeamsApi {
62985
63712
  /**
62986
63713
  * Teams service.
62987
63714
  * @module purecloud-platform-client-v2/api/TeamsApi
62988
- * @version 174.0.0
63715
+ * @version 176.0.0
62989
63716
  */
62990
63717
 
62991
63718
  /**
@@ -63287,7 +64014,7 @@ class TelephonyApi {
63287
64014
  /**
63288
64015
  * Telephony service.
63289
64016
  * @module purecloud-platform-client-v2/api/TelephonyApi
63290
- * @version 174.0.0
64017
+ * @version 176.0.0
63291
64018
  */
63292
64019
 
63293
64020
  /**
@@ -63415,7 +64142,7 @@ class TelephonyProvidersEdgeApi {
63415
64142
  /**
63416
64143
  * TelephonyProvidersEdge service.
63417
64144
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
63418
- * @version 174.0.0
64145
+ * @version 176.0.0
63419
64146
  */
63420
64147
 
63421
64148
  /**
@@ -66704,7 +67431,7 @@ class TextbotsApi {
66704
67431
  /**
66705
67432
  * Textbots service.
66706
67433
  * @module purecloud-platform-client-v2/api/TextbotsApi
66707
- * @version 174.0.0
67434
+ * @version 176.0.0
66708
67435
  */
66709
67436
 
66710
67437
  /**
@@ -66832,7 +67559,7 @@ class TokensApi {
66832
67559
  /**
66833
67560
  * Tokens service.
66834
67561
  * @module purecloud-platform-client-v2/api/TokensApi
66835
- * @version 174.0.0
67562
+ * @version 176.0.0
66836
67563
  */
66837
67564
 
66838
67565
  /**
@@ -66988,7 +67715,7 @@ class UploadsApi {
66988
67715
  /**
66989
67716
  * Uploads service.
66990
67717
  * @module purecloud-platform-client-v2/api/UploadsApi
66991
- * @version 174.0.0
67718
+ * @version 176.0.0
66992
67719
  */
66993
67720
 
66994
67721
  /**
@@ -67164,7 +67891,7 @@ class UsageApi {
67164
67891
  /**
67165
67892
  * Usage service.
67166
67893
  * @module purecloud-platform-client-v2/api/UsageApi
67167
- * @version 174.0.0
67894
+ * @version 176.0.0
67168
67895
  */
67169
67896
 
67170
67897
  /**
@@ -67374,7 +68101,7 @@ class UserRecordingsApi {
67374
68101
  /**
67375
68102
  * UserRecordings service.
67376
68103
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
67377
- * @version 174.0.0
68104
+ * @version 176.0.0
67378
68105
  */
67379
68106
 
67380
68107
  /**
@@ -67559,7 +68286,7 @@ class UsersApi {
67559
68286
  /**
67560
68287
  * Users service.
67561
68288
  * @module purecloud-platform-client-v2/api/UsersApi
67562
- * @version 174.0.0
68289
+ * @version 176.0.0
67563
68290
  */
67564
68291
 
67565
68292
  /**
@@ -70120,7 +70847,7 @@ class UtilitiesApi {
70120
70847
  /**
70121
70848
  * Utilities service.
70122
70849
  * @module purecloud-platform-client-v2/api/UtilitiesApi
70123
- * @version 174.0.0
70850
+ * @version 176.0.0
70124
70851
  */
70125
70852
 
70126
70853
  /**
@@ -70231,7 +70958,7 @@ class VoicemailApi {
70231
70958
  /**
70232
70959
  * Voicemail service.
70233
70960
  * @module purecloud-platform-client-v2/api/VoicemailApi
70234
- * @version 174.0.0
70961
+ * @version 176.0.0
70235
70962
  */
70236
70963
 
70237
70964
  /**
@@ -70898,7 +71625,7 @@ class WebChatApi {
70898
71625
  /**
70899
71626
  * WebChat service.
70900
71627
  * @module purecloud-platform-client-v2/api/WebChatApi
70901
- * @version 174.0.0
71628
+ * @version 176.0.0
70902
71629
  */
70903
71630
 
70904
71631
  /**
@@ -71447,7 +72174,7 @@ class WebDeploymentsApi {
71447
72174
  /**
71448
72175
  * WebDeployments service.
71449
72176
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
71450
- * @version 174.0.0
72177
+ * @version 176.0.0
71451
72178
  */
71452
72179
 
71453
72180
  /**
@@ -71974,7 +72701,7 @@ class WebMessagingApi {
71974
72701
  /**
71975
72702
  * WebMessaging service.
71976
72703
  * @module purecloud-platform-client-v2/api/WebMessagingApi
71977
- * @version 174.0.0
72704
+ * @version 176.0.0
71978
72705
  */
71979
72706
 
71980
72707
  /**
@@ -72020,7 +72747,7 @@ class WidgetsApi {
72020
72747
  /**
72021
72748
  * Widgets service.
72022
72749
  * @module purecloud-platform-client-v2/api/WidgetsApi
72023
- * @version 174.0.0
72750
+ * @version 176.0.0
72024
72751
  */
72025
72752
 
72026
72753
  /**
@@ -72166,7 +72893,7 @@ class WorkforceManagementApi {
72166
72893
  /**
72167
72894
  * WorkforceManagement service.
72168
72895
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
72169
- * @version 174.0.0
72896
+ * @version 176.0.0
72170
72897
  */
72171
72898
 
72172
72899
  /**
@@ -77330,7 +78057,7 @@ class WorkforceManagementApi {
77330
78057
  * </pre>
77331
78058
  * </p>
77332
78059
  * @module purecloud-platform-client-v2/index
77333
- * @version 174.0.0
78060
+ * @version 176.0.0
77334
78061
  */
77335
78062
  class platformClient {
77336
78063
  constructor() {