purecloud-platform-client-v2 130.0.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 -8
  2. package/dist/node/purecloud-platform-client-v2.js +522 -103
  3. package/dist/web-amd/purecloud-platform-client-v2.js +523 -104
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +528 -109
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +4175 -964
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +315 -45
  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 +46 -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 +177 -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 +3 -3
  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 +156 -0
  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 +52 -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 -21
  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 +2 -2
  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 +7 -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',
@@ -393,7 +395,7 @@ class Configuration {
393
395
 
394
396
  /**
395
397
  * @module purecloud-platform-client-v2/ApiClient
396
- * @version 130.0.0
398
+ * @version 132.0.0
397
399
  */
398
400
  class ApiClient {
399
401
  /**
@@ -497,7 +499,7 @@ class ApiClient {
497
499
  this.settingsPrefix = 'purecloud';
498
500
 
499
501
  // Expose superagent module for use with superagent-proxy
500
- this.superagent = superagent;
502
+ this.superagent = superagent__default["default"];
501
503
 
502
504
  // Transparently request a new access token when it expires (Code Authorization only)
503
505
  this.refreshInProgress = false;
@@ -668,7 +670,7 @@ class ApiClient {
668
670
  }
669
671
 
670
672
  // Build token request
671
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
673
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
672
674
  if (this.proxy && request.proxy) {
673
675
  request.proxy(this.proxy);
674
676
  }
@@ -924,7 +926,7 @@ class ApiClient {
924
926
  * @param {string} encodedData - Base64 encoded client and clientSecret pair
925
927
  */
926
928
  _formAuthRequest(encodedData) {
927
- var request = superagent('POST', `https://login.${this.config.environment}/oauth/token`);
929
+ var request = superagent__default["default"]('POST', `https://login.${this.config.environment}/oauth/token`);
928
930
  // Set the headers
929
931
  request.set('Authorization', 'Basic ' + encodedData);
930
932
  request.set('Content-Type', 'application/x-www-form-urlencoded');
@@ -1326,7 +1328,7 @@ class ApiClient {
1326
1328
  sendRequest(this);
1327
1329
  function sendRequest(that) {
1328
1330
  var url = that.buildUrl(path, pathParams);
1329
- var request = superagent(httpMethod, url);
1331
+ var request = superagent__default["default"](httpMethod, url);
1330
1332
 
1331
1333
  if (that.proxy && request.proxy) {
1332
1334
  request.proxy(that.proxy);
@@ -1340,7 +1342,7 @@ class ApiClient {
1340
1342
 
1341
1343
  // set header parameters
1342
1344
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1343
- //request.set({ 'purecloud-sdk': '130.0.0' });
1345
+ //request.set({ 'purecloud-sdk': '132.0.0' });
1344
1346
 
1345
1347
  // set request timeout
1346
1348
  request.timeout(that.timeout);
@@ -1440,7 +1442,7 @@ class AlertingApi {
1440
1442
  /**
1441
1443
  * Alerting service.
1442
1444
  * @module purecloud-platform-client-v2/api/AlertingApi
1443
- * @version 130.0.0
1445
+ * @version 132.0.0
1444
1446
  */
1445
1447
 
1446
1448
  /**
@@ -1754,7 +1756,7 @@ class AnalyticsApi {
1754
1756
  /**
1755
1757
  * Analytics service.
1756
1758
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1757
- * @version 130.0.0
1759
+ * @version 132.0.0
1758
1760
  */
1759
1761
 
1760
1762
  /**
@@ -2255,6 +2257,26 @@ class AnalyticsApi {
2255
2257
  );
2256
2258
  }
2257
2259
 
2260
+ /**
2261
+ * Get AnalyticsReportingSettings for an organization
2262
+ *
2263
+ */
2264
+ getAnalyticsReportingSettings() {
2265
+
2266
+ return this.apiClient.callApi(
2267
+ '/api/v2/analytics/reporting/settings',
2268
+ 'GET',
2269
+ { },
2270
+ { },
2271
+ { },
2272
+ { },
2273
+ null,
2274
+ ['PureCloud OAuth'],
2275
+ ['application/json'],
2276
+ ['application/json']
2277
+ );
2278
+ }
2279
+
2258
2280
  /**
2259
2281
  * Get a list of report time periods.
2260
2282
  *
@@ -2350,6 +2372,31 @@ class AnalyticsApi {
2350
2372
  );
2351
2373
  }
2352
2374
 
2375
+ /**
2376
+ * Patch AnalyticsReportingSettings values for an organization
2377
+ *
2378
+ * @param {Object} body AnalyticsReportingSettingsRequest
2379
+ */
2380
+ patchAnalyticsReportingSettings(body) {
2381
+ // verify the required parameter 'body' is set
2382
+ if (body === undefined || body === null) {
2383
+ throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
2384
+ }
2385
+
2386
+ return this.apiClient.callApi(
2387
+ '/api/v2/analytics/reporting/settings',
2388
+ 'PATCH',
2389
+ { },
2390
+ { },
2391
+ { },
2392
+ { },
2393
+ body,
2394
+ ['PureCloud OAuth'],
2395
+ ['application/json'],
2396
+ ['application/json']
2397
+ );
2398
+ }
2399
+
2353
2400
  /**
2354
2401
  * Query for bot aggregates
2355
2402
  *
@@ -2891,7 +2938,7 @@ class ArchitectApi {
2891
2938
  /**
2892
2939
  * Architect service.
2893
2940
  * @module purecloud-platform-client-v2/api/ArchitectApi
2894
- * @version 130.0.0
2941
+ * @version 132.0.0
2895
2942
  */
2896
2943
 
2897
2944
  /**
@@ -5887,7 +5934,7 @@ class AuditApi {
5887
5934
  /**
5888
5935
  * Audit service.
5889
5936
  * @module purecloud-platform-client-v2/api/AuditApi
5890
- * @version 130.0.0
5937
+ * @version 132.0.0
5891
5938
  */
5892
5939
 
5893
5940
  /**
@@ -6058,7 +6105,7 @@ class AuthorizationApi {
6058
6105
  /**
6059
6106
  * Authorization service.
6060
6107
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6061
- * @version 130.0.0
6108
+ * @version 132.0.0
6062
6109
  */
6063
6110
 
6064
6111
  /**
@@ -7241,7 +7288,7 @@ class BillingApi {
7241
7288
  /**
7242
7289
  * Billing service.
7243
7290
  * @module purecloud-platform-client-v2/api/BillingApi
7244
- * @version 130.0.0
7291
+ * @version 132.0.0
7245
7292
  */
7246
7293
 
7247
7294
  /**
@@ -7321,7 +7368,7 @@ class ChatApi {
7321
7368
  /**
7322
7369
  * Chat service.
7323
7370
  * @module purecloud-platform-client-v2/api/ChatApi
7324
- * @version 130.0.0
7371
+ * @version 132.0.0
7325
7372
  */
7326
7373
 
7327
7374
  /**
@@ -7412,7 +7459,7 @@ class CoachingApi {
7412
7459
  /**
7413
7460
  * Coaching service.
7414
7461
  * @module purecloud-platform-client-v2/api/CoachingApi
7415
- * @version 130.0.0
7462
+ * @version 132.0.0
7416
7463
  */
7417
7464
 
7418
7465
  /**
@@ -7989,7 +8036,7 @@ class ContentManagementApi {
7989
8036
  /**
7990
8037
  * ContentManagement service.
7991
8038
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7992
- * @version 130.0.0
8039
+ * @version 132.0.0
7993
8040
  */
7994
8041
 
7995
8042
  /**
@@ -9129,7 +9176,7 @@ class ConversationsApi {
9129
9176
  /**
9130
9177
  * Conversations service.
9131
9178
  * @module purecloud-platform-client-v2/api/ConversationsApi
9132
- * @version 130.0.0
9179
+ * @version 132.0.0
9133
9180
  */
9134
9181
 
9135
9182
  /**
@@ -9419,6 +9466,31 @@ class ConversationsApi {
9419
9466
  );
9420
9467
  }
9421
9468
 
9469
+ /**
9470
+ * Delete a supported content profile
9471
+ *
9472
+ * @param {String} supportedContentId Supported Content ID
9473
+ */
9474
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
9475
+ // verify the required parameter 'supportedContentId' is set
9476
+ if (supportedContentId === undefined || supportedContentId === null) {
9477
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
9478
+ }
9479
+
9480
+ return this.apiClient.callApi(
9481
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
9482
+ 'DELETE',
9483
+ { 'supportedContentId': supportedContentId },
9484
+ { },
9485
+ { },
9486
+ { },
9487
+ null,
9488
+ ['PureCloud OAuth'],
9489
+ ['application/json'],
9490
+ ['application/json']
9491
+ );
9492
+ }
9493
+
9422
9494
  /**
9423
9495
  * Get a conversation by id
9424
9496
  *
@@ -11011,6 +11083,76 @@ class ConversationsApi {
11011
11083
  );
11012
11084
  }
11013
11085
 
11086
+ /**
11087
+ * Get a list of Supported Content profiles
11088
+ *
11089
+ * @param {Object} opts Optional parameters
11090
+ * @param {Number} opts.pageSize Page size (default to 25)
11091
+ * @param {Number} opts.pageNumber Page number (default to 1)
11092
+ */
11093
+ getConversationsMessagingSupportedcontent(opts) {
11094
+ opts = opts || {};
11095
+
11096
+
11097
+ return this.apiClient.callApi(
11098
+ '/api/v2/conversations/messaging/supportedcontent',
11099
+ 'GET',
11100
+ { },
11101
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11102
+ { },
11103
+ { },
11104
+ null,
11105
+ ['PureCloud OAuth'],
11106
+ ['application/json'],
11107
+ ['application/json']
11108
+ );
11109
+ }
11110
+
11111
+ /**
11112
+ * Get the organization's default supported content profile that will be used as the default when creating an integration.
11113
+ * When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
11114
+ */
11115
+ getConversationsMessagingSupportedcontentDefault() {
11116
+
11117
+ return this.apiClient.callApi(
11118
+ '/api/v2/conversations/messaging/supportedcontent/default',
11119
+ 'GET',
11120
+ { },
11121
+ { },
11122
+ { },
11123
+ { },
11124
+ null,
11125
+ ['PureCloud OAuth'],
11126
+ ['application/json'],
11127
+ ['application/json']
11128
+ );
11129
+ }
11130
+
11131
+ /**
11132
+ * Get a supported content profile
11133
+ *
11134
+ * @param {String} supportedContentId Supported Content ID
11135
+ */
11136
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11137
+ // verify the required parameter 'supportedContentId' is set
11138
+ if (supportedContentId === undefined || supportedContentId === null) {
11139
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
11140
+ }
11141
+
11142
+ return this.apiClient.callApi(
11143
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11144
+ 'GET',
11145
+ { 'supportedContentId': supportedContentId },
11146
+ { },
11147
+ { },
11148
+ { },
11149
+ null,
11150
+ ['PureCloud OAuth'],
11151
+ ['application/json'],
11152
+ ['application/json']
11153
+ );
11154
+ }
11155
+
11014
11156
  /**
11015
11157
  * Get conversation threading window timeline for each messaging type
11016
11158
  * Conversation messaging threading timeline is a setting defined for each messenger type in your organization. This setting will dictate whether a new message is added to the most recent existing conversation, or creates a new Conversation. If the existing Conversation is still in a connected state the threading timeline setting will never play a role. After the conversation is disconnected, if an inbound message is received or an outbound message is sent after the setting for threading timeline expires, a new conversation is created.
@@ -12092,6 +12234,36 @@ class ConversationsApi {
12092
12234
  );
12093
12235
  }
12094
12236
 
12237
+ /**
12238
+ * Update a supported content profile
12239
+ *
12240
+ * @param {String} supportedContentId Supported Content ID
12241
+ * @param {Object} body SupportedContent
12242
+ */
12243
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
12244
+ // verify the required parameter 'supportedContentId' is set
12245
+ if (supportedContentId === undefined || supportedContentId === null) {
12246
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12247
+ }
12248
+ // verify the required parameter 'body' is set
12249
+ if (body === undefined || body === null) {
12250
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12251
+ }
12252
+
12253
+ return this.apiClient.callApi(
12254
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12255
+ 'PATCH',
12256
+ { 'supportedContentId': supportedContentId },
12257
+ { },
12258
+ { },
12259
+ { },
12260
+ body,
12261
+ ['PureCloud OAuth'],
12262
+ ['application/json'],
12263
+ ['application/json']
12264
+ );
12265
+ }
12266
+
12095
12267
  /**
12096
12268
  * Index conversation properties
12097
12269
  *
@@ -13154,7 +13326,7 @@ class ConversationsApi {
13154
13326
 
13155
13327
  /**
13156
13328
  * Send an agentless outbound message
13157
- * 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.
13329
+ * 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.
13158
13330
  * @param {Object} body Create agentless outbound messaging request
13159
13331
  */
13160
13332
  postConversationsMessagesAgentless(body) {
@@ -13327,6 +13499,31 @@ class ConversationsApi {
13327
13499
  );
13328
13500
  }
13329
13501
 
13502
+ /**
13503
+ * Create a Supported Content profile
13504
+ *
13505
+ * @param {Object} body SupportedContent
13506
+ */
13507
+ postConversationsMessagingSupportedcontent(body) {
13508
+ // verify the required parameter 'body' is set
13509
+ if (body === undefined || body === null) {
13510
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
13511
+ }
13512
+
13513
+ return this.apiClient.callApi(
13514
+ '/api/v2/conversations/messaging/supportedcontent',
13515
+ 'POST',
13516
+ { },
13517
+ { },
13518
+ { },
13519
+ { },
13520
+ body,
13521
+ ['PureCloud OAuth'],
13522
+ ['application/json'],
13523
+ ['application/json']
13524
+ );
13525
+ }
13526
+
13330
13527
  /**
13331
13528
  * Set flagged reason on conversation participant to indicate bad conversation quality.
13332
13529
  *
@@ -13487,6 +13684,31 @@ class ConversationsApi {
13487
13684
  );
13488
13685
  }
13489
13686
 
13687
+ /**
13688
+ * Set the organization's default supported content profile that may be assigned to an integration when it is created.
13689
+ * When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
13690
+ * @param {Object} body SupportedContent
13691
+ */
13692
+ putConversationsMessagingSupportedcontentDefault(body) {
13693
+ // verify the required parameter 'body' is set
13694
+ if (body === undefined || body === null) {
13695
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
13696
+ }
13697
+
13698
+ return this.apiClient.callApi(
13699
+ '/api/v2/conversations/messaging/supportedcontent/default',
13700
+ 'PUT',
13701
+ { },
13702
+ { },
13703
+ { },
13704
+ { },
13705
+ body,
13706
+ ['PureCloud OAuth'],
13707
+ ['application/json'],
13708
+ ['application/json']
13709
+ );
13710
+ }
13711
+
13490
13712
  /**
13491
13713
  * Update conversation threading window timeline for each messaging type
13492
13714
  * PUT Conversation messaging threading timeline is intended to set the conversation threading settings for ALL messengerTypes. If you omit a messengerType in the request body then the setting for that messengerType will use the platform default value. The PUT replaces the existing setting(s) that were previously set for each messengerType.
@@ -13518,7 +13740,7 @@ class DataExtensionsApi {
13518
13740
  /**
13519
13741
  * DataExtensions service.
13520
13742
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13521
- * @version 130.0.0
13743
+ * @version 132.0.0
13522
13744
  */
13523
13745
 
13524
13746
  /**
@@ -13604,7 +13826,7 @@ class ExternalContactsApi {
13604
13826
  /**
13605
13827
  * ExternalContacts service.
13606
13828
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13607
- * @version 130.0.0
13829
+ * @version 132.0.0
13608
13830
  */
13609
13831
 
13610
13832
  /**
@@ -15347,7 +15569,7 @@ class FaxApi {
15347
15569
  /**
15348
15570
  * Fax service.
15349
15571
  * @module purecloud-platform-client-v2/api/FaxApi
15350
- * @version 130.0.0
15572
+ * @version 132.0.0
15351
15573
  */
15352
15574
 
15353
15575
  /**
@@ -15518,7 +15740,7 @@ class FlowsApi {
15518
15740
  /**
15519
15741
  * Flows service.
15520
15742
  * @module purecloud-platform-client-v2/api/FlowsApi
15521
- * @version 130.0.0
15743
+ * @version 132.0.0
15522
15744
  */
15523
15745
 
15524
15746
  /**
@@ -15589,7 +15811,7 @@ class GamificationApi {
15589
15811
  /**
15590
15812
  * Gamification service.
15591
15813
  * @module purecloud-platform-client-v2/api/GamificationApi
15592
- * @version 130.0.0
15814
+ * @version 132.0.0
15593
15815
  */
15594
15816
 
15595
15817
  /**
@@ -16865,8 +17087,12 @@ class GamificationApi {
16865
17087
  * Create a new custom performance profile
16866
17088
  *
16867
17089
  * @param {Object} body performanceProfile
17090
+ * @param {Object} opts Optional parameters
17091
+ * @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)
16868
17092
  */
16869
- postGamificationProfiles(body) {
17093
+ postGamificationProfiles(body, opts) {
17094
+ opts = opts || {};
17095
+
16870
17096
  // verify the required parameter 'body' is set
16871
17097
  if (body === undefined || body === null) {
16872
17098
  throw 'Missing the required parameter "body" when calling postGamificationProfiles';
@@ -16876,7 +17102,7 @@ class GamificationApi {
16876
17102
  '/api/v2/gamification/profiles',
16877
17103
  'POST',
16878
17104
  { },
16879
- { },
17105
+ { 'copyMetrics': opts['copyMetrics'] },
16880
17106
  { },
16881
17107
  { },
16882
17108
  body,
@@ -17015,7 +17241,7 @@ class GeneralDataProtectionRegulationApi {
17015
17241
  /**
17016
17242
  * GeneralDataProtectionRegulation service.
17017
17243
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17018
- * @version 130.0.0
17244
+ * @version 132.0.0
17019
17245
  */
17020
17246
 
17021
17247
  /**
@@ -17145,7 +17371,7 @@ class GeolocationApi {
17145
17371
  /**
17146
17372
  * Geolocation service.
17147
17373
  * @module purecloud-platform-client-v2/api/GeolocationApi
17148
- * @version 130.0.0
17374
+ * @version 132.0.0
17149
17375
  */
17150
17376
 
17151
17377
  /**
@@ -17276,7 +17502,7 @@ class GreetingsApi {
17276
17502
  /**
17277
17503
  * Greetings service.
17278
17504
  * @module purecloud-platform-client-v2/api/GreetingsApi
17279
- * @version 130.0.0
17505
+ * @version 132.0.0
17280
17506
  */
17281
17507
 
17282
17508
  /**
@@ -17731,7 +17957,7 @@ class GroupsApi {
17731
17957
  /**
17732
17958
  * Groups service.
17733
17959
  * @module purecloud-platform-client-v2/api/GroupsApi
17734
- * @version 130.0.0
17960
+ * @version 132.0.0
17735
17961
  */
17736
17962
 
17737
17963
  /**
@@ -18136,7 +18362,7 @@ class IdentityProviderApi {
18136
18362
  /**
18137
18363
  * IdentityProvider service.
18138
18364
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18139
- * @version 130.0.0
18365
+ * @version 132.0.0
18140
18366
  */
18141
18367
 
18142
18368
  /**
@@ -18892,7 +19118,7 @@ class IntegrationsApi {
18892
19118
  /**
18893
19119
  * Integrations service.
18894
19120
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18895
- * @version 130.0.0
19121
+ * @version 132.0.0
18896
19122
  */
18897
19123
 
18898
19124
  /**
@@ -20567,7 +20793,7 @@ class JourneyApi {
20567
20793
  /**
20568
20794
  * Journey service.
20569
20795
  * @module purecloud-platform-client-v2/api/JourneyApi
20570
- * @version 130.0.0
20796
+ * @version 132.0.0
20571
20797
  */
20572
20798
 
20573
20799
  /**
@@ -21278,7 +21504,7 @@ class KnowledgeApi {
21278
21504
  /**
21279
21505
  * Knowledge service.
21280
21506
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21281
- * @version 130.0.0
21507
+ * @version 132.0.0
21282
21508
  */
21283
21509
 
21284
21510
  /**
@@ -22178,7 +22404,7 @@ class LanguageUnderstandingApi {
22178
22404
  /**
22179
22405
  * LanguageUnderstanding service.
22180
22406
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22181
- * @version 130.0.0
22407
+ * @version 132.0.0
22182
22408
  */
22183
22409
 
22184
22410
  /**
@@ -22636,7 +22862,7 @@ class LanguageUnderstandingApi {
22636
22862
  * @param {String} minerId Miner ID
22637
22863
  * @param {String} intentId The ID of the intent to be retrieved.
22638
22864
  * @param {Object} opts Optional parameters
22639
- * @param {String} opts.expand Option to fetch utterances
22865
+ * @param {Object} opts.expand Option to fetch utterances
22640
22866
  */
22641
22867
  getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
22642
22868
  opts = opts || {};
@@ -22669,7 +22895,7 @@ class LanguageUnderstandingApi {
22669
22895
  *
22670
22896
  * @param {String} minerId Miner ID
22671
22897
  * @param {Object} opts Optional parameters
22672
- * @param {String} opts.expand Option to fetch utterances.
22898
+ * @param {Object} opts.expand Option to fetch utterances.
22673
22899
  */
22674
22900
  getLanguageunderstandingMinerIntents(minerId, opts) {
22675
22901
  opts = opts || {};
@@ -23082,7 +23308,7 @@ class LanguagesApi {
23082
23308
  /**
23083
23309
  * Languages service.
23084
23310
  * @module purecloud-platform-client-v2/api/LanguagesApi
23085
- * @version 130.0.0
23311
+ * @version 132.0.0
23086
23312
  */
23087
23313
 
23088
23314
  /**
@@ -23350,7 +23576,7 @@ class LearningApi {
23350
23576
  /**
23351
23577
  * Learning service.
23352
23578
  * @module purecloud-platform-client-v2/api/LearningApi
23353
- * @version 130.0.0
23579
+ * @version 132.0.0
23354
23580
  */
23355
23581
 
23356
23582
  /**
@@ -23941,7 +24167,7 @@ class LicenseApi {
23941
24167
  /**
23942
24168
  * License service.
23943
24169
  * @module purecloud-platform-client-v2/api/LicenseApi
23944
- * @version 130.0.0
24170
+ * @version 132.0.0
23945
24171
  */
23946
24172
 
23947
24173
  /**
@@ -24179,7 +24405,7 @@ class LocationsApi {
24179
24405
  /**
24180
24406
  * Locations service.
24181
24407
  * @module purecloud-platform-client-v2/api/LocationsApi
24182
- * @version 130.0.0
24408
+ * @version 132.0.0
24183
24409
  */
24184
24410
 
24185
24411
  /**
@@ -24411,11 +24637,162 @@ class LocationsApi {
24411
24637
 
24412
24638
  }
24413
24639
 
24640
+ class MessagingApi {
24641
+ /**
24642
+ * Messaging service.
24643
+ * @module purecloud-platform-client-v2/api/MessagingApi
24644
+ * @version 132.0.0
24645
+ */
24646
+
24647
+ /**
24648
+ * Constructs a new MessagingApi.
24649
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
24650
+ * @class
24651
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
24652
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
24653
+ */
24654
+ constructor(apiClient) {
24655
+ this.apiClient = apiClient || ApiClient.instance;
24656
+ }
24657
+
24658
+
24659
+ /**
24660
+ * Delete a supported content profile
24661
+ *
24662
+ * @param {String} supportedContentId Supported Content ID
24663
+ */
24664
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
24665
+ // verify the required parameter 'supportedContentId' is set
24666
+ if (supportedContentId === undefined || supportedContentId === null) {
24667
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
24668
+ }
24669
+
24670
+ return this.apiClient.callApi(
24671
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24672
+ 'DELETE',
24673
+ { 'supportedContentId': supportedContentId },
24674
+ { },
24675
+ { },
24676
+ { },
24677
+ null,
24678
+ ['PureCloud OAuth'],
24679
+ ['application/json'],
24680
+ ['application/json']
24681
+ );
24682
+ }
24683
+
24684
+ /**
24685
+ * Get a list of Supported Content profiles
24686
+ *
24687
+ * @param {Object} opts Optional parameters
24688
+ * @param {Number} opts.pageSize Page size (default to 25)
24689
+ * @param {Number} opts.pageNumber Page number (default to 1)
24690
+ */
24691
+ getMessagingSupportedcontent(opts) {
24692
+ opts = opts || {};
24693
+
24694
+
24695
+ return this.apiClient.callApi(
24696
+ '/api/v2/messaging/supportedcontent',
24697
+ 'GET',
24698
+ { },
24699
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
24700
+ { },
24701
+ { },
24702
+ null,
24703
+ ['PureCloud OAuth'],
24704
+ ['application/json'],
24705
+ ['application/json']
24706
+ );
24707
+ }
24708
+
24709
+ /**
24710
+ * Get a supported content profile
24711
+ *
24712
+ * @param {String} supportedContentId Supported Content ID
24713
+ */
24714
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
24715
+ // verify the required parameter 'supportedContentId' is set
24716
+ if (supportedContentId === undefined || supportedContentId === null) {
24717
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
24718
+ }
24719
+
24720
+ return this.apiClient.callApi(
24721
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24722
+ 'GET',
24723
+ { 'supportedContentId': supportedContentId },
24724
+ { },
24725
+ { },
24726
+ { },
24727
+ null,
24728
+ ['PureCloud OAuth'],
24729
+ ['application/json'],
24730
+ ['application/json']
24731
+ );
24732
+ }
24733
+
24734
+ /**
24735
+ * Update a supported content profile
24736
+ *
24737
+ * @param {String} supportedContentId Supported Content ID
24738
+ * @param {Object} body SupportedContent
24739
+ */
24740
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
24741
+ // verify the required parameter 'supportedContentId' is set
24742
+ if (supportedContentId === undefined || supportedContentId === null) {
24743
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
24744
+ }
24745
+ // verify the required parameter 'body' is set
24746
+ if (body === undefined || body === null) {
24747
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
24748
+ }
24749
+
24750
+ return this.apiClient.callApi(
24751
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24752
+ 'PATCH',
24753
+ { 'supportedContentId': supportedContentId },
24754
+ { },
24755
+ { },
24756
+ { },
24757
+ body,
24758
+ ['PureCloud OAuth'],
24759
+ ['application/json'],
24760
+ ['application/json']
24761
+ );
24762
+ }
24763
+
24764
+ /**
24765
+ * Create a Supported Content profile
24766
+ *
24767
+ * @param {Object} body SupportedContent
24768
+ */
24769
+ postMessagingSupportedcontent(body) {
24770
+ // verify the required parameter 'body' is set
24771
+ if (body === undefined || body === null) {
24772
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
24773
+ }
24774
+
24775
+ return this.apiClient.callApi(
24776
+ '/api/v2/messaging/supportedcontent',
24777
+ 'POST',
24778
+ { },
24779
+ { },
24780
+ { },
24781
+ { },
24782
+ body,
24783
+ ['PureCloud OAuth'],
24784
+ ['application/json'],
24785
+ ['application/json']
24786
+ );
24787
+ }
24788
+
24789
+ }
24790
+
24414
24791
  class MobileDevicesApi {
24415
24792
  /**
24416
24793
  * MobileDevices service.
24417
24794
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24418
- * @version 130.0.0
24795
+ * @version 132.0.0
24419
24796
  */
24420
24797
 
24421
24798
  /**
@@ -24566,7 +24943,7 @@ class NotificationsApi {
24566
24943
  /**
24567
24944
  * Notifications service.
24568
24945
  * @module purecloud-platform-client-v2/api/NotificationsApi
24569
- * @version 130.0.0
24946
+ * @version 132.0.0
24570
24947
  */
24571
24948
 
24572
24949
  /**
@@ -24791,7 +25168,7 @@ class OAuthApi {
24791
25168
  /**
24792
25169
  * OAuth service.
24793
25170
  * @module purecloud-platform-client-v2/api/OAuthApi
24794
- * @version 130.0.0
25171
+ * @version 132.0.0
24795
25172
  */
24796
25173
 
24797
25174
  /**
@@ -25149,7 +25526,7 @@ class ObjectsApi {
25149
25526
  /**
25150
25527
  * Objects service.
25151
25528
  * @module purecloud-platform-client-v2/api/ObjectsApi
25152
- * @version 130.0.0
25529
+ * @version 132.0.0
25153
25530
  */
25154
25531
 
25155
25532
  /**
@@ -25420,7 +25797,7 @@ class OrganizationApi {
25420
25797
  /**
25421
25798
  * Organization service.
25422
25799
  * @module purecloud-platform-client-v2/api/OrganizationApi
25423
- * @version 130.0.0
25800
+ * @version 132.0.0
25424
25801
  */
25425
25802
 
25426
25803
  /**
@@ -25823,7 +26200,7 @@ class OrganizationAuthorizationApi {
25823
26200
  /**
25824
26201
  * OrganizationAuthorization service.
25825
26202
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25826
- * @version 130.0.0
26203
+ * @version 132.0.0
25827
26204
  */
25828
26205
 
25829
26206
  /**
@@ -26748,7 +27125,7 @@ class OutboundApi {
26748
27125
  /**
26749
27126
  * Outbound service.
26750
27127
  * @module purecloud-platform-client-v2/api/OutboundApi
26751
- * @version 130.0.0
27128
+ * @version 132.0.0
26752
27129
  */
26753
27130
 
26754
27131
  /**
@@ -29133,8 +29510,12 @@ class OutboundApi {
29133
29510
  * Only Internal DNC lists may be appended to
29134
29511
  * @param {String} dncListId DncList ID
29135
29512
  * @param {Array.<Object>} body DNC Phone Numbers
29513
+ * @param {Object} opts Optional parameters
29514
+ * @param {String} opts.expirationDateTime Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format
29136
29515
  */
29137
- postOutboundDnclistPhonenumbers(dncListId, body) {
29516
+ postOutboundDnclistPhonenumbers(dncListId, body, opts) {
29517
+ opts = opts || {};
29518
+
29138
29519
  // verify the required parameter 'dncListId' is set
29139
29520
  if (dncListId === undefined || dncListId === null) {
29140
29521
  throw 'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';
@@ -29148,7 +29529,7 @@ class OutboundApi {
29148
29529
  '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
29149
29530
  'POST',
29150
29531
  { 'dncListId': dncListId },
29151
- { },
29532
+ { 'expirationDateTime': opts['expirationDateTime'] },
29152
29533
  { },
29153
29534
  { },
29154
29535
  body,
@@ -29774,7 +30155,7 @@ class PresenceApi {
29774
30155
  /**
29775
30156
  * Presence service.
29776
30157
  * @module purecloud-platform-client-v2/api/PresenceApi
29777
- * @version 130.0.0
30158
+ * @version 132.0.0
29778
30159
  */
29779
30160
 
29780
30161
  /**
@@ -30146,7 +30527,7 @@ class QualityApi {
30146
30527
  /**
30147
30528
  * Quality service.
30148
30529
  * @module purecloud-platform-client-v2/api/QualityApi
30149
- * @version 130.0.0
30530
+ * @version 132.0.0
30150
30531
  */
30151
30532
 
30152
30533
  /**
@@ -30302,7 +30683,7 @@ class QualityApi {
30302
30683
 
30303
30684
  /**
30304
30685
  * Gets a list of Agent Activities
30305
- * 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.
30686
+ * 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
30306
30687
  * @param {Object} opts Optional parameters
30307
30688
  * @param {Number} opts.pageSize The total page size requested (default to 25)
30308
30689
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -30765,6 +31146,31 @@ class QualityApi {
30765
31146
  );
30766
31147
  }
30767
31148
 
31149
+ /**
31150
+ * Retrieve a list of the latest published evaluation form versions by context ids
31151
+ *
31152
+ * @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
31153
+ */
31154
+ getQualityFormsEvaluationsBulkContexts(contextId) {
31155
+ // verify the required parameter 'contextId' is set
31156
+ if (contextId === undefined || contextId === null) {
31157
+ throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
31158
+ }
31159
+
31160
+ return this.apiClient.callApi(
31161
+ '/api/v2/quality/forms/evaluations/bulk/contexts',
31162
+ 'GET',
31163
+ { },
31164
+ { 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
31165
+ { },
31166
+ { },
31167
+ null,
31168
+ ['PureCloud OAuth'],
31169
+ ['application/json'],
31170
+ ['application/json']
31171
+ );
31172
+ }
31173
+
30768
31174
  /**
30769
31175
  * Get a survey form
30770
31176
  *
@@ -31279,6 +31685,31 @@ class QualityApi {
31279
31685
  );
31280
31686
  }
31281
31687
 
31688
+ /**
31689
+ * Query for evaluation aggregates for the current user
31690
+ *
31691
+ * @param {Object} body query
31692
+ */
31693
+ postQualityEvaluationsAggregatesQueryMe(body) {
31694
+ // verify the required parameter 'body' is set
31695
+ if (body === undefined || body === null) {
31696
+ throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
31697
+ }
31698
+
31699
+ return this.apiClient.callApi(
31700
+ '/api/v2/quality/evaluations/aggregates/query/me',
31701
+ 'POST',
31702
+ { },
31703
+ { },
31704
+ { },
31705
+ { },
31706
+ body,
31707
+ ['PureCloud OAuth'],
31708
+ ['application/json'],
31709
+ ['application/json']
31710
+ );
31711
+ }
31712
+
31282
31713
  /**
31283
31714
  * Score evaluation
31284
31715
  *
@@ -31674,7 +32105,7 @@ class RecordingApi {
31674
32105
  /**
31675
32106
  * Recording service.
31676
32107
  * @module purecloud-platform-client-v2/api/RecordingApi
31677
- * @version 130.0.0
32108
+ * @version 132.0.0
31678
32109
  */
31679
32110
 
31680
32111
  /**
@@ -31887,6 +32318,7 @@ class RecordingApi {
31887
32318
  * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
31888
32319
  * @param {String} opts.fileName the name of the downloaded fileName
31889
32320
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
32321
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
31890
32322
  */
31891
32323
  getConversationRecording(conversationId, recordingId, opts) {
31892
32324
  opts = opts || {};
@@ -31904,7 +32336,7 @@ class RecordingApi {
31904
32336
  '/api/v2/conversations/{conversationId}/recordings/{recordingId}',
31905
32337
  'GET',
31906
32338
  { 'conversationId': conversationId,'recordingId': recordingId },
31907
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
32339
+ { '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') },
31908
32340
  { },
31909
32341
  { },
31910
32342
  null,
@@ -32040,7 +32472,8 @@ class RecordingApi {
32040
32472
  * @param {String} conversationId Conversation ID
32041
32473
  * @param {Object} opts Optional parameters
32042
32474
  * @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)
32043
- * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
32475
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
32476
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
32044
32477
  */
32045
32478
  getConversationRecordings(conversationId, opts) {
32046
32479
  opts = opts || {};
@@ -32054,7 +32487,7 @@ class RecordingApi {
32054
32487
  '/api/v2/conversations/{conversationId}/recordings',
32055
32488
  'GET',
32056
32489
  { 'conversationId': conversationId },
32057
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'] },
32490
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
32058
32491
  { },
32059
32492
  { },
32060
32493
  null,
@@ -32101,6 +32534,7 @@ class RecordingApi {
32101
32534
  * @param {Boolean} opts.download requesting a download format of the recording (default to false)
32102
32535
  * @param {String} opts.fileName the name of the downloaded fileName
32103
32536
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
32537
+ * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
32104
32538
  */
32105
32539
  getOrphanrecordingMedia(orphanId, opts) {
32106
32540
  opts = opts || {};
@@ -32114,7 +32548,7 @@ class RecordingApi {
32114
32548
  '/api/v2/orphanrecordings/{orphanId}/media',
32115
32549
  'GET',
32116
32550
  { 'orphanId': orphanId },
32117
- { 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'] },
32551
+ { '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') },
32118
32552
  { },
32119
32553
  { },
32120
32554
  null,
@@ -33197,7 +33631,7 @@ class ResponseManagementApi {
33197
33631
  /**
33198
33632
  * ResponseManagement service.
33199
33633
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33200
- * @version 130.0.0
33634
+ * @version 132.0.0
33201
33635
  */
33202
33636
 
33203
33637
  /**
@@ -33522,7 +33956,7 @@ class RoutingApi {
33522
33956
  /**
33523
33957
  * Routing service.
33524
33958
  * @module purecloud-platform-client-v2/api/RoutingApi
33525
- * @version 130.0.0
33959
+ * @version 132.0.0
33526
33960
  */
33527
33961
 
33528
33962
  /**
@@ -36445,7 +36879,7 @@ class SCIMApi {
36445
36879
  /**
36446
36880
  * SCIM service.
36447
36881
  * @module purecloud-platform-client-v2/api/SCIMApi
36448
- * @version 130.0.0
36882
+ * @version 132.0.0
36449
36883
  */
36450
36884
 
36451
36885
  /**
@@ -37322,7 +37756,7 @@ class ScriptsApi {
37322
37756
  /**
37323
37757
  * Scripts service.
37324
37758
  * @module purecloud-platform-client-v2/api/ScriptsApi
37325
- * @version 130.0.0
37759
+ * @version 132.0.0
37326
37760
  */
37327
37761
 
37328
37762
  /**
@@ -37675,7 +38109,7 @@ class SearchApi {
37675
38109
  /**
37676
38110
  * Search service.
37677
38111
  * @module purecloud-platform-client-v2/api/SearchApi
37678
- * @version 130.0.0
38112
+ * @version 132.0.0
37679
38113
  */
37680
38114
 
37681
38115
  /**
@@ -38210,7 +38644,7 @@ class SpeechTextAnalyticsApi {
38210
38644
  /**
38211
38645
  * SpeechTextAnalytics service.
38212
38646
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38213
- * @version 130.0.0
38647
+ * @version 132.0.0
38214
38648
  */
38215
38649
 
38216
38650
  /**
@@ -38379,26 +38813,6 @@ class SpeechTextAnalyticsApi {
38379
38813
  );
38380
38814
  }
38381
38815
 
38382
- /**
38383
- * Get list of supported Speech &amp; Text Analytics dialects
38384
- * This api has been deprecated. Use api/v2/topics/dialects instead
38385
- */
38386
- getSpeechandtextanalyticsDialects() {
38387
-
38388
- return this.apiClient.callApi(
38389
- '/api/v2/speechandtextanalytics/dialects',
38390
- 'GET',
38391
- { },
38392
- { },
38393
- { },
38394
- { },
38395
- null,
38396
- ['PureCloud OAuth'],
38397
- ['application/json'],
38398
- ['application/json']
38399
- );
38400
- }
38401
-
38402
38816
  /**
38403
38817
  * Get a Speech &amp; Text Analytics program by id
38404
38818
  *
@@ -39083,7 +39497,7 @@ class StationsApi {
39083
39497
  /**
39084
39498
  * Stations service.
39085
39499
  * @module purecloud-platform-client-v2/api/StationsApi
39086
- * @version 130.0.0
39500
+ * @version 132.0.0
39087
39501
  */
39088
39502
 
39089
39503
  /**
@@ -39230,7 +39644,7 @@ class SuggestApi {
39230
39644
  /**
39231
39645
  * Suggest service.
39232
39646
  * @module purecloud-platform-client-v2/api/SuggestApi
39233
- * @version 130.0.0
39647
+ * @version 132.0.0
39234
39648
  */
39235
39649
 
39236
39650
  /**
@@ -39369,7 +39783,7 @@ class TelephonyApi {
39369
39783
  /**
39370
39784
  * Telephony service.
39371
39785
  * @module purecloud-platform-client-v2/api/TelephonyApi
39372
- * @version 130.0.0
39786
+ * @version 132.0.0
39373
39787
  */
39374
39788
 
39375
39789
  /**
@@ -39477,7 +39891,7 @@ class TelephonyProvidersEdgeApi {
39477
39891
  /**
39478
39892
  * TelephonyProvidersEdge service.
39479
39893
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39480
- * @version 130.0.0
39894
+ * @version 132.0.0
39481
39895
  */
39482
39896
 
39483
39897
  /**
@@ -40891,7 +41305,7 @@ class TelephonyProvidersEdgeApi {
40891
41305
  * @param {Object} opts Optional parameters
40892
41306
  * @param {Number} opts.pageSize Page size (default to 25)
40893
41307
  * @param {Number} opts.pageNumber Page number (default to 1)
40894
- * @param {String} opts.sortBy Sort by (default to startNumber)
41308
+ * @param {String} opts.sortBy Sort by
40895
41309
  * @param {String} opts._number Number
40896
41310
  */
40897
41311
  getTelephonyProvidersEdgesExtensionpools(opts) {
@@ -43110,7 +43524,7 @@ class TextbotsApi {
43110
43524
  /**
43111
43525
  * Textbots service.
43112
43526
  * @module purecloud-platform-client-v2/api/TextbotsApi
43113
- * @version 130.0.0
43527
+ * @version 132.0.0
43114
43528
  */
43115
43529
 
43116
43530
  /**
@@ -43238,7 +43652,7 @@ class TokensApi {
43238
43652
  /**
43239
43653
  * Tokens service.
43240
43654
  * @module purecloud-platform-client-v2/api/TokensApi
43241
- * @version 130.0.0
43655
+ * @version 132.0.0
43242
43656
  */
43243
43657
 
43244
43658
  /**
@@ -43344,7 +43758,7 @@ class UploadsApi {
43344
43758
  /**
43345
43759
  * Uploads service.
43346
43760
  * @module purecloud-platform-client-v2/api/UploadsApi
43347
- * @version 130.0.0
43761
+ * @version 132.0.0
43348
43762
  */
43349
43763
 
43350
43764
  /**
@@ -43520,7 +43934,7 @@ class UsageApi {
43520
43934
  /**
43521
43935
  * Usage service.
43522
43936
  * @module purecloud-platform-client-v2/api/UsageApi
43523
- * @version 130.0.0
43937
+ * @version 132.0.0
43524
43938
  */
43525
43939
 
43526
43940
  /**
@@ -43591,7 +44005,7 @@ class UserRecordingsApi {
43591
44005
  /**
43592
44006
  * UserRecordings service.
43593
44007
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43594
- * @version 130.0.0
44008
+ * @version 132.0.0
43595
44009
  */
43596
44010
 
43597
44011
  /**
@@ -43775,7 +44189,7 @@ class UsersApi {
43775
44189
  /**
43776
44190
  * Users service.
43777
44191
  * @module purecloud-platform-client-v2/api/UsersApi
43778
- * @version 130.0.0
44192
+ * @version 132.0.0
43779
44193
  */
43780
44194
 
43781
44195
  /**
@@ -46077,7 +46491,7 @@ class UtilitiesApi {
46077
46491
  /**
46078
46492
  * Utilities service.
46079
46493
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46080
- * @version 130.0.0
46494
+ * @version 132.0.0
46081
46495
  */
46082
46496
 
46083
46497
  /**
@@ -46188,7 +46602,7 @@ class VoicemailApi {
46188
46602
  /**
46189
46603
  * Voicemail service.
46190
46604
  * @module purecloud-platform-client-v2/api/VoicemailApi
46191
- * @version 130.0.0
46605
+ * @version 132.0.0
46192
46606
  */
46193
46607
 
46194
46608
  /**
@@ -46855,7 +47269,7 @@ class WebChatApi {
46855
47269
  /**
46856
47270
  * WebChat service.
46857
47271
  * @module purecloud-platform-client-v2/api/WebChatApi
46858
- * @version 130.0.0
47272
+ * @version 132.0.0
46859
47273
  */
46860
47274
 
46861
47275
  /**
@@ -47399,7 +47813,7 @@ class WebDeploymentsApi {
47399
47813
  /**
47400
47814
  * WebDeployments service.
47401
47815
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47402
- * @version 130.0.0
47816
+ * @version 132.0.0
47403
47817
  */
47404
47818
 
47405
47819
  /**
@@ -47754,7 +48168,7 @@ class WebMessagingApi {
47754
48168
  /**
47755
48169
  * WebMessaging service.
47756
48170
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47757
- * @version 130.0.0
48171
+ * @version 132.0.0
47758
48172
  */
47759
48173
 
47760
48174
  /**
@@ -47800,7 +48214,7 @@ class WidgetsApi {
47800
48214
  /**
47801
48215
  * Widgets service.
47802
48216
  * @module purecloud-platform-client-v2/api/WidgetsApi
47803
- * @version 130.0.0
48217
+ * @version 132.0.0
47804
48218
  */
47805
48219
 
47806
48220
  /**
@@ -47946,7 +48360,7 @@ class WorkforceManagementApi {
47946
48360
  /**
47947
48361
  * WorkforceManagement service.
47948
48362
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47949
- * @version 130.0.0
48363
+ * @version 132.0.0
47950
48364
  */
47951
48365
 
47952
48366
  /**
@@ -51977,7 +52391,7 @@ class WorkforceManagementApi {
51977
52391
  * </pre>
51978
52392
  * </p>
51979
52393
  * @module purecloud-platform-client-v2/index
51980
- * @version 130.0.0
52394
+ * @version 132.0.0
51981
52395
  */
51982
52396
  class platformClient {
51983
52397
  constructor() {
@@ -52131,6 +52545,11 @@ class platformClient {
52131
52545
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
52132
52546
  */
52133
52547
  this.LocationsApi = LocationsApi;
52548
+ /**
52549
+ * The MessagingApi service constructor.
52550
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
52551
+ */
52552
+ this.MessagingApi = MessagingApi;
52134
52553
  /**
52135
52554
  * The MobileDevicesApi service constructor.
52136
52555
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}