purecloud-platform-client-v2 128.0.0 → 131.1.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 +681 -100
  3. package/dist/web-amd/purecloud-platform-client-v2.js +681 -100
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +681 -100
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +681 -100
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +524 -50
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +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 +5 -3
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +176 -1
  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 +121 -1
  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 +30 -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 +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +51 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
  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 +22 -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 +2 -2
  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
@@ -391,7 +391,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
391
391
 
392
392
  /**
393
393
  * @module purecloud-platform-client-v2/ApiClient
394
- * @version 128.0.0
394
+ * @version 131.1.0
395
395
  */
396
396
  class ApiClient {
397
397
  /**
@@ -1338,7 +1338,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1338
1338
 
1339
1339
  // set header parameters
1340
1340
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1341
- //request.set({ 'purecloud-sdk': '128.0.0' });
1341
+ //request.set({ 'purecloud-sdk': '131.1.0' });
1342
1342
 
1343
1343
  // set request timeout
1344
1344
  request.timeout(that.timeout);
@@ -1438,7 +1438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1438
1438
  /**
1439
1439
  * Alerting service.
1440
1440
  * @module purecloud-platform-client-v2/api/AlertingApi
1441
- * @version 128.0.0
1441
+ * @version 131.1.0
1442
1442
  */
1443
1443
 
1444
1444
  /**
@@ -1752,7 +1752,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1752
1752
  /**
1753
1753
  * Analytics service.
1754
1754
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1755
- * @version 128.0.0
1755
+ * @version 131.1.0
1756
1756
  */
1757
1757
 
1758
1758
  /**
@@ -2253,6 +2253,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2253
2253
  );
2254
2254
  }
2255
2255
 
2256
+ /**
2257
+ * Get AnalyticsReportingSettings for an organization
2258
+ *
2259
+ */
2260
+ getAnalyticsReportingSettings() {
2261
+
2262
+ return this.apiClient.callApi(
2263
+ '/api/v2/analytics/reporting/settings',
2264
+ 'GET',
2265
+ { },
2266
+ { },
2267
+ { },
2268
+ { },
2269
+ null,
2270
+ ['PureCloud OAuth'],
2271
+ ['application/json'],
2272
+ ['application/json']
2273
+ );
2274
+ }
2275
+
2256
2276
  /**
2257
2277
  * Get a list of report time periods.
2258
2278
  *
@@ -2348,6 +2368,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2348
2368
  );
2349
2369
  }
2350
2370
 
2371
+ /**
2372
+ * Patch AnalyticsReportingSettings values for an organization
2373
+ *
2374
+ * @param {Object} body AnalyticsReportingSettingsRequest
2375
+ */
2376
+ patchAnalyticsReportingSettings(body) {
2377
+ // verify the required parameter 'body' is set
2378
+ if (body === undefined || body === null) {
2379
+ throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
2380
+ }
2381
+
2382
+ return this.apiClient.callApi(
2383
+ '/api/v2/analytics/reporting/settings',
2384
+ 'PATCH',
2385
+ { },
2386
+ { },
2387
+ { },
2388
+ { },
2389
+ body,
2390
+ ['PureCloud OAuth'],
2391
+ ['application/json'],
2392
+ ['application/json']
2393
+ );
2394
+ }
2395
+
2351
2396
  /**
2352
2397
  * Query for bot aggregates
2353
2398
  *
@@ -2889,7 +2934,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2889
2934
  /**
2890
2935
  * Architect service.
2891
2936
  * @module purecloud-platform-client-v2/api/ArchitectApi
2892
- * @version 128.0.0
2937
+ * @version 131.1.0
2893
2938
  */
2894
2939
 
2895
2940
  /**
@@ -5885,7 +5930,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5885
5930
  /**
5886
5931
  * Audit service.
5887
5932
  * @module purecloud-platform-client-v2/api/AuditApi
5888
- * @version 128.0.0
5933
+ * @version 131.1.0
5889
5934
  */
5890
5935
 
5891
5936
  /**
@@ -6056,7 +6101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6056
6101
  /**
6057
6102
  * Authorization service.
6058
6103
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6059
- * @version 128.0.0
6104
+ * @version 131.1.0
6060
6105
  */
6061
6106
 
6062
6107
  /**
@@ -7239,7 +7284,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7239
7284
  /**
7240
7285
  * Billing service.
7241
7286
  * @module purecloud-platform-client-v2/api/BillingApi
7242
- * @version 128.0.0
7287
+ * @version 131.1.0
7243
7288
  */
7244
7289
 
7245
7290
  /**
@@ -7319,7 +7364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7319
7364
  /**
7320
7365
  * Chat service.
7321
7366
  * @module purecloud-platform-client-v2/api/ChatApi
7322
- * @version 128.0.0
7367
+ * @version 131.1.0
7323
7368
  */
7324
7369
 
7325
7370
  /**
@@ -7410,7 +7455,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7410
7455
  /**
7411
7456
  * Coaching service.
7412
7457
  * @module purecloud-platform-client-v2/api/CoachingApi
7413
- * @version 128.0.0
7458
+ * @version 131.1.0
7414
7459
  */
7415
7460
 
7416
7461
  /**
@@ -7609,6 +7654,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7609
7654
  * @param {Array.<String>} opts.relationships Relationships to filter by
7610
7655
  * @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
7611
7656
  * @param {Object} opts.overdue Overdue status to filter by
7657
+ * @param {Object} opts.intervalCondition Filter condition for interval
7612
7658
  */
7613
7659
  getCoachingAppointments(userIds, opts) {
7614
7660
  opts = opts || {};
@@ -7622,7 +7668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7622
7668
  '/api/v2/coaching/appointments',
7623
7669
  'GET',
7624
7670
  { },
7625
- { 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
7671
+ { 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
7626
7672
  { },
7627
7673
  { },
7628
7674
  null,
@@ -7645,6 +7691,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7645
7691
  * @param {Array.<String>} opts.relationships Relationships to filter by
7646
7692
  * @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
7647
7693
  * @param {Object} opts.overdue Overdue status to filter by
7694
+ * @param {Object} opts.intervalCondition Filter condition for interval
7648
7695
  */
7649
7696
  getCoachingAppointmentsMe(opts) {
7650
7697
  opts = opts || {};
@@ -7654,7 +7701,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7654
7701
  '/api/v2/coaching/appointments/me',
7655
7702
  'GET',
7656
7703
  { },
7657
- { 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
7704
+ { 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
7658
7705
  { },
7659
7706
  { },
7660
7707
  null,
@@ -7985,7 +8032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7985
8032
  /**
7986
8033
  * ContentManagement service.
7987
8034
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7988
- * @version 128.0.0
8035
+ * @version 131.1.0
7989
8036
  */
7990
8037
 
7991
8038
  /**
@@ -9125,7 +9172,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9125
9172
  /**
9126
9173
  * Conversations service.
9127
9174
  * @module purecloud-platform-client-v2/api/ConversationsApi
9128
- * @version 128.0.0
9175
+ * @version 131.1.0
9129
9176
  */
9130
9177
 
9131
9178
  /**
@@ -9415,6 +9462,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9415
9462
  );
9416
9463
  }
9417
9464
 
9465
+ /**
9466
+ * Delete a supported content profile
9467
+ *
9468
+ * @param {String} supportedContentId Supported Content ID
9469
+ */
9470
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
9471
+ // verify the required parameter 'supportedContentId' is set
9472
+ if (supportedContentId === undefined || supportedContentId === null) {
9473
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
9474
+ }
9475
+
9476
+ return this.apiClient.callApi(
9477
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
9478
+ 'DELETE',
9479
+ { 'supportedContentId': supportedContentId },
9480
+ { },
9481
+ { },
9482
+ { },
9483
+ null,
9484
+ ['PureCloud OAuth'],
9485
+ ['application/json'],
9486
+ ['application/json']
9487
+ );
9488
+ }
9489
+
9418
9490
  /**
9419
9491
  * Get a conversation by id
9420
9492
  *
@@ -11007,6 +11079,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11007
11079
  );
11008
11080
  }
11009
11081
 
11082
+ /**
11083
+ * Get a list of Supported Content profiles
11084
+ *
11085
+ * @param {Object} opts Optional parameters
11086
+ * @param {Number} opts.pageSize Page size (default to 25)
11087
+ * @param {Number} opts.pageNumber Page number (default to 1)
11088
+ */
11089
+ getConversationsMessagingSupportedcontent(opts) {
11090
+ opts = opts || {};
11091
+
11092
+
11093
+ return this.apiClient.callApi(
11094
+ '/api/v2/conversations/messaging/supportedcontent',
11095
+ 'GET',
11096
+ { },
11097
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11098
+ { },
11099
+ { },
11100
+ null,
11101
+ ['PureCloud OAuth'],
11102
+ ['application/json'],
11103
+ ['application/json']
11104
+ );
11105
+ }
11106
+
11107
+ /**
11108
+ * Get the organization&#39;s default supported content profile that will be used as the default when creating an integration.
11109
+ * 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.
11110
+ */
11111
+ getConversationsMessagingSupportedcontentDefault() {
11112
+
11113
+ return this.apiClient.callApi(
11114
+ '/api/v2/conversations/messaging/supportedcontent/default',
11115
+ 'GET',
11116
+ { },
11117
+ { },
11118
+ { },
11119
+ { },
11120
+ null,
11121
+ ['PureCloud OAuth'],
11122
+ ['application/json'],
11123
+ ['application/json']
11124
+ );
11125
+ }
11126
+
11127
+ /**
11128
+ * Get a supported content profile
11129
+ *
11130
+ * @param {String} supportedContentId Supported Content ID
11131
+ */
11132
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11133
+ // verify the required parameter 'supportedContentId' is set
11134
+ if (supportedContentId === undefined || supportedContentId === null) {
11135
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
11136
+ }
11137
+
11138
+ return this.apiClient.callApi(
11139
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11140
+ 'GET',
11141
+ { 'supportedContentId': supportedContentId },
11142
+ { },
11143
+ { },
11144
+ { },
11145
+ null,
11146
+ ['PureCloud OAuth'],
11147
+ ['application/json'],
11148
+ ['application/json']
11149
+ );
11150
+ }
11151
+
11010
11152
  /**
11011
11153
  * Get conversation threading window timeline for each messaging type
11012
11154
  * 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.
@@ -12088,6 +12230,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12088
12230
  );
12089
12231
  }
12090
12232
 
12233
+ /**
12234
+ * Update a supported content profile
12235
+ *
12236
+ * @param {String} supportedContentId Supported Content ID
12237
+ * @param {Object} body SupportedContent
12238
+ */
12239
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
12240
+ // verify the required parameter 'supportedContentId' is set
12241
+ if (supportedContentId === undefined || supportedContentId === null) {
12242
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12243
+ }
12244
+ // verify the required parameter 'body' is set
12245
+ if (body === undefined || body === null) {
12246
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12247
+ }
12248
+
12249
+ return this.apiClient.callApi(
12250
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12251
+ 'PATCH',
12252
+ { 'supportedContentId': supportedContentId },
12253
+ { },
12254
+ { },
12255
+ { },
12256
+ body,
12257
+ ['PureCloud OAuth'],
12258
+ ['application/json'],
12259
+ ['application/json']
12260
+ );
12261
+ }
12262
+
12091
12263
  /**
12092
12264
  * Index conversation properties
12093
12265
  *
@@ -13323,6 +13495,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13323
13495
  );
13324
13496
  }
13325
13497
 
13498
+ /**
13499
+ * Create a Supported Content profile
13500
+ *
13501
+ * @param {Object} body SupportedContent
13502
+ */
13503
+ postConversationsMessagingSupportedcontent(body) {
13504
+ // verify the required parameter 'body' is set
13505
+ if (body === undefined || body === null) {
13506
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
13507
+ }
13508
+
13509
+ return this.apiClient.callApi(
13510
+ '/api/v2/conversations/messaging/supportedcontent',
13511
+ 'POST',
13512
+ { },
13513
+ { },
13514
+ { },
13515
+ { },
13516
+ body,
13517
+ ['PureCloud OAuth'],
13518
+ ['application/json'],
13519
+ ['application/json']
13520
+ );
13521
+ }
13522
+
13326
13523
  /**
13327
13524
  * Set flagged reason on conversation participant to indicate bad conversation quality.
13328
13525
  *
@@ -13483,6 +13680,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13483
13680
  );
13484
13681
  }
13485
13682
 
13683
+ /**
13684
+ * Set the organization&#39;s default supported content profile that may be assigned to an integration when it is created.
13685
+ * 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.
13686
+ * @param {Object} body SupportedContent
13687
+ */
13688
+ putConversationsMessagingSupportedcontentDefault(body) {
13689
+ // verify the required parameter 'body' is set
13690
+ if (body === undefined || body === null) {
13691
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
13692
+ }
13693
+
13694
+ return this.apiClient.callApi(
13695
+ '/api/v2/conversations/messaging/supportedcontent/default',
13696
+ 'PUT',
13697
+ { },
13698
+ { },
13699
+ { },
13700
+ { },
13701
+ body,
13702
+ ['PureCloud OAuth'],
13703
+ ['application/json'],
13704
+ ['application/json']
13705
+ );
13706
+ }
13707
+
13486
13708
  /**
13487
13709
  * Update conversation threading window timeline for each messaging type
13488
13710
  * 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.
@@ -13514,7 +13736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13514
13736
  /**
13515
13737
  * DataExtensions service.
13516
13738
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13517
- * @version 128.0.0
13739
+ * @version 131.1.0
13518
13740
  */
13519
13741
 
13520
13742
  /**
@@ -13600,7 +13822,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13600
13822
  /**
13601
13823
  * ExternalContacts service.
13602
13824
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13603
- * @version 128.0.0
13825
+ * @version 131.1.0
13604
13826
  */
13605
13827
 
13606
13828
  /**
@@ -15343,7 +15565,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15343
15565
  /**
15344
15566
  * Fax service.
15345
15567
  * @module purecloud-platform-client-v2/api/FaxApi
15346
- * @version 128.0.0
15568
+ * @version 131.1.0
15347
15569
  */
15348
15570
 
15349
15571
  /**
@@ -15514,7 +15736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15514
15736
  /**
15515
15737
  * Flows service.
15516
15738
  * @module purecloud-platform-client-v2/api/FlowsApi
15517
- * @version 128.0.0
15739
+ * @version 131.1.0
15518
15740
  */
15519
15741
 
15520
15742
  /**
@@ -15585,7 +15807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15585
15807
  /**
15586
15808
  * Gamification service.
15587
15809
  * @module purecloud-platform-client-v2/api/GamificationApi
15588
- * @version 128.0.0
15810
+ * @version 131.1.0
15589
15811
  */
15590
15812
 
15591
15813
  /**
@@ -15853,6 +16075,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15853
16075
  );
15854
16076
  }
15855
16077
 
16078
+ /**
16079
+ * Members of a given performance profile
16080
+ *
16081
+ * @param {String} performanceProfileId Performance Profile Id
16082
+ */
16083
+ getGamificationProfileMembers(performanceProfileId) {
16084
+ // verify the required parameter 'performanceProfileId' is set
16085
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16086
+ throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
16087
+ }
16088
+
16089
+ return this.apiClient.callApi(
16090
+ '/api/v2/gamification/profiles/{performanceProfileId}/members',
16091
+ 'GET',
16092
+ { 'performanceProfileId': performanceProfileId },
16093
+ { },
16094
+ { },
16095
+ { },
16096
+ null,
16097
+ ['PureCloud OAuth'],
16098
+ ['application/json'],
16099
+ ['application/json']
16100
+ );
16101
+ }
16102
+
15856
16103
  /**
15857
16104
  * Performance profile gamified metric by id
15858
16105
  *
@@ -16707,6 +16954,101 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16707
16954
  );
16708
16955
  }
16709
16956
 
16957
+ /**
16958
+ * Assign members to a given performance profile
16959
+ *
16960
+ * @param {String} performanceProfileId Performance Profile Id
16961
+ * @param {Object} body assignUsers
16962
+ */
16963
+ postGamificationProfileMembers(performanceProfileId, body) {
16964
+ // verify the required parameter 'performanceProfileId' is set
16965
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16966
+ throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
16967
+ }
16968
+ // verify the required parameter 'body' is set
16969
+ if (body === undefined || body === null) {
16970
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
16971
+ }
16972
+
16973
+ return this.apiClient.callApi(
16974
+ '/api/v2/gamification/profiles/{performanceProfileId}/members',
16975
+ 'POST',
16976
+ { 'performanceProfileId': performanceProfileId },
16977
+ { },
16978
+ { },
16979
+ { },
16980
+ body,
16981
+ ['PureCloud OAuth'],
16982
+ ['application/json'],
16983
+ ['application/json']
16984
+ );
16985
+ }
16986
+
16987
+ /**
16988
+ * Validate member assignment
16989
+ *
16990
+ * @param {String} performanceProfileId Performance Profile Id
16991
+ * @param {Object} body memberAssignments
16992
+ */
16993
+ postGamificationProfileMembersValidate(performanceProfileId, body) {
16994
+ // verify the required parameter 'performanceProfileId' is set
16995
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16996
+ throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
16997
+ }
16998
+ // verify the required parameter 'body' is set
16999
+ if (body === undefined || body === null) {
17000
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
17001
+ }
17002
+
17003
+ return this.apiClient.callApi(
17004
+ '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
17005
+ 'POST',
17006
+ { 'performanceProfileId': performanceProfileId },
17007
+ { },
17008
+ { },
17009
+ { },
17010
+ body,
17011
+ ['PureCloud OAuth'],
17012
+ ['application/json'],
17013
+ ['application/json']
17014
+ );
17015
+ }
17016
+
17017
+ /**
17018
+ * Creates a linked metric
17019
+ *
17020
+ * @param {String} sourceProfileId Source Performance Profile Id
17021
+ * @param {String} sourceMetricId Source Metric Id
17022
+ * @param {Object} body linkedMetric
17023
+ */
17024
+ postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
17025
+ // verify the required parameter 'sourceProfileId' is set
17026
+ if (sourceProfileId === undefined || sourceProfileId === null) {
17027
+ throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
17028
+ }
17029
+ // verify the required parameter 'sourceMetricId' is set
17030
+ if (sourceMetricId === undefined || sourceMetricId === null) {
17031
+ throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
17032
+ }
17033
+ // verify the required parameter 'body' is set
17034
+ if (body === undefined || body === null) {
17035
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
17036
+ }
17037
+
17038
+ return this.apiClient.callApi(
17039
+ '/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
17040
+ 'POST',
17041
+ { 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
17042
+ { },
17043
+ { },
17044
+ { },
17045
+ body,
17046
+ ['PureCloud OAuth'],
17047
+ ['application/json'],
17048
+ ['application/json']
17049
+ );
17050
+ }
17051
+
16710
17052
  /**
16711
17053
  * Creates a gamified metric with a given metric definition and metric objective under in a performance profile
16712
17054
  *
@@ -16891,7 +17233,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16891
17233
  /**
16892
17234
  * GeneralDataProtectionRegulation service.
16893
17235
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
16894
- * @version 128.0.0
17236
+ * @version 131.1.0
16895
17237
  */
16896
17238
 
16897
17239
  /**
@@ -17021,7 +17363,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17021
17363
  /**
17022
17364
  * Geolocation service.
17023
17365
  * @module purecloud-platform-client-v2/api/GeolocationApi
17024
- * @version 128.0.0
17366
+ * @version 131.1.0
17025
17367
  */
17026
17368
 
17027
17369
  /**
@@ -17152,7 +17494,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17152
17494
  /**
17153
17495
  * Greetings service.
17154
17496
  * @module purecloud-platform-client-v2/api/GreetingsApi
17155
- * @version 128.0.0
17497
+ * @version 131.1.0
17156
17498
  */
17157
17499
 
17158
17500
  /**
@@ -17607,7 +17949,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17607
17949
  /**
17608
17950
  * Groups service.
17609
17951
  * @module purecloud-platform-client-v2/api/GroupsApi
17610
- * @version 128.0.0
17952
+ * @version 131.1.0
17611
17953
  */
17612
17954
 
17613
17955
  /**
@@ -18012,7 +18354,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18012
18354
  /**
18013
18355
  * IdentityProvider service.
18014
18356
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18015
- * @version 128.0.0
18357
+ * @version 131.1.0
18016
18358
  */
18017
18359
 
18018
18360
  /**
@@ -18768,7 +19110,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18768
19110
  /**
18769
19111
  * Integrations service.
18770
19112
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18771
- * @version 128.0.0
19113
+ * @version 131.1.0
18772
19114
  */
18773
19115
 
18774
19116
  /**
@@ -19425,6 +19767,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19425
19767
  );
19426
19768
  }
19427
19769
 
19770
+ /**
19771
+ * UC integration client application configuration.
19772
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
19773
+ * @param {Object} opts Optional parameters
19774
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19775
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19776
+ * @param {String} opts.sortBy variable name requested to sort by
19777
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19778
+ * @param {String} opts.nextPage next page token
19779
+ * @param {String} opts.previousPage Previous page token
19780
+ */
19781
+ getIntegrationsClientappsUnifiedcommunications(opts) {
19782
+ opts = opts || {};
19783
+
19784
+
19785
+ return this.apiClient.callApi(
19786
+ '/api/v2/integrations/clientapps/unifiedcommunications',
19787
+ 'GET',
19788
+ { },
19789
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
19790
+ { },
19791
+ { },
19792
+ null,
19793
+ ['PureCloud OAuth'],
19794
+ ['application/json'],
19795
+ ['application/json']
19796
+ );
19797
+ }
19798
+
19428
19799
  /**
19429
19800
  * Get a single credential with sensitive fields redacted
19430
19801
  *
@@ -20414,7 +20785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20414
20785
  /**
20415
20786
  * Journey service.
20416
20787
  * @module purecloud-platform-client-v2/api/JourneyApi
20417
- * @version 128.0.0
20788
+ * @version 131.1.0
20418
20789
  */
20419
20790
 
20420
20791
  /**
@@ -21125,7 +21496,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21125
21496
  /**
21126
21497
  * Knowledge service.
21127
21498
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21128
- * @version 128.0.0
21499
+ * @version 131.1.0
21129
21500
  */
21130
21501
 
21131
21502
  /**
@@ -22025,7 +22396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22025
22396
  /**
22026
22397
  * LanguageUnderstanding service.
22027
22398
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22028
- * @version 128.0.0
22399
+ * @version 131.1.0
22029
22400
  */
22030
22401
 
22031
22402
  /**
@@ -22483,7 +22854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22483
22854
  * @param {String} minerId Miner ID
22484
22855
  * @param {String} intentId The ID of the intent to be retrieved.
22485
22856
  * @param {Object} opts Optional parameters
22486
- * @param {String} opts.expand Option to fetch utterances
22857
+ * @param {Object} opts.expand Option to fetch utterances
22487
22858
  */
22488
22859
  getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
22489
22860
  opts = opts || {};
@@ -22516,7 +22887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22516
22887
  *
22517
22888
  * @param {String} minerId Miner ID
22518
22889
  * @param {Object} opts Optional parameters
22519
- * @param {String} opts.expand Option to fetch utterances.
22890
+ * @param {Object} opts.expand Option to fetch utterances.
22520
22891
  */
22521
22892
  getLanguageunderstandingMinerIntents(minerId, opts) {
22522
22893
  opts = opts || {};
@@ -22929,7 +23300,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22929
23300
  /**
22930
23301
  * Languages service.
22931
23302
  * @module purecloud-platform-client-v2/api/LanguagesApi
22932
- * @version 128.0.0
23303
+ * @version 131.1.0
22933
23304
  */
22934
23305
 
22935
23306
  /**
@@ -23197,7 +23568,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23197
23568
  /**
23198
23569
  * Learning service.
23199
23570
  * @module purecloud-platform-client-v2/api/LearningApi
23200
- * @version 128.0.0
23571
+ * @version 131.1.0
23201
23572
  */
23202
23573
 
23203
23574
  /**
@@ -23788,7 +24159,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23788
24159
  /**
23789
24160
  * License service.
23790
24161
  * @module purecloud-platform-client-v2/api/LicenseApi
23791
- * @version 128.0.0
24162
+ * @version 131.1.0
23792
24163
  */
23793
24164
 
23794
24165
  /**
@@ -24026,7 +24397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24026
24397
  /**
24027
24398
  * Locations service.
24028
24399
  * @module purecloud-platform-client-v2/api/LocationsApi
24029
- * @version 128.0.0
24400
+ * @version 131.1.0
24030
24401
  */
24031
24402
 
24032
24403
  /**
@@ -24258,11 +24629,162 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24258
24629
 
24259
24630
  }
24260
24631
 
24632
+ class MessagingApi {
24633
+ /**
24634
+ * Messaging service.
24635
+ * @module purecloud-platform-client-v2/api/MessagingApi
24636
+ * @version 131.1.0
24637
+ */
24638
+
24639
+ /**
24640
+ * Constructs a new MessagingApi.
24641
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
24642
+ * @class
24643
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
24644
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
24645
+ */
24646
+ constructor(apiClient) {
24647
+ this.apiClient = apiClient || ApiClient.instance;
24648
+ }
24649
+
24650
+
24651
+ /**
24652
+ * Delete a supported content profile
24653
+ *
24654
+ * @param {String} supportedContentId Supported Content ID
24655
+ */
24656
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
24657
+ // verify the required parameter 'supportedContentId' is set
24658
+ if (supportedContentId === undefined || supportedContentId === null) {
24659
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
24660
+ }
24661
+
24662
+ return this.apiClient.callApi(
24663
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24664
+ 'DELETE',
24665
+ { 'supportedContentId': supportedContentId },
24666
+ { },
24667
+ { },
24668
+ { },
24669
+ null,
24670
+ ['PureCloud OAuth'],
24671
+ ['application/json'],
24672
+ ['application/json']
24673
+ );
24674
+ }
24675
+
24676
+ /**
24677
+ * Get a list of Supported Content profiles
24678
+ *
24679
+ * @param {Object} opts Optional parameters
24680
+ * @param {Number} opts.pageSize Page size (default to 25)
24681
+ * @param {Number} opts.pageNumber Page number (default to 1)
24682
+ */
24683
+ getMessagingSupportedcontent(opts) {
24684
+ opts = opts || {};
24685
+
24686
+
24687
+ return this.apiClient.callApi(
24688
+ '/api/v2/messaging/supportedcontent',
24689
+ 'GET',
24690
+ { },
24691
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
24692
+ { },
24693
+ { },
24694
+ null,
24695
+ ['PureCloud OAuth'],
24696
+ ['application/json'],
24697
+ ['application/json']
24698
+ );
24699
+ }
24700
+
24701
+ /**
24702
+ * Get a supported content profile
24703
+ *
24704
+ * @param {String} supportedContentId Supported Content ID
24705
+ */
24706
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
24707
+ // verify the required parameter 'supportedContentId' is set
24708
+ if (supportedContentId === undefined || supportedContentId === null) {
24709
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
24710
+ }
24711
+
24712
+ return this.apiClient.callApi(
24713
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24714
+ 'GET',
24715
+ { 'supportedContentId': supportedContentId },
24716
+ { },
24717
+ { },
24718
+ { },
24719
+ null,
24720
+ ['PureCloud OAuth'],
24721
+ ['application/json'],
24722
+ ['application/json']
24723
+ );
24724
+ }
24725
+
24726
+ /**
24727
+ * Update a supported content profile
24728
+ *
24729
+ * @param {String} supportedContentId Supported Content ID
24730
+ * @param {Object} body SupportedContent
24731
+ */
24732
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
24733
+ // verify the required parameter 'supportedContentId' is set
24734
+ if (supportedContentId === undefined || supportedContentId === null) {
24735
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
24736
+ }
24737
+ // verify the required parameter 'body' is set
24738
+ if (body === undefined || body === null) {
24739
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
24740
+ }
24741
+
24742
+ return this.apiClient.callApi(
24743
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24744
+ 'PATCH',
24745
+ { 'supportedContentId': supportedContentId },
24746
+ { },
24747
+ { },
24748
+ { },
24749
+ body,
24750
+ ['PureCloud OAuth'],
24751
+ ['application/json'],
24752
+ ['application/json']
24753
+ );
24754
+ }
24755
+
24756
+ /**
24757
+ * Create a Supported Content profile
24758
+ *
24759
+ * @param {Object} body SupportedContent
24760
+ */
24761
+ postMessagingSupportedcontent(body) {
24762
+ // verify the required parameter 'body' is set
24763
+ if (body === undefined || body === null) {
24764
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
24765
+ }
24766
+
24767
+ return this.apiClient.callApi(
24768
+ '/api/v2/messaging/supportedcontent',
24769
+ 'POST',
24770
+ { },
24771
+ { },
24772
+ { },
24773
+ { },
24774
+ body,
24775
+ ['PureCloud OAuth'],
24776
+ ['application/json'],
24777
+ ['application/json']
24778
+ );
24779
+ }
24780
+
24781
+ }
24782
+
24261
24783
  class MobileDevicesApi {
24262
24784
  /**
24263
24785
  * MobileDevices service.
24264
24786
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24265
- * @version 128.0.0
24787
+ * @version 131.1.0
24266
24788
  */
24267
24789
 
24268
24790
  /**
@@ -24413,7 +24935,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24413
24935
  /**
24414
24936
  * Notifications service.
24415
24937
  * @module purecloud-platform-client-v2/api/NotificationsApi
24416
- * @version 128.0.0
24938
+ * @version 131.1.0
24417
24939
  */
24418
24940
 
24419
24941
  /**
@@ -24638,7 +25160,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24638
25160
  /**
24639
25161
  * OAuth service.
24640
25162
  * @module purecloud-platform-client-v2/api/OAuthApi
24641
- * @version 128.0.0
25163
+ * @version 131.1.0
24642
25164
  */
24643
25165
 
24644
25166
  /**
@@ -24996,7 +25518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24996
25518
  /**
24997
25519
  * Objects service.
24998
25520
  * @module purecloud-platform-client-v2/api/ObjectsApi
24999
- * @version 128.0.0
25521
+ * @version 131.1.0
25000
25522
  */
25001
25523
 
25002
25524
  /**
@@ -25267,7 +25789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25267
25789
  /**
25268
25790
  * Organization service.
25269
25791
  * @module purecloud-platform-client-v2/api/OrganizationApi
25270
- * @version 128.0.0
25792
+ * @version 131.1.0
25271
25793
  */
25272
25794
 
25273
25795
  /**
@@ -25670,7 +26192,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25670
26192
  /**
25671
26193
  * OrganizationAuthorization service.
25672
26194
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25673
- * @version 128.0.0
26195
+ * @version 131.1.0
25674
26196
  */
25675
26197
 
25676
26198
  /**
@@ -26595,7 +27117,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26595
27117
  /**
26596
27118
  * Outbound service.
26597
27119
  * @module purecloud-platform-client-v2/api/OutboundApi
26598
- * @version 128.0.0
27120
+ * @version 131.1.0
26599
27121
  */
26600
27122
 
26601
27123
  /**
@@ -29621,7 +30143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29621
30143
  /**
29622
30144
  * Presence service.
29623
30145
  * @module purecloud-platform-client-v2/api/PresenceApi
29624
- * @version 128.0.0
30146
+ * @version 131.1.0
29625
30147
  */
29626
30148
 
29627
30149
  /**
@@ -29993,7 +30515,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29993
30515
  /**
29994
30516
  * Quality service.
29995
30517
  * @module purecloud-platform-client-v2/api/QualityApi
29996
- * @version 128.0.0
30518
+ * @version 131.1.0
29997
30519
  */
29998
30520
 
29999
30521
  /**
@@ -30612,6 +31134,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30612
31134
  );
30613
31135
  }
30614
31136
 
31137
+ /**
31138
+ * Retrieve a list of the latest published evaluation form versions by context ids
31139
+ *
31140
+ * @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
31141
+ */
31142
+ getQualityFormsEvaluationsBulkContexts(contextId) {
31143
+ // verify the required parameter 'contextId' is set
31144
+ if (contextId === undefined || contextId === null) {
31145
+ throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
31146
+ }
31147
+
31148
+ return this.apiClient.callApi(
31149
+ '/api/v2/quality/forms/evaluations/bulk/contexts',
31150
+ 'GET',
31151
+ { },
31152
+ { 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
31153
+ { },
31154
+ { },
31155
+ null,
31156
+ ['PureCloud OAuth'],
31157
+ ['application/json'],
31158
+ ['application/json']
31159
+ );
31160
+ }
31161
+
30615
31162
  /**
30616
31163
  * Get a survey form
30617
31164
  *
@@ -31126,6 +31673,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31126
31673
  );
31127
31674
  }
31128
31675
 
31676
+ /**
31677
+ * Query for evaluation aggregates for the current user
31678
+ *
31679
+ * @param {Object} body query
31680
+ */
31681
+ postQualityEvaluationsAggregatesQueryMe(body) {
31682
+ // verify the required parameter 'body' is set
31683
+ if (body === undefined || body === null) {
31684
+ throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
31685
+ }
31686
+
31687
+ return this.apiClient.callApi(
31688
+ '/api/v2/quality/evaluations/aggregates/query/me',
31689
+ 'POST',
31690
+ { },
31691
+ { },
31692
+ { },
31693
+ { },
31694
+ body,
31695
+ ['PureCloud OAuth'],
31696
+ ['application/json'],
31697
+ ['application/json']
31698
+ );
31699
+ }
31700
+
31129
31701
  /**
31130
31702
  * Score evaluation
31131
31703
  *
@@ -31521,7 +32093,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31521
32093
  /**
31522
32094
  * Recording service.
31523
32095
  * @module purecloud-platform-client-v2/api/RecordingApi
31524
- * @version 128.0.0
32096
+ * @version 131.1.0
31525
32097
  */
31526
32098
 
31527
32099
  /**
@@ -31727,11 +32299,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31727
32299
  * @param {String} conversationId Conversation ID
31728
32300
  * @param {String} recordingId Recording ID
31729
32301
  * @param {Object} opts Optional parameters
31730
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
31731
- * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
31732
- * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
31733
- * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
31734
- * @param {Boolean} opts.download requesting a download format of the recording (default to false)
32302
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
32303
+ * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
32304
+ * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
32305
+ * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
32306
+ * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
31735
32307
  * @param {String} opts.fileName the name of the downloaded fileName
31736
32308
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
31737
32309
  */
@@ -31827,7 +32399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31827
32399
  }
31828
32400
 
31829
32401
  /**
31830
- * Get recording metadata for a conversation. Does not return playable media.
32402
+ * Get recording metadata for a conversation. Does not return playable media. Annotations won&#39;t be included in the response if recording:recording:view permission is missing.
31831
32403
  *
31832
32404
  * @param {String} conversationId Conversation ID
31833
32405
  */
@@ -31887,7 +32459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31887
32459
  * @param {String} conversationId Conversation ID
31888
32460
  * @param {Object} opts Optional parameters
31889
32461
  * @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)
31890
- * @param {Object} opts.formatId The desired media format (default to WEBM)
32462
+ * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
31891
32463
  */
31892
32464
  getConversationRecordings(conversationId, opts) {
31893
32465
  opts = opts || {};
@@ -33044,7 +33616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33044
33616
  /**
33045
33617
  * ResponseManagement service.
33046
33618
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33047
- * @version 128.0.0
33619
+ * @version 131.1.0
33048
33620
  */
33049
33621
 
33050
33622
  /**
@@ -33369,7 +33941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33369
33941
  /**
33370
33942
  * Routing service.
33371
33943
  * @module purecloud-platform-client-v2/api/RoutingApi
33372
- * @version 128.0.0
33944
+ * @version 131.1.0
33373
33945
  */
33374
33946
 
33375
33947
  /**
@@ -34807,10 +35379,14 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34807
35379
  *
34808
35380
  * @param {Object} opts Optional parameters
34809
35381
  * @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits &#39;0-9&#39; and the wild card character &#39;\\*&#39;. If just digits are present, a contains search is done on the address pattern. For example, &#39;317&#39; could be matched anywhere in the address. An &#39;\\*&#39; will match multiple digits. For example, to match a specific area code within the US a pattern like &#39;1317*&#39; could be used.
34810
- * @param {Object} opts.phoneNumberType Filter on phone number type
34811
- * @param {Object} opts.phoneNumberStatus Filter on phone number status
35382
+ * @param {Array.<String>} opts.phoneNumberType Filter on phone number type
35383
+ * @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
35384
+ * @param {Array.<String>} opts.countryCode Filter on country code
34812
35385
  * @param {Number} opts.pageSize Page size (default to 25)
34813
35386
  * @param {Number} opts.pageNumber Page number (default to 1)
35387
+ * @param {Object} opts.sortBy Optional field to sort results
35388
+ * @param {Object} opts.sortOrder Sort order
35389
+ * @param {String} opts.language A language tag (which is sometimes referred to as a \&quot;locale identifier\&quot;) to use to localize country field and sort operations (default to en-US)
34814
35390
  */
34815
35391
  getRoutingSmsPhonenumbers(opts) {
34816
35392
  opts = opts || {};
@@ -34820,7 +35396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34820
35396
  '/api/v2/routing/sms/phonenumbers',
34821
35397
  'GET',
34822
35398
  { },
34823
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
35399
+ { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
34824
35400
  { },
34825
35401
  { },
34826
35402
  null,
@@ -36288,7 +36864,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36288
36864
  /**
36289
36865
  * SCIM service.
36290
36866
  * @module purecloud-platform-client-v2/api/SCIMApi
36291
- * @version 128.0.0
36867
+ * @version 131.1.0
36292
36868
  */
36293
36869
 
36294
36870
  /**
@@ -37165,7 +37741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37165
37741
  /**
37166
37742
  * Scripts service.
37167
37743
  * @module purecloud-platform-client-v2/api/ScriptsApi
37168
- * @version 128.0.0
37744
+ * @version 131.1.0
37169
37745
  */
37170
37746
 
37171
37747
  /**
@@ -37518,7 +38094,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37518
38094
  /**
37519
38095
  * Search service.
37520
38096
  * @module purecloud-platform-client-v2/api/SearchApi
37521
- * @version 128.0.0
38097
+ * @version 131.1.0
37522
38098
  */
37523
38099
 
37524
38100
  /**
@@ -38053,7 +38629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38053
38629
  /**
38054
38630
  * SpeechTextAnalytics service.
38055
38631
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38056
- * @version 128.0.0
38632
+ * @version 131.1.0
38057
38633
  */
38058
38634
 
38059
38635
  /**
@@ -38222,26 +38798,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38222
38798
  );
38223
38799
  }
38224
38800
 
38225
- /**
38226
- * Get list of supported Speech &amp; Text Analytics dialects
38227
- * This api has been deprecated. Use api/v2/topics/dialects instead
38228
- */
38229
- getSpeechandtextanalyticsDialects() {
38230
-
38231
- return this.apiClient.callApi(
38232
- '/api/v2/speechandtextanalytics/dialects',
38233
- 'GET',
38234
- { },
38235
- { },
38236
- { },
38237
- { },
38238
- null,
38239
- ['PureCloud OAuth'],
38240
- ['application/json'],
38241
- ['application/json']
38242
- );
38243
- }
38244
-
38245
38801
  /**
38246
38802
  * Get a Speech &amp; Text Analytics program by id
38247
38803
  *
@@ -38926,7 +39482,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38926
39482
  /**
38927
39483
  * Stations service.
38928
39484
  * @module purecloud-platform-client-v2/api/StationsApi
38929
- * @version 128.0.0
39485
+ * @version 131.1.0
38930
39486
  */
38931
39487
 
38932
39488
  /**
@@ -39073,7 +39629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39073
39629
  /**
39074
39630
  * Suggest service.
39075
39631
  * @module purecloud-platform-client-v2/api/SuggestApi
39076
- * @version 128.0.0
39632
+ * @version 131.1.0
39077
39633
  */
39078
39634
 
39079
39635
  /**
@@ -39212,7 +39768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39212
39768
  /**
39213
39769
  * Telephony service.
39214
39770
  * @module purecloud-platform-client-v2/api/TelephonyApi
39215
- * @version 128.0.0
39771
+ * @version 131.1.0
39216
39772
  */
39217
39773
 
39218
39774
  /**
@@ -39320,7 +39876,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39320
39876
  /**
39321
39877
  * TelephonyProvidersEdge service.
39322
39878
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39323
- * @version 128.0.0
39879
+ * @version 131.1.0
39324
39880
  */
39325
39881
 
39326
39882
  /**
@@ -40658,6 +41214,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40658
41214
  );
40659
41215
  }
40660
41216
 
41217
+ /**
41218
+ * List of edges more than 4 edge versions behind the latest software.
41219
+ *
41220
+ */
41221
+ getTelephonyProvidersEdgesExpired() {
41222
+
41223
+ return this.apiClient.callApi(
41224
+ '/api/v2/telephony/providers/edges/expired',
41225
+ 'GET',
41226
+ { },
41227
+ { },
41228
+ { },
41229
+ { },
41230
+ null,
41231
+ ['PureCloud OAuth'],
41232
+ ['application/json'],
41233
+ ['application/json']
41234
+ );
41235
+ }
41236
+
40661
41237
  /**
40662
41238
  * Get an extension by ID.
40663
41239
  *
@@ -40714,7 +41290,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40714
41290
  * @param {Object} opts Optional parameters
40715
41291
  * @param {Number} opts.pageSize Page size (default to 25)
40716
41292
  * @param {Number} opts.pageNumber Page number (default to 1)
40717
- * @param {String} opts.sortBy Sort by (default to startNumber)
41293
+ * @param {String} opts.sortBy Sort by
40718
41294
  * @param {String} opts._number Number
40719
41295
  */
40720
41296
  getTelephonyProvidersEdgesExtensionpools(opts) {
@@ -42933,7 +43509,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42933
43509
  /**
42934
43510
  * Textbots service.
42935
43511
  * @module purecloud-platform-client-v2/api/TextbotsApi
42936
- * @version 128.0.0
43512
+ * @version 131.1.0
42937
43513
  */
42938
43514
 
42939
43515
  /**
@@ -43061,7 +43637,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43061
43637
  /**
43062
43638
  * Tokens service.
43063
43639
  * @module purecloud-platform-client-v2/api/TokensApi
43064
- * @version 128.0.0
43640
+ * @version 131.1.0
43065
43641
  */
43066
43642
 
43067
43643
  /**
@@ -43167,7 +43743,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43167
43743
  /**
43168
43744
  * Uploads service.
43169
43745
  * @module purecloud-platform-client-v2/api/UploadsApi
43170
- * @version 128.0.0
43746
+ * @version 131.1.0
43171
43747
  */
43172
43748
 
43173
43749
  /**
@@ -43343,7 +43919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43343
43919
  /**
43344
43920
  * Usage service.
43345
43921
  * @module purecloud-platform-client-v2/api/UsageApi
43346
- * @version 128.0.0
43922
+ * @version 131.1.0
43347
43923
  */
43348
43924
 
43349
43925
  /**
@@ -43414,7 +43990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43414
43990
  /**
43415
43991
  * UserRecordings service.
43416
43992
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43417
- * @version 128.0.0
43993
+ * @version 131.1.0
43418
43994
  */
43419
43995
 
43420
43996
  /**
@@ -43598,7 +44174,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43598
44174
  /**
43599
44175
  * Users service.
43600
44176
  * @module purecloud-platform-client-v2/api/UsersApi
43601
- * @version 128.0.0
44177
+ * @version 131.1.0
43602
44178
  */
43603
44179
 
43604
44180
  /**
@@ -45900,7 +46476,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45900
46476
  /**
45901
46477
  * Utilities service.
45902
46478
  * @module purecloud-platform-client-v2/api/UtilitiesApi
45903
- * @version 128.0.0
46479
+ * @version 131.1.0
45904
46480
  */
45905
46481
 
45906
46482
  /**
@@ -45936,7 +46512,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45936
46512
  }
45937
46513
 
45938
46514
  /**
45939
- * Get public ip address ranges for PureCloud
46515
+ * Get public ip address ranges for Genesys Cloud
45940
46516
  *
45941
46517
  */
45942
46518
  getIpranges() {
@@ -46011,7 +46587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46011
46587
  /**
46012
46588
  * Voicemail service.
46013
46589
  * @module purecloud-platform-client-v2/api/VoicemailApi
46014
- * @version 128.0.0
46590
+ * @version 131.1.0
46015
46591
  */
46016
46592
 
46017
46593
  /**
@@ -46678,7 +47254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46678
47254
  /**
46679
47255
  * WebChat service.
46680
47256
  * @module purecloud-platform-client-v2/api/WebChatApi
46681
- * @version 128.0.0
47257
+ * @version 131.1.0
46682
47258
  */
46683
47259
 
46684
47260
  /**
@@ -47222,7 +47798,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47222
47798
  /**
47223
47799
  * WebDeployments service.
47224
47800
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47225
- * @version 128.0.0
47801
+ * @version 131.1.0
47226
47802
  */
47227
47803
 
47228
47804
  /**
@@ -47577,7 +48153,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47577
48153
  /**
47578
48154
  * WebMessaging service.
47579
48155
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47580
- * @version 128.0.0
48156
+ * @version 131.1.0
47581
48157
  */
47582
48158
 
47583
48159
  /**
@@ -47623,7 +48199,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47623
48199
  /**
47624
48200
  * Widgets service.
47625
48201
  * @module purecloud-platform-client-v2/api/WidgetsApi
47626
- * @version 128.0.0
48202
+ * @version 131.1.0
47627
48203
  */
47628
48204
 
47629
48205
  /**
@@ -47769,7 +48345,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47769
48345
  /**
47770
48346
  * WorkforceManagement service.
47771
48347
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47772
- * @version 128.0.0
48348
+ * @version 131.1.0
47773
48349
  */
47774
48350
 
47775
48351
  /**
@@ -51800,7 +52376,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51800
52376
  * </pre>
51801
52377
  * </p>
51802
52378
  * @module purecloud-platform-client-v2/index
51803
- * @version 128.0.0
52379
+ * @version 131.1.0
51804
52380
  */
51805
52381
  class platformClient {
51806
52382
  constructor() {
@@ -51954,6 +52530,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51954
52530
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
51955
52531
  */
51956
52532
  this.LocationsApi = LocationsApi;
52533
+ /**
52534
+ * The MessagingApi service constructor.
52535
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
52536
+ */
52537
+ this.MessagingApi = MessagingApi;
51957
52538
  /**
51958
52539
  * The MobileDevicesApi service constructor.
51959
52540
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}