purecloud-platform-client-v2 135.0.0 → 136.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +32 -29
  2. package/dist/node/purecloud-platform-client-v2.js +238 -107
  3. package/dist/web-amd/purecloud-platform-client-v2.js +238 -107
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +238 -107
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +248 -118
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +368 -227
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  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 +3 -3
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +29 -29
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +11 -9
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +128 -3
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +7 -3
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5755,10 +5755,10 @@ function Request(method, url) {
5755
5755
 
5756
5756
  try {
5757
5757
  res = new Response(self);
5758
- } catch (error_) {
5758
+ } catch (err) {
5759
5759
  error = new Error('Parser is unable to parse the response');
5760
5760
  error.parse = true;
5761
- error.original = error_; // issue #675: return the raw response if the response parsing fails
5761
+ error.original = err; // issue #675: return the raw response if the response parsing fails
5762
5762
 
5763
5763
  if (self.xhr) {
5764
5764
  // ie9 doesn't have 'response' property
@@ -5881,14 +5881,13 @@ Request.prototype.auth = function (user, pass, options) {
5881
5881
  };
5882
5882
  }
5883
5883
 
5884
- var encoder = function encoder(string) {
5884
+ var encoder = options.encoder ? options.encoder : function (string) {
5885
5885
  if (typeof btoa === 'function') {
5886
5886
  return btoa(string);
5887
5887
  }
5888
5888
 
5889
5889
  throw new Error('Cannot use basic auth, btoa is not a function');
5890
5890
  };
5891
-
5892
5891
  return this._auth(user, pass, options, encoder);
5893
5892
  };
5894
5893
  /**
@@ -6552,8 +6551,8 @@ RequestBase.prototype._shouldRetry = function (error, res) {
6552
6551
 
6553
6552
  if (override === true) return true;
6554
6553
  if (override === false) return false; // undefined falls back to defaults
6555
- } catch (error_) {
6556
- console.error(error_);
6554
+ } catch (err) {
6555
+ console.error(err);
6557
6556
  }
6558
6557
  } // TODO: we would need to make this easily configurable before adding it in (e.g. some might want to add POST)
6559
6558
 
@@ -6645,8 +6644,8 @@ RequestBase.prototype.then = function (resolve, reject) {
6645
6644
  return this._fullfilledPromise.then(resolve, reject);
6646
6645
  };
6647
6646
 
6648
- RequestBase.prototype.catch = function (cb) {
6649
- return this.then(undefined, cb);
6647
+ RequestBase.prototype.catch = function (callback) {
6648
+ return this.then(undefined, callback);
6650
6649
  };
6651
6650
  /**
6652
6651
  * Allow for extension
@@ -6658,9 +6657,9 @@ RequestBase.prototype.use = function (fn) {
6658
6657
  return this;
6659
6658
  };
6660
6659
 
6661
- RequestBase.prototype.ok = function (cb) {
6662
- if (typeof cb !== 'function') throw new Error('Callback required');
6663
- this._okCallback = cb;
6660
+ RequestBase.prototype.ok = function (callback) {
6661
+ if (typeof callback !== 'function') throw new Error('Callback required');
6662
+ this._okCallback = callback;
6664
6663
  return this;
6665
6664
  };
6666
6665
 
@@ -9675,7 +9674,7 @@ class Configuration {
9675
9674
 
9676
9675
  /**
9677
9676
  * @module purecloud-platform-client-v2/ApiClient
9678
- * @version 135.0.0
9677
+ * @version 136.0.0
9679
9678
  */
9680
9679
  class ApiClient {
9681
9680
  /**
@@ -10615,7 +10614,7 @@ class ApiClient {
10615
10614
 
10616
10615
  // set header parameters
10617
10616
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
10618
- //request.set({ 'purecloud-sdk': '135.0.0' });
10617
+ //request.set({ 'purecloud-sdk': '136.0.0' });
10619
10618
 
10620
10619
  // set request timeout
10621
10620
  request.timeout(that.timeout);
@@ -10715,7 +10714,7 @@ class AlertingApi {
10715
10714
  /**
10716
10715
  * Alerting service.
10717
10716
  * @module purecloud-platform-client-v2/api/AlertingApi
10718
- * @version 135.0.0
10717
+ * @version 136.0.0
10719
10718
  */
10720
10719
 
10721
10720
  /**
@@ -11029,7 +11028,7 @@ class AnalyticsApi {
11029
11028
  /**
11030
11029
  * Analytics service.
11031
11030
  * @module purecloud-platform-client-v2/api/AnalyticsApi
11032
- * @version 135.0.0
11031
+ * @version 136.0.0
11033
11032
  */
11034
11033
 
11035
11034
  /**
@@ -12211,7 +12210,7 @@ class ArchitectApi {
12211
12210
  /**
12212
12211
  * Architect service.
12213
12212
  * @module purecloud-platform-client-v2/api/ArchitectApi
12214
- * @version 135.0.0
12213
+ * @version 136.0.0
12215
12214
  */
12216
12215
 
12217
12216
  /**
@@ -15207,7 +15206,7 @@ class AuditApi {
15207
15206
  /**
15208
15207
  * Audit service.
15209
15208
  * @module purecloud-platform-client-v2/api/AuditApi
15210
- * @version 135.0.0
15209
+ * @version 136.0.0
15211
15210
  */
15212
15211
 
15213
15212
  /**
@@ -15378,7 +15377,7 @@ class AuthorizationApi {
15378
15377
  /**
15379
15378
  * Authorization service.
15380
15379
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15381
- * @version 135.0.0
15380
+ * @version 136.0.0
15382
15381
  */
15383
15382
 
15384
15383
  /**
@@ -16561,7 +16560,7 @@ class BillingApi {
16561
16560
  /**
16562
16561
  * Billing service.
16563
16562
  * @module purecloud-platform-client-v2/api/BillingApi
16564
- * @version 135.0.0
16563
+ * @version 136.0.0
16565
16564
  */
16566
16565
 
16567
16566
  /**
@@ -16641,7 +16640,7 @@ class ChatApi {
16641
16640
  /**
16642
16641
  * Chat service.
16643
16642
  * @module purecloud-platform-client-v2/api/ChatApi
16644
- * @version 135.0.0
16643
+ * @version 136.0.0
16645
16644
  */
16646
16645
 
16647
16646
  /**
@@ -16732,7 +16731,7 @@ class CoachingApi {
16732
16731
  /**
16733
16732
  * Coaching service.
16734
16733
  * @module purecloud-platform-client-v2/api/CoachingApi
16735
- * @version 135.0.0
16734
+ * @version 136.0.0
16736
16735
  */
16737
16736
 
16738
16737
  /**
@@ -17309,7 +17308,7 @@ class ContentManagementApi {
17309
17308
  /**
17310
17309
  * ContentManagement service.
17311
17310
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17312
- * @version 135.0.0
17311
+ * @version 136.0.0
17313
17312
  */
17314
17313
 
17315
17314
  /**
@@ -18449,7 +18448,7 @@ class ConversationsApi {
18449
18448
  /**
18450
18449
  * Conversations service.
18451
18450
  * @module purecloud-platform-client-v2/api/ConversationsApi
18452
- * @version 135.0.0
18451
+ * @version 136.0.0
18453
18452
  */
18454
18453
 
18455
18454
  /**
@@ -21528,8 +21527,8 @@ class ConversationsApi {
21528
21527
  }
21529
21528
 
21530
21529
  /**
21531
- * Update or activate a WhatsApp messaging integration.
21532
- * The following steps are required in order to fully activate a Whatsapp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
21530
+ * Update or activate a WhatsApp messaging integration
21531
+ * The following steps are required in order to fully activate a WhatsApp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
21533
21532
  * @param {String} integrationId Integration ID
21534
21533
  * @param {Object} body WhatsAppIntegrationUpdateRequest
21535
21534
  */
@@ -23113,7 +23112,7 @@ class DataExtensionsApi {
23113
23112
  /**
23114
23113
  * DataExtensions service.
23115
23114
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23116
- * @version 135.0.0
23115
+ * @version 136.0.0
23117
23116
  */
23118
23117
 
23119
23118
  /**
@@ -23199,7 +23198,7 @@ class ExternalContactsApi {
23199
23198
  /**
23200
23199
  * ExternalContacts service.
23201
23200
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23202
- * @version 135.0.0
23201
+ * @version 136.0.0
23203
23202
  */
23204
23203
 
23205
23204
  /**
@@ -24942,7 +24941,7 @@ class FaxApi {
24942
24941
  /**
24943
24942
  * Fax service.
24944
24943
  * @module purecloud-platform-client-v2/api/FaxApi
24945
- * @version 135.0.0
24944
+ * @version 136.0.0
24946
24945
  */
24947
24946
 
24948
24947
  /**
@@ -25113,7 +25112,7 @@ class FlowsApi {
25113
25112
  /**
25114
25113
  * Flows service.
25115
25114
  * @module purecloud-platform-client-v2/api/FlowsApi
25116
- * @version 135.0.0
25115
+ * @version 136.0.0
25117
25116
  */
25118
25117
 
25119
25118
  /**
@@ -25184,7 +25183,7 @@ class GamificationApi {
25184
25183
  /**
25185
25184
  * Gamification service.
25186
25185
  * @module purecloud-platform-client-v2/api/GamificationApi
25187
- * @version 135.0.0
25186
+ * @version 136.0.0
25188
25187
  */
25189
25188
 
25190
25189
  /**
@@ -25430,18 +25429,18 @@ class GamificationApi {
25430
25429
  /**
25431
25430
  * Performance profile by id
25432
25431
  *
25433
- * @param {String} performanceProfileId Performance Profile Id
25432
+ * @param {String} profileId performanceProfileId
25434
25433
  */
25435
- getGamificationProfile(performanceProfileId) {
25436
- // verify the required parameter 'performanceProfileId' is set
25437
- if (performanceProfileId === undefined || performanceProfileId === null) {
25438
- throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfile';
25434
+ getGamificationProfile(profileId) {
25435
+ // verify the required parameter 'profileId' is set
25436
+ if (profileId === undefined || profileId === null) {
25437
+ throw 'Missing the required parameter "profileId" when calling getGamificationProfile';
25439
25438
  }
25440
25439
 
25441
25440
  return this.apiClient.callApi(
25442
- '/api/v2/gamification/profiles/{performanceProfileId}',
25441
+ '/api/v2/gamification/profiles/{profileId}',
25443
25442
  'GET',
25444
- { 'performanceProfileId': performanceProfileId },
25443
+ { 'profileId': profileId },
25445
25444
  { },
25446
25445
  { },
25447
25446
  { },
@@ -26284,18 +26283,18 @@ class GamificationApi {
26284
26283
  /**
26285
26284
  * Activate a performance profile
26286
26285
  *
26287
- * @param {String} performanceProfileId Performance Profile Id
26286
+ * @param {String} profileId performanceProfileId
26288
26287
  */
26289
- postGamificationProfileActivate(performanceProfileId) {
26290
- // verify the required parameter 'performanceProfileId' is set
26291
- if (performanceProfileId === undefined || performanceProfileId === null) {
26292
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileActivate';
26288
+ postGamificationProfileActivate(profileId) {
26289
+ // verify the required parameter 'profileId' is set
26290
+ if (profileId === undefined || profileId === null) {
26291
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileActivate';
26293
26292
  }
26294
26293
 
26295
26294
  return this.apiClient.callApi(
26296
- '/api/v2/gamification/profiles/{performanceProfileId}/activate',
26295
+ '/api/v2/gamification/profiles/{profileId}/activate',
26297
26296
  'POST',
26298
- { 'performanceProfileId': performanceProfileId },
26297
+ { 'profileId': profileId },
26299
26298
  { },
26300
26299
  { },
26301
26300
  { },
@@ -26309,18 +26308,18 @@ class GamificationApi {
26309
26308
  /**
26310
26309
  * Deactivate a performance profile
26311
26310
  *
26312
- * @param {String} performanceProfileId Performance Profile Id
26311
+ * @param {String} profileId performanceProfileId
26313
26312
  */
26314
- postGamificationProfileDeactivate(performanceProfileId) {
26315
- // verify the required parameter 'performanceProfileId' is set
26316
- if (performanceProfileId === undefined || performanceProfileId === null) {
26317
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileDeactivate';
26313
+ postGamificationProfileDeactivate(profileId) {
26314
+ // verify the required parameter 'profileId' is set
26315
+ if (profileId === undefined || profileId === null) {
26316
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileDeactivate';
26318
26317
  }
26319
26318
 
26320
26319
  return this.apiClient.callApi(
26321
- '/api/v2/gamification/profiles/{performanceProfileId}/deactivate',
26320
+ '/api/v2/gamification/profiles/{profileId}/deactivate',
26322
26321
  'POST',
26323
- { 'performanceProfileId': performanceProfileId },
26322
+ { 'profileId': profileId },
26324
26323
  { },
26325
26324
  { },
26326
26325
  { },
@@ -26522,22 +26521,22 @@ class GamificationApi {
26522
26521
  /**
26523
26522
  * Updates a performance profile
26524
26523
  *
26525
- * @param {String} performanceProfileId Performance Profile Id
26524
+ * @param {String} profileId performanceProfileId
26526
26525
  * @param {Object} opts Optional parameters
26527
26526
  * @param {Object} opts.body performanceProfile
26528
26527
  */
26529
- putGamificationProfile(performanceProfileId, opts) {
26528
+ putGamificationProfile(profileId, opts) {
26530
26529
  opts = opts || {};
26531
26530
 
26532
- // verify the required parameter 'performanceProfileId' is set
26533
- if (performanceProfileId === undefined || performanceProfileId === null) {
26534
- throw 'Missing the required parameter "performanceProfileId" when calling putGamificationProfile';
26531
+ // verify the required parameter 'profileId' is set
26532
+ if (profileId === undefined || profileId === null) {
26533
+ throw 'Missing the required parameter "profileId" when calling putGamificationProfile';
26535
26534
  }
26536
26535
 
26537
26536
  return this.apiClient.callApi(
26538
- '/api/v2/gamification/profiles/{performanceProfileId}',
26537
+ '/api/v2/gamification/profiles/{profileId}',
26539
26538
  'PUT',
26540
- { 'performanceProfileId': performanceProfileId },
26539
+ { 'profileId': profileId },
26541
26540
  { },
26542
26541
  { },
26543
26542
  { },
@@ -26614,7 +26613,7 @@ class GeneralDataProtectionRegulationApi {
26614
26613
  /**
26615
26614
  * GeneralDataProtectionRegulation service.
26616
26615
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
26617
- * @version 135.0.0
26616
+ * @version 136.0.0
26618
26617
  */
26619
26618
 
26620
26619
  /**
@@ -26744,7 +26743,7 @@ class GeolocationApi {
26744
26743
  /**
26745
26744
  * Geolocation service.
26746
26745
  * @module purecloud-platform-client-v2/api/GeolocationApi
26747
- * @version 135.0.0
26746
+ * @version 136.0.0
26748
26747
  */
26749
26748
 
26750
26749
  /**
@@ -26875,7 +26874,7 @@ class GreetingsApi {
26875
26874
  /**
26876
26875
  * Greetings service.
26877
26876
  * @module purecloud-platform-client-v2/api/GreetingsApi
26878
- * @version 135.0.0
26877
+ * @version 136.0.0
26879
26878
  */
26880
26879
 
26881
26880
  /**
@@ -27330,7 +27329,7 @@ class GroupsApi {
27330
27329
  /**
27331
27330
  * Groups service.
27332
27331
  * @module purecloud-platform-client-v2/api/GroupsApi
27333
- * @version 135.0.0
27332
+ * @version 136.0.0
27334
27333
  */
27335
27334
 
27336
27335
  /**
@@ -27735,7 +27734,7 @@ class IdentityProviderApi {
27735
27734
  /**
27736
27735
  * IdentityProvider service.
27737
27736
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
27738
- * @version 135.0.0
27737
+ * @version 136.0.0
27739
27738
  */
27740
27739
 
27741
27740
  /**
@@ -28491,7 +28490,7 @@ class IntegrationsApi {
28491
28490
  /**
28492
28491
  * Integrations service.
28493
28492
  * @module purecloud-platform-client-v2/api/IntegrationsApi
28494
- * @version 135.0.0
28493
+ * @version 136.0.0
28495
28494
  */
28496
28495
 
28497
28496
  /**
@@ -28909,9 +28908,10 @@ class IntegrationsApi {
28909
28908
  * @param {String} opts.previousPage Previous page token
28910
28909
  * @param {String} opts.sortBy Root level field name to sort on.
28911
28910
  * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
28912
- * @param {String} opts.category Filter by category name
28913
- * @param {String} opts.name Filter by action name. Provide full or just the first part of name.
28914
- * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
28911
+ * @param {String} opts.category Filter by category name.
28912
+ * @param {String} opts.name Filter by partial or complete action name.
28913
+ * @param {String} opts.ids Filter by action Id. Can be a comma separated list to request multiple actions. Limit of 50 Ids.
28914
+ * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
28915
28915
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
28916
28916
  */
28917
28917
  getIntegrationsActions(opts) {
@@ -28922,7 +28922,7 @@ class IntegrationsApi {
28922
28922
  '/api/v2/integrations/actions',
28923
28923
  'GET',
28924
28924
  { },
28925
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
28925
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'ids': opts['ids'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
28926
28926
  { },
28927
28927
  { },
28928
28928
  null,
@@ -28972,9 +28972,10 @@ class IntegrationsApi {
28972
28972
  * @param {String} opts.previousPage Previous page token
28973
28973
  * @param {String} opts.sortBy Root level field name to sort on.
28974
28974
  * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
28975
- * @param {String} opts.category Filter by category name
28976
- * @param {String} opts.name Filter by action name. Provide full or just the first part of name.
28977
- * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
28975
+ * @param {String} opts.category Filter by category name.
28976
+ * @param {String} opts.name Filter by partial or complete action name.
28977
+ * @param {String} opts.ids Filter by action Id. Can be a comma separated list to request multiple actions. Limit of 50 Ids.
28978
+ * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
28978
28979
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
28979
28980
  */
28980
28981
  getIntegrationsActionsDrafts(opts) {
@@ -28985,7 +28986,7 @@ class IntegrationsApi {
28985
28986
  '/api/v2/integrations/actions/drafts',
28986
28987
  'GET',
28987
28988
  { },
28988
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
28989
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'ids': opts['ids'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
28989
28990
  { },
28990
28991
  { },
28991
28992
  null,
@@ -30166,7 +30167,7 @@ class JourneyApi {
30166
30167
  /**
30167
30168
  * Journey service.
30168
30169
  * @module purecloud-platform-client-v2/api/JourneyApi
30169
- * @version 135.0.0
30170
+ * @version 136.0.0
30170
30171
  */
30171
30172
 
30172
30173
  /**
@@ -30877,7 +30878,7 @@ class KnowledgeApi {
30877
30878
  /**
30878
30879
  * Knowledge service.
30879
30880
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30880
- * @version 135.0.0
30881
+ * @version 136.0.0
30881
30882
  */
30882
30883
 
30883
30884
  /**
@@ -31777,7 +31778,7 @@ class LanguageUnderstandingApi {
31777
31778
  /**
31778
31779
  * LanguageUnderstanding service.
31779
31780
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31780
- * @version 135.0.0
31781
+ * @version 136.0.0
31781
31782
  */
31782
31783
 
31783
31784
  /**
@@ -32681,7 +32682,7 @@ class LanguagesApi {
32681
32682
  /**
32682
32683
  * Languages service.
32683
32684
  * @module purecloud-platform-client-v2/api/LanguagesApi
32684
- * @version 135.0.0
32685
+ * @version 136.0.0
32685
32686
  */
32686
32687
 
32687
32688
  /**
@@ -32949,7 +32950,7 @@ class LearningApi {
32949
32950
  /**
32950
32951
  * Learning service.
32951
32952
  * @module purecloud-platform-client-v2/api/LearningApi
32952
- * @version 135.0.0
32953
+ * @version 136.0.0
32953
32954
  */
32954
32955
 
32955
32956
  /**
@@ -33540,7 +33541,7 @@ class LicenseApi {
33540
33541
  /**
33541
33542
  * License service.
33542
33543
  * @module purecloud-platform-client-v2/api/LicenseApi
33543
- * @version 135.0.0
33544
+ * @version 136.0.0
33544
33545
  */
33545
33546
 
33546
33547
  /**
@@ -33778,7 +33779,7 @@ class LocationsApi {
33778
33779
  /**
33779
33780
  * Locations service.
33780
33781
  * @module purecloud-platform-client-v2/api/LocationsApi
33781
- * @version 135.0.0
33782
+ * @version 136.0.0
33782
33783
  */
33783
33784
 
33784
33785
  /**
@@ -34014,7 +34015,7 @@ class MessagingApi {
34014
34015
  /**
34015
34016
  * Messaging service.
34016
34017
  * @module purecloud-platform-client-v2/api/MessagingApi
34017
- * @version 135.0.0
34018
+ * @version 136.0.0
34018
34019
  */
34019
34020
 
34020
34021
  /**
@@ -34165,7 +34166,7 @@ class MobileDevicesApi {
34165
34166
  /**
34166
34167
  * MobileDevices service.
34167
34168
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34168
- * @version 135.0.0
34169
+ * @version 136.0.0
34169
34170
  */
34170
34171
 
34171
34172
  /**
@@ -34316,7 +34317,7 @@ class NotificationsApi {
34316
34317
  /**
34317
34318
  * Notifications service.
34318
34319
  * @module purecloud-platform-client-v2/api/NotificationsApi
34319
- * @version 135.0.0
34320
+ * @version 136.0.0
34320
34321
  */
34321
34322
 
34322
34323
  /**
@@ -34541,7 +34542,7 @@ class OAuthApi {
34541
34542
  /**
34542
34543
  * OAuth service.
34543
34544
  * @module purecloud-platform-client-v2/api/OAuthApi
34544
- * @version 135.0.0
34545
+ * @version 136.0.0
34545
34546
  */
34546
34547
 
34547
34548
  /**
@@ -34907,7 +34908,7 @@ class ObjectsApi {
34907
34908
  /**
34908
34909
  * Objects service.
34909
34910
  * @module purecloud-platform-client-v2/api/ObjectsApi
34910
- * @version 135.0.0
34911
+ * @version 136.0.0
34911
34912
  */
34912
34913
 
34913
34914
  /**
@@ -35178,7 +35179,7 @@ class OrganizationApi {
35178
35179
  /**
35179
35180
  * Organization service.
35180
35181
  * @module purecloud-platform-client-v2/api/OrganizationApi
35181
- * @version 135.0.0
35182
+ * @version 136.0.0
35182
35183
  */
35183
35184
 
35184
35185
  /**
@@ -35581,7 +35582,7 @@ class OrganizationAuthorizationApi {
35581
35582
  /**
35582
35583
  * OrganizationAuthorization service.
35583
35584
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
35584
- * @version 135.0.0
35585
+ * @version 136.0.0
35585
35586
  */
35586
35587
 
35587
35588
  /**
@@ -36506,7 +36507,7 @@ class OutboundApi {
36506
36507
  /**
36507
36508
  * Outbound service.
36508
36509
  * @module purecloud-platform-client-v2/api/OutboundApi
36509
- * @version 135.0.0
36510
+ * @version 136.0.0
36510
36511
  */
36511
36512
 
36512
36513
  /**
@@ -39561,7 +39562,7 @@ class PresenceApi {
39561
39562
  /**
39562
39563
  * Presence service.
39563
39564
  * @module purecloud-platform-client-v2/api/PresenceApi
39564
- * @version 135.0.0
39565
+ * @version 136.0.0
39565
39566
  */
39566
39567
 
39567
39568
  /**
@@ -39883,7 +39884,7 @@ class QualityApi {
39883
39884
  /**
39884
39885
  * Quality service.
39885
39886
  * @module purecloud-platform-client-v2/api/QualityApi
39886
- * @version 135.0.0
39887
+ * @version 136.0.0
39887
39888
  */
39888
39889
 
39889
39890
  /**
@@ -41461,7 +41462,7 @@ class RecordingApi {
41461
41462
  /**
41462
41463
  * Recording service.
41463
41464
  * @module purecloud-platform-client-v2/api/RecordingApi
41464
- * @version 135.0.0
41465
+ * @version 136.0.0
41465
41466
  */
41466
41467
 
41467
41468
  /**
@@ -42117,6 +42118,51 @@ class RecordingApi {
42117
42118
  );
42118
42119
  }
42119
42120
 
42121
+ /**
42122
+ * Get the encryption key configurations
42123
+ *
42124
+ * @param {String} keyConfigurationId Key Configurations Id
42125
+ */
42126
+ getRecordingKeyconfiguration(keyConfigurationId) {
42127
+ // verify the required parameter 'keyConfigurationId' is set
42128
+ if (keyConfigurationId === undefined || keyConfigurationId === null) {
42129
+ throw 'Missing the required parameter "keyConfigurationId" when calling getRecordingKeyconfiguration';
42130
+ }
42131
+
42132
+ return this.apiClient.callApi(
42133
+ '/api/v2/recording/keyconfigurations/{keyConfigurationId}',
42134
+ 'GET',
42135
+ { 'keyConfigurationId': keyConfigurationId },
42136
+ { },
42137
+ { },
42138
+ { },
42139
+ null,
42140
+ ['PureCloud OAuth'],
42141
+ ['application/json'],
42142
+ ['application/json']
42143
+ );
42144
+ }
42145
+
42146
+ /**
42147
+ * Get a list of key configurations data
42148
+ *
42149
+ */
42150
+ getRecordingKeyconfigurations() {
42151
+
42152
+ return this.apiClient.callApi(
42153
+ '/api/v2/recording/keyconfigurations',
42154
+ 'GET',
42155
+ { },
42156
+ { },
42157
+ { },
42158
+ { },
42159
+ null,
42160
+ ['PureCloud OAuth'],
42161
+ ['application/json'],
42162
+ ['application/json']
42163
+ );
42164
+ }
42165
+
42120
42166
  /**
42121
42167
  * Get the local encryption settings
42122
42168
  *
@@ -42490,8 +42536,8 @@ class RecordingApi {
42490
42536
  }
42491
42537
 
42492
42538
  /**
42493
- * Create a recording bulk job
42494
- *
42539
+ * Create a recording bulk job.
42540
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
42495
42541
  * @param {Object} body query
42496
42542
  */
42497
42543
  postRecordingJobs(body) {
@@ -42514,6 +42560,56 @@ class RecordingApi {
42514
42560
  );
42515
42561
  }
42516
42562
 
42563
+ /**
42564
+ * Setup configurations for encryption key creation
42565
+ *
42566
+ * @param {Object} body Encryption Configuration
42567
+ */
42568
+ postRecordingKeyconfigurations(body) {
42569
+ // verify the required parameter 'body' is set
42570
+ if (body === undefined || body === null) {
42571
+ throw 'Missing the required parameter "body" when calling postRecordingKeyconfigurations';
42572
+ }
42573
+
42574
+ return this.apiClient.callApi(
42575
+ '/api/v2/recording/keyconfigurations',
42576
+ 'POST',
42577
+ { },
42578
+ { },
42579
+ { },
42580
+ { },
42581
+ body,
42582
+ ['PureCloud OAuth'],
42583
+ ['application/json'],
42584
+ ['application/json']
42585
+ );
42586
+ }
42587
+
42588
+ /**
42589
+ * Validate encryption key configurations without saving it
42590
+ *
42591
+ * @param {Object} body Encryption Configuration
42592
+ */
42593
+ postRecordingKeyconfigurationsValidate(body) {
42594
+ // verify the required parameter 'body' is set
42595
+ if (body === undefined || body === null) {
42596
+ throw 'Missing the required parameter "body" when calling postRecordingKeyconfigurationsValidate';
42597
+ }
42598
+
42599
+ return this.apiClient.callApi(
42600
+ '/api/v2/recording/keyconfigurations/validate',
42601
+ 'POST',
42602
+ { },
42603
+ { },
42604
+ { },
42605
+ { },
42606
+ body,
42607
+ ['PureCloud OAuth'],
42608
+ ['application/json'],
42609
+ ['application/json']
42610
+ );
42611
+ }
42612
+
42517
42613
  /**
42518
42614
  * create a local recording key
42519
42615
  *
@@ -42848,6 +42944,36 @@ class RecordingApi {
42848
42944
  );
42849
42945
  }
42850
42946
 
42947
+ /**
42948
+ * Update the encryption key configurations
42949
+ *
42950
+ * @param {String} keyConfigurationId Key Configurations Id
42951
+ * @param {Object} body Encryption key configuration metadata
42952
+ */
42953
+ putRecordingKeyconfiguration(keyConfigurationId, body) {
42954
+ // verify the required parameter 'keyConfigurationId' is set
42955
+ if (keyConfigurationId === undefined || keyConfigurationId === null) {
42956
+ throw 'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';
42957
+ }
42958
+ // verify the required parameter 'body' is set
42959
+ if (body === undefined || body === null) {
42960
+ throw 'Missing the required parameter "body" when calling putRecordingKeyconfiguration';
42961
+ }
42962
+
42963
+ return this.apiClient.callApi(
42964
+ '/api/v2/recording/keyconfigurations/{keyConfigurationId}',
42965
+ 'PUT',
42966
+ { 'keyConfigurationId': keyConfigurationId },
42967
+ { },
42968
+ { },
42969
+ { },
42970
+ body,
42971
+ ['PureCloud OAuth'],
42972
+ ['application/json'],
42973
+ ['application/json']
42974
+ );
42975
+ }
42976
+
42851
42977
  /**
42852
42978
  * Update the local encryption settings
42853
42979
  *
@@ -42989,7 +43115,7 @@ class ResponseManagementApi {
42989
43115
  /**
42990
43116
  * ResponseManagement service.
42991
43117
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
42992
- * @version 135.0.0
43118
+ * @version 136.0.0
42993
43119
  */
42994
43120
 
42995
43121
  /**
@@ -43473,7 +43599,7 @@ class RoutingApi {
43473
43599
  /**
43474
43600
  * Routing service.
43475
43601
  * @module purecloud-platform-client-v2/api/RoutingApi
43476
- * @version 135.0.0
43602
+ * @version 136.0.0
43477
43603
  */
43478
43604
 
43479
43605
  /**
@@ -44132,14 +44258,18 @@ class RoutingApi {
44132
44258
  /**
44133
44259
  * Get domains
44134
44260
  *
44261
+ * @param {Object} opts Optional parameters
44262
+ * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
44135
44263
  */
44136
- getRoutingEmailDomains() {
44264
+ getRoutingEmailDomains(opts) {
44265
+ opts = opts || {};
44266
+
44137
44267
 
44138
44268
  return this.apiClient.callApi(
44139
44269
  '/api/v2/routing/email/domains',
44140
44270
  'GET',
44141
44271
  { },
44142
- { },
44272
+ { 'excludeStatus': opts['excludeStatus'] },
44143
44273
  { },
44144
44274
  { },
44145
44275
  null,
@@ -46396,7 +46526,7 @@ class SCIMApi {
46396
46526
  /**
46397
46527
  * SCIM service.
46398
46528
  * @module purecloud-platform-client-v2/api/SCIMApi
46399
- * @version 135.0.0
46529
+ * @version 136.0.0
46400
46530
  */
46401
46531
 
46402
46532
  /**
@@ -47273,7 +47403,7 @@ class ScriptsApi {
47273
47403
  /**
47274
47404
  * Scripts service.
47275
47405
  * @module purecloud-platform-client-v2/api/ScriptsApi
47276
- * @version 135.0.0
47406
+ * @version 136.0.0
47277
47407
  */
47278
47408
 
47279
47409
  /**
@@ -47692,7 +47822,7 @@ class SearchApi {
47692
47822
  /**
47693
47823
  * Search service.
47694
47824
  * @module purecloud-platform-client-v2/api/SearchApi
47695
- * @version 135.0.0
47825
+ * @version 136.0.0
47696
47826
  */
47697
47827
 
47698
47828
  /**
@@ -48227,7 +48357,7 @@ class SpeechTextAnalyticsApi {
48227
48357
  /**
48228
48358
  * SpeechTextAnalytics service.
48229
48359
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
48230
- * @version 135.0.0
48360
+ * @version 136.0.0
48231
48361
  */
48232
48362
 
48233
48363
  /**
@@ -49080,7 +49210,7 @@ class StationsApi {
49080
49210
  /**
49081
49211
  * Stations service.
49082
49212
  * @module purecloud-platform-client-v2/api/StationsApi
49083
- * @version 135.0.0
49213
+ * @version 136.0.0
49084
49214
  */
49085
49215
 
49086
49216
  /**
@@ -49227,7 +49357,7 @@ class SuggestApi {
49227
49357
  /**
49228
49358
  * Suggest service.
49229
49359
  * @module purecloud-platform-client-v2/api/SuggestApi
49230
- * @version 135.0.0
49360
+ * @version 136.0.0
49231
49361
  */
49232
49362
 
49233
49363
  /**
@@ -49366,7 +49496,7 @@ class TelephonyApi {
49366
49496
  /**
49367
49497
  * Telephony service.
49368
49498
  * @module purecloud-platform-client-v2/api/TelephonyApi
49369
- * @version 135.0.0
49499
+ * @version 136.0.0
49370
49500
  */
49371
49501
 
49372
49502
  /**
@@ -49474,7 +49604,7 @@ class TelephonyProvidersEdgeApi {
49474
49604
  /**
49475
49605
  * TelephonyProvidersEdge service.
49476
49606
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
49477
- * @version 135.0.0
49607
+ * @version 136.0.0
49478
49608
  */
49479
49609
 
49480
49610
  /**
@@ -53107,7 +53237,7 @@ class TextbotsApi {
53107
53237
  /**
53108
53238
  * Textbots service.
53109
53239
  * @module purecloud-platform-client-v2/api/TextbotsApi
53110
- * @version 135.0.0
53240
+ * @version 136.0.0
53111
53241
  */
53112
53242
 
53113
53243
  /**
@@ -53235,7 +53365,7 @@ class TokensApi {
53235
53365
  /**
53236
53366
  * Tokens service.
53237
53367
  * @module purecloud-platform-client-v2/api/TokensApi
53238
- * @version 135.0.0
53368
+ * @version 136.0.0
53239
53369
  */
53240
53370
 
53241
53371
  /**
@@ -53341,7 +53471,7 @@ class UploadsApi {
53341
53471
  /**
53342
53472
  * Uploads service.
53343
53473
  * @module purecloud-platform-client-v2/api/UploadsApi
53344
- * @version 135.0.0
53474
+ * @version 136.0.0
53345
53475
  */
53346
53476
 
53347
53477
  /**
@@ -53492,7 +53622,7 @@ class UsageApi {
53492
53622
  /**
53493
53623
  * Usage service.
53494
53624
  * @module purecloud-platform-client-v2/api/UsageApi
53495
- * @version 135.0.0
53625
+ * @version 136.0.0
53496
53626
  */
53497
53627
 
53498
53628
  /**
@@ -53563,7 +53693,7 @@ class UserRecordingsApi {
53563
53693
  /**
53564
53694
  * UserRecordings service.
53565
53695
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
53566
- * @version 135.0.0
53696
+ * @version 136.0.0
53567
53697
  */
53568
53698
 
53569
53699
  /**
@@ -53747,7 +53877,7 @@ class UsersApi {
53747
53877
  /**
53748
53878
  * Users service.
53749
53879
  * @module purecloud-platform-client-v2/api/UsersApi
53750
- * @version 135.0.0
53880
+ * @version 136.0.0
53751
53881
  */
53752
53882
 
53753
53883
  /**
@@ -56049,7 +56179,7 @@ class UtilitiesApi {
56049
56179
  /**
56050
56180
  * Utilities service.
56051
56181
  * @module purecloud-platform-client-v2/api/UtilitiesApi
56052
- * @version 135.0.0
56182
+ * @version 136.0.0
56053
56183
  */
56054
56184
 
56055
56185
  /**
@@ -56160,7 +56290,7 @@ class VoicemailApi {
56160
56290
  /**
56161
56291
  * Voicemail service.
56162
56292
  * @module purecloud-platform-client-v2/api/VoicemailApi
56163
- * @version 135.0.0
56293
+ * @version 136.0.0
56164
56294
  */
56165
56295
 
56166
56296
  /**
@@ -56827,7 +56957,7 @@ class WebChatApi {
56827
56957
  /**
56828
56958
  * WebChat service.
56829
56959
  * @module purecloud-platform-client-v2/api/WebChatApi
56830
- * @version 135.0.0
56960
+ * @version 136.0.0
56831
56961
  */
56832
56962
 
56833
56963
  /**
@@ -57371,7 +57501,7 @@ class WebDeploymentsApi {
57371
57501
  /**
57372
57502
  * WebDeployments service.
57373
57503
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
57374
- * @version 135.0.0
57504
+ * @version 136.0.0
57375
57505
  */
57376
57506
 
57377
57507
  /**
@@ -57726,7 +57856,7 @@ class WebMessagingApi {
57726
57856
  /**
57727
57857
  * WebMessaging service.
57728
57858
  * @module purecloud-platform-client-v2/api/WebMessagingApi
57729
- * @version 135.0.0
57859
+ * @version 136.0.0
57730
57860
  */
57731
57861
 
57732
57862
  /**
@@ -57772,7 +57902,7 @@ class WidgetsApi {
57772
57902
  /**
57773
57903
  * Widgets service.
57774
57904
  * @module purecloud-platform-client-v2/api/WidgetsApi
57775
- * @version 135.0.0
57905
+ * @version 136.0.0
57776
57906
  */
57777
57907
 
57778
57908
  /**
@@ -57918,7 +58048,7 @@ class WorkforceManagementApi {
57918
58048
  /**
57919
58049
  * WorkforceManagement service.
57920
58050
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
57921
- * @version 135.0.0
58051
+ * @version 136.0.0
57922
58052
  */
57923
58053
 
57924
58054
  /**
@@ -62169,7 +62299,7 @@ class WorkforceManagementApi {
62169
62299
  * </pre>
62170
62300
  * </p>
62171
62301
  * @module purecloud-platform-client-v2/index
62172
- * @version 135.0.0
62302
+ * @version 136.0.0
62173
62303
  */
62174
62304
  class platformClient {
62175
62305
  constructor() {