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,6 +1,8 @@
1
- define(['superagent'], function (superagent) { 'use strict';
1
+ define(['superagent'], (function (superagent) { 'use strict';
2
2
 
3
- superagent = superagent && superagent.hasOwnProperty('default') ? superagent['default'] : superagent;
3
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
4
+
5
+ var superagent__default = /*#__PURE__*/_interopDefaultLegacy(superagent);
4
6
 
5
7
  var PureCloudRegionHosts = {
6
8
  us_east_1: 'mypurecloud.com',
@@ -391,7 +393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
391
393
 
392
394
  /**
393
395
  * @module purecloud-platform-client-v2/ApiClient
394
- * @version 131.1.0
396
+ * @version 132.0.0
395
397
  */
396
398
  class ApiClient {
397
399
  /**
@@ -495,7 +497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
495
497
  this.settingsPrefix = 'purecloud';
496
498
 
497
499
  // Expose superagent module for use with superagent-proxy
498
- this.superagent = superagent;
500
+ this.superagent = superagent__default["default"];
499
501
 
500
502
  // Transparently request a new access token when it expires (Code Authorization only)
501
503
  this.refreshInProgress = false;
@@ -666,7 +668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
666
668
  }
667
669
 
668
670
  // Build token request
669
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
671
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
670
672
  if (this.proxy && request.proxy) {
671
673
  request.proxy(this.proxy);
672
674
  }
@@ -922,7 +924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
922
924
  * @param {string} encodedData - Base64 encoded client and clientSecret pair
923
925
  */
924
926
  _formAuthRequest(encodedData) {
925
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
927
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
926
928
  // Set the headers
927
929
  request.set('Authorization', 'Basic ' + encodedData);
928
930
  request.set('Content-Type', 'application/x-www-form-urlencoded');
@@ -1324,7 +1326,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1324
1326
  sendRequest(this);
1325
1327
  function sendRequest(that) {
1326
1328
  var url = that.buildUrl(path, pathParams);
1327
- var request = superagent(httpMethod, url);
1329
+ var request = superagent__default["default"](httpMethod, url);
1328
1330
 
1329
1331
  if (that.proxy && request.proxy) {
1330
1332
  request.proxy(that.proxy);
@@ -1338,7 +1340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1338
1340
 
1339
1341
  // set header parameters
1340
1342
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1341
- //request.set({ 'purecloud-sdk': '131.1.0' });
1343
+ //request.set({ 'purecloud-sdk': '132.0.0' });
1342
1344
 
1343
1345
  // set request timeout
1344
1346
  request.timeout(that.timeout);
@@ -1438,7 +1440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1438
1440
  /**
1439
1441
  * Alerting service.
1440
1442
  * @module purecloud-platform-client-v2/api/AlertingApi
1441
- * @version 131.1.0
1443
+ * @version 132.0.0
1442
1444
  */
1443
1445
 
1444
1446
  /**
@@ -1752,7 +1754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1752
1754
  /**
1753
1755
  * Analytics service.
1754
1756
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1755
- * @version 131.1.0
1757
+ * @version 132.0.0
1756
1758
  */
1757
1759
 
1758
1760
  /**
@@ -2934,7 +2936,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2934
2936
  /**
2935
2937
  * Architect service.
2936
2938
  * @module purecloud-platform-client-v2/api/ArchitectApi
2937
- * @version 131.1.0
2939
+ * @version 132.0.0
2938
2940
  */
2939
2941
 
2940
2942
  /**
@@ -5930,7 +5932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5930
5932
  /**
5931
5933
  * Audit service.
5932
5934
  * @module purecloud-platform-client-v2/api/AuditApi
5933
- * @version 131.1.0
5935
+ * @version 132.0.0
5934
5936
  */
5935
5937
 
5936
5938
  /**
@@ -6101,7 +6103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6101
6103
  /**
6102
6104
  * Authorization service.
6103
6105
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6104
- * @version 131.1.0
6106
+ * @version 132.0.0
6105
6107
  */
6106
6108
 
6107
6109
  /**
@@ -7284,7 +7286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7284
7286
  /**
7285
7287
  * Billing service.
7286
7288
  * @module purecloud-platform-client-v2/api/BillingApi
7287
- * @version 131.1.0
7289
+ * @version 132.0.0
7288
7290
  */
7289
7291
 
7290
7292
  /**
@@ -7364,7 +7366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7364
7366
  /**
7365
7367
  * Chat service.
7366
7368
  * @module purecloud-platform-client-v2/api/ChatApi
7367
- * @version 131.1.0
7369
+ * @version 132.0.0
7368
7370
  */
7369
7371
 
7370
7372
  /**
@@ -7455,7 +7457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7455
7457
  /**
7456
7458
  * Coaching service.
7457
7459
  * @module purecloud-platform-client-v2/api/CoachingApi
7458
- * @version 131.1.0
7460
+ * @version 132.0.0
7459
7461
  */
7460
7462
 
7461
7463
  /**
@@ -8032,7 +8034,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8032
8034
  /**
8033
8035
  * ContentManagement service.
8034
8036
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8035
- * @version 131.1.0
8037
+ * @version 132.0.0
8036
8038
  */
8037
8039
 
8038
8040
  /**
@@ -9172,7 +9174,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9172
9174
  /**
9173
9175
  * Conversations service.
9174
9176
  * @module purecloud-platform-client-v2/api/ConversationsApi
9175
- * @version 131.1.0
9177
+ * @version 132.0.0
9176
9178
  */
9177
9179
 
9178
9180
  /**
@@ -13322,7 +13324,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13322
13324
 
13323
13325
  /**
13324
13326
  * Send an agentless outbound message
13325
- * 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.
13327
+ * 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.
13326
13328
  * @param {Object} body Create agentless outbound messaging request
13327
13329
  */
13328
13330
  postConversationsMessagesAgentless(body) {
@@ -13736,7 +13738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13736
13738
  /**
13737
13739
  * DataExtensions service.
13738
13740
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13739
- * @version 131.1.0
13741
+ * @version 132.0.0
13740
13742
  */
13741
13743
 
13742
13744
  /**
@@ -13822,7 +13824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13822
13824
  /**
13823
13825
  * ExternalContacts service.
13824
13826
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13825
- * @version 131.1.0
13827
+ * @version 132.0.0
13826
13828
  */
13827
13829
 
13828
13830
  /**
@@ -15565,7 +15567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15565
15567
  /**
15566
15568
  * Fax service.
15567
15569
  * @module purecloud-platform-client-v2/api/FaxApi
15568
- * @version 131.1.0
15570
+ * @version 132.0.0
15569
15571
  */
15570
15572
 
15571
15573
  /**
@@ -15736,7 +15738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15736
15738
  /**
15737
15739
  * Flows service.
15738
15740
  * @module purecloud-platform-client-v2/api/FlowsApi
15739
- * @version 131.1.0
15741
+ * @version 132.0.0
15740
15742
  */
15741
15743
 
15742
15744
  /**
@@ -15807,7 +15809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15807
15809
  /**
15808
15810
  * Gamification service.
15809
15811
  * @module purecloud-platform-client-v2/api/GamificationApi
15810
- * @version 131.1.0
15812
+ * @version 132.0.0
15811
15813
  */
15812
15814
 
15813
15815
  /**
@@ -17083,8 +17085,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17083
17085
  * Create a new custom performance profile
17084
17086
  *
17085
17087
  * @param {Object} body performanceProfile
17088
+ * @param {Object} opts Optional parameters
17089
+ * @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)
17086
17090
  */
17087
- postGamificationProfiles(body) {
17091
+ postGamificationProfiles(body, opts) {
17092
+ opts = opts || {};
17093
+
17088
17094
  // verify the required parameter 'body' is set
17089
17095
  if (body === undefined || body === null) {
17090
17096
  throw 'Missing the required parameter "body" when calling postGamificationProfiles';
@@ -17094,7 +17100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17094
17100
  '/api/v2/gamification/profiles',
17095
17101
  'POST',
17096
17102
  { },
17097
- { },
17103
+ { 'copyMetrics': opts['copyMetrics'] },
17098
17104
  { },
17099
17105
  { },
17100
17106
  body,
@@ -17233,7 +17239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17233
17239
  /**
17234
17240
  * GeneralDataProtectionRegulation service.
17235
17241
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17236
- * @version 131.1.0
17242
+ * @version 132.0.0
17237
17243
  */
17238
17244
 
17239
17245
  /**
@@ -17363,7 +17369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17363
17369
  /**
17364
17370
  * Geolocation service.
17365
17371
  * @module purecloud-platform-client-v2/api/GeolocationApi
17366
- * @version 131.1.0
17372
+ * @version 132.0.0
17367
17373
  */
17368
17374
 
17369
17375
  /**
@@ -17494,7 +17500,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17494
17500
  /**
17495
17501
  * Greetings service.
17496
17502
  * @module purecloud-platform-client-v2/api/GreetingsApi
17497
- * @version 131.1.0
17503
+ * @version 132.0.0
17498
17504
  */
17499
17505
 
17500
17506
  /**
@@ -17949,7 +17955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17949
17955
  /**
17950
17956
  * Groups service.
17951
17957
  * @module purecloud-platform-client-v2/api/GroupsApi
17952
- * @version 131.1.0
17958
+ * @version 132.0.0
17953
17959
  */
17954
17960
 
17955
17961
  /**
@@ -18354,7 +18360,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18354
18360
  /**
18355
18361
  * IdentityProvider service.
18356
18362
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18357
- * @version 131.1.0
18363
+ * @version 132.0.0
18358
18364
  */
18359
18365
 
18360
18366
  /**
@@ -19110,7 +19116,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19110
19116
  /**
19111
19117
  * Integrations service.
19112
19118
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19113
- * @version 131.1.0
19119
+ * @version 132.0.0
19114
19120
  */
19115
19121
 
19116
19122
  /**
@@ -20785,7 +20791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20785
20791
  /**
20786
20792
  * Journey service.
20787
20793
  * @module purecloud-platform-client-v2/api/JourneyApi
20788
- * @version 131.1.0
20794
+ * @version 132.0.0
20789
20795
  */
20790
20796
 
20791
20797
  /**
@@ -21496,7 +21502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21496
21502
  /**
21497
21503
  * Knowledge service.
21498
21504
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21499
- * @version 131.1.0
21505
+ * @version 132.0.0
21500
21506
  */
21501
21507
 
21502
21508
  /**
@@ -22396,7 +22402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22396
22402
  /**
22397
22403
  * LanguageUnderstanding service.
22398
22404
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22399
- * @version 131.1.0
22405
+ * @version 132.0.0
22400
22406
  */
22401
22407
 
22402
22408
  /**
@@ -23300,7 +23306,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23300
23306
  /**
23301
23307
  * Languages service.
23302
23308
  * @module purecloud-platform-client-v2/api/LanguagesApi
23303
- * @version 131.1.0
23309
+ * @version 132.0.0
23304
23310
  */
23305
23311
 
23306
23312
  /**
@@ -23568,7 +23574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23568
23574
  /**
23569
23575
  * Learning service.
23570
23576
  * @module purecloud-platform-client-v2/api/LearningApi
23571
- * @version 131.1.0
23577
+ * @version 132.0.0
23572
23578
  */
23573
23579
 
23574
23580
  /**
@@ -24159,7 +24165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24159
24165
  /**
24160
24166
  * License service.
24161
24167
  * @module purecloud-platform-client-v2/api/LicenseApi
24162
- * @version 131.1.0
24168
+ * @version 132.0.0
24163
24169
  */
24164
24170
 
24165
24171
  /**
@@ -24397,7 +24403,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24397
24403
  /**
24398
24404
  * Locations service.
24399
24405
  * @module purecloud-platform-client-v2/api/LocationsApi
24400
- * @version 131.1.0
24406
+ * @version 132.0.0
24401
24407
  */
24402
24408
 
24403
24409
  /**
@@ -24633,7 +24639,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24633
24639
  /**
24634
24640
  * Messaging service.
24635
24641
  * @module purecloud-platform-client-v2/api/MessagingApi
24636
- * @version 131.1.0
24642
+ * @version 132.0.0
24637
24643
  */
24638
24644
 
24639
24645
  /**
@@ -24784,7 +24790,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24784
24790
  /**
24785
24791
  * MobileDevices service.
24786
24792
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24787
- * @version 131.1.0
24793
+ * @version 132.0.0
24788
24794
  */
24789
24795
 
24790
24796
  /**
@@ -24935,7 +24941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24935
24941
  /**
24936
24942
  * Notifications service.
24937
24943
  * @module purecloud-platform-client-v2/api/NotificationsApi
24938
- * @version 131.1.0
24944
+ * @version 132.0.0
24939
24945
  */
24940
24946
 
24941
24947
  /**
@@ -25160,7 +25166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25160
25166
  /**
25161
25167
  * OAuth service.
25162
25168
  * @module purecloud-platform-client-v2/api/OAuthApi
25163
- * @version 131.1.0
25169
+ * @version 132.0.0
25164
25170
  */
25165
25171
 
25166
25172
  /**
@@ -25518,7 +25524,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25518
25524
  /**
25519
25525
  * Objects service.
25520
25526
  * @module purecloud-platform-client-v2/api/ObjectsApi
25521
- * @version 131.1.0
25527
+ * @version 132.0.0
25522
25528
  */
25523
25529
 
25524
25530
  /**
@@ -25789,7 +25795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25789
25795
  /**
25790
25796
  * Organization service.
25791
25797
  * @module purecloud-platform-client-v2/api/OrganizationApi
25792
- * @version 131.1.0
25798
+ * @version 132.0.0
25793
25799
  */
25794
25800
 
25795
25801
  /**
@@ -26192,7 +26198,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26192
26198
  /**
26193
26199
  * OrganizationAuthorization service.
26194
26200
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26195
- * @version 131.1.0
26201
+ * @version 132.0.0
26196
26202
  */
26197
26203
 
26198
26204
  /**
@@ -27117,7 +27123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27117
27123
  /**
27118
27124
  * Outbound service.
27119
27125
  * @module purecloud-platform-client-v2/api/OutboundApi
27120
- * @version 131.1.0
27126
+ * @version 132.0.0
27121
27127
  */
27122
27128
 
27123
27129
  /**
@@ -29502,8 +29508,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29502
29508
  * Only Internal DNC lists may be appended to
29503
29509
  * @param {String} dncListId DncList ID
29504
29510
  * @param {Array.<Object>} body DNC Phone Numbers
29511
+ * @param {Object} opts Optional parameters
29512
+ * @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
29505
29513
  */
29506
- postOutboundDnclistPhonenumbers(dncListId, body) {
29514
+ postOutboundDnclistPhonenumbers(dncListId, body, opts) {
29515
+ opts = opts || {};
29516
+
29507
29517
  // verify the required parameter 'dncListId' is set
29508
29518
  if (dncListId === undefined || dncListId === null) {
29509
29519
  throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
@@ -29517,7 +29527,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29517
29527
  '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
29518
29528
  'POST',
29519
29529
  { 'dncListId': dncListId },
29520
- { },
29530
+ { 'expirationDateTime': opts['expirationDateTime'] },
29521
29531
  { },
29522
29532
  { },
29523
29533
  body,
@@ -30143,7 +30153,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30143
30153
  /**
30144
30154
  * Presence service.
30145
30155
  * @module purecloud-platform-client-v2/api/PresenceApi
30146
- * @version 131.1.0
30156
+ * @version 132.0.0
30147
30157
  */
30148
30158
 
30149
30159
  /**
@@ -30515,7 +30525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30515
30525
  /**
30516
30526
  * Quality service.
30517
30527
  * @module purecloud-platform-client-v2/api/QualityApi
30518
- * @version 131.1.0
30528
+ * @version 132.0.0
30519
30529
  */
30520
30530
 
30521
30531
  /**
@@ -30671,7 +30681,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30671
30681
 
30672
30682
  /**
30673
30683
  * Gets a list of Agent Activities
30674
- * 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.
30684
+ * 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
30675
30685
  * @param {Object} opts Optional parameters
30676
30686
  * @param {Number} opts.pageSize The total page size requested (default to 25)
30677
30687
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -32093,7 +32103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32093
32103
  /**
32094
32104
  * Recording service.
32095
32105
  * @module purecloud-platform-client-v2/api/RecordingApi
32096
- * @version 131.1.0
32106
+ * @version 132.0.0
32097
32107
  */
32098
32108
 
32099
32109
  /**
@@ -32306,6 +32316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32306
32316
  * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
32307
32317
  * @param {String} opts.fileName the name of the downloaded fileName
32308
32318
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
32319
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
32309
32320
  */
32310
32321
  getConversationRecording(conversationId, recordingId, opts) {
32311
32322
  opts = opts || {};
@@ -32323,7 +32334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32323
32334
  '/api/v2/conversations/{conversationId}/recordings/{recordingId}',
32324
32335
  'GET',
32325
32336
  { 'conversationId': conversationId,'recordingId': recordingId },
32326
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
32337
+ { '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') },
32327
32338
  { },
32328
32339
  { },
32329
32340
  null,
@@ -32459,7 +32470,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32459
32470
  * @param {String} conversationId Conversation ID
32460
32471
  * @param {Object} opts Optional parameters
32461
32472
  * @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)
32462
- * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
32473
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
32474
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
32463
32475
  */
32464
32476
  getConversationRecordings(conversationId, opts) {
32465
32477
  opts = opts || {};
@@ -32473,7 +32485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32473
32485
  '/api/v2/conversations/{conversationId}/recordings',
32474
32486
  'GET',
32475
32487
  { 'conversationId': conversationId },
32476
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
32488
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
32477
32489
  { },
32478
32490
  { },
32479
32491
  null,
@@ -32520,6 +32532,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32520
32532
  * @param {Boolean} opts.download requesting a download format of the recording (default to false)
32521
32533
  * @param {String} opts.fileName the name of the downloaded fileName
32522
32534
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
32535
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
32523
32536
  */
32524
32537
  getOrphanrecordingMedia(orphanId, opts) {
32525
32538
  opts = opts || {};
@@ -32533,7 +32546,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32533
32546
  '/api/v2/orphanrecordings/{orphanId}/media',
32534
32547
  'GET',
32535
32548
  { 'orphanId': orphanId },
32536
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
32549
+ { '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') },
32537
32550
  { },
32538
32551
  { },
32539
32552
  null,
@@ -33616,7 +33629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33616
33629
  /**
33617
33630
  * ResponseManagement service.
33618
33631
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33619
- * @version 131.1.0
33632
+ * @version 132.0.0
33620
33633
  */
33621
33634
 
33622
33635
  /**
@@ -33941,7 +33954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33941
33954
  /**
33942
33955
  * Routing service.
33943
33956
  * @module purecloud-platform-client-v2/api/RoutingApi
33944
- * @version 131.1.0
33957
+ * @version 132.0.0
33945
33958
  */
33946
33959
 
33947
33960
  /**
@@ -36864,7 +36877,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36864
36877
  /**
36865
36878
  * SCIM service.
36866
36879
  * @module purecloud-platform-client-v2/api/SCIMApi
36867
- * @version 131.1.0
36880
+ * @version 132.0.0
36868
36881
  */
36869
36882
 
36870
36883
  /**
@@ -37741,7 +37754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37741
37754
  /**
37742
37755
  * Scripts service.
37743
37756
  * @module purecloud-platform-client-v2/api/ScriptsApi
37744
- * @version 131.1.0
37757
+ * @version 132.0.0
37745
37758
  */
37746
37759
 
37747
37760
  /**
@@ -38094,7 +38107,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38094
38107
  /**
38095
38108
  * Search service.
38096
38109
  * @module purecloud-platform-client-v2/api/SearchApi
38097
- * @version 131.1.0
38110
+ * @version 132.0.0
38098
38111
  */
38099
38112
 
38100
38113
  /**
@@ -38629,7 +38642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38629
38642
  /**
38630
38643
  * SpeechTextAnalytics service.
38631
38644
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38632
- * @version 131.1.0
38645
+ * @version 132.0.0
38633
38646
  */
38634
38647
 
38635
38648
  /**
@@ -39482,7 +39495,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39482
39495
  /**
39483
39496
  * Stations service.
39484
39497
  * @module purecloud-platform-client-v2/api/StationsApi
39485
- * @version 131.1.0
39498
+ * @version 132.0.0
39486
39499
  */
39487
39500
 
39488
39501
  /**
@@ -39629,7 +39642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39629
39642
  /**
39630
39643
  * Suggest service.
39631
39644
  * @module purecloud-platform-client-v2/api/SuggestApi
39632
- * @version 131.1.0
39645
+ * @version 132.0.0
39633
39646
  */
39634
39647
 
39635
39648
  /**
@@ -39768,7 +39781,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39768
39781
  /**
39769
39782
  * Telephony service.
39770
39783
  * @module purecloud-platform-client-v2/api/TelephonyApi
39771
- * @version 131.1.0
39784
+ * @version 132.0.0
39772
39785
  */
39773
39786
 
39774
39787
  /**
@@ -39876,7 +39889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39876
39889
  /**
39877
39890
  * TelephonyProvidersEdge service.
39878
39891
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39879
- * @version 131.1.0
39892
+ * @version 132.0.0
39880
39893
  */
39881
39894
 
39882
39895
  /**
@@ -43509,7 +43522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43509
43522
  /**
43510
43523
  * Textbots service.
43511
43524
  * @module purecloud-platform-client-v2/api/TextbotsApi
43512
- * @version 131.1.0
43525
+ * @version 132.0.0
43513
43526
  */
43514
43527
 
43515
43528
  /**
@@ -43637,7 +43650,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43637
43650
  /**
43638
43651
  * Tokens service.
43639
43652
  * @module purecloud-platform-client-v2/api/TokensApi
43640
- * @version 131.1.0
43653
+ * @version 132.0.0
43641
43654
  */
43642
43655
 
43643
43656
  /**
@@ -43743,7 +43756,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43743
43756
  /**
43744
43757
  * Uploads service.
43745
43758
  * @module purecloud-platform-client-v2/api/UploadsApi
43746
- * @version 131.1.0
43759
+ * @version 132.0.0
43747
43760
  */
43748
43761
 
43749
43762
  /**
@@ -43919,7 +43932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43919
43932
  /**
43920
43933
  * Usage service.
43921
43934
  * @module purecloud-platform-client-v2/api/UsageApi
43922
- * @version 131.1.0
43935
+ * @version 132.0.0
43923
43936
  */
43924
43937
 
43925
43938
  /**
@@ -43990,7 +44003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43990
44003
  /**
43991
44004
  * UserRecordings service.
43992
44005
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43993
- * @version 131.1.0
44006
+ * @version 132.0.0
43994
44007
  */
43995
44008
 
43996
44009
  /**
@@ -44174,7 +44187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44174
44187
  /**
44175
44188
  * Users service.
44176
44189
  * @module purecloud-platform-client-v2/api/UsersApi
44177
- * @version 131.1.0
44190
+ * @version 132.0.0
44178
44191
  */
44179
44192
 
44180
44193
  /**
@@ -46476,7 +46489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46476
46489
  /**
46477
46490
  * Utilities service.
46478
46491
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46479
- * @version 131.1.0
46492
+ * @version 132.0.0
46480
46493
  */
46481
46494
 
46482
46495
  /**
@@ -46587,7 +46600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46587
46600
  /**
46588
46601
  * Voicemail service.
46589
46602
  * @module purecloud-platform-client-v2/api/VoicemailApi
46590
- * @version 131.1.0
46603
+ * @version 132.0.0
46591
46604
  */
46592
46605
 
46593
46606
  /**
@@ -47254,7 +47267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47254
47267
  /**
47255
47268
  * WebChat service.
47256
47269
  * @module purecloud-platform-client-v2/api/WebChatApi
47257
- * @version 131.1.0
47270
+ * @version 132.0.0
47258
47271
  */
47259
47272
 
47260
47273
  /**
@@ -47798,7 +47811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47798
47811
  /**
47799
47812
  * WebDeployments service.
47800
47813
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47801
- * @version 131.1.0
47814
+ * @version 132.0.0
47802
47815
  */
47803
47816
 
47804
47817
  /**
@@ -48153,7 +48166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48153
48166
  /**
48154
48167
  * WebMessaging service.
48155
48168
  * @module purecloud-platform-client-v2/api/WebMessagingApi
48156
- * @version 131.1.0
48169
+ * @version 132.0.0
48157
48170
  */
48158
48171
 
48159
48172
  /**
@@ -48199,7 +48212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48199
48212
  /**
48200
48213
  * Widgets service.
48201
48214
  * @module purecloud-platform-client-v2/api/WidgetsApi
48202
- * @version 131.1.0
48215
+ * @version 132.0.0
48203
48216
  */
48204
48217
 
48205
48218
  /**
@@ -48345,7 +48358,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48345
48358
  /**
48346
48359
  * WorkforceManagement service.
48347
48360
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
48348
- * @version 131.1.0
48361
+ * @version 132.0.0
48349
48362
  */
48350
48363
 
48351
48364
  /**
@@ -52376,7 +52389,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52376
52389
  * </pre>
52377
52390
  * </p>
52378
52391
  * @module purecloud-platform-client-v2/index
52379
- * @version 131.1.0
52392
+ * @version 132.0.0
52380
52393
  */
52381
52394
  class platformClient {
52382
52395
  constructor() {
@@ -52715,4 +52728,4 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52715
52728
 
52716
52729
  return index;
52717
52730
 
52718
- });
52731
+ }));