purecloud-platform-client-v2 160.0.0 → 161.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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +864 -96
  3. package/dist/web-amd/purecloud-platform-client-v2.js +864 -96
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +864 -96
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +1217 -422
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +153 -6
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +789 -42
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +46 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -26
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -404,7 +404,7 @@ const { HttpsProxyAgent } = require('hpagent');
404
404
 
405
405
  /**
406
406
  * @module purecloud-platform-client-v2/ApiClient
407
- * @version 160.0.0
407
+ * @version 161.0.0
408
408
  */
409
409
  class ApiClient {
410
410
  /**
@@ -1494,7 +1494,7 @@ class AlertingApi {
1494
1494
  /**
1495
1495
  * Alerting service.
1496
1496
  * @module purecloud-platform-client-v2/api/AlertingApi
1497
- * @version 160.0.0
1497
+ * @version 161.0.0
1498
1498
  */
1499
1499
 
1500
1500
  /**
@@ -1808,7 +1808,7 @@ class AnalyticsApi {
1808
1808
  /**
1809
1809
  * Analytics service.
1810
1810
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1811
- * @version 160.0.0
1811
+ * @version 161.0.0
1812
1812
  */
1813
1813
 
1814
1814
  /**
@@ -3062,7 +3062,7 @@ class ArchitectApi {
3062
3062
  /**
3063
3063
  * Architect service.
3064
3064
  * @module purecloud-platform-client-v2/api/ArchitectApi
3065
- * @version 160.0.0
3065
+ * @version 161.0.0
3066
3066
  */
3067
3067
 
3068
3068
  /**
@@ -6110,7 +6110,7 @@ class AuditApi {
6110
6110
  /**
6111
6111
  * Audit service.
6112
6112
  * @module purecloud-platform-client-v2/api/AuditApi
6113
- * @version 160.0.0
6113
+ * @version 161.0.0
6114
6114
  */
6115
6115
 
6116
6116
  /**
@@ -6281,7 +6281,7 @@ class AuthorizationApi {
6281
6281
  /**
6282
6282
  * Authorization service.
6283
6283
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6284
- * @version 160.0.0
6284
+ * @version 161.0.0
6285
6285
  */
6286
6286
 
6287
6287
  /**
@@ -7509,7 +7509,7 @@ class BillingApi {
7509
7509
  /**
7510
7510
  * Billing service.
7511
7511
  * @module purecloud-platform-client-v2/api/BillingApi
7512
- * @version 160.0.0
7512
+ * @version 161.0.0
7513
7513
  */
7514
7514
 
7515
7515
  /**
@@ -7589,7 +7589,7 @@ class ChatApi {
7589
7589
  /**
7590
7590
  * Chat service.
7591
7591
  * @module purecloud-platform-client-v2/api/ChatApi
7592
- * @version 160.0.0
7592
+ * @version 161.0.0
7593
7593
  */
7594
7594
 
7595
7595
  /**
@@ -7680,7 +7680,7 @@ class CoachingApi {
7680
7680
  /**
7681
7681
  * Coaching service.
7682
7682
  * @module purecloud-platform-client-v2/api/CoachingApi
7683
- * @version 160.0.0
7683
+ * @version 161.0.0
7684
7684
  */
7685
7685
 
7686
7686
  /**
@@ -8257,7 +8257,7 @@ class ContentManagementApi {
8257
8257
  /**
8258
8258
  * ContentManagement service.
8259
8259
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8260
- * @version 160.0.0
8260
+ * @version 161.0.0
8261
8261
  */
8262
8262
 
8263
8263
  /**
@@ -9397,7 +9397,7 @@ class ConversationsApi {
9397
9397
  /**
9398
9398
  * Conversations service.
9399
9399
  * @module purecloud-platform-client-v2/api/ConversationsApi
9400
- * @version 160.0.0
9400
+ * @version 161.0.0
9401
9401
  */
9402
9402
 
9403
9403
  /**
@@ -10064,6 +10064,45 @@ class ConversationsApi {
10064
10064
  );
10065
10065
  }
10066
10066
 
10067
+ /**
10068
+ * Get the wrap-up for this conversation communication.
10069
+ *
10070
+ * @param {String} conversationId conversationId
10071
+ * @param {String} participantId participantId
10072
+ * @param {String} communicationId communicationId
10073
+ * @param {Object} opts Optional parameters
10074
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10075
+ */
10076
+ getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10077
+ opts = opts || {};
10078
+
10079
+ // verify the required parameter 'conversationId' is set
10080
+ if (conversationId === undefined || conversationId === null) {
10081
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
10082
+ }
10083
+ // verify the required parameter 'participantId' is set
10084
+ if (participantId === undefined || participantId === null) {
10085
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
10086
+ }
10087
+ // verify the required parameter 'communicationId' is set
10088
+ if (communicationId === undefined || communicationId === null) {
10089
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
10090
+ }
10091
+
10092
+ return this.apiClient.callApi(
10093
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10094
+ 'GET',
10095
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10096
+ { 'provisional': opts['provisional'] },
10097
+ { },
10098
+ { },
10099
+ null,
10100
+ ['PureCloud OAuth'],
10101
+ ['application/json'],
10102
+ ['application/json']
10103
+ );
10104
+ }
10105
+
10067
10106
  /**
10068
10107
  * Get the wrap-up for this conversation participant.
10069
10108
  *
@@ -10153,6 +10192,45 @@ class ConversationsApi {
10153
10192
  );
10154
10193
  }
10155
10194
 
10195
+ /**
10196
+ * Get the wrap-up for this conversation communication.
10197
+ *
10198
+ * @param {String} conversationId conversationId
10199
+ * @param {String} participantId participantId
10200
+ * @param {String} communicationId communicationId
10201
+ * @param {Object} opts Optional parameters
10202
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10203
+ */
10204
+ getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10205
+ opts = opts || {};
10206
+
10207
+ // verify the required parameter 'conversationId' is set
10208
+ if (conversationId === undefined || conversationId === null) {
10209
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10210
+ }
10211
+ // verify the required parameter 'participantId' is set
10212
+ if (participantId === undefined || participantId === null) {
10213
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10214
+ }
10215
+ // verify the required parameter 'communicationId' is set
10216
+ if (communicationId === undefined || communicationId === null) {
10217
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10218
+ }
10219
+
10220
+ return this.apiClient.callApi(
10221
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10222
+ 'GET',
10223
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10224
+ { 'provisional': opts['provisional'] },
10225
+ { },
10226
+ { },
10227
+ null,
10228
+ ['PureCloud OAuth'],
10229
+ ['application/json'],
10230
+ ['application/json']
10231
+ );
10232
+ }
10233
+
10156
10234
  /**
10157
10235
  * Get the wrap-up for this conversation participant.
10158
10236
  *
@@ -10391,6 +10469,45 @@ class ConversationsApi {
10391
10469
  );
10392
10470
  }
10393
10471
 
10472
+ /**
10473
+ * Get the wrap-up for this conversation communication.
10474
+ *
10475
+ * @param {String} conversationId conversationId
10476
+ * @param {String} participantId participantId
10477
+ * @param {String} communicationId communicationId
10478
+ * @param {Object} opts Optional parameters
10479
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10480
+ */
10481
+ getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10482
+ opts = opts || {};
10483
+
10484
+ // verify the required parameter 'conversationId' is set
10485
+ if (conversationId === undefined || conversationId === null) {
10486
+ throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
10487
+ }
10488
+ // verify the required parameter 'participantId' is set
10489
+ if (participantId === undefined || participantId === null) {
10490
+ throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
10491
+ }
10492
+ // verify the required parameter 'communicationId' is set
10493
+ if (communicationId === undefined || communicationId === null) {
10494
+ throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
10495
+ }
10496
+
10497
+ return this.apiClient.callApi(
10498
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10499
+ 'GET',
10500
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10501
+ { 'provisional': opts['provisional'] },
10502
+ { },
10503
+ { },
10504
+ null,
10505
+ ['PureCloud OAuth'],
10506
+ ['application/json'],
10507
+ ['application/json']
10508
+ );
10509
+ }
10510
+
10394
10511
  /**
10395
10512
  * Get the wrap-up for this conversation participant.
10396
10513
  *
@@ -10500,6 +10617,45 @@ class ConversationsApi {
10500
10617
  );
10501
10618
  }
10502
10619
 
10620
+ /**
10621
+ * Get the wrap-up for this conversation communication.
10622
+ *
10623
+ * @param {String} conversationId conversationId
10624
+ * @param {String} participantId participantId
10625
+ * @param {String} communicationId communicationId
10626
+ * @param {Object} opts Optional parameters
10627
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10628
+ */
10629
+ getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10630
+ opts = opts || {};
10631
+
10632
+ // verify the required parameter 'conversationId' is set
10633
+ if (conversationId === undefined || conversationId === null) {
10634
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10635
+ }
10636
+ // verify the required parameter 'participantId' is set
10637
+ if (participantId === undefined || participantId === null) {
10638
+ throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10639
+ }
10640
+ // verify the required parameter 'communicationId' is set
10641
+ if (communicationId === undefined || communicationId === null) {
10642
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10643
+ }
10644
+
10645
+ return this.apiClient.callApi(
10646
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10647
+ 'GET',
10648
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10649
+ { 'provisional': opts['provisional'] },
10650
+ { },
10651
+ { },
10652
+ null,
10653
+ ['PureCloud OAuth'],
10654
+ ['application/json'],
10655
+ ['application/json']
10656
+ );
10657
+ }
10658
+
10503
10659
  /**
10504
10660
  * Get the wrap-up for this conversation participant.
10505
10661
  *
@@ -10689,6 +10845,45 @@ class ConversationsApi {
10689
10845
  );
10690
10846
  }
10691
10847
 
10848
+ /**
10849
+ * Get the wrap-up for this conversation communication.
10850
+ *
10851
+ * @param {String} conversationId conversationId
10852
+ * @param {String} participantId participantId
10853
+ * @param {String} communicationId communicationId
10854
+ * @param {Object} opts Optional parameters
10855
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10856
+ */
10857
+ getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10858
+ opts = opts || {};
10859
+
10860
+ // verify the required parameter 'conversationId' is set
10861
+ if (conversationId === undefined || conversationId === null) {
10862
+ throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
10863
+ }
10864
+ // verify the required parameter 'participantId' is set
10865
+ if (participantId === undefined || participantId === null) {
10866
+ throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
10867
+ }
10868
+ // verify the required parameter 'communicationId' is set
10869
+ if (communicationId === undefined || communicationId === null) {
10870
+ throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
10871
+ }
10872
+
10873
+ return this.apiClient.callApi(
10874
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10875
+ 'GET',
10876
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10877
+ { 'provisional': opts['provisional'] },
10878
+ { },
10879
+ { },
10880
+ null,
10881
+ ['PureCloud OAuth'],
10882
+ ['application/json'],
10883
+ ['application/json']
10884
+ );
10885
+ }
10886
+
10692
10887
  /**
10693
10888
  * Get the wrap-up for this conversation participant.
10694
10889
  *
@@ -10966,6 +11161,45 @@ class ConversationsApi {
10966
11161
  );
10967
11162
  }
10968
11163
 
11164
+ /**
11165
+ * Get the wrap-up for this conversation communication.
11166
+ *
11167
+ * @param {String} conversationId conversationId
11168
+ * @param {String} participantId participantId
11169
+ * @param {String} communicationId communicationId
11170
+ * @param {Object} opts Optional parameters
11171
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11172
+ */
11173
+ getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11174
+ opts = opts || {};
11175
+
11176
+ // verify the required parameter 'conversationId' is set
11177
+ if (conversationId === undefined || conversationId === null) {
11178
+ throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
11179
+ }
11180
+ // verify the required parameter 'participantId' is set
11181
+ if (participantId === undefined || participantId === null) {
11182
+ throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
11183
+ }
11184
+ // verify the required parameter 'communicationId' is set
11185
+ if (communicationId === undefined || communicationId === null) {
11186
+ throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
11187
+ }
11188
+
11189
+ return this.apiClient.callApi(
11190
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11191
+ 'GET',
11192
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11193
+ { 'provisional': opts['provisional'] },
11194
+ { },
11195
+ { },
11196
+ null,
11197
+ ['PureCloud OAuth'],
11198
+ ['application/json'],
11199
+ ['application/json']
11200
+ );
11201
+ }
11202
+
10969
11203
  /**
10970
11204
  * Get the wrap-up for this conversation participant.
10971
11205
  *
@@ -11503,6 +11737,143 @@ class ConversationsApi {
11503
11737
  );
11504
11738
  }
11505
11739
 
11740
+ /**
11741
+ * Get the wrap-up for this conversation communication.
11742
+ *
11743
+ * @param {String} conversationId conversationId
11744
+ * @param {String} participantId participantId
11745
+ * @param {String} communicationId communicationId
11746
+ * @param {Object} opts Optional parameters
11747
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11748
+ */
11749
+ getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11750
+ opts = opts || {};
11751
+
11752
+ // verify the required parameter 'conversationId' is set
11753
+ if (conversationId === undefined || conversationId === null) {
11754
+ throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11755
+ }
11756
+ // verify the required parameter 'participantId' is set
11757
+ if (participantId === undefined || participantId === null) {
11758
+ throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11759
+ }
11760
+ // verify the required parameter 'communicationId' is set
11761
+ if (communicationId === undefined || communicationId === null) {
11762
+ throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11763
+ }
11764
+
11765
+ return this.apiClient.callApi(
11766
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11767
+ 'GET',
11768
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11769
+ { 'provisional': opts['provisional'] },
11770
+ { },
11771
+ { },
11772
+ null,
11773
+ ['PureCloud OAuth'],
11774
+ ['application/json'],
11775
+ ['application/json']
11776
+ );
11777
+ }
11778
+
11779
+ /**
11780
+ * Get Settings
11781
+ *
11782
+ */
11783
+ getConversationsSettings() {
11784
+
11785
+ return this.apiClient.callApi(
11786
+ '/api/v2/conversations/settings',
11787
+ 'GET',
11788
+ { },
11789
+ { },
11790
+ { },
11791
+ { },
11792
+ null,
11793
+ ['PureCloud OAuth'],
11794
+ ['application/json'],
11795
+ ['application/json']
11796
+ );
11797
+ }
11798
+
11799
+ /**
11800
+ * Get the wrap-up for this conversation communication.
11801
+ *
11802
+ * @param {String} conversationId conversationId
11803
+ * @param {String} participantId participantId
11804
+ * @param {String} communicationId communicationId
11805
+ * @param {Object} opts Optional parameters
11806
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11807
+ */
11808
+ getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11809
+ opts = opts || {};
11810
+
11811
+ // verify the required parameter 'conversationId' is set
11812
+ if (conversationId === undefined || conversationId === null) {
11813
+ throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
11814
+ }
11815
+ // verify the required parameter 'participantId' is set
11816
+ if (participantId === undefined || participantId === null) {
11817
+ throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
11818
+ }
11819
+ // verify the required parameter 'communicationId' is set
11820
+ if (communicationId === undefined || communicationId === null) {
11821
+ throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
11822
+ }
11823
+
11824
+ return this.apiClient.callApi(
11825
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11826
+ 'GET',
11827
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11828
+ { 'provisional': opts['provisional'] },
11829
+ { },
11830
+ { },
11831
+ null,
11832
+ ['PureCloud OAuth'],
11833
+ ['application/json'],
11834
+ ['application/json']
11835
+ );
11836
+ }
11837
+
11838
+ /**
11839
+ * Get the wrap-up for this conversation communication.
11840
+ *
11841
+ * @param {String} conversationId conversationId
11842
+ * @param {String} participantId participantId
11843
+ * @param {String} communicationId communicationId
11844
+ * @param {Object} opts Optional parameters
11845
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11846
+ */
11847
+ getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11848
+ opts = opts || {};
11849
+
11850
+ // verify the required parameter 'conversationId' is set
11851
+ if (conversationId === undefined || conversationId === null) {
11852
+ throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
11853
+ }
11854
+ // verify the required parameter 'participantId' is set
11855
+ if (participantId === undefined || participantId === null) {
11856
+ throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
11857
+ }
11858
+ // verify the required parameter 'communicationId' is set
11859
+ if (communicationId === undefined || communicationId === null) {
11860
+ throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
11861
+ }
11862
+
11863
+ return this.apiClient.callApi(
11864
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11865
+ 'GET',
11866
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11867
+ { 'provisional': opts['provisional'] },
11868
+ { },
11869
+ { },
11870
+ null,
11871
+ ['PureCloud OAuth'],
11872
+ ['application/json'],
11873
+ ['application/json']
11874
+ );
11875
+ }
11876
+
11506
11877
  /**
11507
11878
  * Update a participant.
11508
11879
  * Update conversation participant.
@@ -12649,6 +13020,31 @@ class ConversationsApi {
12649
13020
  );
12650
13021
  }
12651
13022
 
13023
+ /**
13024
+ * Update Settings
13025
+ *
13026
+ * @param {Object} body Settings
13027
+ */
13028
+ patchConversationsSettings(body) {
13029
+ // verify the required parameter 'body' is set
13030
+ if (body === undefined || body === null) {
13031
+ throw 'Missing the required parameter "body" when calling patchConversationsSettings';
13032
+ }
13033
+
13034
+ return this.apiClient.callApi(
13035
+ '/api/v2/conversations/settings',
13036
+ 'PATCH',
13037
+ { },
13038
+ { },
13039
+ { },
13040
+ { },
13041
+ body,
13042
+ ['PureCloud OAuth'],
13043
+ ['application/json'],
13044
+ ['application/json']
13045
+ );
13046
+ }
13047
+
12652
13048
  /**
12653
13049
  * Index conversation properties
12654
13050
  *
@@ -13031,6 +13427,45 @@ class ConversationsApi {
13031
13427
  );
13032
13428
  }
13033
13429
 
13430
+ /**
13431
+ * Apply wrap-up for this conversation communication
13432
+ *
13433
+ * @param {String} conversationId conversationId
13434
+ * @param {String} participantId participantId
13435
+ * @param {String} communicationId communicationId
13436
+ * @param {Object} opts Optional parameters
13437
+ * @param {Object} opts.body Wrap-up
13438
+ */
13439
+ postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13440
+ opts = opts || {};
13441
+
13442
+ // verify the required parameter 'conversationId' is set
13443
+ if (conversationId === undefined || conversationId === null) {
13444
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
13445
+ }
13446
+ // verify the required parameter 'participantId' is set
13447
+ if (participantId === undefined || participantId === null) {
13448
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
13449
+ }
13450
+ // verify the required parameter 'communicationId' is set
13451
+ if (communicationId === undefined || communicationId === null) {
13452
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
13453
+ }
13454
+
13455
+ return this.apiClient.callApi(
13456
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13457
+ 'POST',
13458
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13459
+ { },
13460
+ { },
13461
+ { },
13462
+ opts['body'],
13463
+ ['PureCloud OAuth'],
13464
+ ['application/json'],
13465
+ ['application/json']
13466
+ );
13467
+ }
13468
+
13034
13469
  /**
13035
13470
  * Initiate and update consult transfer
13036
13471
  *
@@ -13161,6 +13596,45 @@ class ConversationsApi {
13161
13596
  );
13162
13597
  }
13163
13598
 
13599
+ /**
13600
+ * Apply wrap-up for this conversation communication
13601
+ *
13602
+ * @param {String} conversationId conversationId
13603
+ * @param {String} participantId participantId
13604
+ * @param {String} communicationId communicationId
13605
+ * @param {Object} opts Optional parameters
13606
+ * @param {Object} opts.body Wrap-up
13607
+ */
13608
+ postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13609
+ opts = opts || {};
13610
+
13611
+ // verify the required parameter 'conversationId' is set
13612
+ if (conversationId === undefined || conversationId === null) {
13613
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13614
+ }
13615
+ // verify the required parameter 'participantId' is set
13616
+ if (participantId === undefined || participantId === null) {
13617
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13618
+ }
13619
+ // verify the required parameter 'communicationId' is set
13620
+ if (communicationId === undefined || communicationId === null) {
13621
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13622
+ }
13623
+
13624
+ return this.apiClient.callApi(
13625
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13626
+ 'POST',
13627
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13628
+ { },
13629
+ { },
13630
+ { },
13631
+ opts['body'],
13632
+ ['PureCloud OAuth'],
13633
+ ['application/json'],
13634
+ ['application/json']
13635
+ );
13636
+ }
13637
+
13164
13638
  /**
13165
13639
  * Replace this participant with the specified user and/or address
13166
13640
  *
@@ -13361,6 +13835,45 @@ class ConversationsApi {
13361
13835
  );
13362
13836
  }
13363
13837
 
13838
+ /**
13839
+ * Apply wrap-up for this conversation communication
13840
+ *
13841
+ * @param {String} conversationId conversationId
13842
+ * @param {String} participantId participantId
13843
+ * @param {String} communicationId communicationId
13844
+ * @param {Object} opts Optional parameters
13845
+ * @param {Object} opts.body Wrap-up
13846
+ */
13847
+ postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13848
+ opts = opts || {};
13849
+
13850
+ // verify the required parameter 'conversationId' is set
13851
+ if (conversationId === undefined || conversationId === null) {
13852
+ throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
13853
+ }
13854
+ // verify the required parameter 'participantId' is set
13855
+ if (participantId === undefined || participantId === null) {
13856
+ throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
13857
+ }
13858
+ // verify the required parameter 'communicationId' is set
13859
+ if (communicationId === undefined || communicationId === null) {
13860
+ throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
13861
+ }
13862
+
13863
+ return this.apiClient.callApi(
13864
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13865
+ 'POST',
13866
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13867
+ { },
13868
+ { },
13869
+ { },
13870
+ opts['body'],
13871
+ ['PureCloud OAuth'],
13872
+ ['application/json'],
13873
+ ['application/json']
13874
+ );
13875
+ }
13876
+
13364
13877
  /**
13365
13878
  * Replace this participant with the specified user and/or address
13366
13879
  *
@@ -13421,6 +13934,45 @@ class ConversationsApi {
13421
13934
  );
13422
13935
  }
13423
13936
 
13937
+ /**
13938
+ * Apply wrap-up for this conversation communication
13939
+ *
13940
+ * @param {String} conversationId conversationId
13941
+ * @param {String} participantId participantId
13942
+ * @param {String} communicationId communicationId
13943
+ * @param {Object} opts Optional parameters
13944
+ * @param {Object} opts.body Wrap-up
13945
+ */
13946
+ postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13947
+ opts = opts || {};
13948
+
13949
+ // verify the required parameter 'conversationId' is set
13950
+ if (conversationId === undefined || conversationId === null) {
13951
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13952
+ }
13953
+ // verify the required parameter 'participantId' is set
13954
+ if (participantId === undefined || participantId === null) {
13955
+ throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13956
+ }
13957
+ // verify the required parameter 'communicationId' is set
13958
+ if (communicationId === undefined || communicationId === null) {
13959
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13960
+ }
13961
+
13962
+ return this.apiClient.callApi(
13963
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13964
+ 'POST',
13965
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13966
+ { },
13967
+ { },
13968
+ { },
13969
+ opts['body'],
13970
+ ['PureCloud OAuth'],
13971
+ ['application/json'],
13972
+ ['application/json']
13973
+ );
13974
+ }
13975
+
13424
13976
  /**
13425
13977
  * Replace this participant with the specified user and/or address
13426
13978
  *
@@ -13545,6 +14097,45 @@ class ConversationsApi {
13545
14097
  );
13546
14098
  }
13547
14099
 
14100
+ /**
14101
+ * Apply wrap-up for this conversation communication
14102
+ *
14103
+ * @param {String} conversationId conversationId
14104
+ * @param {String} participantId participantId
14105
+ * @param {String} communicationId communicationId
14106
+ * @param {Object} opts Optional parameters
14107
+ * @param {Object} opts.body Wrap-up
14108
+ */
14109
+ postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14110
+ opts = opts || {};
14111
+
14112
+ // verify the required parameter 'conversationId' is set
14113
+ if (conversationId === undefined || conversationId === null) {
14114
+ throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
14115
+ }
14116
+ // verify the required parameter 'participantId' is set
14117
+ if (participantId === undefined || participantId === null) {
14118
+ throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
14119
+ }
14120
+ // verify the required parameter 'communicationId' is set
14121
+ if (communicationId === undefined || communicationId === null) {
14122
+ throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
14123
+ }
14124
+
14125
+ return this.apiClient.callApi(
14126
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14127
+ 'POST',
14128
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14129
+ { },
14130
+ { },
14131
+ { },
14132
+ opts['body'],
14133
+ ['PureCloud OAuth'],
14134
+ ['application/json'],
14135
+ ['application/json']
14136
+ );
14137
+ }
14138
+
13548
14139
  /**
13549
14140
  * Replace this participant with the specified user and/or address
13550
14141
  *
@@ -13839,6 +14430,45 @@ class ConversationsApi {
13839
14430
  );
13840
14431
  }
13841
14432
 
14433
+ /**
14434
+ * Apply wrap-up for this conversation communication
14435
+ *
14436
+ * @param {String} conversationId conversationId
14437
+ * @param {String} participantId participantId
14438
+ * @param {String} communicationId communicationId
14439
+ * @param {Object} opts Optional parameters
14440
+ * @param {Object} opts.body Wrap-up
14441
+ */
14442
+ postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14443
+ opts = opts || {};
14444
+
14445
+ // verify the required parameter 'conversationId' is set
14446
+ if (conversationId === undefined || conversationId === null) {
14447
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
14448
+ }
14449
+ // verify the required parameter 'participantId' is set
14450
+ if (participantId === undefined || participantId === null) {
14451
+ throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
14452
+ }
14453
+ // verify the required parameter 'communicationId' is set
14454
+ if (communicationId === undefined || communicationId === null) {
14455
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
14456
+ }
14457
+
14458
+ return this.apiClient.callApi(
14459
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14460
+ 'POST',
14461
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14462
+ { },
14463
+ { },
14464
+ { },
14465
+ opts['body'],
14466
+ ['PureCloud OAuth'],
14467
+ ['application/json'],
14468
+ ['application/json']
14469
+ );
14470
+ }
14471
+
13842
14472
  /**
13843
14473
  * Replace this participant with the specified user and/or address
13844
14474
  *
@@ -14124,6 +14754,123 @@ class ConversationsApi {
14124
14754
  );
14125
14755
  }
14126
14756
 
14757
+ /**
14758
+ * Apply wrap-up for this conversation communication
14759
+ *
14760
+ * @param {String} conversationId conversationId
14761
+ * @param {String} participantId participantId
14762
+ * @param {String} communicationId communicationId
14763
+ * @param {Object} opts Optional parameters
14764
+ * @param {Object} opts.body Wrap-up
14765
+ */
14766
+ postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14767
+ opts = opts || {};
14768
+
14769
+ // verify the required parameter 'conversationId' is set
14770
+ if (conversationId === undefined || conversationId === null) {
14771
+ throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14772
+ }
14773
+ // verify the required parameter 'participantId' is set
14774
+ if (participantId === undefined || participantId === null) {
14775
+ throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14776
+ }
14777
+ // verify the required parameter 'communicationId' is set
14778
+ if (communicationId === undefined || communicationId === null) {
14779
+ throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14780
+ }
14781
+
14782
+ return this.apiClient.callApi(
14783
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14784
+ 'POST',
14785
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14786
+ { },
14787
+ { },
14788
+ { },
14789
+ opts['body'],
14790
+ ['PureCloud OAuth'],
14791
+ ['application/json'],
14792
+ ['application/json']
14793
+ );
14794
+ }
14795
+
14796
+ /**
14797
+ * Apply wrap-up for this conversation communication
14798
+ *
14799
+ * @param {String} conversationId conversationId
14800
+ * @param {String} participantId participantId
14801
+ * @param {String} communicationId communicationId
14802
+ * @param {Object} opts Optional parameters
14803
+ * @param {Object} opts.body Wrap-up
14804
+ */
14805
+ postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14806
+ opts = opts || {};
14807
+
14808
+ // verify the required parameter 'conversationId' is set
14809
+ if (conversationId === undefined || conversationId === null) {
14810
+ throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
14811
+ }
14812
+ // verify the required parameter 'participantId' is set
14813
+ if (participantId === undefined || participantId === null) {
14814
+ throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
14815
+ }
14816
+ // verify the required parameter 'communicationId' is set
14817
+ if (communicationId === undefined || communicationId === null) {
14818
+ throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
14819
+ }
14820
+
14821
+ return this.apiClient.callApi(
14822
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14823
+ 'POST',
14824
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14825
+ { },
14826
+ { },
14827
+ { },
14828
+ opts['body'],
14829
+ ['PureCloud OAuth'],
14830
+ ['application/json'],
14831
+ ['application/json']
14832
+ );
14833
+ }
14834
+
14835
+ /**
14836
+ * Apply wrap-up for this conversation communication
14837
+ *
14838
+ * @param {String} conversationId conversationId
14839
+ * @param {String} participantId participantId
14840
+ * @param {String} communicationId communicationId
14841
+ * @param {Object} opts Optional parameters
14842
+ * @param {Object} opts.body Wrap-up
14843
+ */
14844
+ postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14845
+ opts = opts || {};
14846
+
14847
+ // verify the required parameter 'conversationId' is set
14848
+ if (conversationId === undefined || conversationId === null) {
14849
+ throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
14850
+ }
14851
+ // verify the required parameter 'participantId' is set
14852
+ if (participantId === undefined || participantId === null) {
14853
+ throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
14854
+ }
14855
+ // verify the required parameter 'communicationId' is set
14856
+ if (communicationId === undefined || communicationId === null) {
14857
+ throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
14858
+ }
14859
+
14860
+ return this.apiClient.callApi(
14861
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14862
+ 'POST',
14863
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14864
+ { },
14865
+ { },
14866
+ { },
14867
+ opts['body'],
14868
+ ['PureCloud OAuth'],
14869
+ ['application/json'],
14870
+ ['application/json']
14871
+ );
14872
+ }
14873
+
14127
14874
  /**
14128
14875
  * Set flagged reason on conversation participant to indicate bad conversation quality.
14129
14876
  *
@@ -14670,7 +15417,7 @@ class DataExtensionsApi {
14670
15417
  /**
14671
15418
  * DataExtensions service.
14672
15419
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14673
- * @version 160.0.0
15420
+ * @version 161.0.0
14674
15421
  */
14675
15422
 
14676
15423
  /**
@@ -14756,7 +15503,7 @@ class DownloadsApi {
14756
15503
  /**
14757
15504
  * Downloads service.
14758
15505
  * @module purecloud-platform-client-v2/api/DownloadsApi
14759
- * @version 160.0.0
15506
+ * @version 161.0.0
14760
15507
  */
14761
15508
 
14762
15509
  /**
@@ -14808,7 +15555,7 @@ class EventsApi {
14808
15555
  /**
14809
15556
  * Events service.
14810
15557
  * @module purecloud-platform-client-v2/api/EventsApi
14811
- * @version 160.0.0
15558
+ * @version 161.0.0
14812
15559
  */
14813
15560
 
14814
15561
  /**
@@ -14904,7 +15651,7 @@ class ExternalContactsApi {
14904
15651
  /**
14905
15652
  * ExternalContacts service.
14906
15653
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14907
- * @version 160.0.0
15654
+ * @version 161.0.0
14908
15655
  */
14909
15656
 
14910
15657
  /**
@@ -16862,7 +17609,7 @@ class FaxApi {
16862
17609
  /**
16863
17610
  * Fax service.
16864
17611
  * @module purecloud-platform-client-v2/api/FaxApi
16865
- * @version 160.0.0
17612
+ * @version 161.0.0
16866
17613
  */
16867
17614
 
16868
17615
  /**
@@ -17033,7 +17780,7 @@ class FlowsApi {
17033
17780
  /**
17034
17781
  * Flows service.
17035
17782
  * @module purecloud-platform-client-v2/api/FlowsApi
17036
- * @version 160.0.0
17783
+ * @version 161.0.0
17037
17784
  */
17038
17785
 
17039
17786
  /**
@@ -17104,7 +17851,7 @@ class GamificationApi {
17104
17851
  /**
17105
17852
  * Gamification service.
17106
17853
  * @module purecloud-platform-client-v2/api/GamificationApi
17107
- * @version 160.0.0
17854
+ * @version 161.0.0
17108
17855
  */
17109
17856
 
17110
17857
  /**
@@ -18721,7 +19468,7 @@ class GeneralDataProtectionRegulationApi {
18721
19468
  /**
18722
19469
  * GeneralDataProtectionRegulation service.
18723
19470
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18724
- * @version 160.0.0
19471
+ * @version 161.0.0
18725
19472
  */
18726
19473
 
18727
19474
  /**
@@ -18851,7 +19598,7 @@ class GeolocationApi {
18851
19598
  /**
18852
19599
  * Geolocation service.
18853
19600
  * @module purecloud-platform-client-v2/api/GeolocationApi
18854
- * @version 160.0.0
19601
+ * @version 161.0.0
18855
19602
  */
18856
19603
 
18857
19604
  /**
@@ -18982,7 +19729,7 @@ class GreetingsApi {
18982
19729
  /**
18983
19730
  * Greetings service.
18984
19731
  * @module purecloud-platform-client-v2/api/GreetingsApi
18985
- * @version 160.0.0
19732
+ * @version 161.0.0
18986
19733
  */
18987
19734
 
18988
19735
  /**
@@ -19437,7 +20184,7 @@ class GroupsApi {
19437
20184
  /**
19438
20185
  * Groups service.
19439
20186
  * @module purecloud-platform-client-v2/api/GroupsApi
19440
- * @version 160.0.0
20187
+ * @version 161.0.0
19441
20188
  */
19442
20189
 
19443
20190
  /**
@@ -19843,7 +20590,7 @@ class IdentityProviderApi {
19843
20590
  /**
19844
20591
  * IdentityProvider service.
19845
20592
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19846
- * @version 160.0.0
20593
+ * @version 161.0.0
19847
20594
  */
19848
20595
 
19849
20596
  /**
@@ -20599,7 +21346,7 @@ class InfrastructureAsCodeApi {
20599
21346
  /**
20600
21347
  * InfrastructureAsCode service.
20601
21348
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
20602
- * @version 160.0.0
21349
+ * @version 161.0.0
20603
21350
  */
20604
21351
 
20605
21352
  /**
@@ -20701,7 +21448,7 @@ class IntegrationsApi {
20701
21448
  /**
20702
21449
  * Integrations service.
20703
21450
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20704
- * @version 160.0.0
21451
+ * @version 161.0.0
20705
21452
  */
20706
21453
 
20707
21454
  /**
@@ -22301,7 +23048,7 @@ class JourneyApi {
22301
23048
  /**
22302
23049
  * Journey service.
22303
23050
  * @module purecloud-platform-client-v2/api/JourneyApi
22304
- * @version 160.0.0
23051
+ * @version 161.0.0
22305
23052
  */
22306
23053
 
22307
23054
  /**
@@ -23181,7 +23928,7 @@ class KnowledgeApi {
23181
23928
  /**
23182
23929
  * Knowledge service.
23183
23930
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23184
- * @version 160.0.0
23931
+ * @version 161.0.0
23185
23932
  */
23186
23933
 
23187
23934
  /**
@@ -25613,7 +26360,7 @@ class LanguageUnderstandingApi {
25613
26360
  /**
25614
26361
  * LanguageUnderstanding service.
25615
26362
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25616
- * @version 160.0.0
26363
+ * @version 161.0.0
25617
26364
  */
25618
26365
 
25619
26366
  /**
@@ -26626,7 +27373,7 @@ class LanguagesApi {
26626
27373
  /**
26627
27374
  * Languages service.
26628
27375
  * @module purecloud-platform-client-v2/api/LanguagesApi
26629
- * @version 160.0.0
27376
+ * @version 161.0.0
26630
27377
  */
26631
27378
 
26632
27379
  /**
@@ -26844,7 +27591,7 @@ class LearningApi {
26844
27591
  /**
26845
27592
  * Learning service.
26846
27593
  * @module purecloud-platform-client-v2/api/LearningApi
26847
- * @version 160.0.0
27594
+ * @version 161.0.0
26848
27595
  */
26849
27596
 
26850
27597
  /**
@@ -27659,7 +28406,7 @@ class LicenseApi {
27659
28406
  /**
27660
28407
  * License service.
27661
28408
  * @module purecloud-platform-client-v2/api/LicenseApi
27662
- * @version 160.0.0
28409
+ * @version 161.0.0
27663
28410
  */
27664
28411
 
27665
28412
  /**
@@ -27897,7 +28644,7 @@ class LocationsApi {
27897
28644
  /**
27898
28645
  * Locations service.
27899
28646
  * @module purecloud-platform-client-v2/api/LocationsApi
27900
- * @version 160.0.0
28647
+ * @version 161.0.0
27901
28648
  */
27902
28649
 
27903
28650
  /**
@@ -28133,7 +28880,7 @@ class MessagingApi {
28133
28880
  /**
28134
28881
  * Messaging service.
28135
28882
  * @module purecloud-platform-client-v2/api/MessagingApi
28136
- * @version 160.0.0
28883
+ * @version 161.0.0
28137
28884
  */
28138
28885
 
28139
28886
  /**
@@ -28284,7 +29031,7 @@ class MobileDevicesApi {
28284
29031
  /**
28285
29032
  * MobileDevices service.
28286
29033
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
28287
- * @version 160.0.0
29034
+ * @version 161.0.0
28288
29035
  */
28289
29036
 
28290
29037
  /**
@@ -28435,7 +29182,7 @@ class NotificationsApi {
28435
29182
  /**
28436
29183
  * Notifications service.
28437
29184
  * @module purecloud-platform-client-v2/api/NotificationsApi
28438
- * @version 160.0.0
29185
+ * @version 161.0.0
28439
29186
  */
28440
29187
 
28441
29188
  /**
@@ -28668,7 +29415,7 @@ class OAuthApi {
28668
29415
  /**
28669
29416
  * OAuth service.
28670
29417
  * @module purecloud-platform-client-v2/api/OAuthApi
28671
- * @version 160.0.0
29418
+ * @version 161.0.0
28672
29419
  */
28673
29420
 
28674
29421
  /**
@@ -29034,7 +29781,7 @@ class ObjectsApi {
29034
29781
  /**
29035
29782
  * Objects service.
29036
29783
  * @module purecloud-platform-client-v2/api/ObjectsApi
29037
- * @version 160.0.0
29784
+ * @version 161.0.0
29038
29785
  */
29039
29786
 
29040
29787
  /**
@@ -29305,7 +30052,7 @@ class OrganizationApi {
29305
30052
  /**
29306
30053
  * Organization service.
29307
30054
  * @module purecloud-platform-client-v2/api/OrganizationApi
29308
- * @version 160.0.0
30055
+ * @version 161.0.0
29309
30056
  */
29310
30057
 
29311
30058
  /**
@@ -29708,7 +30455,7 @@ class OrganizationAuthorizationApi {
29708
30455
  /**
29709
30456
  * OrganizationAuthorization service.
29710
30457
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29711
- * @version 160.0.0
30458
+ * @version 161.0.0
29712
30459
  */
29713
30460
 
29714
30461
  /**
@@ -31003,7 +31750,7 @@ class OutboundApi {
31003
31750
  /**
31004
31751
  * Outbound service.
31005
31752
  * @module purecloud-platform-client-v2/api/OutboundApi
31006
- * @version 160.0.0
31753
+ * @version 161.0.0
31007
31754
  */
31008
31755
 
31009
31756
  /**
@@ -34599,7 +35346,7 @@ class PresenceApi {
34599
35346
  /**
34600
35347
  * Presence service.
34601
35348
  * @module purecloud-platform-client-v2/api/PresenceApi
34602
- * @version 160.0.0
35349
+ * @version 161.0.0
34603
35350
  */
34604
35351
 
34605
35352
  /**
@@ -34664,6 +35411,26 @@ class PresenceApi {
34664
35411
  );
34665
35412
  }
34666
35413
 
35414
+ /**
35415
+ * Get the presence settings
35416
+ *
35417
+ */
35418
+ getPresenceSettings() {
35419
+
35420
+ return this.apiClient.callApi(
35421
+ '/api/v2/presence/settings',
35422
+ 'GET',
35423
+ { },
35424
+ { },
35425
+ { },
35426
+ { },
35427
+ null,
35428
+ ['PureCloud OAuth'],
35429
+ ['application/json'],
35430
+ ['application/json']
35431
+ );
35432
+ }
35433
+
34667
35434
  /**
34668
35435
  * Get a Presence Source
34669
35436
  *
@@ -34984,6 +35751,31 @@ class PresenceApi {
34984
35751
  );
34985
35752
  }
34986
35753
 
35754
+ /**
35755
+ * Update the presence settings
35756
+ *
35757
+ * @param {Object} body Presence Settings
35758
+ */
35759
+ putPresenceSettings(body) {
35760
+ // verify the required parameter 'body' is set
35761
+ if (body === undefined || body === null) {
35762
+ throw 'Missing the required parameter "body" when calling putPresenceSettings';
35763
+ }
35764
+
35765
+ return this.apiClient.callApi(
35766
+ '/api/v2/presence/settings',
35767
+ 'PUT',
35768
+ { },
35769
+ { },
35770
+ { },
35771
+ { },
35772
+ body,
35773
+ ['PureCloud OAuth'],
35774
+ ['application/json'],
35775
+ ['application/json']
35776
+ );
35777
+ }
35778
+
34987
35779
  /**
34988
35780
  * Update a Presence Source
34989
35781
  *
@@ -35105,7 +35897,7 @@ class ProcessAutomationApi {
35105
35897
  /**
35106
35898
  * ProcessAutomation service.
35107
35899
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
35108
- * @version 160.0.0
35900
+ * @version 161.0.0
35109
35901
  */
35110
35902
 
35111
35903
  /**
@@ -35344,7 +36136,7 @@ class QualityApi {
35344
36136
  /**
35345
36137
  * Quality service.
35346
36138
  * @module purecloud-platform-client-v2/api/QualityApi
35347
- * @version 160.0.0
36139
+ * @version 161.0.0
35348
36140
  */
35349
36141
 
35350
36142
  /**
@@ -35737,7 +36529,7 @@ class QualityApi {
35737
36529
  * @param {Boolean} opts.agentHasRead agent has the evaluation
35738
36530
  * @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
35739
36531
  * @param {Number} opts.maximum maximum
35740
- * @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'
36532
+ * @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'. Sorts by assigned date when evaluatorUserId or agentTeamId are supplied, and by released date for agentUserId
35741
36533
  */
35742
36534
  getQualityEvaluationsQuery(opts) {
35743
36535
  opts = opts || {};
@@ -36923,7 +37715,7 @@ class RecordingApi {
36923
37715
  /**
36924
37716
  * Recording service.
36925
37717
  * @module purecloud-platform-client-v2/api/RecordingApi
36926
- * @version 160.0.0
37718
+ * @version 161.0.0
36927
37719
  */
36928
37720
 
36929
37721
  /**
@@ -38560,7 +39352,7 @@ class ResponseManagementApi {
38560
39352
  /**
38561
39353
  * ResponseManagement service.
38562
39354
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
38563
- * @version 160.0.0
39355
+ * @version 161.0.0
38564
39356
  */
38565
39357
 
38566
39358
  /**
@@ -39044,7 +39836,7 @@ class RoutingApi {
39044
39836
  /**
39045
39837
  * Routing service.
39046
39838
  * @module purecloud-platform-client-v2/api/RoutingApi
39047
- * @version 160.0.0
39839
+ * @version 161.0.0
39048
39840
  */
39049
39841
 
39050
39842
  /**
@@ -40983,6 +41775,7 @@ class RoutingApi {
40983
41775
  * @param {Object} opts.sortBy Sort by (default to name)
40984
41776
  * @param {Object} opts.sortOrder Sort order (default to ascending)
40985
41777
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
41778
+ * @param {Array.<String>} opts.divisionId Filter by division ID(s)
40986
41779
  */
40987
41780
  getRoutingWrapupcodes(opts) {
40988
41781
  opts = opts || {};
@@ -40992,7 +41785,7 @@ class RoutingApi {
40992
41785
  '/api/v2/routing/wrapupcodes',
40993
41786
  'GET',
40994
41787
  { },
40995
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
41788
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
40996
41789
  { },
40997
41790
  { },
40998
41791
  null,
@@ -42544,7 +43337,7 @@ class SCIMApi {
42544
43337
  /**
42545
43338
  * SCIM service.
42546
43339
  * @module purecloud-platform-client-v2/api/SCIMApi
42547
- * @version 160.0.0
43340
+ * @version 161.0.0
42548
43341
  */
42549
43342
 
42550
43343
  /**
@@ -43421,7 +44214,7 @@ class ScriptsApi {
43421
44214
  /**
43422
44215
  * Scripts service.
43423
44216
  * @module purecloud-platform-client-v2/api/ScriptsApi
43424
- * @version 160.0.0
44217
+ * @version 161.0.0
43425
44218
  */
43426
44219
 
43427
44220
  /**
@@ -43840,7 +44633,7 @@ class SearchApi {
43840
44633
  /**
43841
44634
  * Search service.
43842
44635
  * @module purecloud-platform-client-v2/api/SearchApi
43843
- * @version 160.0.0
44636
+ * @version 161.0.0
43844
44637
  */
43845
44638
 
43846
44639
  /**
@@ -44450,7 +45243,7 @@ class SpeechTextAnalyticsApi {
44450
45243
  /**
44451
45244
  * SpeechTextAnalytics service.
44452
45245
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
44453
- * @version 160.0.0
45246
+ * @version 161.0.0
44454
45247
  */
44455
45248
 
44456
45249
  /**
@@ -45379,7 +46172,7 @@ class StationsApi {
45379
46172
  /**
45380
46173
  * Stations service.
45381
46174
  * @module purecloud-platform-client-v2/api/StationsApi
45382
- * @version 160.0.0
46175
+ * @version 161.0.0
45383
46176
  */
45384
46177
 
45385
46178
  /**
@@ -45526,7 +46319,7 @@ class SuggestApi {
45526
46319
  /**
45527
46320
  * Suggest service.
45528
46321
  * @module purecloud-platform-client-v2/api/SuggestApi
45529
- * @version 160.0.0
46322
+ * @version 161.0.0
45530
46323
  */
45531
46324
 
45532
46325
  /**
@@ -45665,7 +46458,7 @@ class TeamsApi {
45665
46458
  /**
45666
46459
  * Teams service.
45667
46460
  * @module purecloud-platform-client-v2/api/TeamsApi
45668
- * @version 160.0.0
46461
+ * @version 161.0.0
45669
46462
  */
45670
46463
 
45671
46464
  /**
@@ -45936,7 +46729,7 @@ class TelephonyApi {
45936
46729
  /**
45937
46730
  * Telephony service.
45938
46731
  * @module purecloud-platform-client-v2/api/TelephonyApi
45939
- * @version 160.0.0
46732
+ * @version 161.0.0
45940
46733
  */
45941
46734
 
45942
46735
  /**
@@ -46064,7 +46857,7 @@ class TelephonyProvidersEdgeApi {
46064
46857
  /**
46065
46858
  * TelephonyProvidersEdge service.
46066
46859
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
46067
- * @version 160.0.0
46860
+ * @version 161.0.0
46068
46861
  */
46069
46862
 
46070
46863
  /**
@@ -49087,31 +49880,6 @@ class TelephonyProvidersEdgeApi {
49087
49880
  );
49088
49881
  }
49089
49882
 
49090
- /**
49091
- * Triggers the rebalance operation.
49092
- *
49093
- * @param {String} siteId Site ID
49094
- */
49095
- postTelephonyProvidersEdgesSiteRebalance(siteId) {
49096
- // verify the required parameter 'siteId' is set
49097
- if (siteId === undefined || siteId === null) {
49098
- throw 'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteRebalance';
49099
- }
49100
-
49101
- return this.apiClient.callApi(
49102
- '/api/v2/telephony/providers/edges/sites/{siteId}/rebalance',
49103
- 'POST',
49104
- { 'siteId': siteId },
49105
- { },
49106
- { },
49107
- { },
49108
- null,
49109
- ['PureCloud OAuth'],
49110
- ['application/json'],
49111
- ['application/json']
49112
- );
49113
- }
49114
-
49115
49883
  /**
49116
49884
  * Create a Site.
49117
49885
  *
@@ -49698,7 +50466,7 @@ class TextbotsApi {
49698
50466
  /**
49699
50467
  * Textbots service.
49700
50468
  * @module purecloud-platform-client-v2/api/TextbotsApi
49701
- * @version 160.0.0
50469
+ * @version 161.0.0
49702
50470
  */
49703
50471
 
49704
50472
  /**
@@ -49826,7 +50594,7 @@ class TokensApi {
49826
50594
  /**
49827
50595
  * Tokens service.
49828
50596
  * @module purecloud-platform-client-v2/api/TokensApi
49829
- * @version 160.0.0
50597
+ * @version 161.0.0
49830
50598
  */
49831
50599
 
49832
50600
  /**
@@ -49932,7 +50700,7 @@ class UploadsApi {
49932
50700
  /**
49933
50701
  * Uploads service.
49934
50702
  * @module purecloud-platform-client-v2/api/UploadsApi
49935
- * @version 160.0.0
50703
+ * @version 161.0.0
49936
50704
  */
49937
50705
 
49938
50706
  /**
@@ -50108,7 +50876,7 @@ class UsageApi {
50108
50876
  /**
50109
50877
  * Usage service.
50110
50878
  * @module purecloud-platform-client-v2/api/UsageApi
50111
- * @version 160.0.0
50879
+ * @version 161.0.0
50112
50880
  */
50113
50881
 
50114
50882
  /**
@@ -50179,7 +50947,7 @@ class UserRecordingsApi {
50179
50947
  /**
50180
50948
  * UserRecordings service.
50181
50949
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
50182
- * @version 160.0.0
50950
+ * @version 161.0.0
50183
50951
  */
50184
50952
 
50185
50953
  /**
@@ -50364,7 +51132,7 @@ class UsersApi {
50364
51132
  /**
50365
51133
  * Users service.
50366
51134
  * @module purecloud-platform-client-v2/api/UsersApi
50367
- * @version 160.0.0
51135
+ * @version 161.0.0
50368
51136
  */
50369
51137
 
50370
51138
  /**
@@ -52752,7 +53520,7 @@ class UtilitiesApi {
52752
53520
  /**
52753
53521
  * Utilities service.
52754
53522
  * @module purecloud-platform-client-v2/api/UtilitiesApi
52755
- * @version 160.0.0
53523
+ * @version 161.0.0
52756
53524
  */
52757
53525
 
52758
53526
  /**
@@ -52863,7 +53631,7 @@ class VoicemailApi {
52863
53631
  /**
52864
53632
  * Voicemail service.
52865
53633
  * @module purecloud-platform-client-v2/api/VoicemailApi
52866
- * @version 160.0.0
53634
+ * @version 161.0.0
52867
53635
  */
52868
53636
 
52869
53637
  /**
@@ -53530,7 +54298,7 @@ class WebChatApi {
53530
54298
  /**
53531
54299
  * WebChat service.
53532
54300
  * @module purecloud-platform-client-v2/api/WebChatApi
53533
- * @version 160.0.0
54301
+ * @version 161.0.0
53534
54302
  */
53535
54303
 
53536
54304
  /**
@@ -54074,7 +54842,7 @@ class WebDeploymentsApi {
54074
54842
  /**
54075
54843
  * WebDeployments service.
54076
54844
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
54077
- * @version 160.0.0
54845
+ * @version 161.0.0
54078
54846
  */
54079
54847
 
54080
54848
  /**
@@ -54596,7 +55364,7 @@ class WebMessagingApi {
54596
55364
  /**
54597
55365
  * WebMessaging service.
54598
55366
  * @module purecloud-platform-client-v2/api/WebMessagingApi
54599
- * @version 160.0.0
55367
+ * @version 161.0.0
54600
55368
  */
54601
55369
 
54602
55370
  /**
@@ -54642,7 +55410,7 @@ class WidgetsApi {
54642
55410
  /**
54643
55411
  * Widgets service.
54644
55412
  * @module purecloud-platform-client-v2/api/WidgetsApi
54645
- * @version 160.0.0
55413
+ * @version 161.0.0
54646
55414
  */
54647
55415
 
54648
55416
  /**
@@ -54788,7 +55556,7 @@ class WorkforceManagementApi {
54788
55556
  /**
54789
55557
  * WorkforceManagement service.
54790
55558
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
54791
- * @version 160.0.0
55559
+ * @version 161.0.0
54792
55560
  */
54793
55561
 
54794
55562
  /**
@@ -59532,7 +60300,7 @@ class WorkforceManagementApi {
59532
60300
  * </pre>
59533
60301
  * </p>
59534
60302
  * @module purecloud-platform-client-v2/index
59535
- * @version 160.0.0
60303
+ * @version 161.0.0
59536
60304
  */
59537
60305
  class platformClient {
59538
60306
  constructor() {