purecloud-platform-client-v2 131.1.0 → 132.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 +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +94 -81
  3. package/dist/web-amd/purecloud-platform-client-v2.js +95 -82
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +100 -87
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +3747 -942
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +65 -10
  9. package/package.json +9 -9
  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 +2 -2
  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 +7 -3
  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 +1 -1
  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 +7 -3
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -5
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  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
@@ -1,8 +1,10 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
3
+ var superagent = require('superagent');
4
4
 
5
- var superagent = _interopDefault(require('superagent'));
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var superagent__default = /*#__PURE__*/_interopDefaultLegacy(superagent);
6
8
 
7
9
  var PureCloudRegionHosts = {
8
10
  us_east_1: 'mypurecloud.com',
@@ -910,7 +912,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
910
912
  }
911
913
  }
912
914
 
913
- function read$$1 (buf, i) {
915
+ function read (buf, i) {
914
916
  if (indexSize === 1) {
915
917
  return buf[i]
916
918
  } else {
@@ -922,7 +924,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
922
924
  if (dir) {
923
925
  var foundIndex = -1;
924
926
  for (i = byteOffset; i < arrLength; i++) {
925
- if (read$$1(arr, i) === read$$1(val, foundIndex === -1 ? 0 : i - foundIndex)) {
927
+ if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
926
928
  if (foundIndex === -1) foundIndex = i;
927
929
  if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
928
930
  } else {
@@ -935,7 +937,7 @@ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
935
937
  for (i = byteOffset; i >= 0; i--) {
936
938
  var found = true;
937
939
  for (var j = 0; j < valLength; j++) {
938
- if (read$$1(arr, i + j) !== read$$1(val, j)) {
940
+ if (read(arr, i + j) !== read(val, j)) {
939
941
  found = false;
940
942
  break
941
943
  }
@@ -1006,7 +1008,7 @@ function ucs2Write (buf, string, offset, length) {
1006
1008
  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
1007
1009
  }
1008
1010
 
1009
- Buffer.prototype.write = function write$$1 (string, offset, length, encoding) {
1011
+ Buffer.prototype.write = function write (string, offset, length, encoding) {
1010
1012
  // Buffer#write(string)
1011
1013
  if (offset === undefined) {
1012
1014
  encoding = 'utf8';
@@ -1675,7 +1677,7 @@ function checkIEEE754 (buf, value, offset, ext, max, min) {
1675
1677
 
1676
1678
  function writeFloat (buf, value, offset, littleEndian, noAssert) {
1677
1679
  if (!noAssert) {
1678
- checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38);
1680
+ checkIEEE754(buf, value, offset, 4);
1679
1681
  }
1680
1682
  write(buf, value, offset, littleEndian, 23, 4);
1681
1683
  return offset + 4
@@ -1691,7 +1693,7 @@ Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert)
1691
1693
 
1692
1694
  function writeDouble (buf, value, offset, littleEndian, noAssert) {
1693
1695
  if (!noAssert) {
1694
- checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308);
1696
+ checkIEEE754(buf, value, offset, 8);
1695
1697
  }
1696
1698
  write(buf, value, offset, littleEndian, 52, 8);
1697
1699
  return offset + 8
@@ -2263,7 +2265,7 @@ class Configuration {
2263
2265
 
2264
2266
  /**
2265
2267
  * @module purecloud-platform-client-v2/ApiClient
2266
- * @version 131.1.0
2268
+ * @version 132.0.0
2267
2269
  */
2268
2270
  class ApiClient {
2269
2271
  /**
@@ -2367,7 +2369,7 @@ class ApiClient {
2367
2369
  this.settingsPrefix = 'purecloud';
2368
2370
 
2369
2371
  // Expose superagent module for use with superagent-proxy
2370
- this.superagent = superagent;
2372
+ this.superagent = superagent__default["default"];
2371
2373
 
2372
2374
  // Transparently request a new access token when it expires (Code Authorization only)
2373
2375
  this.refreshInProgress = false;
@@ -2538,7 +2540,7 @@ class ApiClient {
2538
2540
  }
2539
2541
 
2540
2542
  // Build token request
2541
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
2543
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
2542
2544
  if (this.proxy && request.proxy) {
2543
2545
  request.proxy(this.proxy);
2544
2546
  }
@@ -2794,7 +2796,7 @@ class ApiClient {
2794
2796
  * @param {string} encodedData - Base64 encoded client and clientSecret pair
2795
2797
  */
2796
2798
  _formAuthRequest(encodedData) {
2797
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
2799
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
2798
2800
  // Set the headers
2799
2801
  request.set('Authorization', 'Basic ' + encodedData);
2800
2802
  request.set('Content-Type', 'application/x-www-form-urlencoded');
@@ -3189,7 +3191,7 @@ class ApiClient {
3189
3191
  sendRequest(this);
3190
3192
  function sendRequest(that) {
3191
3193
  var url = that.buildUrl(path, pathParams);
3192
- var request = superagent(httpMethod, url);
3194
+ var request = superagent__default["default"](httpMethod, url);
3193
3195
 
3194
3196
  if (that.proxy && request.proxy) {
3195
3197
  request.proxy(that.proxy);
@@ -3203,7 +3205,7 @@ class ApiClient {
3203
3205
 
3204
3206
  // set header parameters
3205
3207
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
3206
- //request.set({ 'purecloud-sdk': '131.1.0' });
3208
+ //request.set({ 'purecloud-sdk': '132.0.0' });
3207
3209
 
3208
3210
  // set request timeout
3209
3211
  request.timeout(that.timeout);
@@ -3303,7 +3305,7 @@ class AlertingApi {
3303
3305
  /**
3304
3306
  * Alerting service.
3305
3307
  * @module purecloud-platform-client-v2/api/AlertingApi
3306
- * @version 131.1.0
3308
+ * @version 132.0.0
3307
3309
  */
3308
3310
 
3309
3311
  /**
@@ -3617,7 +3619,7 @@ class AnalyticsApi {
3617
3619
  /**
3618
3620
  * Analytics service.
3619
3621
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3620
- * @version 131.1.0
3622
+ * @version 132.0.0
3621
3623
  */
3622
3624
 
3623
3625
  /**
@@ -4799,7 +4801,7 @@ class ArchitectApi {
4799
4801
  /**
4800
4802
  * Architect service.
4801
4803
  * @module purecloud-platform-client-v2/api/ArchitectApi
4802
- * @version 131.1.0
4804
+ * @version 132.0.0
4803
4805
  */
4804
4806
 
4805
4807
  /**
@@ -7795,7 +7797,7 @@ class AuditApi {
7795
7797
  /**
7796
7798
  * Audit service.
7797
7799
  * @module purecloud-platform-client-v2/api/AuditApi
7798
- * @version 131.1.0
7800
+ * @version 132.0.0
7799
7801
  */
7800
7802
 
7801
7803
  /**
@@ -7966,7 +7968,7 @@ class AuthorizationApi {
7966
7968
  /**
7967
7969
  * Authorization service.
7968
7970
  * @module purecloud-platform-client-v2/api/AuthorizationApi
7969
- * @version 131.1.0
7971
+ * @version 132.0.0
7970
7972
  */
7971
7973
 
7972
7974
  /**
@@ -9149,7 +9151,7 @@ class BillingApi {
9149
9151
  /**
9150
9152
  * Billing service.
9151
9153
  * @module purecloud-platform-client-v2/api/BillingApi
9152
- * @version 131.1.0
9154
+ * @version 132.0.0
9153
9155
  */
9154
9156
 
9155
9157
  /**
@@ -9229,7 +9231,7 @@ class ChatApi {
9229
9231
  /**
9230
9232
  * Chat service.
9231
9233
  * @module purecloud-platform-client-v2/api/ChatApi
9232
- * @version 131.1.0
9234
+ * @version 132.0.0
9233
9235
  */
9234
9236
 
9235
9237
  /**
@@ -9320,7 +9322,7 @@ class CoachingApi {
9320
9322
  /**
9321
9323
  * Coaching service.
9322
9324
  * @module purecloud-platform-client-v2/api/CoachingApi
9323
- * @version 131.1.0
9325
+ * @version 132.0.0
9324
9326
  */
9325
9327
 
9326
9328
  /**
@@ -9897,7 +9899,7 @@ class ContentManagementApi {
9897
9899
  /**
9898
9900
  * ContentManagement service.
9899
9901
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9900
- * @version 131.1.0
9902
+ * @version 132.0.0
9901
9903
  */
9902
9904
 
9903
9905
  /**
@@ -11037,7 +11039,7 @@ class ConversationsApi {
11037
11039
  /**
11038
11040
  * Conversations service.
11039
11041
  * @module purecloud-platform-client-v2/api/ConversationsApi
11040
- * @version 131.1.0
11042
+ * @version 132.0.0
11041
11043
  */
11042
11044
 
11043
11045
  /**
@@ -15187,7 +15189,7 @@ class ConversationsApi {
15187
15189
 
15188
15190
  /**
15189
15191
  * Send an agentless outbound message
15190
- * Send an agentlesss (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
15192
+ * Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
15191
15193
  * @param {Object} body Create agentless outbound messaging request
15192
15194
  */
15193
15195
  postConversationsMessagesAgentless(body) {
@@ -15601,7 +15603,7 @@ class DataExtensionsApi {
15601
15603
  /**
15602
15604
  * DataExtensions service.
15603
15605
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15604
- * @version 131.1.0
15606
+ * @version 132.0.0
15605
15607
  */
15606
15608
 
15607
15609
  /**
@@ -15687,7 +15689,7 @@ class ExternalContactsApi {
15687
15689
  /**
15688
15690
  * ExternalContacts service.
15689
15691
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15690
- * @version 131.1.0
15692
+ * @version 132.0.0
15691
15693
  */
15692
15694
 
15693
15695
  /**
@@ -17430,7 +17432,7 @@ class FaxApi {
17430
17432
  /**
17431
17433
  * Fax service.
17432
17434
  * @module purecloud-platform-client-v2/api/FaxApi
17433
- * @version 131.1.0
17435
+ * @version 132.0.0
17434
17436
  */
17435
17437
 
17436
17438
  /**
@@ -17601,7 +17603,7 @@ class FlowsApi {
17601
17603
  /**
17602
17604
  * Flows service.
17603
17605
  * @module purecloud-platform-client-v2/api/FlowsApi
17604
- * @version 131.1.0
17606
+ * @version 132.0.0
17605
17607
  */
17606
17608
 
17607
17609
  /**
@@ -17672,7 +17674,7 @@ class GamificationApi {
17672
17674
  /**
17673
17675
  * Gamification service.
17674
17676
  * @module purecloud-platform-client-v2/api/GamificationApi
17675
- * @version 131.1.0
17677
+ * @version 132.0.0
17676
17678
  */
17677
17679
 
17678
17680
  /**
@@ -18948,8 +18950,12 @@ class GamificationApi {
18948
18950
  * Create a new custom performance profile
18949
18951
  *
18950
18952
  * @param {Object} body performanceProfile
18953
+ * @param {Object} opts Optional parameters
18954
+ * @param {Boolean} opts.copyMetrics Flag to copy metrics. If set to false, there will be no metrics associated with the new profile. If set to true or is absent (the default behavior), all metrics from the default profile will be copied over into the new profile. (default to true)
18951
18955
  */
18952
- postGamificationProfiles(body) {
18956
+ postGamificationProfiles(body, opts) {
18957
+ opts = opts || {};
18958
+
18953
18959
  // verify the required parameter 'body' is set
18954
18960
  if (body === undefined || body === null) {
18955
18961
  throw 'Missing the required parameter "body" when calling postGamificationProfiles';
@@ -18959,7 +18965,7 @@ class GamificationApi {
18959
18965
  '/api/v2/gamification/profiles',
18960
18966
  'POST',
18961
18967
  { },
18962
- { },
18968
+ { 'copyMetrics': opts['copyMetrics'] },
18963
18969
  { },
18964
18970
  { },
18965
18971
  body,
@@ -19098,7 +19104,7 @@ class GeneralDataProtectionRegulationApi {
19098
19104
  /**
19099
19105
  * GeneralDataProtectionRegulation service.
19100
19106
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19101
- * @version 131.1.0
19107
+ * @version 132.0.0
19102
19108
  */
19103
19109
 
19104
19110
  /**
@@ -19228,7 +19234,7 @@ class GeolocationApi {
19228
19234
  /**
19229
19235
  * Geolocation service.
19230
19236
  * @module purecloud-platform-client-v2/api/GeolocationApi
19231
- * @version 131.1.0
19237
+ * @version 132.0.0
19232
19238
  */
19233
19239
 
19234
19240
  /**
@@ -19359,7 +19365,7 @@ class GreetingsApi {
19359
19365
  /**
19360
19366
  * Greetings service.
19361
19367
  * @module purecloud-platform-client-v2/api/GreetingsApi
19362
- * @version 131.1.0
19368
+ * @version 132.0.0
19363
19369
  */
19364
19370
 
19365
19371
  /**
@@ -19814,7 +19820,7 @@ class GroupsApi {
19814
19820
  /**
19815
19821
  * Groups service.
19816
19822
  * @module purecloud-platform-client-v2/api/GroupsApi
19817
- * @version 131.1.0
19823
+ * @version 132.0.0
19818
19824
  */
19819
19825
 
19820
19826
  /**
@@ -20219,7 +20225,7 @@ class IdentityProviderApi {
20219
20225
  /**
20220
20226
  * IdentityProvider service.
20221
20227
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20222
- * @version 131.1.0
20228
+ * @version 132.0.0
20223
20229
  */
20224
20230
 
20225
20231
  /**
@@ -20975,7 +20981,7 @@ class IntegrationsApi {
20975
20981
  /**
20976
20982
  * Integrations service.
20977
20983
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20978
- * @version 131.1.0
20984
+ * @version 132.0.0
20979
20985
  */
20980
20986
 
20981
20987
  /**
@@ -22650,7 +22656,7 @@ class JourneyApi {
22650
22656
  /**
22651
22657
  * Journey service.
22652
22658
  * @module purecloud-platform-client-v2/api/JourneyApi
22653
- * @version 131.1.0
22659
+ * @version 132.0.0
22654
22660
  */
22655
22661
 
22656
22662
  /**
@@ -23361,7 +23367,7 @@ class KnowledgeApi {
23361
23367
  /**
23362
23368
  * Knowledge service.
23363
23369
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23364
- * @version 131.1.0
23370
+ * @version 132.0.0
23365
23371
  */
23366
23372
 
23367
23373
  /**
@@ -24261,7 +24267,7 @@ class LanguageUnderstandingApi {
24261
24267
  /**
24262
24268
  * LanguageUnderstanding service.
24263
24269
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24264
- * @version 131.1.0
24270
+ * @version 132.0.0
24265
24271
  */
24266
24272
 
24267
24273
  /**
@@ -25165,7 +25171,7 @@ class LanguagesApi {
25165
25171
  /**
25166
25172
  * Languages service.
25167
25173
  * @module purecloud-platform-client-v2/api/LanguagesApi
25168
- * @version 131.1.0
25174
+ * @version 132.0.0
25169
25175
  */
25170
25176
 
25171
25177
  /**
@@ -25433,7 +25439,7 @@ class LearningApi {
25433
25439
  /**
25434
25440
  * Learning service.
25435
25441
  * @module purecloud-platform-client-v2/api/LearningApi
25436
- * @version 131.1.0
25442
+ * @version 132.0.0
25437
25443
  */
25438
25444
 
25439
25445
  /**
@@ -26024,7 +26030,7 @@ class LicenseApi {
26024
26030
  /**
26025
26031
  * License service.
26026
26032
  * @module purecloud-platform-client-v2/api/LicenseApi
26027
- * @version 131.1.0
26033
+ * @version 132.0.0
26028
26034
  */
26029
26035
 
26030
26036
  /**
@@ -26262,7 +26268,7 @@ class LocationsApi {
26262
26268
  /**
26263
26269
  * Locations service.
26264
26270
  * @module purecloud-platform-client-v2/api/LocationsApi
26265
- * @version 131.1.0
26271
+ * @version 132.0.0
26266
26272
  */
26267
26273
 
26268
26274
  /**
@@ -26498,7 +26504,7 @@ class MessagingApi {
26498
26504
  /**
26499
26505
  * Messaging service.
26500
26506
  * @module purecloud-platform-client-v2/api/MessagingApi
26501
- * @version 131.1.0
26507
+ * @version 132.0.0
26502
26508
  */
26503
26509
 
26504
26510
  /**
@@ -26649,7 +26655,7 @@ class MobileDevicesApi {
26649
26655
  /**
26650
26656
  * MobileDevices service.
26651
26657
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
26652
- * @version 131.1.0
26658
+ * @version 132.0.0
26653
26659
  */
26654
26660
 
26655
26661
  /**
@@ -26800,7 +26806,7 @@ class NotificationsApi {
26800
26806
  /**
26801
26807
  * Notifications service.
26802
26808
  * @module purecloud-platform-client-v2/api/NotificationsApi
26803
- * @version 131.1.0
26809
+ * @version 132.0.0
26804
26810
  */
26805
26811
 
26806
26812
  /**
@@ -27025,7 +27031,7 @@ class OAuthApi {
27025
27031
  /**
27026
27032
  * OAuth service.
27027
27033
  * @module purecloud-platform-client-v2/api/OAuthApi
27028
- * @version 131.1.0
27034
+ * @version 132.0.0
27029
27035
  */
27030
27036
 
27031
27037
  /**
@@ -27383,7 +27389,7 @@ class ObjectsApi {
27383
27389
  /**
27384
27390
  * Objects service.
27385
27391
  * @module purecloud-platform-client-v2/api/ObjectsApi
27386
- * @version 131.1.0
27392
+ * @version 132.0.0
27387
27393
  */
27388
27394
 
27389
27395
  /**
@@ -27654,7 +27660,7 @@ class OrganizationApi {
27654
27660
  /**
27655
27661
  * Organization service.
27656
27662
  * @module purecloud-platform-client-v2/api/OrganizationApi
27657
- * @version 131.1.0
27663
+ * @version 132.0.0
27658
27664
  */
27659
27665
 
27660
27666
  /**
@@ -28057,7 +28063,7 @@ class OrganizationAuthorizationApi {
28057
28063
  /**
28058
28064
  * OrganizationAuthorization service.
28059
28065
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28060
- * @version 131.1.0
28066
+ * @version 132.0.0
28061
28067
  */
28062
28068
 
28063
28069
  /**
@@ -28982,7 +28988,7 @@ class OutboundApi {
28982
28988
  /**
28983
28989
  * Outbound service.
28984
28990
  * @module purecloud-platform-client-v2/api/OutboundApi
28985
- * @version 131.1.0
28991
+ * @version 132.0.0
28986
28992
  */
28987
28993
 
28988
28994
  /**
@@ -31367,8 +31373,12 @@ class OutboundApi {
31367
31373
  * Only Internal DNC lists may be appended to
31368
31374
  * @param {String} dncListId DncList ID
31369
31375
  * @param {Array.<Object>} body DNC Phone Numbers
31376
+ * @param {Object} opts Optional parameters
31377
+ * @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
31370
31378
  */
31371
- postOutboundDnclistPhonenumbers(dncListId, body) {
31379
+ postOutboundDnclistPhonenumbers(dncListId, body, opts) {
31380
+ opts = opts || {};
31381
+
31372
31382
  // verify the required parameter 'dncListId' is set
31373
31383
  if (dncListId === undefined || dncListId === null) {
31374
31384
  throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
@@ -31382,7 +31392,7 @@ class OutboundApi {
31382
31392
  '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
31383
31393
  'POST',
31384
31394
  { 'dncListId': dncListId },
31385
- { },
31395
+ { 'expirationDateTime': opts['expirationDateTime'] },
31386
31396
  { },
31387
31397
  { },
31388
31398
  body,
@@ -32008,7 +32018,7 @@ class PresenceApi {
32008
32018
  /**
32009
32019
  * Presence service.
32010
32020
  * @module purecloud-platform-client-v2/api/PresenceApi
32011
- * @version 131.1.0
32021
+ * @version 132.0.0
32012
32022
  */
32013
32023
 
32014
32024
  /**
@@ -32380,7 +32390,7 @@ class QualityApi {
32380
32390
  /**
32381
32391
  * Quality service.
32382
32392
  * @module purecloud-platform-client-v2/api/QualityApi
32383
- * @version 131.1.0
32393
+ * @version 132.0.0
32384
32394
  */
32385
32395
 
32386
32396
  /**
@@ -32536,7 +32546,7 @@ class QualityApi {
32536
32546
 
32537
32547
  /**
32538
32548
  * Gets a list of Agent Activities
32539
- * Includes the number of evaluations and average evaluation score. These statistics include released evaluations only when evaluatorUserId is provided. In the absence of evaluatorUserId in the request, the api excludes evaluations which are set to never release for the calculation of evaluation statistics.
32549
+ * Each item on the list shows one agent&#39;s evaluation activity comprised of the number of evaluations and the highest, average, and lowest standard and critical scores, as well as a sub list showing the number and average score of evaluations for each evaluator for that agent. evaluatorUserId, startTime, and endTime are all filtering criteria. If specified, the only evaluations used to compile the agent activity response will be ones that match the filtering criteria. agentUserId, name, group, and agentTeamId are all agent selection criteria. criteria. If one or more agent selection criteria are specified, then the returned activity will include users that match the criteria even if those users did not have any agent activity or evaluations that do not match any filtering criteria. If no agent selection criteria are specified but an evaluatorUserId is, then the returned activity will be only for those agents that had evaluations where the evaluator is the evaluatorUserId. If no agent selection criteria are specified and no evaluatorUserId is specified, then the returned activity will be for all users
32540
32550
  * @param {Object} opts Optional parameters
32541
32551
  * @param {Number} opts.pageSize The total page size requested (default to 25)
32542
32552
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -33958,7 +33968,7 @@ class RecordingApi {
33958
33968
  /**
33959
33969
  * Recording service.
33960
33970
  * @module purecloud-platform-client-v2/api/RecordingApi
33961
- * @version 131.1.0
33971
+ * @version 132.0.0
33962
33972
  */
33963
33973
 
33964
33974
  /**
@@ -34171,6 +34181,7 @@ class RecordingApi {
34171
34181
  * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
34172
34182
  * @param {String} opts.fileName the name of the downloaded fileName
34173
34183
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
34184
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
34174
34185
  */
34175
34186
  getConversationRecording(conversationId, recordingId, opts) {
34176
34187
  opts = opts || {};
@@ -34188,7 +34199,7 @@ class RecordingApi {
34188
34199
  '/api/v2/conversations/{conversationId}/recordings/{recordingId}',
34189
34200
  'GET',
34190
34201
  { 'conversationId': conversationId,'recordingId': recordingId },
34191
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
34202
+ { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
34192
34203
  { },
34193
34204
  { },
34194
34205
  null,
@@ -34324,7 +34335,8 @@ class RecordingApi {
34324
34335
  * @param {String} conversationId Conversation ID
34325
34336
  * @param {Object} opts Optional parameters
34326
34337
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
34327
- * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
34338
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
34339
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
34328
34340
  */
34329
34341
  getConversationRecordings(conversationId, opts) {
34330
34342
  opts = opts || {};
@@ -34338,7 +34350,7 @@ class RecordingApi {
34338
34350
  '/api/v2/conversations/{conversationId}/recordings',
34339
34351
  'GET',
34340
34352
  { 'conversationId': conversationId },
34341
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
34353
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
34342
34354
  { },
34343
34355
  { },
34344
34356
  null,
@@ -34385,6 +34397,7 @@ class RecordingApi {
34385
34397
  * @param {Boolean} opts.download requesting a download format of the recording (default to false)
34386
34398
  * @param {String} opts.fileName the name of the downloaded fileName
34387
34399
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
34400
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
34388
34401
  */
34389
34402
  getOrphanrecordingMedia(orphanId, opts) {
34390
34403
  opts = opts || {};
@@ -34398,7 +34411,7 @@ class RecordingApi {
34398
34411
  '/api/v2/orphanrecordings/{orphanId}/media',
34399
34412
  'GET',
34400
34413
  { 'orphanId': orphanId },
34401
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
34414
+ { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
34402
34415
  { },
34403
34416
  { },
34404
34417
  null,
@@ -35481,7 +35494,7 @@ class ResponseManagementApi {
35481
35494
  /**
35482
35495
  * ResponseManagement service.
35483
35496
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
35484
- * @version 131.1.0
35497
+ * @version 132.0.0
35485
35498
  */
35486
35499
 
35487
35500
  /**
@@ -35806,7 +35819,7 @@ class RoutingApi {
35806
35819
  /**
35807
35820
  * Routing service.
35808
35821
  * @module purecloud-platform-client-v2/api/RoutingApi
35809
- * @version 131.1.0
35822
+ * @version 132.0.0
35810
35823
  */
35811
35824
 
35812
35825
  /**
@@ -38729,7 +38742,7 @@ class SCIMApi {
38729
38742
  /**
38730
38743
  * SCIM service.
38731
38744
  * @module purecloud-platform-client-v2/api/SCIMApi
38732
- * @version 131.1.0
38745
+ * @version 132.0.0
38733
38746
  */
38734
38747
 
38735
38748
  /**
@@ -39606,7 +39619,7 @@ class ScriptsApi {
39606
39619
  /**
39607
39620
  * Scripts service.
39608
39621
  * @module purecloud-platform-client-v2/api/ScriptsApi
39609
- * @version 131.1.0
39622
+ * @version 132.0.0
39610
39623
  */
39611
39624
 
39612
39625
  /**
@@ -39959,7 +39972,7 @@ class SearchApi {
39959
39972
  /**
39960
39973
  * Search service.
39961
39974
  * @module purecloud-platform-client-v2/api/SearchApi
39962
- * @version 131.1.0
39975
+ * @version 132.0.0
39963
39976
  */
39964
39977
 
39965
39978
  /**
@@ -40494,7 +40507,7 @@ class SpeechTextAnalyticsApi {
40494
40507
  /**
40495
40508
  * SpeechTextAnalytics service.
40496
40509
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
40497
- * @version 131.1.0
40510
+ * @version 132.0.0
40498
40511
  */
40499
40512
 
40500
40513
  /**
@@ -41347,7 +41360,7 @@ class StationsApi {
41347
41360
  /**
41348
41361
  * Stations service.
41349
41362
  * @module purecloud-platform-client-v2/api/StationsApi
41350
- * @version 131.1.0
41363
+ * @version 132.0.0
41351
41364
  */
41352
41365
 
41353
41366
  /**
@@ -41494,7 +41507,7 @@ class SuggestApi {
41494
41507
  /**
41495
41508
  * Suggest service.
41496
41509
  * @module purecloud-platform-client-v2/api/SuggestApi
41497
- * @version 131.1.0
41510
+ * @version 132.0.0
41498
41511
  */
41499
41512
 
41500
41513
  /**
@@ -41633,7 +41646,7 @@ class TelephonyApi {
41633
41646
  /**
41634
41647
  * Telephony service.
41635
41648
  * @module purecloud-platform-client-v2/api/TelephonyApi
41636
- * @version 131.1.0
41649
+ * @version 132.0.0
41637
41650
  */
41638
41651
 
41639
41652
  /**
@@ -41741,7 +41754,7 @@ class TelephonyProvidersEdgeApi {
41741
41754
  /**
41742
41755
  * TelephonyProvidersEdge service.
41743
41756
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41744
- * @version 131.1.0
41757
+ * @version 132.0.0
41745
41758
  */
41746
41759
 
41747
41760
  /**
@@ -45374,7 +45387,7 @@ class TextbotsApi {
45374
45387
  /**
45375
45388
  * Textbots service.
45376
45389
  * @module purecloud-platform-client-v2/api/TextbotsApi
45377
- * @version 131.1.0
45390
+ * @version 132.0.0
45378
45391
  */
45379
45392
 
45380
45393
  /**
@@ -45502,7 +45515,7 @@ class TokensApi {
45502
45515
  /**
45503
45516
  * Tokens service.
45504
45517
  * @module purecloud-platform-client-v2/api/TokensApi
45505
- * @version 131.1.0
45518
+ * @version 132.0.0
45506
45519
  */
45507
45520
 
45508
45521
  /**
@@ -45608,7 +45621,7 @@ class UploadsApi {
45608
45621
  /**
45609
45622
  * Uploads service.
45610
45623
  * @module purecloud-platform-client-v2/api/UploadsApi
45611
- * @version 131.1.0
45624
+ * @version 132.0.0
45612
45625
  */
45613
45626
 
45614
45627
  /**
@@ -45784,7 +45797,7 @@ class UsageApi {
45784
45797
  /**
45785
45798
  * Usage service.
45786
45799
  * @module purecloud-platform-client-v2/api/UsageApi
45787
- * @version 131.1.0
45800
+ * @version 132.0.0
45788
45801
  */
45789
45802
 
45790
45803
  /**
@@ -45855,7 +45868,7 @@ class UserRecordingsApi {
45855
45868
  /**
45856
45869
  * UserRecordings service.
45857
45870
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45858
- * @version 131.1.0
45871
+ * @version 132.0.0
45859
45872
  */
45860
45873
 
45861
45874
  /**
@@ -46039,7 +46052,7 @@ class UsersApi {
46039
46052
  /**
46040
46053
  * Users service.
46041
46054
  * @module purecloud-platform-client-v2/api/UsersApi
46042
- * @version 131.1.0
46055
+ * @version 132.0.0
46043
46056
  */
46044
46057
 
46045
46058
  /**
@@ -48341,7 +48354,7 @@ class UtilitiesApi {
48341
48354
  /**
48342
48355
  * Utilities service.
48343
48356
  * @module purecloud-platform-client-v2/api/UtilitiesApi
48344
- * @version 131.1.0
48357
+ * @version 132.0.0
48345
48358
  */
48346
48359
 
48347
48360
  /**
@@ -48452,7 +48465,7 @@ class VoicemailApi {
48452
48465
  /**
48453
48466
  * Voicemail service.
48454
48467
  * @module purecloud-platform-client-v2/api/VoicemailApi
48455
- * @version 131.1.0
48468
+ * @version 132.0.0
48456
48469
  */
48457
48470
 
48458
48471
  /**
@@ -49119,7 +49132,7 @@ class WebChatApi {
49119
49132
  /**
49120
49133
  * WebChat service.
49121
49134
  * @module purecloud-platform-client-v2/api/WebChatApi
49122
- * @version 131.1.0
49135
+ * @version 132.0.0
49123
49136
  */
49124
49137
 
49125
49138
  /**
@@ -49663,7 +49676,7 @@ class WebDeploymentsApi {
49663
49676
  /**
49664
49677
  * WebDeployments service.
49665
49678
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49666
- * @version 131.1.0
49679
+ * @version 132.0.0
49667
49680
  */
49668
49681
 
49669
49682
  /**
@@ -50018,7 +50031,7 @@ class WebMessagingApi {
50018
50031
  /**
50019
50032
  * WebMessaging service.
50020
50033
  * @module purecloud-platform-client-v2/api/WebMessagingApi
50021
- * @version 131.1.0
50034
+ * @version 132.0.0
50022
50035
  */
50023
50036
 
50024
50037
  /**
@@ -50064,7 +50077,7 @@ class WidgetsApi {
50064
50077
  /**
50065
50078
  * Widgets service.
50066
50079
  * @module purecloud-platform-client-v2/api/WidgetsApi
50067
- * @version 131.1.0
50080
+ * @version 132.0.0
50068
50081
  */
50069
50082
 
50070
50083
  /**
@@ -50210,7 +50223,7 @@ class WorkforceManagementApi {
50210
50223
  /**
50211
50224
  * WorkforceManagement service.
50212
50225
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
50213
- * @version 131.1.0
50226
+ * @version 132.0.0
50214
50227
  */
50215
50228
 
50216
50229
  /**
@@ -54241,7 +54254,7 @@ class WorkforceManagementApi {
54241
54254
  * </pre>
54242
54255
  * </p>
54243
54256
  * @module purecloud-platform-client-v2/index
54244
- * @version 131.1.0
54257
+ * @version 132.0.0
54245
54258
  */
54246
54259
  class platformClient {
54247
54260
  constructor() {