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
@@ -2281,7 +2281,7 @@ const { HttpsProxyAgent } = require('hpagent');
2281
2281
 
2282
2282
  /**
2283
2283
  * @module purecloud-platform-client-v2/ApiClient
2284
- * @version 160.0.0
2284
+ * @version 161.0.0
2285
2285
  */
2286
2286
  class ApiClient {
2287
2287
  /**
@@ -3364,7 +3364,7 @@ class AlertingApi {
3364
3364
  /**
3365
3365
  * Alerting service.
3366
3366
  * @module purecloud-platform-client-v2/api/AlertingApi
3367
- * @version 160.0.0
3367
+ * @version 161.0.0
3368
3368
  */
3369
3369
 
3370
3370
  /**
@@ -3678,7 +3678,7 @@ class AnalyticsApi {
3678
3678
  /**
3679
3679
  * Analytics service.
3680
3680
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3681
- * @version 160.0.0
3681
+ * @version 161.0.0
3682
3682
  */
3683
3683
 
3684
3684
  /**
@@ -4932,7 +4932,7 @@ class ArchitectApi {
4932
4932
  /**
4933
4933
  * Architect service.
4934
4934
  * @module purecloud-platform-client-v2/api/ArchitectApi
4935
- * @version 160.0.0
4935
+ * @version 161.0.0
4936
4936
  */
4937
4937
 
4938
4938
  /**
@@ -7980,7 +7980,7 @@ class AuditApi {
7980
7980
  /**
7981
7981
  * Audit service.
7982
7982
  * @module purecloud-platform-client-v2/api/AuditApi
7983
- * @version 160.0.0
7983
+ * @version 161.0.0
7984
7984
  */
7985
7985
 
7986
7986
  /**
@@ -8151,7 +8151,7 @@ class AuthorizationApi {
8151
8151
  /**
8152
8152
  * Authorization service.
8153
8153
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8154
- * @version 160.0.0
8154
+ * @version 161.0.0
8155
8155
  */
8156
8156
 
8157
8157
  /**
@@ -9379,7 +9379,7 @@ class BillingApi {
9379
9379
  /**
9380
9380
  * Billing service.
9381
9381
  * @module purecloud-platform-client-v2/api/BillingApi
9382
- * @version 160.0.0
9382
+ * @version 161.0.0
9383
9383
  */
9384
9384
 
9385
9385
  /**
@@ -9459,7 +9459,7 @@ class ChatApi {
9459
9459
  /**
9460
9460
  * Chat service.
9461
9461
  * @module purecloud-platform-client-v2/api/ChatApi
9462
- * @version 160.0.0
9462
+ * @version 161.0.0
9463
9463
  */
9464
9464
 
9465
9465
  /**
@@ -9550,7 +9550,7 @@ class CoachingApi {
9550
9550
  /**
9551
9551
  * Coaching service.
9552
9552
  * @module purecloud-platform-client-v2/api/CoachingApi
9553
- * @version 160.0.0
9553
+ * @version 161.0.0
9554
9554
  */
9555
9555
 
9556
9556
  /**
@@ -10127,7 +10127,7 @@ class ContentManagementApi {
10127
10127
  /**
10128
10128
  * ContentManagement service.
10129
10129
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10130
- * @version 160.0.0
10130
+ * @version 161.0.0
10131
10131
  */
10132
10132
 
10133
10133
  /**
@@ -11267,7 +11267,7 @@ class ConversationsApi {
11267
11267
  /**
11268
11268
  * Conversations service.
11269
11269
  * @module purecloud-platform-client-v2/api/ConversationsApi
11270
- * @version 160.0.0
11270
+ * @version 161.0.0
11271
11271
  */
11272
11272
 
11273
11273
  /**
@@ -11934,6 +11934,45 @@ class ConversationsApi {
11934
11934
  );
11935
11935
  }
11936
11936
 
11937
+ /**
11938
+ * Get the wrap-up for this conversation communication.
11939
+ *
11940
+ * @param {String} conversationId conversationId
11941
+ * @param {String} participantId participantId
11942
+ * @param {String} communicationId communicationId
11943
+ * @param {Object} opts Optional parameters
11944
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11945
+ */
11946
+ getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11947
+ opts = opts || {};
11948
+
11949
+ // verify the required parameter 'conversationId' is set
11950
+ if (conversationId === undefined || conversationId === null) {
11951
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
11952
+ }
11953
+ // verify the required parameter 'participantId' is set
11954
+ if (participantId === undefined || participantId === null) {
11955
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
11956
+ }
11957
+ // verify the required parameter 'communicationId' is set
11958
+ if (communicationId === undefined || communicationId === null) {
11959
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
11960
+ }
11961
+
11962
+ return this.apiClient.callApi(
11963
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11964
+ 'GET',
11965
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11966
+ { 'provisional': opts['provisional'] },
11967
+ { },
11968
+ { },
11969
+ null,
11970
+ ['PureCloud OAuth'],
11971
+ ['application/json'],
11972
+ ['application/json']
11973
+ );
11974
+ }
11975
+
11937
11976
  /**
11938
11977
  * Get the wrap-up for this conversation participant.
11939
11978
  *
@@ -12023,6 +12062,45 @@ class ConversationsApi {
12023
12062
  );
12024
12063
  }
12025
12064
 
12065
+ /**
12066
+ * Get the wrap-up for this conversation communication.
12067
+ *
12068
+ * @param {String} conversationId conversationId
12069
+ * @param {String} participantId participantId
12070
+ * @param {String} communicationId communicationId
12071
+ * @param {Object} opts Optional parameters
12072
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
12073
+ */
12074
+ getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
12075
+ opts = opts || {};
12076
+
12077
+ // verify the required parameter 'conversationId' is set
12078
+ if (conversationId === undefined || conversationId === null) {
12079
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
12080
+ }
12081
+ // verify the required parameter 'participantId' is set
12082
+ if (participantId === undefined || participantId === null) {
12083
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
12084
+ }
12085
+ // verify the required parameter 'communicationId' is set
12086
+ if (communicationId === undefined || communicationId === null) {
12087
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
12088
+ }
12089
+
12090
+ return this.apiClient.callApi(
12091
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
12092
+ 'GET',
12093
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
12094
+ { 'provisional': opts['provisional'] },
12095
+ { },
12096
+ { },
12097
+ null,
12098
+ ['PureCloud OAuth'],
12099
+ ['application/json'],
12100
+ ['application/json']
12101
+ );
12102
+ }
12103
+
12026
12104
  /**
12027
12105
  * Get the wrap-up for this conversation participant.
12028
12106
  *
@@ -12261,6 +12339,45 @@ class ConversationsApi {
12261
12339
  );
12262
12340
  }
12263
12341
 
12342
+ /**
12343
+ * Get the wrap-up for this conversation communication.
12344
+ *
12345
+ * @param {String} conversationId conversationId
12346
+ * @param {String} participantId participantId
12347
+ * @param {String} communicationId communicationId
12348
+ * @param {Object} opts Optional parameters
12349
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
12350
+ */
12351
+ getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
12352
+ opts = opts || {};
12353
+
12354
+ // verify the required parameter 'conversationId' is set
12355
+ if (conversationId === undefined || conversationId === null) {
12356
+ throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
12357
+ }
12358
+ // verify the required parameter 'participantId' is set
12359
+ if (participantId === undefined || participantId === null) {
12360
+ throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
12361
+ }
12362
+ // verify the required parameter 'communicationId' is set
12363
+ if (communicationId === undefined || communicationId === null) {
12364
+ throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
12365
+ }
12366
+
12367
+ return this.apiClient.callApi(
12368
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
12369
+ 'GET',
12370
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
12371
+ { 'provisional': opts['provisional'] },
12372
+ { },
12373
+ { },
12374
+ null,
12375
+ ['PureCloud OAuth'],
12376
+ ['application/json'],
12377
+ ['application/json']
12378
+ );
12379
+ }
12380
+
12264
12381
  /**
12265
12382
  * Get the wrap-up for this conversation participant.
12266
12383
  *
@@ -12370,6 +12487,45 @@ class ConversationsApi {
12370
12487
  );
12371
12488
  }
12372
12489
 
12490
+ /**
12491
+ * Get the wrap-up for this conversation communication.
12492
+ *
12493
+ * @param {String} conversationId conversationId
12494
+ * @param {String} participantId participantId
12495
+ * @param {String} communicationId communicationId
12496
+ * @param {Object} opts Optional parameters
12497
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
12498
+ */
12499
+ getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
12500
+ opts = opts || {};
12501
+
12502
+ // verify the required parameter 'conversationId' is set
12503
+ if (conversationId === undefined || conversationId === null) {
12504
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
12505
+ }
12506
+ // verify the required parameter 'participantId' is set
12507
+ if (participantId === undefined || participantId === null) {
12508
+ throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
12509
+ }
12510
+ // verify the required parameter 'communicationId' is set
12511
+ if (communicationId === undefined || communicationId === null) {
12512
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
12513
+ }
12514
+
12515
+ return this.apiClient.callApi(
12516
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
12517
+ 'GET',
12518
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
12519
+ { 'provisional': opts['provisional'] },
12520
+ { },
12521
+ { },
12522
+ null,
12523
+ ['PureCloud OAuth'],
12524
+ ['application/json'],
12525
+ ['application/json']
12526
+ );
12527
+ }
12528
+
12373
12529
  /**
12374
12530
  * Get the wrap-up for this conversation participant.
12375
12531
  *
@@ -12559,6 +12715,45 @@ class ConversationsApi {
12559
12715
  );
12560
12716
  }
12561
12717
 
12718
+ /**
12719
+ * Get the wrap-up for this conversation communication.
12720
+ *
12721
+ * @param {String} conversationId conversationId
12722
+ * @param {String} participantId participantId
12723
+ * @param {String} communicationId communicationId
12724
+ * @param {Object} opts Optional parameters
12725
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
12726
+ */
12727
+ getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
12728
+ opts = opts || {};
12729
+
12730
+ // verify the required parameter 'conversationId' is set
12731
+ if (conversationId === undefined || conversationId === null) {
12732
+ throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
12733
+ }
12734
+ // verify the required parameter 'participantId' is set
12735
+ if (participantId === undefined || participantId === null) {
12736
+ throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
12737
+ }
12738
+ // verify the required parameter 'communicationId' is set
12739
+ if (communicationId === undefined || communicationId === null) {
12740
+ throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
12741
+ }
12742
+
12743
+ return this.apiClient.callApi(
12744
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
12745
+ 'GET',
12746
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
12747
+ { 'provisional': opts['provisional'] },
12748
+ { },
12749
+ { },
12750
+ null,
12751
+ ['PureCloud OAuth'],
12752
+ ['application/json'],
12753
+ ['application/json']
12754
+ );
12755
+ }
12756
+
12562
12757
  /**
12563
12758
  * Get the wrap-up for this conversation participant.
12564
12759
  *
@@ -12836,6 +13031,45 @@ class ConversationsApi {
12836
13031
  );
12837
13032
  }
12838
13033
 
13034
+ /**
13035
+ * Get the wrap-up for this conversation communication.
13036
+ *
13037
+ * @param {String} conversationId conversationId
13038
+ * @param {String} participantId participantId
13039
+ * @param {String} communicationId communicationId
13040
+ * @param {Object} opts Optional parameters
13041
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
13042
+ */
13043
+ getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13044
+ opts = opts || {};
13045
+
13046
+ // verify the required parameter 'conversationId' is set
13047
+ if (conversationId === undefined || conversationId === null) {
13048
+ throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
13049
+ }
13050
+ // verify the required parameter 'participantId' is set
13051
+ if (participantId === undefined || participantId === null) {
13052
+ throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
13053
+ }
13054
+ // verify the required parameter 'communicationId' is set
13055
+ if (communicationId === undefined || communicationId === null) {
13056
+ throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
13057
+ }
13058
+
13059
+ return this.apiClient.callApi(
13060
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13061
+ 'GET',
13062
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13063
+ { 'provisional': opts['provisional'] },
13064
+ { },
13065
+ { },
13066
+ null,
13067
+ ['PureCloud OAuth'],
13068
+ ['application/json'],
13069
+ ['application/json']
13070
+ );
13071
+ }
13072
+
12839
13073
  /**
12840
13074
  * Get the wrap-up for this conversation participant.
12841
13075
  *
@@ -13373,6 +13607,143 @@ class ConversationsApi {
13373
13607
  );
13374
13608
  }
13375
13609
 
13610
+ /**
13611
+ * Get the wrap-up for this conversation communication.
13612
+ *
13613
+ * @param {String} conversationId conversationId
13614
+ * @param {String} participantId participantId
13615
+ * @param {String} communicationId communicationId
13616
+ * @param {Object} opts Optional parameters
13617
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
13618
+ */
13619
+ getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13620
+ opts = opts || {};
13621
+
13622
+ // verify the required parameter 'conversationId' is set
13623
+ if (conversationId === undefined || conversationId === null) {
13624
+ throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
13625
+ }
13626
+ // verify the required parameter 'participantId' is set
13627
+ if (participantId === undefined || participantId === null) {
13628
+ throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
13629
+ }
13630
+ // verify the required parameter 'communicationId' is set
13631
+ if (communicationId === undefined || communicationId === null) {
13632
+ throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
13633
+ }
13634
+
13635
+ return this.apiClient.callApi(
13636
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13637
+ 'GET',
13638
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13639
+ { 'provisional': opts['provisional'] },
13640
+ { },
13641
+ { },
13642
+ null,
13643
+ ['PureCloud OAuth'],
13644
+ ['application/json'],
13645
+ ['application/json']
13646
+ );
13647
+ }
13648
+
13649
+ /**
13650
+ * Get Settings
13651
+ *
13652
+ */
13653
+ getConversationsSettings() {
13654
+
13655
+ return this.apiClient.callApi(
13656
+ '/api/v2/conversations/settings',
13657
+ 'GET',
13658
+ { },
13659
+ { },
13660
+ { },
13661
+ { },
13662
+ null,
13663
+ ['PureCloud OAuth'],
13664
+ ['application/json'],
13665
+ ['application/json']
13666
+ );
13667
+ }
13668
+
13669
+ /**
13670
+ * Get the wrap-up for this conversation communication.
13671
+ *
13672
+ * @param {String} conversationId conversationId
13673
+ * @param {String} participantId participantId
13674
+ * @param {String} communicationId communicationId
13675
+ * @param {Object} opts Optional parameters
13676
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
13677
+ */
13678
+ getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13679
+ opts = opts || {};
13680
+
13681
+ // verify the required parameter 'conversationId' is set
13682
+ if (conversationId === undefined || conversationId === null) {
13683
+ throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
13684
+ }
13685
+ // verify the required parameter 'participantId' is set
13686
+ if (participantId === undefined || participantId === null) {
13687
+ throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
13688
+ }
13689
+ // verify the required parameter 'communicationId' is set
13690
+ if (communicationId === undefined || communicationId === null) {
13691
+ throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
13692
+ }
13693
+
13694
+ return this.apiClient.callApi(
13695
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13696
+ 'GET',
13697
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13698
+ { 'provisional': opts['provisional'] },
13699
+ { },
13700
+ { },
13701
+ null,
13702
+ ['PureCloud OAuth'],
13703
+ ['application/json'],
13704
+ ['application/json']
13705
+ );
13706
+ }
13707
+
13708
+ /**
13709
+ * Get the wrap-up for this conversation communication.
13710
+ *
13711
+ * @param {String} conversationId conversationId
13712
+ * @param {String} participantId participantId
13713
+ * @param {String} communicationId communicationId
13714
+ * @param {Object} opts Optional parameters
13715
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
13716
+ */
13717
+ getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13718
+ opts = opts || {};
13719
+
13720
+ // verify the required parameter 'conversationId' is set
13721
+ if (conversationId === undefined || conversationId === null) {
13722
+ throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
13723
+ }
13724
+ // verify the required parameter 'participantId' is set
13725
+ if (participantId === undefined || participantId === null) {
13726
+ throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
13727
+ }
13728
+ // verify the required parameter 'communicationId' is set
13729
+ if (communicationId === undefined || communicationId === null) {
13730
+ throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
13731
+ }
13732
+
13733
+ return this.apiClient.callApi(
13734
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13735
+ 'GET',
13736
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13737
+ { 'provisional': opts['provisional'] },
13738
+ { },
13739
+ { },
13740
+ null,
13741
+ ['PureCloud OAuth'],
13742
+ ['application/json'],
13743
+ ['application/json']
13744
+ );
13745
+ }
13746
+
13376
13747
  /**
13377
13748
  * Update a participant.
13378
13749
  * Update conversation participant.
@@ -14519,6 +14890,31 @@ class ConversationsApi {
14519
14890
  );
14520
14891
  }
14521
14892
 
14893
+ /**
14894
+ * Update Settings
14895
+ *
14896
+ * @param {Object} body Settings
14897
+ */
14898
+ patchConversationsSettings(body) {
14899
+ // verify the required parameter 'body' is set
14900
+ if (body === undefined || body === null) {
14901
+ throw 'Missing the required parameter "body" when calling patchConversationsSettings';
14902
+ }
14903
+
14904
+ return this.apiClient.callApi(
14905
+ '/api/v2/conversations/settings',
14906
+ 'PATCH',
14907
+ { },
14908
+ { },
14909
+ { },
14910
+ { },
14911
+ body,
14912
+ ['PureCloud OAuth'],
14913
+ ['application/json'],
14914
+ ['application/json']
14915
+ );
14916
+ }
14917
+
14522
14918
  /**
14523
14919
  * Index conversation properties
14524
14920
  *
@@ -14901,6 +15297,45 @@ class ConversationsApi {
14901
15297
  );
14902
15298
  }
14903
15299
 
15300
+ /**
15301
+ * Apply wrap-up for this conversation communication
15302
+ *
15303
+ * @param {String} conversationId conversationId
15304
+ * @param {String} participantId participantId
15305
+ * @param {String} communicationId communicationId
15306
+ * @param {Object} opts Optional parameters
15307
+ * @param {Object} opts.body Wrap-up
15308
+ */
15309
+ postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
15310
+ opts = opts || {};
15311
+
15312
+ // verify the required parameter 'conversationId' is set
15313
+ if (conversationId === undefined || conversationId === null) {
15314
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
15315
+ }
15316
+ // verify the required parameter 'participantId' is set
15317
+ if (participantId === undefined || participantId === null) {
15318
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
15319
+ }
15320
+ // verify the required parameter 'communicationId' is set
15321
+ if (communicationId === undefined || communicationId === null) {
15322
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
15323
+ }
15324
+
15325
+ return this.apiClient.callApi(
15326
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
15327
+ 'POST',
15328
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
15329
+ { },
15330
+ { },
15331
+ { },
15332
+ opts['body'],
15333
+ ['PureCloud OAuth'],
15334
+ ['application/json'],
15335
+ ['application/json']
15336
+ );
15337
+ }
15338
+
14904
15339
  /**
14905
15340
  * Initiate and update consult transfer
14906
15341
  *
@@ -15031,6 +15466,45 @@ class ConversationsApi {
15031
15466
  );
15032
15467
  }
15033
15468
 
15469
+ /**
15470
+ * Apply wrap-up for this conversation communication
15471
+ *
15472
+ * @param {String} conversationId conversationId
15473
+ * @param {String} participantId participantId
15474
+ * @param {String} communicationId communicationId
15475
+ * @param {Object} opts Optional parameters
15476
+ * @param {Object} opts.body Wrap-up
15477
+ */
15478
+ postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
15479
+ opts = opts || {};
15480
+
15481
+ // verify the required parameter 'conversationId' is set
15482
+ if (conversationId === undefined || conversationId === null) {
15483
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
15484
+ }
15485
+ // verify the required parameter 'participantId' is set
15486
+ if (participantId === undefined || participantId === null) {
15487
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
15488
+ }
15489
+ // verify the required parameter 'communicationId' is set
15490
+ if (communicationId === undefined || communicationId === null) {
15491
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
15492
+ }
15493
+
15494
+ return this.apiClient.callApi(
15495
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
15496
+ 'POST',
15497
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
15498
+ { },
15499
+ { },
15500
+ { },
15501
+ opts['body'],
15502
+ ['PureCloud OAuth'],
15503
+ ['application/json'],
15504
+ ['application/json']
15505
+ );
15506
+ }
15507
+
15034
15508
  /**
15035
15509
  * Replace this participant with the specified user and/or address
15036
15510
  *
@@ -15231,6 +15705,45 @@ class ConversationsApi {
15231
15705
  );
15232
15706
  }
15233
15707
 
15708
+ /**
15709
+ * Apply wrap-up for this conversation communication
15710
+ *
15711
+ * @param {String} conversationId conversationId
15712
+ * @param {String} participantId participantId
15713
+ * @param {String} communicationId communicationId
15714
+ * @param {Object} opts Optional parameters
15715
+ * @param {Object} opts.body Wrap-up
15716
+ */
15717
+ postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
15718
+ opts = opts || {};
15719
+
15720
+ // verify the required parameter 'conversationId' is set
15721
+ if (conversationId === undefined || conversationId === null) {
15722
+ throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
15723
+ }
15724
+ // verify the required parameter 'participantId' is set
15725
+ if (participantId === undefined || participantId === null) {
15726
+ throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
15727
+ }
15728
+ // verify the required parameter 'communicationId' is set
15729
+ if (communicationId === undefined || communicationId === null) {
15730
+ throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
15731
+ }
15732
+
15733
+ return this.apiClient.callApi(
15734
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
15735
+ 'POST',
15736
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
15737
+ { },
15738
+ { },
15739
+ { },
15740
+ opts['body'],
15741
+ ['PureCloud OAuth'],
15742
+ ['application/json'],
15743
+ ['application/json']
15744
+ );
15745
+ }
15746
+
15234
15747
  /**
15235
15748
  * Replace this participant with the specified user and/or address
15236
15749
  *
@@ -15291,6 +15804,45 @@ class ConversationsApi {
15291
15804
  );
15292
15805
  }
15293
15806
 
15807
+ /**
15808
+ * Apply wrap-up for this conversation communication
15809
+ *
15810
+ * @param {String} conversationId conversationId
15811
+ * @param {String} participantId participantId
15812
+ * @param {String} communicationId communicationId
15813
+ * @param {Object} opts Optional parameters
15814
+ * @param {Object} opts.body Wrap-up
15815
+ */
15816
+ postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
15817
+ opts = opts || {};
15818
+
15819
+ // verify the required parameter 'conversationId' is set
15820
+ if (conversationId === undefined || conversationId === null) {
15821
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
15822
+ }
15823
+ // verify the required parameter 'participantId' is set
15824
+ if (participantId === undefined || participantId === null) {
15825
+ throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
15826
+ }
15827
+ // verify the required parameter 'communicationId' is set
15828
+ if (communicationId === undefined || communicationId === null) {
15829
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
15830
+ }
15831
+
15832
+ return this.apiClient.callApi(
15833
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
15834
+ 'POST',
15835
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
15836
+ { },
15837
+ { },
15838
+ { },
15839
+ opts['body'],
15840
+ ['PureCloud OAuth'],
15841
+ ['application/json'],
15842
+ ['application/json']
15843
+ );
15844
+ }
15845
+
15294
15846
  /**
15295
15847
  * Replace this participant with the specified user and/or address
15296
15848
  *
@@ -15415,6 +15967,45 @@ class ConversationsApi {
15415
15967
  );
15416
15968
  }
15417
15969
 
15970
+ /**
15971
+ * Apply wrap-up for this conversation communication
15972
+ *
15973
+ * @param {String} conversationId conversationId
15974
+ * @param {String} participantId participantId
15975
+ * @param {String} communicationId communicationId
15976
+ * @param {Object} opts Optional parameters
15977
+ * @param {Object} opts.body Wrap-up
15978
+ */
15979
+ postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
15980
+ opts = opts || {};
15981
+
15982
+ // verify the required parameter 'conversationId' is set
15983
+ if (conversationId === undefined || conversationId === null) {
15984
+ throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
15985
+ }
15986
+ // verify the required parameter 'participantId' is set
15987
+ if (participantId === undefined || participantId === null) {
15988
+ throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
15989
+ }
15990
+ // verify the required parameter 'communicationId' is set
15991
+ if (communicationId === undefined || communicationId === null) {
15992
+ throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
15993
+ }
15994
+
15995
+ return this.apiClient.callApi(
15996
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
15997
+ 'POST',
15998
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
15999
+ { },
16000
+ { },
16001
+ { },
16002
+ opts['body'],
16003
+ ['PureCloud OAuth'],
16004
+ ['application/json'],
16005
+ ['application/json']
16006
+ );
16007
+ }
16008
+
15418
16009
  /**
15419
16010
  * Replace this participant with the specified user and/or address
15420
16011
  *
@@ -15709,6 +16300,45 @@ class ConversationsApi {
15709
16300
  );
15710
16301
  }
15711
16302
 
16303
+ /**
16304
+ * Apply wrap-up for this conversation communication
16305
+ *
16306
+ * @param {String} conversationId conversationId
16307
+ * @param {String} participantId participantId
16308
+ * @param {String} communicationId communicationId
16309
+ * @param {Object} opts Optional parameters
16310
+ * @param {Object} opts.body Wrap-up
16311
+ */
16312
+ postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16313
+ opts = opts || {};
16314
+
16315
+ // verify the required parameter 'conversationId' is set
16316
+ if (conversationId === undefined || conversationId === null) {
16317
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
16318
+ }
16319
+ // verify the required parameter 'participantId' is set
16320
+ if (participantId === undefined || participantId === null) {
16321
+ throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
16322
+ }
16323
+ // verify the required parameter 'communicationId' is set
16324
+ if (communicationId === undefined || communicationId === null) {
16325
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
16326
+ }
16327
+
16328
+ return this.apiClient.callApi(
16329
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
16330
+ 'POST',
16331
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
16332
+ { },
16333
+ { },
16334
+ { },
16335
+ opts['body'],
16336
+ ['PureCloud OAuth'],
16337
+ ['application/json'],
16338
+ ['application/json']
16339
+ );
16340
+ }
16341
+
15712
16342
  /**
15713
16343
  * Replace this participant with the specified user and/or address
15714
16344
  *
@@ -15994,6 +16624,123 @@ class ConversationsApi {
15994
16624
  );
15995
16625
  }
15996
16626
 
16627
+ /**
16628
+ * Apply wrap-up for this conversation communication
16629
+ *
16630
+ * @param {String} conversationId conversationId
16631
+ * @param {String} participantId participantId
16632
+ * @param {String} communicationId communicationId
16633
+ * @param {Object} opts Optional parameters
16634
+ * @param {Object} opts.body Wrap-up
16635
+ */
16636
+ postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16637
+ opts = opts || {};
16638
+
16639
+ // verify the required parameter 'conversationId' is set
16640
+ if (conversationId === undefined || conversationId === null) {
16641
+ throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
16642
+ }
16643
+ // verify the required parameter 'participantId' is set
16644
+ if (participantId === undefined || participantId === null) {
16645
+ throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
16646
+ }
16647
+ // verify the required parameter 'communicationId' is set
16648
+ if (communicationId === undefined || communicationId === null) {
16649
+ throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
16650
+ }
16651
+
16652
+ return this.apiClient.callApi(
16653
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
16654
+ 'POST',
16655
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
16656
+ { },
16657
+ { },
16658
+ { },
16659
+ opts['body'],
16660
+ ['PureCloud OAuth'],
16661
+ ['application/json'],
16662
+ ['application/json']
16663
+ );
16664
+ }
16665
+
16666
+ /**
16667
+ * Apply wrap-up for this conversation communication
16668
+ *
16669
+ * @param {String} conversationId conversationId
16670
+ * @param {String} participantId participantId
16671
+ * @param {String} communicationId communicationId
16672
+ * @param {Object} opts Optional parameters
16673
+ * @param {Object} opts.body Wrap-up
16674
+ */
16675
+ postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16676
+ opts = opts || {};
16677
+
16678
+ // verify the required parameter 'conversationId' is set
16679
+ if (conversationId === undefined || conversationId === null) {
16680
+ throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
16681
+ }
16682
+ // verify the required parameter 'participantId' is set
16683
+ if (participantId === undefined || participantId === null) {
16684
+ throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
16685
+ }
16686
+ // verify the required parameter 'communicationId' is set
16687
+ if (communicationId === undefined || communicationId === null) {
16688
+ throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
16689
+ }
16690
+
16691
+ return this.apiClient.callApi(
16692
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
16693
+ 'POST',
16694
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
16695
+ { },
16696
+ { },
16697
+ { },
16698
+ opts['body'],
16699
+ ['PureCloud OAuth'],
16700
+ ['application/json'],
16701
+ ['application/json']
16702
+ );
16703
+ }
16704
+
16705
+ /**
16706
+ * Apply wrap-up for this conversation communication
16707
+ *
16708
+ * @param {String} conversationId conversationId
16709
+ * @param {String} participantId participantId
16710
+ * @param {String} communicationId communicationId
16711
+ * @param {Object} opts Optional parameters
16712
+ * @param {Object} opts.body Wrap-up
16713
+ */
16714
+ postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16715
+ opts = opts || {};
16716
+
16717
+ // verify the required parameter 'conversationId' is set
16718
+ if (conversationId === undefined || conversationId === null) {
16719
+ throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
16720
+ }
16721
+ // verify the required parameter 'participantId' is set
16722
+ if (participantId === undefined || participantId === null) {
16723
+ throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
16724
+ }
16725
+ // verify the required parameter 'communicationId' is set
16726
+ if (communicationId === undefined || communicationId === null) {
16727
+ throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
16728
+ }
16729
+
16730
+ return this.apiClient.callApi(
16731
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
16732
+ 'POST',
16733
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
16734
+ { },
16735
+ { },
16736
+ { },
16737
+ opts['body'],
16738
+ ['PureCloud OAuth'],
16739
+ ['application/json'],
16740
+ ['application/json']
16741
+ );
16742
+ }
16743
+
15997
16744
  /**
15998
16745
  * Set flagged reason on conversation participant to indicate bad conversation quality.
15999
16746
  *
@@ -16540,7 +17287,7 @@ class DataExtensionsApi {
16540
17287
  /**
16541
17288
  * DataExtensions service.
16542
17289
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16543
- * @version 160.0.0
17290
+ * @version 161.0.0
16544
17291
  */
16545
17292
 
16546
17293
  /**
@@ -16626,7 +17373,7 @@ class DownloadsApi {
16626
17373
  /**
16627
17374
  * Downloads service.
16628
17375
  * @module purecloud-platform-client-v2/api/DownloadsApi
16629
- * @version 160.0.0
17376
+ * @version 161.0.0
16630
17377
  */
16631
17378
 
16632
17379
  /**
@@ -16678,7 +17425,7 @@ class EventsApi {
16678
17425
  /**
16679
17426
  * Events service.
16680
17427
  * @module purecloud-platform-client-v2/api/EventsApi
16681
- * @version 160.0.0
17428
+ * @version 161.0.0
16682
17429
  */
16683
17430
 
16684
17431
  /**
@@ -16774,7 +17521,7 @@ class ExternalContactsApi {
16774
17521
  /**
16775
17522
  * ExternalContacts service.
16776
17523
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16777
- * @version 160.0.0
17524
+ * @version 161.0.0
16778
17525
  */
16779
17526
 
16780
17527
  /**
@@ -18732,7 +19479,7 @@ class FaxApi {
18732
19479
  /**
18733
19480
  * Fax service.
18734
19481
  * @module purecloud-platform-client-v2/api/FaxApi
18735
- * @version 160.0.0
19482
+ * @version 161.0.0
18736
19483
  */
18737
19484
 
18738
19485
  /**
@@ -18903,7 +19650,7 @@ class FlowsApi {
18903
19650
  /**
18904
19651
  * Flows service.
18905
19652
  * @module purecloud-platform-client-v2/api/FlowsApi
18906
- * @version 160.0.0
19653
+ * @version 161.0.0
18907
19654
  */
18908
19655
 
18909
19656
  /**
@@ -18974,7 +19721,7 @@ class GamificationApi {
18974
19721
  /**
18975
19722
  * Gamification service.
18976
19723
  * @module purecloud-platform-client-v2/api/GamificationApi
18977
- * @version 160.0.0
19724
+ * @version 161.0.0
18978
19725
  */
18979
19726
 
18980
19727
  /**
@@ -20591,7 +21338,7 @@ class GeneralDataProtectionRegulationApi {
20591
21338
  /**
20592
21339
  * GeneralDataProtectionRegulation service.
20593
21340
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20594
- * @version 160.0.0
21341
+ * @version 161.0.0
20595
21342
  */
20596
21343
 
20597
21344
  /**
@@ -20721,7 +21468,7 @@ class GeolocationApi {
20721
21468
  /**
20722
21469
  * Geolocation service.
20723
21470
  * @module purecloud-platform-client-v2/api/GeolocationApi
20724
- * @version 160.0.0
21471
+ * @version 161.0.0
20725
21472
  */
20726
21473
 
20727
21474
  /**
@@ -20852,7 +21599,7 @@ class GreetingsApi {
20852
21599
  /**
20853
21600
  * Greetings service.
20854
21601
  * @module purecloud-platform-client-v2/api/GreetingsApi
20855
- * @version 160.0.0
21602
+ * @version 161.0.0
20856
21603
  */
20857
21604
 
20858
21605
  /**
@@ -21307,7 +22054,7 @@ class GroupsApi {
21307
22054
  /**
21308
22055
  * Groups service.
21309
22056
  * @module purecloud-platform-client-v2/api/GroupsApi
21310
- * @version 160.0.0
22057
+ * @version 161.0.0
21311
22058
  */
21312
22059
 
21313
22060
  /**
@@ -21713,7 +22460,7 @@ class IdentityProviderApi {
21713
22460
  /**
21714
22461
  * IdentityProvider service.
21715
22462
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21716
- * @version 160.0.0
22463
+ * @version 161.0.0
21717
22464
  */
21718
22465
 
21719
22466
  /**
@@ -22469,7 +23216,7 @@ class InfrastructureAsCodeApi {
22469
23216
  /**
22470
23217
  * InfrastructureAsCode service.
22471
23218
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
22472
- * @version 160.0.0
23219
+ * @version 161.0.0
22473
23220
  */
22474
23221
 
22475
23222
  /**
@@ -22571,7 +23318,7 @@ class IntegrationsApi {
22571
23318
  /**
22572
23319
  * Integrations service.
22573
23320
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22574
- * @version 160.0.0
23321
+ * @version 161.0.0
22575
23322
  */
22576
23323
 
22577
23324
  /**
@@ -24171,7 +24918,7 @@ class JourneyApi {
24171
24918
  /**
24172
24919
  * Journey service.
24173
24920
  * @module purecloud-platform-client-v2/api/JourneyApi
24174
- * @version 160.0.0
24921
+ * @version 161.0.0
24175
24922
  */
24176
24923
 
24177
24924
  /**
@@ -25051,7 +25798,7 @@ class KnowledgeApi {
25051
25798
  /**
25052
25799
  * Knowledge service.
25053
25800
  * @module purecloud-platform-client-v2/api/KnowledgeApi
25054
- * @version 160.0.0
25801
+ * @version 161.0.0
25055
25802
  */
25056
25803
 
25057
25804
  /**
@@ -27483,7 +28230,7 @@ class LanguageUnderstandingApi {
27483
28230
  /**
27484
28231
  * LanguageUnderstanding service.
27485
28232
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
27486
- * @version 160.0.0
28233
+ * @version 161.0.0
27487
28234
  */
27488
28235
 
27489
28236
  /**
@@ -28496,7 +29243,7 @@ class LanguagesApi {
28496
29243
  /**
28497
29244
  * Languages service.
28498
29245
  * @module purecloud-platform-client-v2/api/LanguagesApi
28499
- * @version 160.0.0
29246
+ * @version 161.0.0
28500
29247
  */
28501
29248
 
28502
29249
  /**
@@ -28714,7 +29461,7 @@ class LearningApi {
28714
29461
  /**
28715
29462
  * Learning service.
28716
29463
  * @module purecloud-platform-client-v2/api/LearningApi
28717
- * @version 160.0.0
29464
+ * @version 161.0.0
28718
29465
  */
28719
29466
 
28720
29467
  /**
@@ -29529,7 +30276,7 @@ class LicenseApi {
29529
30276
  /**
29530
30277
  * License service.
29531
30278
  * @module purecloud-platform-client-v2/api/LicenseApi
29532
- * @version 160.0.0
30279
+ * @version 161.0.0
29533
30280
  */
29534
30281
 
29535
30282
  /**
@@ -29767,7 +30514,7 @@ class LocationsApi {
29767
30514
  /**
29768
30515
  * Locations service.
29769
30516
  * @module purecloud-platform-client-v2/api/LocationsApi
29770
- * @version 160.0.0
30517
+ * @version 161.0.0
29771
30518
  */
29772
30519
 
29773
30520
  /**
@@ -30003,7 +30750,7 @@ class MessagingApi {
30003
30750
  /**
30004
30751
  * Messaging service.
30005
30752
  * @module purecloud-platform-client-v2/api/MessagingApi
30006
- * @version 160.0.0
30753
+ * @version 161.0.0
30007
30754
  */
30008
30755
 
30009
30756
  /**
@@ -30154,7 +30901,7 @@ class MobileDevicesApi {
30154
30901
  /**
30155
30902
  * MobileDevices service.
30156
30903
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
30157
- * @version 160.0.0
30904
+ * @version 161.0.0
30158
30905
  */
30159
30906
 
30160
30907
  /**
@@ -30305,7 +31052,7 @@ class NotificationsApi {
30305
31052
  /**
30306
31053
  * Notifications service.
30307
31054
  * @module purecloud-platform-client-v2/api/NotificationsApi
30308
- * @version 160.0.0
31055
+ * @version 161.0.0
30309
31056
  */
30310
31057
 
30311
31058
  /**
@@ -30538,7 +31285,7 @@ class OAuthApi {
30538
31285
  /**
30539
31286
  * OAuth service.
30540
31287
  * @module purecloud-platform-client-v2/api/OAuthApi
30541
- * @version 160.0.0
31288
+ * @version 161.0.0
30542
31289
  */
30543
31290
 
30544
31291
  /**
@@ -30904,7 +31651,7 @@ class ObjectsApi {
30904
31651
  /**
30905
31652
  * Objects service.
30906
31653
  * @module purecloud-platform-client-v2/api/ObjectsApi
30907
- * @version 160.0.0
31654
+ * @version 161.0.0
30908
31655
  */
30909
31656
 
30910
31657
  /**
@@ -31175,7 +31922,7 @@ class OrganizationApi {
31175
31922
  /**
31176
31923
  * Organization service.
31177
31924
  * @module purecloud-platform-client-v2/api/OrganizationApi
31178
- * @version 160.0.0
31925
+ * @version 161.0.0
31179
31926
  */
31180
31927
 
31181
31928
  /**
@@ -31578,7 +32325,7 @@ class OrganizationAuthorizationApi {
31578
32325
  /**
31579
32326
  * OrganizationAuthorization service.
31580
32327
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31581
- * @version 160.0.0
32328
+ * @version 161.0.0
31582
32329
  */
31583
32330
 
31584
32331
  /**
@@ -32873,7 +33620,7 @@ class OutboundApi {
32873
33620
  /**
32874
33621
  * Outbound service.
32875
33622
  * @module purecloud-platform-client-v2/api/OutboundApi
32876
- * @version 160.0.0
33623
+ * @version 161.0.0
32877
33624
  */
32878
33625
 
32879
33626
  /**
@@ -36469,7 +37216,7 @@ class PresenceApi {
36469
37216
  /**
36470
37217
  * Presence service.
36471
37218
  * @module purecloud-platform-client-v2/api/PresenceApi
36472
- * @version 160.0.0
37219
+ * @version 161.0.0
36473
37220
  */
36474
37221
 
36475
37222
  /**
@@ -36534,6 +37281,26 @@ class PresenceApi {
36534
37281
  );
36535
37282
  }
36536
37283
 
37284
+ /**
37285
+ * Get the presence settings
37286
+ *
37287
+ */
37288
+ getPresenceSettings() {
37289
+
37290
+ return this.apiClient.callApi(
37291
+ '/api/v2/presence/settings',
37292
+ 'GET',
37293
+ { },
37294
+ { },
37295
+ { },
37296
+ { },
37297
+ null,
37298
+ ['PureCloud OAuth'],
37299
+ ['application/json'],
37300
+ ['application/json']
37301
+ );
37302
+ }
37303
+
36537
37304
  /**
36538
37305
  * Get a Presence Source
36539
37306
  *
@@ -36854,6 +37621,31 @@ class PresenceApi {
36854
37621
  );
36855
37622
  }
36856
37623
 
37624
+ /**
37625
+ * Update the presence settings
37626
+ *
37627
+ * @param {Object} body Presence Settings
37628
+ */
37629
+ putPresenceSettings(body) {
37630
+ // verify the required parameter 'body' is set
37631
+ if (body === undefined || body === null) {
37632
+ throw 'Missing the required parameter "body" when calling putPresenceSettings';
37633
+ }
37634
+
37635
+ return this.apiClient.callApi(
37636
+ '/api/v2/presence/settings',
37637
+ 'PUT',
37638
+ { },
37639
+ { },
37640
+ { },
37641
+ { },
37642
+ body,
37643
+ ['PureCloud OAuth'],
37644
+ ['application/json'],
37645
+ ['application/json']
37646
+ );
37647
+ }
37648
+
36857
37649
  /**
36858
37650
  * Update a Presence Source
36859
37651
  *
@@ -36975,7 +37767,7 @@ class ProcessAutomationApi {
36975
37767
  /**
36976
37768
  * ProcessAutomation service.
36977
37769
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
36978
- * @version 160.0.0
37770
+ * @version 161.0.0
36979
37771
  */
36980
37772
 
36981
37773
  /**
@@ -37214,7 +38006,7 @@ class QualityApi {
37214
38006
  /**
37215
38007
  * Quality service.
37216
38008
  * @module purecloud-platform-client-v2/api/QualityApi
37217
- * @version 160.0.0
38009
+ * @version 161.0.0
37218
38010
  */
37219
38011
 
37220
38012
  /**
@@ -37607,7 +38399,7 @@ class QualityApi {
37607
38399
  * @param {Boolean} opts.agentHasRead agent has the evaluation
37608
38400
  * @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
37609
38401
  * @param {Number} opts.maximum maximum
37610
- * @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'
38402
+ * @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
37611
38403
  */
37612
38404
  getQualityEvaluationsQuery(opts) {
37613
38405
  opts = opts || {};
@@ -38793,7 +39585,7 @@ class RecordingApi {
38793
39585
  /**
38794
39586
  * Recording service.
38795
39587
  * @module purecloud-platform-client-v2/api/RecordingApi
38796
- * @version 160.0.0
39588
+ * @version 161.0.0
38797
39589
  */
38798
39590
 
38799
39591
  /**
@@ -40430,7 +41222,7 @@ class ResponseManagementApi {
40430
41222
  /**
40431
41223
  * ResponseManagement service.
40432
41224
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
40433
- * @version 160.0.0
41225
+ * @version 161.0.0
40434
41226
  */
40435
41227
 
40436
41228
  /**
@@ -40914,7 +41706,7 @@ class RoutingApi {
40914
41706
  /**
40915
41707
  * Routing service.
40916
41708
  * @module purecloud-platform-client-v2/api/RoutingApi
40917
- * @version 160.0.0
41709
+ * @version 161.0.0
40918
41710
  */
40919
41711
 
40920
41712
  /**
@@ -42853,6 +43645,7 @@ class RoutingApi {
42853
43645
  * @param {Object} opts.sortBy Sort by (default to name)
42854
43646
  * @param {Object} opts.sortOrder Sort order (default to ascending)
42855
43647
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
43648
+ * @param {Array.<String>} opts.divisionId Filter by division ID(s)
42856
43649
  */
42857
43650
  getRoutingWrapupcodes(opts) {
42858
43651
  opts = opts || {};
@@ -42862,7 +43655,7 @@ class RoutingApi {
42862
43655
  '/api/v2/routing/wrapupcodes',
42863
43656
  'GET',
42864
43657
  { },
42865
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
43658
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
42866
43659
  { },
42867
43660
  { },
42868
43661
  null,
@@ -44414,7 +45207,7 @@ class SCIMApi {
44414
45207
  /**
44415
45208
  * SCIM service.
44416
45209
  * @module purecloud-platform-client-v2/api/SCIMApi
44417
- * @version 160.0.0
45210
+ * @version 161.0.0
44418
45211
  */
44419
45212
 
44420
45213
  /**
@@ -45291,7 +46084,7 @@ class ScriptsApi {
45291
46084
  /**
45292
46085
  * Scripts service.
45293
46086
  * @module purecloud-platform-client-v2/api/ScriptsApi
45294
- * @version 160.0.0
46087
+ * @version 161.0.0
45295
46088
  */
45296
46089
 
45297
46090
  /**
@@ -45710,7 +46503,7 @@ class SearchApi {
45710
46503
  /**
45711
46504
  * Search service.
45712
46505
  * @module purecloud-platform-client-v2/api/SearchApi
45713
- * @version 160.0.0
46506
+ * @version 161.0.0
45714
46507
  */
45715
46508
 
45716
46509
  /**
@@ -46320,7 +47113,7 @@ class SpeechTextAnalyticsApi {
46320
47113
  /**
46321
47114
  * SpeechTextAnalytics service.
46322
47115
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
46323
- * @version 160.0.0
47116
+ * @version 161.0.0
46324
47117
  */
46325
47118
 
46326
47119
  /**
@@ -47249,7 +48042,7 @@ class StationsApi {
47249
48042
  /**
47250
48043
  * Stations service.
47251
48044
  * @module purecloud-platform-client-v2/api/StationsApi
47252
- * @version 160.0.0
48045
+ * @version 161.0.0
47253
48046
  */
47254
48047
 
47255
48048
  /**
@@ -47396,7 +48189,7 @@ class SuggestApi {
47396
48189
  /**
47397
48190
  * Suggest service.
47398
48191
  * @module purecloud-platform-client-v2/api/SuggestApi
47399
- * @version 160.0.0
48192
+ * @version 161.0.0
47400
48193
  */
47401
48194
 
47402
48195
  /**
@@ -47535,7 +48328,7 @@ class TeamsApi {
47535
48328
  /**
47536
48329
  * Teams service.
47537
48330
  * @module purecloud-platform-client-v2/api/TeamsApi
47538
- * @version 160.0.0
48331
+ * @version 161.0.0
47539
48332
  */
47540
48333
 
47541
48334
  /**
@@ -47806,7 +48599,7 @@ class TelephonyApi {
47806
48599
  /**
47807
48600
  * Telephony service.
47808
48601
  * @module purecloud-platform-client-v2/api/TelephonyApi
47809
- * @version 160.0.0
48602
+ * @version 161.0.0
47810
48603
  */
47811
48604
 
47812
48605
  /**
@@ -47934,7 +48727,7 @@ class TelephonyProvidersEdgeApi {
47934
48727
  /**
47935
48728
  * TelephonyProvidersEdge service.
47936
48729
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
47937
- * @version 160.0.0
48730
+ * @version 161.0.0
47938
48731
  */
47939
48732
 
47940
48733
  /**
@@ -50957,31 +51750,6 @@ class TelephonyProvidersEdgeApi {
50957
51750
  );
50958
51751
  }
50959
51752
 
50960
- /**
50961
- * Triggers the rebalance operation.
50962
- *
50963
- * @param {String} siteId Site ID
50964
- */
50965
- postTelephonyProvidersEdgesSiteRebalance(siteId) {
50966
- // verify the required parameter 'siteId' is set
50967
- if (siteId === undefined || siteId === null) {
50968
- throw 'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteRebalance';
50969
- }
50970
-
50971
- return this.apiClient.callApi(
50972
- '/api/v2/telephony/providers/edges/sites/{siteId}/rebalance',
50973
- 'POST',
50974
- { 'siteId': siteId },
50975
- { },
50976
- { },
50977
- { },
50978
- null,
50979
- ['PureCloud OAuth'],
50980
- ['application/json'],
50981
- ['application/json']
50982
- );
50983
- }
50984
-
50985
51753
  /**
50986
51754
  * Create a Site.
50987
51755
  *
@@ -51568,7 +52336,7 @@ class TextbotsApi {
51568
52336
  /**
51569
52337
  * Textbots service.
51570
52338
  * @module purecloud-platform-client-v2/api/TextbotsApi
51571
- * @version 160.0.0
52339
+ * @version 161.0.0
51572
52340
  */
51573
52341
 
51574
52342
  /**
@@ -51696,7 +52464,7 @@ class TokensApi {
51696
52464
  /**
51697
52465
  * Tokens service.
51698
52466
  * @module purecloud-platform-client-v2/api/TokensApi
51699
- * @version 160.0.0
52467
+ * @version 161.0.0
51700
52468
  */
51701
52469
 
51702
52470
  /**
@@ -51802,7 +52570,7 @@ class UploadsApi {
51802
52570
  /**
51803
52571
  * Uploads service.
51804
52572
  * @module purecloud-platform-client-v2/api/UploadsApi
51805
- * @version 160.0.0
52573
+ * @version 161.0.0
51806
52574
  */
51807
52575
 
51808
52576
  /**
@@ -51978,7 +52746,7 @@ class UsageApi {
51978
52746
  /**
51979
52747
  * Usage service.
51980
52748
  * @module purecloud-platform-client-v2/api/UsageApi
51981
- * @version 160.0.0
52749
+ * @version 161.0.0
51982
52750
  */
51983
52751
 
51984
52752
  /**
@@ -52049,7 +52817,7 @@ class UserRecordingsApi {
52049
52817
  /**
52050
52818
  * UserRecordings service.
52051
52819
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
52052
- * @version 160.0.0
52820
+ * @version 161.0.0
52053
52821
  */
52054
52822
 
52055
52823
  /**
@@ -52234,7 +53002,7 @@ class UsersApi {
52234
53002
  /**
52235
53003
  * Users service.
52236
53004
  * @module purecloud-platform-client-v2/api/UsersApi
52237
- * @version 160.0.0
53005
+ * @version 161.0.0
52238
53006
  */
52239
53007
 
52240
53008
  /**
@@ -54622,7 +55390,7 @@ class UtilitiesApi {
54622
55390
  /**
54623
55391
  * Utilities service.
54624
55392
  * @module purecloud-platform-client-v2/api/UtilitiesApi
54625
- * @version 160.0.0
55393
+ * @version 161.0.0
54626
55394
  */
54627
55395
 
54628
55396
  /**
@@ -54733,7 +55501,7 @@ class VoicemailApi {
54733
55501
  /**
54734
55502
  * Voicemail service.
54735
55503
  * @module purecloud-platform-client-v2/api/VoicemailApi
54736
- * @version 160.0.0
55504
+ * @version 161.0.0
54737
55505
  */
54738
55506
 
54739
55507
  /**
@@ -55400,7 +56168,7 @@ class WebChatApi {
55400
56168
  /**
55401
56169
  * WebChat service.
55402
56170
  * @module purecloud-platform-client-v2/api/WebChatApi
55403
- * @version 160.0.0
56171
+ * @version 161.0.0
55404
56172
  */
55405
56173
 
55406
56174
  /**
@@ -55944,7 +56712,7 @@ class WebDeploymentsApi {
55944
56712
  /**
55945
56713
  * WebDeployments service.
55946
56714
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
55947
- * @version 160.0.0
56715
+ * @version 161.0.0
55948
56716
  */
55949
56717
 
55950
56718
  /**
@@ -56466,7 +57234,7 @@ class WebMessagingApi {
56466
57234
  /**
56467
57235
  * WebMessaging service.
56468
57236
  * @module purecloud-platform-client-v2/api/WebMessagingApi
56469
- * @version 160.0.0
57237
+ * @version 161.0.0
56470
57238
  */
56471
57239
 
56472
57240
  /**
@@ -56512,7 +57280,7 @@ class WidgetsApi {
56512
57280
  /**
56513
57281
  * Widgets service.
56514
57282
  * @module purecloud-platform-client-v2/api/WidgetsApi
56515
- * @version 160.0.0
57283
+ * @version 161.0.0
56516
57284
  */
56517
57285
 
56518
57286
  /**
@@ -56658,7 +57426,7 @@ class WorkforceManagementApi {
56658
57426
  /**
56659
57427
  * WorkforceManagement service.
56660
57428
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
56661
- * @version 160.0.0
57429
+ * @version 161.0.0
56662
57430
  */
56663
57431
 
56664
57432
  /**
@@ -61402,7 +62170,7 @@ class WorkforceManagementApi {
61402
62170
  * </pre>
61403
62171
  * </p>
61404
62172
  * @module purecloud-platform-client-v2/index
61405
- * @version 160.0.0
62173
+ * @version 161.0.0
61406
62174
  */
61407
62175
  class platformClient {
61408
62176
  constructor() {