purecloud-platform-client-v2 131.1.0 → 133.0.1

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 +122 -84
  3. package/dist/web-amd/purecloud-platform-client-v2.js +123 -85
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +128 -90
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +3775 -945
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +245 -11
  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 +27 -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 +4 -4
  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 +2 -2
  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 133.0.1
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': '133.0.1' });
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
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 133.0.1
11041
11043
  */
11042
11044
 
11043
11045
  /**
@@ -12368,6 +12370,31 @@ class ConversationsApi {
12368
12370
  );
12369
12371
  }
12370
12372
 
12373
+ /**
12374
+ * Get emails settings for a given conversation
12375
+ *
12376
+ * @param {String} conversationId conversationId
12377
+ */
12378
+ getConversationsEmailSettings(conversationId) {
12379
+ // verify the required parameter 'conversationId' is set
12380
+ if (conversationId === undefined || conversationId === null) {
12381
+ throw 'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';
12382
+ }
12383
+
12384
+ return this.apiClient.callApi(
12385
+ '/api/v2/conversations/emails/{conversationId}/settings',
12386
+ 'GET',
12387
+ { 'conversationId': conversationId },
12388
+ { },
12389
+ { },
12390
+ { },
12391
+ null,
12392
+ ['PureCloud OAuth'],
12393
+ ['application/json'],
12394
+ ['application/json']
12395
+ );
12396
+ }
12397
+
12371
12398
  /**
12372
12399
  * Get active email conversations for the logged in user
12373
12400
  *
@@ -15187,7 +15214,7 @@ class ConversationsApi {
15187
15214
 
15188
15215
  /**
15189
15216
  * 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.
15217
+ * 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
15218
  * @param {Object} body Create agentless outbound messaging request
15192
15219
  */
15193
15220
  postConversationsMessagesAgentless(body) {
@@ -15601,7 +15628,7 @@ class DataExtensionsApi {
15601
15628
  /**
15602
15629
  * DataExtensions service.
15603
15630
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15604
- * @version 131.1.0
15631
+ * @version 133.0.1
15605
15632
  */
15606
15633
 
15607
15634
  /**
@@ -15687,7 +15714,7 @@ class ExternalContactsApi {
15687
15714
  /**
15688
15715
  * ExternalContacts service.
15689
15716
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15690
- * @version 131.1.0
15717
+ * @version 133.0.1
15691
15718
  */
15692
15719
 
15693
15720
  /**
@@ -17430,7 +17457,7 @@ class FaxApi {
17430
17457
  /**
17431
17458
  * Fax service.
17432
17459
  * @module purecloud-platform-client-v2/api/FaxApi
17433
- * @version 131.1.0
17460
+ * @version 133.0.1
17434
17461
  */
17435
17462
 
17436
17463
  /**
@@ -17601,7 +17628,7 @@ class FlowsApi {
17601
17628
  /**
17602
17629
  * Flows service.
17603
17630
  * @module purecloud-platform-client-v2/api/FlowsApi
17604
- * @version 131.1.0
17631
+ * @version 133.0.1
17605
17632
  */
17606
17633
 
17607
17634
  /**
@@ -17672,7 +17699,7 @@ class GamificationApi {
17672
17699
  /**
17673
17700
  * Gamification service.
17674
17701
  * @module purecloud-platform-client-v2/api/GamificationApi
17675
- * @version 131.1.0
17702
+ * @version 133.0.1
17676
17703
  */
17677
17704
 
17678
17705
  /**
@@ -18948,8 +18975,12 @@ class GamificationApi {
18948
18975
  * Create a new custom performance profile
18949
18976
  *
18950
18977
  * @param {Object} body performanceProfile
18978
+ * @param {Object} opts Optional parameters
18979
+ * @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
18980
  */
18952
- postGamificationProfiles(body) {
18981
+ postGamificationProfiles(body, opts) {
18982
+ opts = opts || {};
18983
+
18953
18984
  // verify the required parameter 'body' is set
18954
18985
  if (body === undefined || body === null) {
18955
18986
  throw 'Missing the required parameter "body" when calling postGamificationProfiles';
@@ -18959,7 +18990,7 @@ class GamificationApi {
18959
18990
  '/api/v2/gamification/profiles',
18960
18991
  'POST',
18961
18992
  { },
18962
- { },
18993
+ { 'copyMetrics': opts['copyMetrics'] },
18963
18994
  { },
18964
18995
  { },
18965
18996
  body,
@@ -19098,7 +19129,7 @@ class GeneralDataProtectionRegulationApi {
19098
19129
  /**
19099
19130
  * GeneralDataProtectionRegulation service.
19100
19131
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19101
- * @version 131.1.0
19132
+ * @version 133.0.1
19102
19133
  */
19103
19134
 
19104
19135
  /**
@@ -19228,7 +19259,7 @@ class GeolocationApi {
19228
19259
  /**
19229
19260
  * Geolocation service.
19230
19261
  * @module purecloud-platform-client-v2/api/GeolocationApi
19231
- * @version 131.1.0
19262
+ * @version 133.0.1
19232
19263
  */
19233
19264
 
19234
19265
  /**
@@ -19359,7 +19390,7 @@ class GreetingsApi {
19359
19390
  /**
19360
19391
  * Greetings service.
19361
19392
  * @module purecloud-platform-client-v2/api/GreetingsApi
19362
- * @version 131.1.0
19393
+ * @version 133.0.1
19363
19394
  */
19364
19395
 
19365
19396
  /**
@@ -19814,7 +19845,7 @@ class GroupsApi {
19814
19845
  /**
19815
19846
  * Groups service.
19816
19847
  * @module purecloud-platform-client-v2/api/GroupsApi
19817
- * @version 131.1.0
19848
+ * @version 133.0.1
19818
19849
  */
19819
19850
 
19820
19851
  /**
@@ -20219,7 +20250,7 @@ class IdentityProviderApi {
20219
20250
  /**
20220
20251
  * IdentityProvider service.
20221
20252
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20222
- * @version 131.1.0
20253
+ * @version 133.0.1
20223
20254
  */
20224
20255
 
20225
20256
  /**
@@ -20975,7 +21006,7 @@ class IntegrationsApi {
20975
21006
  /**
20976
21007
  * Integrations service.
20977
21008
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20978
- * @version 131.1.0
21009
+ * @version 133.0.1
20979
21010
  */
20980
21011
 
20981
21012
  /**
@@ -22650,7 +22681,7 @@ class JourneyApi {
22650
22681
  /**
22651
22682
  * Journey service.
22652
22683
  * @module purecloud-platform-client-v2/api/JourneyApi
22653
- * @version 131.1.0
22684
+ * @version 133.0.1
22654
22685
  */
22655
22686
 
22656
22687
  /**
@@ -23361,7 +23392,7 @@ class KnowledgeApi {
23361
23392
  /**
23362
23393
  * Knowledge service.
23363
23394
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23364
- * @version 131.1.0
23395
+ * @version 133.0.1
23365
23396
  */
23366
23397
 
23367
23398
  /**
@@ -24261,7 +24292,7 @@ class LanguageUnderstandingApi {
24261
24292
  /**
24262
24293
  * LanguageUnderstanding service.
24263
24294
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24264
- * @version 131.1.0
24295
+ * @version 133.0.1
24265
24296
  */
24266
24297
 
24267
24298
  /**
@@ -25165,7 +25196,7 @@ class LanguagesApi {
25165
25196
  /**
25166
25197
  * Languages service.
25167
25198
  * @module purecloud-platform-client-v2/api/LanguagesApi
25168
- * @version 131.1.0
25199
+ * @version 133.0.1
25169
25200
  */
25170
25201
 
25171
25202
  /**
@@ -25433,7 +25464,7 @@ class LearningApi {
25433
25464
  /**
25434
25465
  * Learning service.
25435
25466
  * @module purecloud-platform-client-v2/api/LearningApi
25436
- * @version 131.1.0
25467
+ * @version 133.0.1
25437
25468
  */
25438
25469
 
25439
25470
  /**
@@ -26024,7 +26055,7 @@ class LicenseApi {
26024
26055
  /**
26025
26056
  * License service.
26026
26057
  * @module purecloud-platform-client-v2/api/LicenseApi
26027
- * @version 131.1.0
26058
+ * @version 133.0.1
26028
26059
  */
26029
26060
 
26030
26061
  /**
@@ -26262,7 +26293,7 @@ class LocationsApi {
26262
26293
  /**
26263
26294
  * Locations service.
26264
26295
  * @module purecloud-platform-client-v2/api/LocationsApi
26265
- * @version 131.1.0
26296
+ * @version 133.0.1
26266
26297
  */
26267
26298
 
26268
26299
  /**
@@ -26498,7 +26529,7 @@ class MessagingApi {
26498
26529
  /**
26499
26530
  * Messaging service.
26500
26531
  * @module purecloud-platform-client-v2/api/MessagingApi
26501
- * @version 131.1.0
26532
+ * @version 133.0.1
26502
26533
  */
26503
26534
 
26504
26535
  /**
@@ -26649,7 +26680,7 @@ class MobileDevicesApi {
26649
26680
  /**
26650
26681
  * MobileDevices service.
26651
26682
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
26652
- * @version 131.1.0
26683
+ * @version 133.0.1
26653
26684
  */
26654
26685
 
26655
26686
  /**
@@ -26800,7 +26831,7 @@ class NotificationsApi {
26800
26831
  /**
26801
26832
  * Notifications service.
26802
26833
  * @module purecloud-platform-client-v2/api/NotificationsApi
26803
- * @version 131.1.0
26834
+ * @version 133.0.1
26804
26835
  */
26805
26836
 
26806
26837
  /**
@@ -27025,7 +27056,7 @@ class OAuthApi {
27025
27056
  /**
27026
27057
  * OAuth service.
27027
27058
  * @module purecloud-platform-client-v2/api/OAuthApi
27028
- * @version 131.1.0
27059
+ * @version 133.0.1
27029
27060
  */
27030
27061
 
27031
27062
  /**
@@ -27383,7 +27414,7 @@ class ObjectsApi {
27383
27414
  /**
27384
27415
  * Objects service.
27385
27416
  * @module purecloud-platform-client-v2/api/ObjectsApi
27386
- * @version 131.1.0
27417
+ * @version 133.0.1
27387
27418
  */
27388
27419
 
27389
27420
  /**
@@ -27654,7 +27685,7 @@ class OrganizationApi {
27654
27685
  /**
27655
27686
  * Organization service.
27656
27687
  * @module purecloud-platform-client-v2/api/OrganizationApi
27657
- * @version 131.1.0
27688
+ * @version 133.0.1
27658
27689
  */
27659
27690
 
27660
27691
  /**
@@ -28057,7 +28088,7 @@ class OrganizationAuthorizationApi {
28057
28088
  /**
28058
28089
  * OrganizationAuthorization service.
28059
28090
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28060
- * @version 131.1.0
28091
+ * @version 133.0.1
28061
28092
  */
28062
28093
 
28063
28094
  /**
@@ -28982,7 +29013,7 @@ class OutboundApi {
28982
29013
  /**
28983
29014
  * Outbound service.
28984
29015
  * @module purecloud-platform-client-v2/api/OutboundApi
28985
- * @version 131.1.0
29016
+ * @version 133.0.1
28986
29017
  */
28987
29018
 
28988
29019
  /**
@@ -31367,8 +31398,12 @@ class OutboundApi {
31367
31398
  * Only Internal DNC lists may be appended to
31368
31399
  * @param {String} dncListId DncList ID
31369
31400
  * @param {Array.<Object>} body DNC Phone Numbers
31401
+ * @param {Object} opts Optional parameters
31402
+ * @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
31370
31403
  */
31371
- postOutboundDnclistPhonenumbers(dncListId, body) {
31404
+ postOutboundDnclistPhonenumbers(dncListId, body, opts) {
31405
+ opts = opts || {};
31406
+
31372
31407
  // verify the required parameter 'dncListId' is set
31373
31408
  if (dncListId === undefined || dncListId === null) {
31374
31409
  throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
@@ -31382,7 +31417,7 @@ class OutboundApi {
31382
31417
  '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
31383
31418
  'POST',
31384
31419
  { 'dncListId': dncListId },
31385
- { },
31420
+ { 'expirationDateTime': opts['expirationDateTime'] },
31386
31421
  { },
31387
31422
  { },
31388
31423
  body,
@@ -32008,7 +32043,7 @@ class PresenceApi {
32008
32043
  /**
32009
32044
  * Presence service.
32010
32045
  * @module purecloud-platform-client-v2/api/PresenceApi
32011
- * @version 131.1.0
32046
+ * @version 133.0.1
32012
32047
  */
32013
32048
 
32014
32049
  /**
@@ -32380,7 +32415,7 @@ class QualityApi {
32380
32415
  /**
32381
32416
  * Quality service.
32382
32417
  * @module purecloud-platform-client-v2/api/QualityApi
32383
- * @version 131.1.0
32418
+ * @version 133.0.1
32384
32419
  */
32385
32420
 
32386
32421
  /**
@@ -32431,7 +32466,7 @@ class QualityApi {
32431
32466
  * @param {String} conversationId conversationId
32432
32467
  * @param {String} evaluationId evaluationId
32433
32468
  * @param {Object} opts Optional parameters
32434
- * @param {String} opts.expand evaluatorId
32469
+ * @param {String} opts.expand evaluatorId, evaluationForm
32435
32470
  */
32436
32471
  deleteQualityConversationEvaluation(conversationId, evaluationId, opts) {
32437
32472
  opts = opts || {};
@@ -32536,7 +32571,7 @@ class QualityApi {
32536
32571
 
32537
32572
  /**
32538
32573
  * 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.
32574
+ * 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
32575
  * @param {Object} opts Optional parameters
32541
32576
  * @param {Number} opts.pageSize The total page size requested (default to 25)
32542
32577
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -33800,7 +33835,7 @@ class QualityApi {
33800
33835
  * @param {String} evaluationId evaluationId
33801
33836
  * @param {Object} body evaluation
33802
33837
  * @param {Object} opts Optional parameters
33803
- * @param {String} opts.expand evaluatorId
33838
+ * @param {String} opts.expand evaluatorId, evaluationForm
33804
33839
  */
33805
33840
  putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
33806
33841
  opts = opts || {};
@@ -33958,7 +33993,7 @@ class RecordingApi {
33958
33993
  /**
33959
33994
  * Recording service.
33960
33995
  * @module purecloud-platform-client-v2/api/RecordingApi
33961
- * @version 131.1.0
33996
+ * @version 133.0.1
33962
33997
  */
33963
33998
 
33964
33999
  /**
@@ -34171,6 +34206,7 @@ class RecordingApi {
34171
34206
  * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
34172
34207
  * @param {String} opts.fileName the name of the downloaded fileName
34173
34208
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
34209
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
34174
34210
  */
34175
34211
  getConversationRecording(conversationId, recordingId, opts) {
34176
34212
  opts = opts || {};
@@ -34188,7 +34224,7 @@ class RecordingApi {
34188
34224
  '/api/v2/conversations/{conversationId}/recordings/{recordingId}',
34189
34225
  'GET',
34190
34226
  { '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'] },
34227
+ { '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
34228
  { },
34193
34229
  { },
34194
34230
  null,
@@ -34324,7 +34360,8 @@ class RecordingApi {
34324
34360
  * @param {String} conversationId Conversation ID
34325
34361
  * @param {Object} opts Optional parameters
34326
34362
  * @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)
34363
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
34364
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
34328
34365
  */
34329
34366
  getConversationRecordings(conversationId, opts) {
34330
34367
  opts = opts || {};
@@ -34338,7 +34375,7 @@ class RecordingApi {
34338
34375
  '/api/v2/conversations/{conversationId}/recordings',
34339
34376
  'GET',
34340
34377
  { 'conversationId': conversationId },
34341
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
34378
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
34342
34379
  { },
34343
34380
  { },
34344
34381
  null,
@@ -34385,6 +34422,7 @@ class RecordingApi {
34385
34422
  * @param {Boolean} opts.download requesting a download format of the recording (default to false)
34386
34423
  * @param {String} opts.fileName the name of the downloaded fileName
34387
34424
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
34425
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
34388
34426
  */
34389
34427
  getOrphanrecordingMedia(orphanId, opts) {
34390
34428
  opts = opts || {};
@@ -34398,7 +34436,7 @@ class RecordingApi {
34398
34436
  '/api/v2/orphanrecordings/{orphanId}/media',
34399
34437
  'GET',
34400
34438
  { 'orphanId': orphanId },
34401
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
34439
+ { '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
34440
  { },
34403
34441
  { },
34404
34442
  null,
@@ -35481,7 +35519,7 @@ class ResponseManagementApi {
35481
35519
  /**
35482
35520
  * ResponseManagement service.
35483
35521
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
35484
- * @version 131.1.0
35522
+ * @version 133.0.1
35485
35523
  */
35486
35524
 
35487
35525
  /**
@@ -35806,7 +35844,7 @@ class RoutingApi {
35806
35844
  /**
35807
35845
  * Routing service.
35808
35846
  * @module purecloud-platform-client-v2/api/RoutingApi
35809
- * @version 131.1.0
35847
+ * @version 133.0.1
35810
35848
  */
35811
35849
 
35812
35850
  /**
@@ -38729,7 +38767,7 @@ class SCIMApi {
38729
38767
  /**
38730
38768
  * SCIM service.
38731
38769
  * @module purecloud-platform-client-v2/api/SCIMApi
38732
- * @version 131.1.0
38770
+ * @version 133.0.1
38733
38771
  */
38734
38772
 
38735
38773
  /**
@@ -39606,7 +39644,7 @@ class ScriptsApi {
39606
39644
  /**
39607
39645
  * Scripts service.
39608
39646
  * @module purecloud-platform-client-v2/api/ScriptsApi
39609
- * @version 131.1.0
39647
+ * @version 133.0.1
39610
39648
  */
39611
39649
 
39612
39650
  /**
@@ -39959,7 +39997,7 @@ class SearchApi {
39959
39997
  /**
39960
39998
  * Search service.
39961
39999
  * @module purecloud-platform-client-v2/api/SearchApi
39962
- * @version 131.1.0
40000
+ * @version 133.0.1
39963
40001
  */
39964
40002
 
39965
40003
  /**
@@ -40494,7 +40532,7 @@ class SpeechTextAnalyticsApi {
40494
40532
  /**
40495
40533
  * SpeechTextAnalytics service.
40496
40534
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
40497
- * @version 131.1.0
40535
+ * @version 133.0.1
40498
40536
  */
40499
40537
 
40500
40538
  /**
@@ -41347,7 +41385,7 @@ class StationsApi {
41347
41385
  /**
41348
41386
  * Stations service.
41349
41387
  * @module purecloud-platform-client-v2/api/StationsApi
41350
- * @version 131.1.0
41388
+ * @version 133.0.1
41351
41389
  */
41352
41390
 
41353
41391
  /**
@@ -41494,7 +41532,7 @@ class SuggestApi {
41494
41532
  /**
41495
41533
  * Suggest service.
41496
41534
  * @module purecloud-platform-client-v2/api/SuggestApi
41497
- * @version 131.1.0
41535
+ * @version 133.0.1
41498
41536
  */
41499
41537
 
41500
41538
  /**
@@ -41633,7 +41671,7 @@ class TelephonyApi {
41633
41671
  /**
41634
41672
  * Telephony service.
41635
41673
  * @module purecloud-platform-client-v2/api/TelephonyApi
41636
- * @version 131.1.0
41674
+ * @version 133.0.1
41637
41675
  */
41638
41676
 
41639
41677
  /**
@@ -41741,7 +41779,7 @@ class TelephonyProvidersEdgeApi {
41741
41779
  /**
41742
41780
  * TelephonyProvidersEdge service.
41743
41781
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41744
- * @version 131.1.0
41782
+ * @version 133.0.1
41745
41783
  */
41746
41784
 
41747
41785
  /**
@@ -45374,7 +45412,7 @@ class TextbotsApi {
45374
45412
  /**
45375
45413
  * Textbots service.
45376
45414
  * @module purecloud-platform-client-v2/api/TextbotsApi
45377
- * @version 131.1.0
45415
+ * @version 133.0.1
45378
45416
  */
45379
45417
 
45380
45418
  /**
@@ -45502,7 +45540,7 @@ class TokensApi {
45502
45540
  /**
45503
45541
  * Tokens service.
45504
45542
  * @module purecloud-platform-client-v2/api/TokensApi
45505
- * @version 131.1.0
45543
+ * @version 133.0.1
45506
45544
  */
45507
45545
 
45508
45546
  /**
@@ -45608,7 +45646,7 @@ class UploadsApi {
45608
45646
  /**
45609
45647
  * Uploads service.
45610
45648
  * @module purecloud-platform-client-v2/api/UploadsApi
45611
- * @version 131.1.0
45649
+ * @version 133.0.1
45612
45650
  */
45613
45651
 
45614
45652
  /**
@@ -45784,7 +45822,7 @@ class UsageApi {
45784
45822
  /**
45785
45823
  * Usage service.
45786
45824
  * @module purecloud-platform-client-v2/api/UsageApi
45787
- * @version 131.1.0
45825
+ * @version 133.0.1
45788
45826
  */
45789
45827
 
45790
45828
  /**
@@ -45855,7 +45893,7 @@ class UserRecordingsApi {
45855
45893
  /**
45856
45894
  * UserRecordings service.
45857
45895
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45858
- * @version 131.1.0
45896
+ * @version 133.0.1
45859
45897
  */
45860
45898
 
45861
45899
  /**
@@ -46039,7 +46077,7 @@ class UsersApi {
46039
46077
  /**
46040
46078
  * Users service.
46041
46079
  * @module purecloud-platform-client-v2/api/UsersApi
46042
- * @version 131.1.0
46080
+ * @version 133.0.1
46043
46081
  */
46044
46082
 
46045
46083
  /**
@@ -48341,7 +48379,7 @@ class UtilitiesApi {
48341
48379
  /**
48342
48380
  * Utilities service.
48343
48381
  * @module purecloud-platform-client-v2/api/UtilitiesApi
48344
- * @version 131.1.0
48382
+ * @version 133.0.1
48345
48383
  */
48346
48384
 
48347
48385
  /**
@@ -48452,7 +48490,7 @@ class VoicemailApi {
48452
48490
  /**
48453
48491
  * Voicemail service.
48454
48492
  * @module purecloud-platform-client-v2/api/VoicemailApi
48455
- * @version 131.1.0
48493
+ * @version 133.0.1
48456
48494
  */
48457
48495
 
48458
48496
  /**
@@ -49119,7 +49157,7 @@ class WebChatApi {
49119
49157
  /**
49120
49158
  * WebChat service.
49121
49159
  * @module purecloud-platform-client-v2/api/WebChatApi
49122
- * @version 131.1.0
49160
+ * @version 133.0.1
49123
49161
  */
49124
49162
 
49125
49163
  /**
@@ -49663,7 +49701,7 @@ class WebDeploymentsApi {
49663
49701
  /**
49664
49702
  * WebDeployments service.
49665
49703
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49666
- * @version 131.1.0
49704
+ * @version 133.0.1
49667
49705
  */
49668
49706
 
49669
49707
  /**
@@ -50018,7 +50056,7 @@ class WebMessagingApi {
50018
50056
  /**
50019
50057
  * WebMessaging service.
50020
50058
  * @module purecloud-platform-client-v2/api/WebMessagingApi
50021
- * @version 131.1.0
50059
+ * @version 133.0.1
50022
50060
  */
50023
50061
 
50024
50062
  /**
@@ -50064,7 +50102,7 @@ class WidgetsApi {
50064
50102
  /**
50065
50103
  * Widgets service.
50066
50104
  * @module purecloud-platform-client-v2/api/WidgetsApi
50067
- * @version 131.1.0
50105
+ * @version 133.0.1
50068
50106
  */
50069
50107
 
50070
50108
  /**
@@ -50210,7 +50248,7 @@ class WorkforceManagementApi {
50210
50248
  /**
50211
50249
  * WorkforceManagement service.
50212
50250
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
50213
- * @version 131.1.0
50251
+ * @version 133.0.1
50214
50252
  */
50215
50253
 
50216
50254
  /**
@@ -52311,7 +52349,7 @@ class WorkforceManagementApi {
52311
52349
 
52312
52350
  /**
52313
52351
  * Get a list of notifications for the current user
52314
- *
52352
+ * Notifications are only initially sent if you have the relevant Notify and Edit permissions
52315
52353
  */
52316
52354
  getWorkforcemanagementNotifications() {
52317
52355
 
@@ -54241,7 +54279,7 @@ class WorkforceManagementApi {
54241
54279
  * </pre>
54242
54280
  * </p>
54243
54281
  * @module purecloud-platform-client-v2/index
54244
- * @version 131.1.0
54282
+ * @version 133.0.1
54245
54283
  */
54246
54284
  class platformClient {
54247
54285
  constructor() {