purecloud-platform-client-v2 159.0.0 → 160.1.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 +1281 -177
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1281 -177
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +1281 -177
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +7744 -400
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +455 -168
  9. package/package.json +3 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
  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 +814 -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 +107 -0
  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 +55 -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 +13 -5
  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 +60 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -101
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
  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 +26 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -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 -1
  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 +32 -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 +26 -1
  78. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -397,9 +397,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
397
397
  }
398
398
  }
399
399
 
400
+ const { HttpsProxyAgent } = require('hpagent');
401
+
400
402
  /**
401
403
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 159.0.0
404
+ * @version 160.1.0
403
405
  */
404
406
  class ApiClient {
405
407
  /**
@@ -668,16 +670,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
668
670
  reject(new Error('The client credentials grant is not supported in a browser.'));
669
671
  return;
670
672
  }
671
-
672
673
  const headers = {
673
674
  'Authorization': `Basic ${authHeader}`
674
675
  };
676
+ let httpsAgent;
677
+ if (this.proxy !== undefined){
678
+ httpsAgent = new HttpsProxyAgent({
679
+ proxy : `${this.proxy.protocol}://${this.proxy.host}:${this.proxy.port}`
680
+ });
681
+ }
675
682
  axios__default["default"]({
676
683
  method: `POST`,
677
684
  url: `https://login.${this.config.environment}/oauth/token`,
678
685
  headers: headers,
679
686
  data: 'grant_type=client_credentials',
680
- proxy: this.proxy
687
+ httpsAgent: httpsAgent
681
688
  })
682
689
  .then((response) => {
683
690
  // Logging
@@ -1374,10 +1381,16 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1374
1381
  sendRequest(this);
1375
1382
  function sendRequest(that) {
1376
1383
  var url = that.buildUrl(path, pathParams);
1384
+ let httpsAgent;
1385
+ if (that.proxy !== undefined){
1386
+ httpsAgent = new HttpsProxyAgent({
1387
+ proxy : `${that.proxy.protocol}://${that.proxy.host}:${that.proxy.port}`
1388
+ });
1389
+ }
1377
1390
  var request = {
1378
1391
  method: httpMethod,
1379
1392
  url: url,
1380
- proxy: that.proxy,
1393
+ httpsAgent: httpsAgent,
1381
1394
  timeout: that.timeout,
1382
1395
  params: that.serialize(queryParams)
1383
1396
  };
@@ -1478,7 +1491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1478
1491
  /**
1479
1492
  * Alerting service.
1480
1493
  * @module purecloud-platform-client-v2/api/AlertingApi
1481
- * @version 159.0.0
1494
+ * @version 160.1.0
1482
1495
  */
1483
1496
 
1484
1497
  /**
@@ -1792,7 +1805,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1792
1805
  /**
1793
1806
  * Analytics service.
1794
1807
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1795
- * @version 159.0.0
1808
+ * @version 160.1.0
1796
1809
  */
1797
1810
 
1798
1811
  /**
@@ -3046,7 +3059,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3046
3059
  /**
3047
3060
  * Architect service.
3048
3061
  * @module purecloud-platform-client-v2/api/ArchitectApi
3049
- * @version 159.0.0
3062
+ * @version 160.1.0
3050
3063
  */
3051
3064
 
3052
3065
  /**
@@ -6094,7 +6107,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6094
6107
  /**
6095
6108
  * Audit service.
6096
6109
  * @module purecloud-platform-client-v2/api/AuditApi
6097
- * @version 159.0.0
6110
+ * @version 160.1.0
6098
6111
  */
6099
6112
 
6100
6113
  /**
@@ -6265,7 +6278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6265
6278
  /**
6266
6279
  * Authorization service.
6267
6280
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6268
- * @version 159.0.0
6281
+ * @version 160.1.0
6269
6282
  */
6270
6283
 
6271
6284
  /**
@@ -7493,7 +7506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7493
7506
  /**
7494
7507
  * Billing service.
7495
7508
  * @module purecloud-platform-client-v2/api/BillingApi
7496
- * @version 159.0.0
7509
+ * @version 160.1.0
7497
7510
  */
7498
7511
 
7499
7512
  /**
@@ -7573,7 +7586,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7573
7586
  /**
7574
7587
  * Chat service.
7575
7588
  * @module purecloud-platform-client-v2/api/ChatApi
7576
- * @version 159.0.0
7589
+ * @version 160.1.0
7577
7590
  */
7578
7591
 
7579
7592
  /**
@@ -7664,7 +7677,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7664
7677
  /**
7665
7678
  * Coaching service.
7666
7679
  * @module purecloud-platform-client-v2/api/CoachingApi
7667
- * @version 159.0.0
7680
+ * @version 160.1.0
7668
7681
  */
7669
7682
 
7670
7683
  /**
@@ -8241,7 +8254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8241
8254
  /**
8242
8255
  * ContentManagement service.
8243
8256
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8244
- * @version 159.0.0
8257
+ * @version 160.1.0
8245
8258
  */
8246
8259
 
8247
8260
  /**
@@ -9381,7 +9394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9381
9394
  /**
9382
9395
  * Conversations service.
9383
9396
  * @module purecloud-platform-client-v2/api/ConversationsApi
9384
- * @version 159.0.0
9397
+ * @version 160.1.0
9385
9398
  */
9386
9399
 
9387
9400
  /**
@@ -10048,6 +10061,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10048
10061
  );
10049
10062
  }
10050
10063
 
10064
+ /**
10065
+ * Get the wrap-up for this conversation communication.
10066
+ *
10067
+ * @param {String} conversationId conversationId
10068
+ * @param {String} participantId participantId
10069
+ * @param {String} communicationId communicationId
10070
+ * @param {Object} opts Optional parameters
10071
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10072
+ */
10073
+ getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10074
+ opts = opts || {};
10075
+
10076
+ // verify the required parameter 'conversationId' is set
10077
+ if (conversationId === undefined || conversationId === null) {
10078
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
10079
+ }
10080
+ // verify the required parameter 'participantId' is set
10081
+ if (participantId === undefined || participantId === null) {
10082
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
10083
+ }
10084
+ // verify the required parameter 'communicationId' is set
10085
+ if (communicationId === undefined || communicationId === null) {
10086
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
10087
+ }
10088
+
10089
+ return this.apiClient.callApi(
10090
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10091
+ 'GET',
10092
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10093
+ { 'provisional': opts['provisional'] },
10094
+ { },
10095
+ { },
10096
+ null,
10097
+ ['PureCloud OAuth'],
10098
+ ['application/json'],
10099
+ ['application/json']
10100
+ );
10101
+ }
10102
+
10051
10103
  /**
10052
10104
  * Get the wrap-up for this conversation participant.
10053
10105
  *
@@ -10137,6 +10189,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10137
10189
  );
10138
10190
  }
10139
10191
 
10192
+ /**
10193
+ * Get the wrap-up for this conversation communication.
10194
+ *
10195
+ * @param {String} conversationId conversationId
10196
+ * @param {String} participantId participantId
10197
+ * @param {String} communicationId communicationId
10198
+ * @param {Object} opts Optional parameters
10199
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10200
+ */
10201
+ getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10202
+ opts = opts || {};
10203
+
10204
+ // verify the required parameter 'conversationId' is set
10205
+ if (conversationId === undefined || conversationId === null) {
10206
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10207
+ }
10208
+ // verify the required parameter 'participantId' is set
10209
+ if (participantId === undefined || participantId === null) {
10210
+ throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10211
+ }
10212
+ // verify the required parameter 'communicationId' is set
10213
+ if (communicationId === undefined || communicationId === null) {
10214
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
10215
+ }
10216
+
10217
+ return this.apiClient.callApi(
10218
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10219
+ 'GET',
10220
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10221
+ { 'provisional': opts['provisional'] },
10222
+ { },
10223
+ { },
10224
+ null,
10225
+ ['PureCloud OAuth'],
10226
+ ['application/json'],
10227
+ ['application/json']
10228
+ );
10229
+ }
10230
+
10140
10231
  /**
10141
10232
  * Get the wrap-up for this conversation participant.
10142
10233
  *
@@ -10375,6 +10466,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10375
10466
  );
10376
10467
  }
10377
10468
 
10469
+ /**
10470
+ * Get the wrap-up for this conversation communication.
10471
+ *
10472
+ * @param {String} conversationId conversationId
10473
+ * @param {String} participantId participantId
10474
+ * @param {String} communicationId communicationId
10475
+ * @param {Object} opts Optional parameters
10476
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10477
+ */
10478
+ getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10479
+ opts = opts || {};
10480
+
10481
+ // verify the required parameter 'conversationId' is set
10482
+ if (conversationId === undefined || conversationId === null) {
10483
+ throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
10484
+ }
10485
+ // verify the required parameter 'participantId' is set
10486
+ if (participantId === undefined || participantId === null) {
10487
+ throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
10488
+ }
10489
+ // verify the required parameter 'communicationId' is set
10490
+ if (communicationId === undefined || communicationId === null) {
10491
+ throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
10492
+ }
10493
+
10494
+ return this.apiClient.callApi(
10495
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10496
+ 'GET',
10497
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10498
+ { 'provisional': opts['provisional'] },
10499
+ { },
10500
+ { },
10501
+ null,
10502
+ ['PureCloud OAuth'],
10503
+ ['application/json'],
10504
+ ['application/json']
10505
+ );
10506
+ }
10507
+
10378
10508
  /**
10379
10509
  * Get the wrap-up for this conversation participant.
10380
10510
  *
@@ -10484,6 +10614,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10484
10614
  );
10485
10615
  }
10486
10616
 
10617
+ /**
10618
+ * Get the wrap-up for this conversation communication.
10619
+ *
10620
+ * @param {String} conversationId conversationId
10621
+ * @param {String} participantId participantId
10622
+ * @param {String} communicationId communicationId
10623
+ * @param {Object} opts Optional parameters
10624
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10625
+ */
10626
+ getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10627
+ opts = opts || {};
10628
+
10629
+ // verify the required parameter 'conversationId' is set
10630
+ if (conversationId === undefined || conversationId === null) {
10631
+ throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10632
+ }
10633
+ // verify the required parameter 'participantId' is set
10634
+ if (participantId === undefined || participantId === null) {
10635
+ throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10636
+ }
10637
+ // verify the required parameter 'communicationId' is set
10638
+ if (communicationId === undefined || communicationId === null) {
10639
+ throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
10640
+ }
10641
+
10642
+ return this.apiClient.callApi(
10643
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10644
+ 'GET',
10645
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10646
+ { 'provisional': opts['provisional'] },
10647
+ { },
10648
+ { },
10649
+ null,
10650
+ ['PureCloud OAuth'],
10651
+ ['application/json'],
10652
+ ['application/json']
10653
+ );
10654
+ }
10655
+
10487
10656
  /**
10488
10657
  * Get the wrap-up for this conversation participant.
10489
10658
  *
@@ -10673,6 +10842,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10673
10842
  );
10674
10843
  }
10675
10844
 
10845
+ /**
10846
+ * Get the wrap-up for this conversation communication.
10847
+ *
10848
+ * @param {String} conversationId conversationId
10849
+ * @param {String} participantId participantId
10850
+ * @param {String} communicationId communicationId
10851
+ * @param {Object} opts Optional parameters
10852
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
10853
+ */
10854
+ getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
10855
+ opts = opts || {};
10856
+
10857
+ // verify the required parameter 'conversationId' is set
10858
+ if (conversationId === undefined || conversationId === null) {
10859
+ throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
10860
+ }
10861
+ // verify the required parameter 'participantId' is set
10862
+ if (participantId === undefined || participantId === null) {
10863
+ throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
10864
+ }
10865
+ // verify the required parameter 'communicationId' is set
10866
+ if (communicationId === undefined || communicationId === null) {
10867
+ throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
10868
+ }
10869
+
10870
+ return this.apiClient.callApi(
10871
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
10872
+ 'GET',
10873
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
10874
+ { 'provisional': opts['provisional'] },
10875
+ { },
10876
+ { },
10877
+ null,
10878
+ ['PureCloud OAuth'],
10879
+ ['application/json'],
10880
+ ['application/json']
10881
+ );
10882
+ }
10883
+
10676
10884
  /**
10677
10885
  * Get the wrap-up for this conversation participant.
10678
10886
  *
@@ -10950,6 +11158,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10950
11158
  );
10951
11159
  }
10952
11160
 
11161
+ /**
11162
+ * Get the wrap-up for this conversation communication.
11163
+ *
11164
+ * @param {String} conversationId conversationId
11165
+ * @param {String} participantId participantId
11166
+ * @param {String} communicationId communicationId
11167
+ * @param {Object} opts Optional parameters
11168
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11169
+ */
11170
+ getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11171
+ opts = opts || {};
11172
+
11173
+ // verify the required parameter 'conversationId' is set
11174
+ if (conversationId === undefined || conversationId === null) {
11175
+ throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
11176
+ }
11177
+ // verify the required parameter 'participantId' is set
11178
+ if (participantId === undefined || participantId === null) {
11179
+ throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
11180
+ }
11181
+ // verify the required parameter 'communicationId' is set
11182
+ if (communicationId === undefined || communicationId === null) {
11183
+ throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
11184
+ }
11185
+
11186
+ return this.apiClient.callApi(
11187
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11188
+ 'GET',
11189
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11190
+ { 'provisional': opts['provisional'] },
11191
+ { },
11192
+ { },
11193
+ null,
11194
+ ['PureCloud OAuth'],
11195
+ ['application/json'],
11196
+ ['application/json']
11197
+ );
11198
+ }
11199
+
10953
11200
  /**
10954
11201
  * Get the wrap-up for this conversation participant.
10955
11202
  *
@@ -11487,6 +11734,143 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11487
11734
  );
11488
11735
  }
11489
11736
 
11737
+ /**
11738
+ * Get the wrap-up for this conversation communication.
11739
+ *
11740
+ * @param {String} conversationId conversationId
11741
+ * @param {String} participantId participantId
11742
+ * @param {String} communicationId communicationId
11743
+ * @param {Object} opts Optional parameters
11744
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11745
+ */
11746
+ getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11747
+ opts = opts || {};
11748
+
11749
+ // verify the required parameter 'conversationId' is set
11750
+ if (conversationId === undefined || conversationId === null) {
11751
+ throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11752
+ }
11753
+ // verify the required parameter 'participantId' is set
11754
+ if (participantId === undefined || participantId === null) {
11755
+ throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11756
+ }
11757
+ // verify the required parameter 'communicationId' is set
11758
+ if (communicationId === undefined || communicationId === null) {
11759
+ throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
11760
+ }
11761
+
11762
+ return this.apiClient.callApi(
11763
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11764
+ 'GET',
11765
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11766
+ { 'provisional': opts['provisional'] },
11767
+ { },
11768
+ { },
11769
+ null,
11770
+ ['PureCloud OAuth'],
11771
+ ['application/json'],
11772
+ ['application/json']
11773
+ );
11774
+ }
11775
+
11776
+ /**
11777
+ * Get Settings
11778
+ *
11779
+ */
11780
+ getConversationsSettings() {
11781
+
11782
+ return this.apiClient.callApi(
11783
+ '/api/v2/conversations/settings',
11784
+ 'GET',
11785
+ { },
11786
+ { },
11787
+ { },
11788
+ { },
11789
+ null,
11790
+ ['PureCloud OAuth'],
11791
+ ['application/json'],
11792
+ ['application/json']
11793
+ );
11794
+ }
11795
+
11796
+ /**
11797
+ * Get the wrap-up for this conversation communication.
11798
+ *
11799
+ * @param {String} conversationId conversationId
11800
+ * @param {String} participantId participantId
11801
+ * @param {String} communicationId communicationId
11802
+ * @param {Object} opts Optional parameters
11803
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11804
+ */
11805
+ getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11806
+ opts = opts || {};
11807
+
11808
+ // verify the required parameter 'conversationId' is set
11809
+ if (conversationId === undefined || conversationId === null) {
11810
+ throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
11811
+ }
11812
+ // verify the required parameter 'participantId' is set
11813
+ if (participantId === undefined || participantId === null) {
11814
+ throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
11815
+ }
11816
+ // verify the required parameter 'communicationId' is set
11817
+ if (communicationId === undefined || communicationId === null) {
11818
+ throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
11819
+ }
11820
+
11821
+ return this.apiClient.callApi(
11822
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11823
+ 'GET',
11824
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11825
+ { 'provisional': opts['provisional'] },
11826
+ { },
11827
+ { },
11828
+ null,
11829
+ ['PureCloud OAuth'],
11830
+ ['application/json'],
11831
+ ['application/json']
11832
+ );
11833
+ }
11834
+
11835
+ /**
11836
+ * Get the wrap-up for this conversation communication.
11837
+ *
11838
+ * @param {String} conversationId conversationId
11839
+ * @param {String} participantId participantId
11840
+ * @param {String} communicationId communicationId
11841
+ * @param {Object} opts Optional parameters
11842
+ * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
11843
+ */
11844
+ getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
11845
+ opts = opts || {};
11846
+
11847
+ // verify the required parameter 'conversationId' is set
11848
+ if (conversationId === undefined || conversationId === null) {
11849
+ throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
11850
+ }
11851
+ // verify the required parameter 'participantId' is set
11852
+ if (participantId === undefined || participantId === null) {
11853
+ throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
11854
+ }
11855
+ // verify the required parameter 'communicationId' is set
11856
+ if (communicationId === undefined || communicationId === null) {
11857
+ throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
11858
+ }
11859
+
11860
+ return this.apiClient.callApi(
11861
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
11862
+ 'GET',
11863
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
11864
+ { 'provisional': opts['provisional'] },
11865
+ { },
11866
+ { },
11867
+ null,
11868
+ ['PureCloud OAuth'],
11869
+ ['application/json'],
11870
+ ['application/json']
11871
+ );
11872
+ }
11873
+
11490
11874
  /**
11491
11875
  * Update a participant.
11492
11876
  * Update conversation participant.
@@ -12633,6 +13017,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12633
13017
  );
12634
13018
  }
12635
13019
 
13020
+ /**
13021
+ * Update Settings
13022
+ *
13023
+ * @param {Object} body Settings
13024
+ */
13025
+ patchConversationsSettings(body) {
13026
+ // verify the required parameter 'body' is set
13027
+ if (body === undefined || body === null) {
13028
+ throw 'Missing the required parameter "body" when calling patchConversationsSettings';
13029
+ }
13030
+
13031
+ return this.apiClient.callApi(
13032
+ '/api/v2/conversations/settings',
13033
+ 'PATCH',
13034
+ { },
13035
+ { },
13036
+ { },
13037
+ { },
13038
+ body,
13039
+ ['PureCloud OAuth'],
13040
+ ['application/json'],
13041
+ ['application/json']
13042
+ );
13043
+ }
13044
+
12636
13045
  /**
12637
13046
  * Index conversation properties
12638
13047
  *
@@ -13015,6 +13424,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13015
13424
  );
13016
13425
  }
13017
13426
 
13427
+ /**
13428
+ * Apply wrap-up for this conversation communication
13429
+ *
13430
+ * @param {String} conversationId conversationId
13431
+ * @param {String} participantId participantId
13432
+ * @param {String} communicationId communicationId
13433
+ * @param {Object} opts Optional parameters
13434
+ * @param {Object} opts.body Wrap-up
13435
+ */
13436
+ postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13437
+ opts = opts || {};
13438
+
13439
+ // verify the required parameter 'conversationId' is set
13440
+ if (conversationId === undefined || conversationId === null) {
13441
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
13442
+ }
13443
+ // verify the required parameter 'participantId' is set
13444
+ if (participantId === undefined || participantId === null) {
13445
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
13446
+ }
13447
+ // verify the required parameter 'communicationId' is set
13448
+ if (communicationId === undefined || communicationId === null) {
13449
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
13450
+ }
13451
+
13452
+ return this.apiClient.callApi(
13453
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13454
+ 'POST',
13455
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13456
+ { },
13457
+ { },
13458
+ { },
13459
+ opts['body'],
13460
+ ['PureCloud OAuth'],
13461
+ ['application/json'],
13462
+ ['application/json']
13463
+ );
13464
+ }
13465
+
13018
13466
  /**
13019
13467
  * Initiate and update consult transfer
13020
13468
  *
@@ -13145,6 +13593,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13145
13593
  );
13146
13594
  }
13147
13595
 
13596
+ /**
13597
+ * Apply wrap-up for this conversation communication
13598
+ *
13599
+ * @param {String} conversationId conversationId
13600
+ * @param {String} participantId participantId
13601
+ * @param {String} communicationId communicationId
13602
+ * @param {Object} opts Optional parameters
13603
+ * @param {Object} opts.body Wrap-up
13604
+ */
13605
+ postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13606
+ opts = opts || {};
13607
+
13608
+ // verify the required parameter 'conversationId' is set
13609
+ if (conversationId === undefined || conversationId === null) {
13610
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13611
+ }
13612
+ // verify the required parameter 'participantId' is set
13613
+ if (participantId === undefined || participantId === null) {
13614
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13615
+ }
13616
+ // verify the required parameter 'communicationId' is set
13617
+ if (communicationId === undefined || communicationId === null) {
13618
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
13619
+ }
13620
+
13621
+ return this.apiClient.callApi(
13622
+ '/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13623
+ 'POST',
13624
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13625
+ { },
13626
+ { },
13627
+ { },
13628
+ opts['body'],
13629
+ ['PureCloud OAuth'],
13630
+ ['application/json'],
13631
+ ['application/json']
13632
+ );
13633
+ }
13634
+
13148
13635
  /**
13149
13636
  * Replace this participant with the specified user and/or address
13150
13637
  *
@@ -13345,6 +13832,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13345
13832
  );
13346
13833
  }
13347
13834
 
13835
+ /**
13836
+ * Apply wrap-up for this conversation communication
13837
+ *
13838
+ * @param {String} conversationId conversationId
13839
+ * @param {String} participantId participantId
13840
+ * @param {String} communicationId communicationId
13841
+ * @param {Object} opts Optional parameters
13842
+ * @param {Object} opts.body Wrap-up
13843
+ */
13844
+ postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13845
+ opts = opts || {};
13846
+
13847
+ // verify the required parameter 'conversationId' is set
13848
+ if (conversationId === undefined || conversationId === null) {
13849
+ throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
13850
+ }
13851
+ // verify the required parameter 'participantId' is set
13852
+ if (participantId === undefined || participantId === null) {
13853
+ throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
13854
+ }
13855
+ // verify the required parameter 'communicationId' is set
13856
+ if (communicationId === undefined || communicationId === null) {
13857
+ throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
13858
+ }
13859
+
13860
+ return this.apiClient.callApi(
13861
+ '/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13862
+ 'POST',
13863
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13864
+ { },
13865
+ { },
13866
+ { },
13867
+ opts['body'],
13868
+ ['PureCloud OAuth'],
13869
+ ['application/json'],
13870
+ ['application/json']
13871
+ );
13872
+ }
13873
+
13348
13874
  /**
13349
13875
  * Replace this participant with the specified user and/or address
13350
13876
  *
@@ -13405,6 +13931,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13405
13931
  );
13406
13932
  }
13407
13933
 
13934
+ /**
13935
+ * Apply wrap-up for this conversation communication
13936
+ *
13937
+ * @param {String} conversationId conversationId
13938
+ * @param {String} participantId participantId
13939
+ * @param {String} communicationId communicationId
13940
+ * @param {Object} opts Optional parameters
13941
+ * @param {Object} opts.body Wrap-up
13942
+ */
13943
+ postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
13944
+ opts = opts || {};
13945
+
13946
+ // verify the required parameter 'conversationId' is set
13947
+ if (conversationId === undefined || conversationId === null) {
13948
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13949
+ }
13950
+ // verify the required parameter 'participantId' is set
13951
+ if (participantId === undefined || participantId === null) {
13952
+ throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13953
+ }
13954
+ // verify the required parameter 'communicationId' is set
13955
+ if (communicationId === undefined || communicationId === null) {
13956
+ throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
13957
+ }
13958
+
13959
+ return this.apiClient.callApi(
13960
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
13961
+ 'POST',
13962
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
13963
+ { },
13964
+ { },
13965
+ { },
13966
+ opts['body'],
13967
+ ['PureCloud OAuth'],
13968
+ ['application/json'],
13969
+ ['application/json']
13970
+ );
13971
+ }
13972
+
13408
13973
  /**
13409
13974
  * Replace this participant with the specified user and/or address
13410
13975
  *
@@ -13529,6 +14094,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13529
14094
  );
13530
14095
  }
13531
14096
 
14097
+ /**
14098
+ * Apply wrap-up for this conversation communication
14099
+ *
14100
+ * @param {String} conversationId conversationId
14101
+ * @param {String} participantId participantId
14102
+ * @param {String} communicationId communicationId
14103
+ * @param {Object} opts Optional parameters
14104
+ * @param {Object} opts.body Wrap-up
14105
+ */
14106
+ postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14107
+ opts = opts || {};
14108
+
14109
+ // verify the required parameter 'conversationId' is set
14110
+ if (conversationId === undefined || conversationId === null) {
14111
+ throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
14112
+ }
14113
+ // verify the required parameter 'participantId' is set
14114
+ if (participantId === undefined || participantId === null) {
14115
+ throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
14116
+ }
14117
+ // verify the required parameter 'communicationId' is set
14118
+ if (communicationId === undefined || communicationId === null) {
14119
+ throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
14120
+ }
14121
+
14122
+ return this.apiClient.callApi(
14123
+ '/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14124
+ 'POST',
14125
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14126
+ { },
14127
+ { },
14128
+ { },
14129
+ opts['body'],
14130
+ ['PureCloud OAuth'],
14131
+ ['application/json'],
14132
+ ['application/json']
14133
+ );
14134
+ }
14135
+
13532
14136
  /**
13533
14137
  * Replace this participant with the specified user and/or address
13534
14138
  *
@@ -13823,6 +14427,45 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13823
14427
  );
13824
14428
  }
13825
14429
 
14430
+ /**
14431
+ * Apply wrap-up for this conversation communication
14432
+ *
14433
+ * @param {String} conversationId conversationId
14434
+ * @param {String} participantId participantId
14435
+ * @param {String} communicationId communicationId
14436
+ * @param {Object} opts Optional parameters
14437
+ * @param {Object} opts.body Wrap-up
14438
+ */
14439
+ postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14440
+ opts = opts || {};
14441
+
14442
+ // verify the required parameter 'conversationId' is set
14443
+ if (conversationId === undefined || conversationId === null) {
14444
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
14445
+ }
14446
+ // verify the required parameter 'participantId' is set
14447
+ if (participantId === undefined || participantId === null) {
14448
+ throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
14449
+ }
14450
+ // verify the required parameter 'communicationId' is set
14451
+ if (communicationId === undefined || communicationId === null) {
14452
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
14453
+ }
14454
+
14455
+ return this.apiClient.callApi(
14456
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14457
+ 'POST',
14458
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14459
+ { },
14460
+ { },
14461
+ { },
14462
+ opts['body'],
14463
+ ['PureCloud OAuth'],
14464
+ ['application/json'],
14465
+ ['application/json']
14466
+ );
14467
+ }
14468
+
13826
14469
  /**
13827
14470
  * Replace this participant with the specified user and/or address
13828
14471
  *
@@ -14083,6 +14726,148 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14083
14726
  );
14084
14727
  }
14085
14728
 
14729
+ /**
14730
+ * Search conversations
14731
+ *
14732
+ * @param {Object} body Search request options
14733
+ */
14734
+ postConversationsParticipantsAttributesSearch(body) {
14735
+ // verify the required parameter 'body' is set
14736
+ if (body === undefined || body === null) {
14737
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
14738
+ }
14739
+
14740
+ return this.apiClient.callApi(
14741
+ '/api/v2/conversations/participants/attributes/search',
14742
+ 'POST',
14743
+ { },
14744
+ { },
14745
+ { },
14746
+ { },
14747
+ body,
14748
+ ['PureCloud OAuth'],
14749
+ ['application/json'],
14750
+ ['application/json']
14751
+ );
14752
+ }
14753
+
14754
+ /**
14755
+ * Apply wrap-up for this conversation communication
14756
+ *
14757
+ * @param {String} conversationId conversationId
14758
+ * @param {String} participantId participantId
14759
+ * @param {String} communicationId communicationId
14760
+ * @param {Object} opts Optional parameters
14761
+ * @param {Object} opts.body Wrap-up
14762
+ */
14763
+ postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14764
+ opts = opts || {};
14765
+
14766
+ // verify the required parameter 'conversationId' is set
14767
+ if (conversationId === undefined || conversationId === null) {
14768
+ throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14769
+ }
14770
+ // verify the required parameter 'participantId' is set
14771
+ if (participantId === undefined || participantId === null) {
14772
+ throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14773
+ }
14774
+ // verify the required parameter 'communicationId' is set
14775
+ if (communicationId === undefined || communicationId === null) {
14776
+ throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
14777
+ }
14778
+
14779
+ return this.apiClient.callApi(
14780
+ '/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14781
+ 'POST',
14782
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14783
+ { },
14784
+ { },
14785
+ { },
14786
+ opts['body'],
14787
+ ['PureCloud OAuth'],
14788
+ ['application/json'],
14789
+ ['application/json']
14790
+ );
14791
+ }
14792
+
14793
+ /**
14794
+ * Apply wrap-up for this conversation communication
14795
+ *
14796
+ * @param {String} conversationId conversationId
14797
+ * @param {String} participantId participantId
14798
+ * @param {String} communicationId communicationId
14799
+ * @param {Object} opts Optional parameters
14800
+ * @param {Object} opts.body Wrap-up
14801
+ */
14802
+ postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14803
+ opts = opts || {};
14804
+
14805
+ // verify the required parameter 'conversationId' is set
14806
+ if (conversationId === undefined || conversationId === null) {
14807
+ throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
14808
+ }
14809
+ // verify the required parameter 'participantId' is set
14810
+ if (participantId === undefined || participantId === null) {
14811
+ throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
14812
+ }
14813
+ // verify the required parameter 'communicationId' is set
14814
+ if (communicationId === undefined || communicationId === null) {
14815
+ throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
14816
+ }
14817
+
14818
+ return this.apiClient.callApi(
14819
+ '/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14820
+ 'POST',
14821
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14822
+ { },
14823
+ { },
14824
+ { },
14825
+ opts['body'],
14826
+ ['PureCloud OAuth'],
14827
+ ['application/json'],
14828
+ ['application/json']
14829
+ );
14830
+ }
14831
+
14832
+ /**
14833
+ * Apply wrap-up for this conversation communication
14834
+ *
14835
+ * @param {String} conversationId conversationId
14836
+ * @param {String} participantId participantId
14837
+ * @param {String} communicationId communicationId
14838
+ * @param {Object} opts Optional parameters
14839
+ * @param {Object} opts.body Wrap-up
14840
+ */
14841
+ postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14842
+ opts = opts || {};
14843
+
14844
+ // verify the required parameter 'conversationId' is set
14845
+ if (conversationId === undefined || conversationId === null) {
14846
+ throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
14847
+ }
14848
+ // verify the required parameter 'participantId' is set
14849
+ if (participantId === undefined || participantId === null) {
14850
+ throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
14851
+ }
14852
+ // verify the required parameter 'communicationId' is set
14853
+ if (communicationId === undefined || communicationId === null) {
14854
+ throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
14855
+ }
14856
+
14857
+ return this.apiClient.callApi(
14858
+ '/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
14859
+ 'POST',
14860
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
14861
+ { },
14862
+ { },
14863
+ { },
14864
+ opts['body'],
14865
+ ['PureCloud OAuth'],
14866
+ ['application/json'],
14867
+ ['application/json']
14868
+ );
14869
+ }
14870
+
14086
14871
  /**
14087
14872
  * Set flagged reason on conversation participant to indicate bad conversation quality.
14088
14873
  *
@@ -14629,7 +15414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14629
15414
  /**
14630
15415
  * DataExtensions service.
14631
15416
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14632
- * @version 159.0.0
15417
+ * @version 160.1.0
14633
15418
  */
14634
15419
 
14635
15420
  /**
@@ -14715,7 +15500,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14715
15500
  /**
14716
15501
  * Downloads service.
14717
15502
  * @module purecloud-platform-client-v2/api/DownloadsApi
14718
- * @version 159.0.0
15503
+ * @version 160.1.0
14719
15504
  */
14720
15505
 
14721
15506
  /**
@@ -14767,7 +15552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14767
15552
  /**
14768
15553
  * Events service.
14769
15554
  * @module purecloud-platform-client-v2/api/EventsApi
14770
- * @version 159.0.0
15555
+ * @version 160.1.0
14771
15556
  */
14772
15557
 
14773
15558
  /**
@@ -14863,7 +15648,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14863
15648
  /**
14864
15649
  * ExternalContacts service.
14865
15650
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14866
- * @version 159.0.0
15651
+ * @version 160.1.0
14867
15652
  */
14868
15653
 
14869
15654
  /**
@@ -16821,7 +17606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16821
17606
  /**
16822
17607
  * Fax service.
16823
17608
  * @module purecloud-platform-client-v2/api/FaxApi
16824
- * @version 159.0.0
17609
+ * @version 160.1.0
16825
17610
  */
16826
17611
 
16827
17612
  /**
@@ -16992,7 +17777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16992
17777
  /**
16993
17778
  * Flows service.
16994
17779
  * @module purecloud-platform-client-v2/api/FlowsApi
16995
- * @version 159.0.0
17780
+ * @version 160.1.0
16996
17781
  */
16997
17782
 
16998
17783
  /**
@@ -17063,7 +17848,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17063
17848
  /**
17064
17849
  * Gamification service.
17065
17850
  * @module purecloud-platform-client-v2/api/GamificationApi
17066
- * @version 159.0.0
17851
+ * @version 160.1.0
17067
17852
  */
17068
17853
 
17069
17854
  /**
@@ -18680,7 +19465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18680
19465
  /**
18681
19466
  * GeneralDataProtectionRegulation service.
18682
19467
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18683
- * @version 159.0.0
19468
+ * @version 160.1.0
18684
19469
  */
18685
19470
 
18686
19471
  /**
@@ -18810,7 +19595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18810
19595
  /**
18811
19596
  * Geolocation service.
18812
19597
  * @module purecloud-platform-client-v2/api/GeolocationApi
18813
- * @version 159.0.0
19598
+ * @version 160.1.0
18814
19599
  */
18815
19600
 
18816
19601
  /**
@@ -18941,7 +19726,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18941
19726
  /**
18942
19727
  * Greetings service.
18943
19728
  * @module purecloud-platform-client-v2/api/GreetingsApi
18944
- * @version 159.0.0
19729
+ * @version 160.1.0
18945
19730
  */
18946
19731
 
18947
19732
  /**
@@ -19396,7 +20181,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19396
20181
  /**
19397
20182
  * Groups service.
19398
20183
  * @module purecloud-platform-client-v2/api/GroupsApi
19399
- * @version 159.0.0
20184
+ * @version 160.1.0
19400
20185
  */
19401
20186
 
19402
20187
  /**
@@ -19802,7 +20587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19802
20587
  /**
19803
20588
  * IdentityProvider service.
19804
20589
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19805
- * @version 159.0.0
20590
+ * @version 160.1.0
19806
20591
  */
19807
20592
 
19808
20593
  /**
@@ -20554,11 +21339,113 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20554
21339
 
20555
21340
  }
20556
21341
 
21342
+ class InfrastructureAsCodeApi {
21343
+ /**
21344
+ * InfrastructureAsCode service.
21345
+ * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21346
+ * @version 160.1.0
21347
+ */
21348
+
21349
+ /**
21350
+ * Constructs a new InfrastructureAsCodeApi.
21351
+ * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21352
+ * @class
21353
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
21354
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
21355
+ */
21356
+ constructor(apiClient) {
21357
+ this.apiClient = apiClient || ApiClient.instance;
21358
+ }
21359
+
21360
+
21361
+ /**
21362
+ * Get job status and results
21363
+ * Get the execution status of a submitted job, optionally including results and error details.
21364
+ * @param {String} jobId Job ID
21365
+ * @param {Object} opts Optional parameters
21366
+ * @param {Boolean} opts.details Include details of execution, including job results or error information (default to false)
21367
+ */
21368
+ getInfrastructureascodeJob(jobId, opts) {
21369
+ opts = opts || {};
21370
+
21371
+ // verify the required parameter 'jobId' is set
21372
+ if (jobId === undefined || jobId === null) {
21373
+ throw 'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';
21374
+ }
21375
+
21376
+ return this.apiClient.callApi(
21377
+ '/api/v2/infrastructureascode/jobs/{jobId}',
21378
+ 'GET',
21379
+ { 'jobId': jobId },
21380
+ { 'details': opts['details'] },
21381
+ { },
21382
+ { },
21383
+ null,
21384
+ ['PureCloud OAuth'],
21385
+ ['application/json'],
21386
+ ['application/json']
21387
+ );
21388
+ }
21389
+
21390
+ /**
21391
+ * Get job history
21392
+ * Get a history of submitted jobs, optionally including error messages.
21393
+ * @param {Object} opts Optional parameters
21394
+ * @param {Number} opts.maxResults Number of jobs to show (default to 1)
21395
+ * @param {Boolean} opts.includeErrors Include error messages (default to false)
21396
+ * @param {Object} opts.sortBy Sort by (default to id)
21397
+ * @param {Object} opts.sortOrder Sort order (default to asc)
21398
+ */
21399
+ getInfrastructureascodeJobs(opts) {
21400
+ opts = opts || {};
21401
+
21402
+
21403
+ return this.apiClient.callApi(
21404
+ '/api/v2/infrastructureascode/jobs',
21405
+ 'GET',
21406
+ { },
21407
+ { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
21408
+ { },
21409
+ { },
21410
+ null,
21411
+ ['PureCloud OAuth'],
21412
+ ['application/json'],
21413
+ ['application/json']
21414
+ );
21415
+ }
21416
+
21417
+ /**
21418
+ * Create a Job
21419
+ * Create and submit a job for remote execution or see job planning results.
21420
+ * @param {Object} body
21421
+ */
21422
+ postInfrastructureascodeJobs(body) {
21423
+ // verify the required parameter 'body' is set
21424
+ if (body === undefined || body === null) {
21425
+ throw 'Missing the required parameter "body" when calling postInfrastructureascodeJobs';
21426
+ }
21427
+
21428
+ return this.apiClient.callApi(
21429
+ '/api/v2/infrastructureascode/jobs',
21430
+ 'POST',
21431
+ { },
21432
+ { },
21433
+ { },
21434
+ { },
21435
+ body,
21436
+ ['PureCloud OAuth'],
21437
+ ['application/json'],
21438
+ ['application/json']
21439
+ );
21440
+ }
21441
+
21442
+ }
21443
+
20557
21444
  class IntegrationsApi {
20558
21445
  /**
20559
21446
  * Integrations service.
20560
21447
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20561
- * @version 159.0.0
21448
+ * @version 160.1.0
20562
21449
  */
20563
21450
 
20564
21451
  /**
@@ -22158,7 +23045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22158
23045
  /**
22159
23046
  * Journey service.
22160
23047
  * @module purecloud-platform-client-v2/api/JourneyApi
22161
- * @version 159.0.0
23048
+ * @version 160.1.0
22162
23049
  */
22163
23050
 
22164
23051
  /**
@@ -23038,7 +23925,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23038
23925
  /**
23039
23926
  * Knowledge service.
23040
23927
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23041
- * @version 159.0.0
23928
+ * @version 160.1.0
23042
23929
  */
23043
23930
 
23044
23931
  /**
@@ -25470,7 +26357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25470
26357
  /**
25471
26358
  * LanguageUnderstanding service.
25472
26359
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25473
- * @version 159.0.0
26360
+ * @version 160.1.0
25474
26361
  */
25475
26362
 
25476
26363
  /**
@@ -26483,7 +27370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26483
27370
  /**
26484
27371
  * Languages service.
26485
27372
  * @module purecloud-platform-client-v2/api/LanguagesApi
26486
- * @version 159.0.0
27373
+ * @version 160.1.0
26487
27374
  */
26488
27375
 
26489
27376
  /**
@@ -26701,7 +27588,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26701
27588
  /**
26702
27589
  * Learning service.
26703
27590
  * @module purecloud-platform-client-v2/api/LearningApi
26704
- * @version 159.0.0
27591
+ * @version 160.1.0
26705
27592
  */
26706
27593
 
26707
27594
  /**
@@ -27109,6 +27996,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27109
27996
  );
27110
27997
  }
27111
27998
 
27999
+ /**
28000
+ * Reschedule Learning Assignment
28001
+ *
28002
+ * @param {String} assignmentId The ID of Learning Assignment
28003
+ * @param {Object} opts Optional parameters
28004
+ * @param {Object} opts.body The Learning assignment reschedule model
28005
+ */
28006
+ patchLearningAssignmentReschedule(assignmentId, opts) {
28007
+ opts = opts || {};
28008
+
28009
+ // verify the required parameter 'assignmentId' is set
28010
+ if (assignmentId === undefined || assignmentId === null) {
28011
+ throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
28012
+ }
28013
+
28014
+ return this.apiClient.callApi(
28015
+ '/api/v2/learning/assignments/{assignmentId}/reschedule',
28016
+ 'PATCH',
28017
+ { 'assignmentId': assignmentId },
28018
+ { },
28019
+ { },
28020
+ { },
28021
+ opts['body'],
28022
+ ['PureCloud OAuth'],
28023
+ ['application/json'],
28024
+ ['application/json']
28025
+ );
28026
+ }
28027
+
27112
28028
  /**
27113
28029
  * Score learning assessment for preview
27114
28030
  *
@@ -27396,6 +28312,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27396
28312
  );
27397
28313
  }
27398
28314
 
28315
+ /**
28316
+ * Get list of possible slots where a learning activity can be scheduled.
28317
+ *
28318
+ * @param {Object} body The slot search request
28319
+ */
28320
+ postLearningScheduleslotsQuery(body) {
28321
+ // verify the required parameter 'body' is set
28322
+ if (body === undefined || body === null) {
28323
+ throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
28324
+ }
28325
+
28326
+ return this.apiClient.callApi(
28327
+ '/api/v2/learning/scheduleslots/query',
28328
+ 'POST',
28329
+ { },
28330
+ { },
28331
+ { },
28332
+ { },
28333
+ body,
28334
+ ['PureCloud OAuth'],
28335
+ ['application/json'],
28336
+ ['application/json']
28337
+ );
28338
+ }
28339
+
27399
28340
  /**
27400
28341
  * Update a learning module
27401
28342
  * This will update the name, description, completion time in days and inform steps for a learning module
@@ -27462,7 +28403,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27462
28403
  /**
27463
28404
  * License service.
27464
28405
  * @module purecloud-platform-client-v2/api/LicenseApi
27465
- * @version 159.0.0
28406
+ * @version 160.1.0
27466
28407
  */
27467
28408
 
27468
28409
  /**
@@ -27700,7 +28641,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27700
28641
  /**
27701
28642
  * Locations service.
27702
28643
  * @module purecloud-platform-client-v2/api/LocationsApi
27703
- * @version 159.0.0
28644
+ * @version 160.1.0
27704
28645
  */
27705
28646
 
27706
28647
  /**
@@ -27936,7 +28877,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27936
28877
  /**
27937
28878
  * Messaging service.
27938
28879
  * @module purecloud-platform-client-v2/api/MessagingApi
27939
- * @version 159.0.0
28880
+ * @version 160.1.0
27940
28881
  */
27941
28882
 
27942
28883
  /**
@@ -28087,7 +29028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28087
29028
  /**
28088
29029
  * MobileDevices service.
28089
29030
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
28090
- * @version 159.0.0
29031
+ * @version 160.1.0
28091
29032
  */
28092
29033
 
28093
29034
  /**
@@ -28238,7 +29179,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28238
29179
  /**
28239
29180
  * Notifications service.
28240
29181
  * @module purecloud-platform-client-v2/api/NotificationsApi
28241
- * @version 159.0.0
29182
+ * @version 160.1.0
28242
29183
  */
28243
29184
 
28244
29185
  /**
@@ -28382,8 +29323,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28382
29323
  *
28383
29324
  * @param {String} channelId Channel ID
28384
29325
  * @param {Array.<Object>} body Body
29326
+ * @param {Object} opts Optional parameters
29327
+ * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
28385
29328
  */
28386
- postNotificationsChannelSubscriptions(channelId, body) {
29329
+ postNotificationsChannelSubscriptions(channelId, body, opts) {
29330
+ opts = opts || {};
29331
+
28387
29332
  // verify the required parameter 'channelId' is set
28388
29333
  if (channelId === undefined || channelId === null) {
28389
29334
  throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
@@ -28397,7 +29342,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28397
29342
  '/api/v2/notifications/channels/{channelId}/subscriptions',
28398
29343
  'POST',
28399
29344
  { 'channelId': channelId },
28400
- { },
29345
+ { 'ignoreErrors': opts['ignoreErrors'] },
28401
29346
  { },
28402
29347
  { },
28403
29348
  body,
@@ -28432,8 +29377,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28432
29377
  *
28433
29378
  * @param {String} channelId Channel ID
28434
29379
  * @param {Array.<Object>} body Body
29380
+ * @param {Object} opts Optional parameters
29381
+ * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
28435
29382
  */
28436
- putNotificationsChannelSubscriptions(channelId, body) {
29383
+ putNotificationsChannelSubscriptions(channelId, body, opts) {
29384
+ opts = opts || {};
29385
+
28437
29386
  // verify the required parameter 'channelId' is set
28438
29387
  if (channelId === undefined || channelId === null) {
28439
29388
  throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
@@ -28447,7 +29396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28447
29396
  '/api/v2/notifications/channels/{channelId}/subscriptions',
28448
29397
  'PUT',
28449
29398
  { 'channelId': channelId },
28450
- { },
29399
+ { 'ignoreErrors': opts['ignoreErrors'] },
28451
29400
  { },
28452
29401
  { },
28453
29402
  body,
@@ -28463,7 +29412,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28463
29412
  /**
28464
29413
  * OAuth service.
28465
29414
  * @module purecloud-platform-client-v2/api/OAuthApi
28466
- * @version 159.0.0
29415
+ * @version 160.1.0
28467
29416
  */
28468
29417
 
28469
29418
  /**
@@ -28829,7 +29778,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28829
29778
  /**
28830
29779
  * Objects service.
28831
29780
  * @module purecloud-platform-client-v2/api/ObjectsApi
28832
- * @version 159.0.0
29781
+ * @version 160.1.0
28833
29782
  */
28834
29783
 
28835
29784
  /**
@@ -29100,7 +30049,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29100
30049
  /**
29101
30050
  * Organization service.
29102
30051
  * @module purecloud-platform-client-v2/api/OrganizationApi
29103
- * @version 159.0.0
30052
+ * @version 160.1.0
29104
30053
  */
29105
30054
 
29106
30055
  /**
@@ -29503,7 +30452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29503
30452
  /**
29504
30453
  * OrganizationAuthorization service.
29505
30454
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29506
- * @version 159.0.0
30455
+ * @version 160.1.0
29507
30456
  */
29508
30457
 
29509
30458
  /**
@@ -30798,7 +31747,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30798
31747
  /**
30799
31748
  * Outbound service.
30800
31749
  * @module purecloud-platform-client-v2/api/OutboundApi
30801
- * @version 159.0.0
31750
+ * @version 160.1.0
30802
31751
  */
30803
31752
 
30804
31753
  /**
@@ -31148,6 +32097,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31148
32097
  );
31149
32098
  }
31150
32099
 
32100
+ /**
32101
+ * Deletes all or expired custom exclusion column entries from a DNC list.
32102
+ * This operation is only for Internal DNC lists of custom exclusion column entries
32103
+ * @param {String} dncListId DncList ID
32104
+ * @param {Object} opts Optional parameters
32105
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
32106
+ */
32107
+ deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
32108
+ opts = opts || {};
32109
+
32110
+ // verify the required parameter 'dncListId' is set
32111
+ if (dncListId === undefined || dncListId === null) {
32112
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
32113
+ }
32114
+
32115
+ return this.apiClient.callApi(
32116
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
32117
+ 'DELETE',
32118
+ { 'dncListId': dncListId },
32119
+ { 'expiredOnly': opts['expiredOnly'] },
32120
+ { },
32121
+ { },
32122
+ null,
32123
+ ['PureCloud OAuth'],
32124
+ ['application/json'],
32125
+ ['application/json']
32126
+ );
32127
+ }
32128
+
31151
32129
  /**
31152
32130
  * Deletes all or expired email addresses from a DNC list.
31153
32131
  * This operation is Only for Internal DNC lists of email addresses
@@ -32976,6 +33954,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32976
33954
  );
32977
33955
  }
32978
33956
 
33957
+ /**
33958
+ * Add entries to or delete entries from a DNC list.
33959
+ * Only Internal DNC lists may be deleted from
33960
+ * @param {String} dncListId DncList ID
33961
+ * @param {Object} body DNC Custom exclusion column entries
33962
+ */
33963
+ patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
33964
+ // verify the required parameter 'dncListId' is set
33965
+ if (dncListId === undefined || dncListId === null) {
33966
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
33967
+ }
33968
+ // verify the required parameter 'body' is set
33969
+ if (body === undefined || body === null) {
33970
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
33971
+ }
33972
+
33973
+ return this.apiClient.callApi(
33974
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
33975
+ 'PATCH',
33976
+ { 'dncListId': dncListId },
33977
+ { },
33978
+ { },
33979
+ { },
33980
+ body,
33981
+ ['PureCloud OAuth'],
33982
+ ['application/json'],
33983
+ ['application/json']
33984
+ );
33985
+ }
33986
+
32979
33987
  /**
32980
33988
  * Add emails to or Delete emails from a DNC list.
32981
33989
  * Only Internal DNC lists may be added to or deleted from
@@ -34335,7 +35343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34335
35343
  /**
34336
35344
  * Presence service.
34337
35345
  * @module purecloud-platform-client-v2/api/PresenceApi
34338
- * @version 159.0.0
35346
+ * @version 160.1.0
34339
35347
  */
34340
35348
 
34341
35349
  /**
@@ -34841,7 +35849,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34841
35849
  /**
34842
35850
  * ProcessAutomation service.
34843
35851
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
34844
- * @version 159.0.0
35852
+ * @version 160.1.0
34845
35853
  */
34846
35854
 
34847
35855
  /**
@@ -35080,7 +36088,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35080
36088
  /**
35081
36089
  * Quality service.
35082
36090
  * @module purecloud-platform-client-v2/api/QualityApi
35083
- * @version 159.0.0
36091
+ * @version 160.1.0
35084
36092
  */
35085
36093
 
35086
36094
  /**
@@ -36659,7 +37667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36659
37667
  /**
36660
37668
  * Recording service.
36661
37669
  * @module purecloud-platform-client-v2/api/RecordingApi
36662
- * @version 159.0.0
37670
+ * @version 160.1.0
36663
37671
  */
36664
37672
 
36665
37673
  /**
@@ -37360,51 +38368,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37360
38368
  );
37361
38369
  }
37362
38370
 
37363
- /**
37364
- * Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
37365
- *
37366
- * @param {String} settingsId Settings Id
37367
- */
37368
- getRecordingLocalkeysSetting(settingsId) {
37369
- // verify the required parameter 'settingsId' is set
37370
- if (settingsId === undefined || settingsId === null) {
37371
- throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
37372
- }
37373
-
37374
- return this.apiClient.callApi(
37375
- '/api/v2/recording/localkeys/settings/{settingsId}',
37376
- 'GET',
37377
- { 'settingsId': settingsId },
37378
- { },
37379
- { },
37380
- { },
37381
- null,
37382
- ['PureCloud OAuth'],
37383
- ['application/json'],
37384
- ['application/json']
37385
- );
37386
- }
37387
-
37388
- /**
37389
- * gets a list local key settings data. Replaced by API recording/keyconfigurations
37390
- *
37391
- */
37392
- getRecordingLocalkeysSettings() {
37393
-
37394
- return this.apiClient.callApi(
37395
- '/api/v2/recording/localkeys/settings',
37396
- 'GET',
37397
- { },
37398
- { },
37399
- { },
37400
- { },
37401
- null,
37402
- ['PureCloud OAuth'],
37403
- ['application/json'],
37404
- ['application/json']
37405
- );
37406
- }
37407
-
37408
38371
  /**
37409
38372
  * Gets media retention policy list with query options to filter on name and enabled.
37410
38373
  * for a less verbose response, add summary=true to this endpoint
@@ -37887,31 +38850,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37887
38850
  );
37888
38851
  }
37889
38852
 
37890
- /**
37891
- * create settings for local key creation. Replaced by API recording/keyconfigurations
37892
- *
37893
- * @param {Object} body Local Encryption Configuration
37894
- */
37895
- postRecordingLocalkeysSettings(body) {
37896
- // verify the required parameter 'body' is set
37897
- if (body === undefined || body === null) {
37898
- throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
37899
- }
37900
-
37901
- return this.apiClient.callApi(
37902
- '/api/v2/recording/localkeys/settings',
37903
- 'POST',
37904
- { },
37905
- { },
37906
- { },
37907
- { },
37908
- body,
37909
- ['PureCloud OAuth'],
37910
- ['application/json'],
37911
- ['application/json']
37912
- );
37913
- }
37914
-
37915
38853
  /**
37916
38854
  * Create media retention policy
37917
38855
  * Policy does not work retroactively
@@ -38255,36 +39193,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38255
39193
  );
38256
39194
  }
38257
39195
 
38258
- /**
38259
- * Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
38260
- *
38261
- * @param {String} settingsId Settings Id
38262
- * @param {Object} body Local Encryption metadata
38263
- */
38264
- putRecordingLocalkeysSetting(settingsId, body) {
38265
- // verify the required parameter 'settingsId' is set
38266
- if (settingsId === undefined || settingsId === null) {
38267
- throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
38268
- }
38269
- // verify the required parameter 'body' is set
38270
- if (body === undefined || body === null) {
38271
- throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
38272
- }
38273
-
38274
- return this.apiClient.callApi(
38275
- '/api/v2/recording/localkeys/settings/{settingsId}',
38276
- 'PUT',
38277
- { 'settingsId': settingsId },
38278
- { },
38279
- { },
38280
- { },
38281
- body,
38282
- ['PureCloud OAuth'],
38283
- ['application/json'],
38284
- ['application/json']
38285
- );
38286
- }
38287
-
38288
39196
  /**
38289
39197
  * Update a media retention policy
38290
39198
  * Policy does not work retroactively
@@ -38396,7 +39304,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38396
39304
  /**
38397
39305
  * ResponseManagement service.
38398
39306
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
38399
- * @version 159.0.0
39307
+ * @version 160.1.0
38400
39308
  */
38401
39309
 
38402
39310
  /**
@@ -38880,7 +39788,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38880
39788
  /**
38881
39789
  * Routing service.
38882
39790
  * @module purecloud-platform-client-v2/api/RoutingApi
38883
- * @version 159.0.0
39791
+ * @version 160.1.0
38884
39792
  */
38885
39793
 
38886
39794
  /**
@@ -40683,8 +41591,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40683
41591
  * Get a phone number provisioned for SMS.
40684
41592
  *
40685
41593
  * @param {String} addressId Address ID
41594
+ * @param {Object} opts Optional parameters
41595
+ * @param {Object} opts.expand Expand response with additional information
40686
41596
  */
40687
- getRoutingSmsPhonenumber(addressId) {
41597
+ getRoutingSmsPhonenumber(addressId, opts) {
41598
+ opts = opts || {};
41599
+
40688
41600
  // verify the required parameter 'addressId' is set
40689
41601
  if (addressId === undefined || addressId === null) {
40690
41602
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
@@ -40694,7 +41606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40694
41606
  '/api/v2/routing/sms/phonenumbers/{addressId}',
40695
41607
  'GET',
40696
41608
  { 'addressId': addressId },
40697
- { },
41609
+ { 'expand': opts['expand'] },
40698
41610
  { },
40699
41611
  { },
40700
41612
  null,
@@ -40928,6 +41840,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40928
41840
  );
40929
41841
  }
40930
41842
 
41843
+ /**
41844
+ * Get skill groups for a user
41845
+ *
41846
+ * @param {String} userId User ID
41847
+ * @param {Object} opts Optional parameters
41848
+ * @param {Number} opts.pageSize Page size (default to 25)
41849
+ * @param {String} opts.after The cursor that points to the next page
41850
+ * @param {String} opts.before The cursor that points to the previous page
41851
+ */
41852
+ getUserSkillgroups(userId, opts) {
41853
+ opts = opts || {};
41854
+
41855
+ // verify the required parameter 'userId' is set
41856
+ if (userId === undefined || userId === null) {
41857
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
41858
+ }
41859
+
41860
+ return this.apiClient.callApi(
41861
+ '/api/v2/users/{userId}/skillgroups',
41862
+ 'GET',
41863
+ { 'userId': userId },
41864
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
41865
+ { },
41866
+ { },
41867
+ null,
41868
+ ['PureCloud OAuth'],
41869
+ ['application/json'],
41870
+ ['application/json']
41871
+ );
41872
+ }
41873
+
40931
41874
  /**
40932
41875
  * Update attributes of an in-queue conversation
40933
41876
  * Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
@@ -42345,7 +43288,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42345
43288
  /**
42346
43289
  * SCIM service.
42347
43290
  * @module purecloud-platform-client-v2/api/SCIMApi
42348
- * @version 159.0.0
43291
+ * @version 160.1.0
42349
43292
  */
42350
43293
 
42351
43294
  /**
@@ -43222,7 +44165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43222
44165
  /**
43223
44166
  * Scripts service.
43224
44167
  * @module purecloud-platform-client-v2/api/ScriptsApi
43225
- * @version 159.0.0
44168
+ * @version 160.1.0
43226
44169
  */
43227
44170
 
43228
44171
  /**
@@ -43641,7 +44584,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43641
44584
  /**
43642
44585
  * Search service.
43643
44586
  * @module purecloud-platform-client-v2/api/SearchApi
43644
- * @version 159.0.0
44587
+ * @version 160.1.0
43645
44588
  */
43646
44589
 
43647
44590
  /**
@@ -43908,6 +44851,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43908
44851
  );
43909
44852
  }
43910
44853
 
44854
+ /**
44855
+ * Search conversations
44856
+ *
44857
+ * @param {Object} body Search request options
44858
+ */
44859
+ postConversationsParticipantsAttributesSearch(body) {
44860
+ // verify the required parameter 'body' is set
44861
+ if (body === undefined || body === null) {
44862
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
44863
+ }
44864
+
44865
+ return this.apiClient.callApi(
44866
+ '/api/v2/conversations/participants/attributes/search',
44867
+ 'POST',
44868
+ { },
44869
+ { },
44870
+ { },
44871
+ { },
44872
+ body,
44873
+ ['PureCloud OAuth'],
44874
+ ['application/json'],
44875
+ ['application/json']
44876
+ );
44877
+ }
44878
+
43911
44879
  /**
43912
44880
  * Search gkn documentation
43913
44881
  *
@@ -44226,7 +45194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44226
45194
  /**
44227
45195
  * SpeechTextAnalytics service.
44228
45196
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
44229
- * @version 159.0.0
45197
+ * @version 160.1.0
44230
45198
  */
44231
45199
 
44232
45200
  /**
@@ -44445,6 +45413,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44445
45413
  );
44446
45414
  }
44447
45415
 
45416
+ /**
45417
+ * Get transcription engine settings of a program
45418
+ *
45419
+ * @param {String} programId The id of the program
45420
+ */
45421
+ getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
45422
+ // verify the required parameter 'programId' is set
45423
+ if (programId === undefined || programId === null) {
45424
+ throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
45425
+ }
45426
+
45427
+ return this.apiClient.callApi(
45428
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
45429
+ 'GET',
45430
+ { 'programId': programId },
45431
+ { },
45432
+ { },
45433
+ { },
45434
+ null,
45435
+ ['PureCloud OAuth'],
45436
+ ['application/json'],
45437
+ ['application/json']
45438
+ );
45439
+ }
45440
+
44448
45441
  /**
44449
45442
  * Get the list of Speech and Text Analytics programs
44450
45443
  *
@@ -44546,6 +45539,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44546
45539
  );
44547
45540
  }
44548
45541
 
45542
+ /**
45543
+ * Get supported dialects for each transcription engine
45544
+ *
45545
+ */
45546
+ getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
45547
+
45548
+ return this.apiClient.callApi(
45549
+ '/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
45550
+ 'GET',
45551
+ { },
45552
+ { },
45553
+ { },
45554
+ { },
45555
+ null,
45556
+ ['PureCloud OAuth'],
45557
+ ['application/json'],
45558
+ ['application/json']
45559
+ );
45560
+ }
45561
+
44549
45562
  /**
44550
45563
  * Get the list of Speech and Text Analytics unpublished programs
44551
45564
  *
@@ -45019,6 +46032,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45019
46032
  );
45020
46033
  }
45021
46034
 
46035
+ /**
46036
+ * Update transcription engine settings of a program
46037
+ *
46038
+ * @param {String} programId The id of the program
46039
+ * @param {Object} body Program transcription engine setting
46040
+ */
46041
+ putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
46042
+ // verify the required parameter 'programId' is set
46043
+ if (programId === undefined || programId === null) {
46044
+ throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
46045
+ }
46046
+ // verify the required parameter 'body' is set
46047
+ if (body === undefined || body === null) {
46048
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
46049
+ }
46050
+
46051
+ return this.apiClient.callApi(
46052
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
46053
+ 'PUT',
46054
+ { 'programId': programId },
46055
+ { },
46056
+ { },
46057
+ { },
46058
+ body,
46059
+ ['PureCloud OAuth'],
46060
+ ['application/json'],
46061
+ ['application/json']
46062
+ );
46063
+ }
46064
+
45022
46065
  /**
45023
46066
  * Update Speech And Text Analytics Settings
45024
46067
  *
@@ -45080,7 +46123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45080
46123
  /**
45081
46124
  * Stations service.
45082
46125
  * @module purecloud-platform-client-v2/api/StationsApi
45083
- * @version 159.0.0
46126
+ * @version 160.1.0
45084
46127
  */
45085
46128
 
45086
46129
  /**
@@ -45227,7 +46270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45227
46270
  /**
45228
46271
  * Suggest service.
45229
46272
  * @module purecloud-platform-client-v2/api/SuggestApi
45230
- * @version 159.0.0
46273
+ * @version 160.1.0
45231
46274
  */
45232
46275
 
45233
46276
  /**
@@ -45366,7 +46409,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45366
46409
  /**
45367
46410
  * Teams service.
45368
46411
  * @module purecloud-platform-client-v2/api/TeamsApi
45369
- * @version 159.0.0
46412
+ * @version 160.1.0
45370
46413
  */
45371
46414
 
45372
46415
  /**
@@ -45637,7 +46680,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45637
46680
  /**
45638
46681
  * Telephony service.
45639
46682
  * @module purecloud-platform-client-v2/api/TelephonyApi
45640
- * @version 159.0.0
46683
+ * @version 160.1.0
45641
46684
  */
45642
46685
 
45643
46686
  /**
@@ -45765,7 +46808,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45765
46808
  /**
45766
46809
  * TelephonyProvidersEdge service.
45767
46810
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
45768
- * @version 159.0.0
46811
+ * @version 160.1.0
45769
46812
  */
45770
46813
 
45771
46814
  /**
@@ -49399,7 +50442,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49399
50442
  /**
49400
50443
  * Textbots service.
49401
50444
  * @module purecloud-platform-client-v2/api/TextbotsApi
49402
- * @version 159.0.0
50445
+ * @version 160.1.0
49403
50446
  */
49404
50447
 
49405
50448
  /**
@@ -49527,7 +50570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49527
50570
  /**
49528
50571
  * Tokens service.
49529
50572
  * @module purecloud-platform-client-v2/api/TokensApi
49530
- * @version 159.0.0
50573
+ * @version 160.1.0
49531
50574
  */
49532
50575
 
49533
50576
  /**
@@ -49633,7 +50676,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49633
50676
  /**
49634
50677
  * Uploads service.
49635
50678
  * @module purecloud-platform-client-v2/api/UploadsApi
49636
- * @version 159.0.0
50679
+ * @version 160.1.0
49637
50680
  */
49638
50681
 
49639
50682
  /**
@@ -49809,7 +50852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49809
50852
  /**
49810
50853
  * Usage service.
49811
50854
  * @module purecloud-platform-client-v2/api/UsageApi
49812
- * @version 159.0.0
50855
+ * @version 160.1.0
49813
50856
  */
49814
50857
 
49815
50858
  /**
@@ -49880,7 +50923,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49880
50923
  /**
49881
50924
  * UserRecordings service.
49882
50925
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
49883
- * @version 159.0.0
50926
+ * @version 160.1.0
49884
50927
  */
49885
50928
 
49886
50929
  /**
@@ -50065,7 +51108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50065
51108
  /**
50066
51109
  * Users service.
50067
51110
  * @module purecloud-platform-client-v2/api/UsersApi
50068
- * @version 159.0.0
51111
+ * @version 160.1.0
50069
51112
  */
50070
51113
 
50071
51114
  /**
@@ -50994,6 +52037,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50994
52037
  );
50995
52038
  }
50996
52039
 
52040
+ /**
52041
+ * Get skill groups for a user
52042
+ *
52043
+ * @param {String} userId User ID
52044
+ * @param {Object} opts Optional parameters
52045
+ * @param {Number} opts.pageSize Page size (default to 25)
52046
+ * @param {String} opts.after The cursor that points to the next page
52047
+ * @param {String} opts.before The cursor that points to the previous page
52048
+ */
52049
+ getUserSkillgroups(userId, opts) {
52050
+ opts = opts || {};
52051
+
52052
+ // verify the required parameter 'userId' is set
52053
+ if (userId === undefined || userId === null) {
52054
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
52055
+ }
52056
+
52057
+ return this.apiClient.callApi(
52058
+ '/api/v2/users/{userId}/skillgroups',
52059
+ 'GET',
52060
+ { 'userId': userId },
52061
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
52062
+ { },
52063
+ { },
52064
+ null,
52065
+ ['PureCloud OAuth'],
52066
+ ['application/json'],
52067
+ ['application/json']
52068
+ );
52069
+ }
52070
+
50997
52071
  /**
50998
52072
  * Get user state information.
50999
52073
  *
@@ -52422,7 +53496,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52422
53496
  /**
52423
53497
  * Utilities service.
52424
53498
  * @module purecloud-platform-client-v2/api/UtilitiesApi
52425
- * @version 159.0.0
53499
+ * @version 160.1.0
52426
53500
  */
52427
53501
 
52428
53502
  /**
@@ -52533,7 +53607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52533
53607
  /**
52534
53608
  * Voicemail service.
52535
53609
  * @module purecloud-platform-client-v2/api/VoicemailApi
52536
- * @version 159.0.0
53610
+ * @version 160.1.0
52537
53611
  */
52538
53612
 
52539
53613
  /**
@@ -53200,7 +54274,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53200
54274
  /**
53201
54275
  * WebChat service.
53202
54276
  * @module purecloud-platform-client-v2/api/WebChatApi
53203
- * @version 159.0.0
54277
+ * @version 160.1.0
53204
54278
  */
53205
54279
 
53206
54280
  /**
@@ -53744,7 +54818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53744
54818
  /**
53745
54819
  * WebDeployments service.
53746
54820
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
53747
- * @version 159.0.0
54821
+ * @version 160.1.0
53748
54822
  */
53749
54823
 
53750
54824
  /**
@@ -54266,7 +55340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54266
55340
  /**
54267
55341
  * WebMessaging service.
54268
55342
  * @module purecloud-platform-client-v2/api/WebMessagingApi
54269
- * @version 159.0.0
55343
+ * @version 160.1.0
54270
55344
  */
54271
55345
 
54272
55346
  /**
@@ -54312,7 +55386,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54312
55386
  /**
54313
55387
  * Widgets service.
54314
55388
  * @module purecloud-platform-client-v2/api/WidgetsApi
54315
- * @version 159.0.0
55389
+ * @version 160.1.0
54316
55390
  */
54317
55391
 
54318
55392
  /**
@@ -54458,7 +55532,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54458
55532
  /**
54459
55533
  * WorkforceManagement service.
54460
55534
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
54461
- * @version 159.0.0
55535
+ * @version 160.1.0
54462
55536
  */
54463
55537
 
54464
55538
  /**
@@ -57493,6 +58567,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57493
58567
  );
57494
58568
  }
57495
58569
 
58570
+ /**
58571
+ * Get agent possible work shifts for requested time frame
58572
+ *
58573
+ * @param {Object} body body
58574
+ */
58575
+ postWorkforcemanagementAgentsMePossibleworkshifts(body) {
58576
+ // verify the required parameter 'body' is set
58577
+ if (body === undefined || body === null) {
58578
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
58579
+ }
58580
+
58581
+ return this.apiClient.callApi(
58582
+ '/api/v2/workforcemanagement/agents/me/possibleworkshifts',
58583
+ 'POST',
58584
+ { },
58585
+ { },
58586
+ { },
58587
+ { },
58588
+ body,
58589
+ ['PureCloud OAuth'],
58590
+ ['application/json'],
58591
+ ['application/json']
58592
+ );
58593
+ }
58594
+
57496
58595
  /**
57497
58596
  * Get published schedule for the current user
57498
58597
  *
@@ -59177,7 +60276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59177
60276
  * </pre>
59178
60277
  * </p>
59179
60278
  * @module purecloud-platform-client-v2/index
59180
- * @version 159.0.0
60279
+ * @version 160.1.0
59181
60280
  */
59182
60281
  class platformClient {
59183
60282
  constructor() {
@@ -59301,6 +60400,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59301
60400
  * @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
59302
60401
  */
59303
60402
  this.IdentityProviderApi = IdentityProviderApi;
60403
+ /**
60404
+ * The InfrastructureAsCodeApi service constructor.
60405
+ * @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
60406
+ */
60407
+ this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
59304
60408
  /**
59305
60409
  * The IntegrationsApi service constructor.
59306
60410
  * @property {module:purecloud-platform-client-v2/api/IntegrationsApi}