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
@@ -393,7 +393,7 @@ class Configuration {
393
393
 
394
394
  /**
395
395
  * @module purecloud-platform-client-v2/ApiClient
396
- * @version 128.0.0
396
+ * @version 131.1.0
397
397
  */
398
398
  class ApiClient {
399
399
  /**
@@ -1340,7 +1340,7 @@ class ApiClient {
1340
1340
 
1341
1341
  // set header parameters
1342
1342
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1343
- //request.set({ 'purecloud-sdk': '128.0.0' });
1343
+ //request.set({ 'purecloud-sdk': '131.1.0' });
1344
1344
 
1345
1345
  // set request timeout
1346
1346
  request.timeout(that.timeout);
@@ -1440,7 +1440,7 @@ class AlertingApi {
1440
1440
  /**
1441
1441
  * Alerting service.
1442
1442
  * @module purecloud-platform-client-v2/api/AlertingApi
1443
- * @version 128.0.0
1443
+ * @version 131.1.0
1444
1444
  */
1445
1445
 
1446
1446
  /**
@@ -1754,7 +1754,7 @@ class AnalyticsApi {
1754
1754
  /**
1755
1755
  * Analytics service.
1756
1756
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1757
- * @version 128.0.0
1757
+ * @version 131.1.0
1758
1758
  */
1759
1759
 
1760
1760
  /**
@@ -2255,6 +2255,26 @@ class AnalyticsApi {
2255
2255
  );
2256
2256
  }
2257
2257
 
2258
+ /**
2259
+ * Get AnalyticsReportingSettings for an organization
2260
+ *
2261
+ */
2262
+ getAnalyticsReportingSettings() {
2263
+
2264
+ return this.apiClient.callApi(
2265
+ '/api/v2/analytics/reporting/settings',
2266
+ 'GET',
2267
+ { },
2268
+ { },
2269
+ { },
2270
+ { },
2271
+ null,
2272
+ ['PureCloud OAuth'],
2273
+ ['application/json'],
2274
+ ['application/json']
2275
+ );
2276
+ }
2277
+
2258
2278
  /**
2259
2279
  * Get a list of report time periods.
2260
2280
  *
@@ -2350,6 +2370,31 @@ class AnalyticsApi {
2350
2370
  );
2351
2371
  }
2352
2372
 
2373
+ /**
2374
+ * Patch AnalyticsReportingSettings values for an organization
2375
+ *
2376
+ * @param {Object} body AnalyticsReportingSettingsRequest
2377
+ */
2378
+ patchAnalyticsReportingSettings(body) {
2379
+ // verify the required parameter 'body' is set
2380
+ if (body === undefined || body === null) {
2381
+ throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
2382
+ }
2383
+
2384
+ return this.apiClient.callApi(
2385
+ '/api/v2/analytics/reporting/settings',
2386
+ 'PATCH',
2387
+ { },
2388
+ { },
2389
+ { },
2390
+ { },
2391
+ body,
2392
+ ['PureCloud OAuth'],
2393
+ ['application/json'],
2394
+ ['application/json']
2395
+ );
2396
+ }
2397
+
2353
2398
  /**
2354
2399
  * Query for bot aggregates
2355
2400
  *
@@ -2891,7 +2936,7 @@ class ArchitectApi {
2891
2936
  /**
2892
2937
  * Architect service.
2893
2938
  * @module purecloud-platform-client-v2/api/ArchitectApi
2894
- * @version 128.0.0
2939
+ * @version 131.1.0
2895
2940
  */
2896
2941
 
2897
2942
  /**
@@ -5887,7 +5932,7 @@ class AuditApi {
5887
5932
  /**
5888
5933
  * Audit service.
5889
5934
  * @module purecloud-platform-client-v2/api/AuditApi
5890
- * @version 128.0.0
5935
+ * @version 131.1.0
5891
5936
  */
5892
5937
 
5893
5938
  /**
@@ -6058,7 +6103,7 @@ class AuthorizationApi {
6058
6103
  /**
6059
6104
  * Authorization service.
6060
6105
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6061
- * @version 128.0.0
6106
+ * @version 131.1.0
6062
6107
  */
6063
6108
 
6064
6109
  /**
@@ -7241,7 +7286,7 @@ class BillingApi {
7241
7286
  /**
7242
7287
  * Billing service.
7243
7288
  * @module purecloud-platform-client-v2/api/BillingApi
7244
- * @version 128.0.0
7289
+ * @version 131.1.0
7245
7290
  */
7246
7291
 
7247
7292
  /**
@@ -7321,7 +7366,7 @@ class ChatApi {
7321
7366
  /**
7322
7367
  * Chat service.
7323
7368
  * @module purecloud-platform-client-v2/api/ChatApi
7324
- * @version 128.0.0
7369
+ * @version 131.1.0
7325
7370
  */
7326
7371
 
7327
7372
  /**
@@ -7412,7 +7457,7 @@ class CoachingApi {
7412
7457
  /**
7413
7458
  * Coaching service.
7414
7459
  * @module purecloud-platform-client-v2/api/CoachingApi
7415
- * @version 128.0.0
7460
+ * @version 131.1.0
7416
7461
  */
7417
7462
 
7418
7463
  /**
@@ -7611,6 +7656,7 @@ class CoachingApi {
7611
7656
  * @param {Array.<String>} opts.relationships Relationships to filter by
7612
7657
  * @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
7613
7658
  * @param {Object} opts.overdue Overdue status to filter by
7659
+ * @param {Object} opts.intervalCondition Filter condition for interval
7614
7660
  */
7615
7661
  getCoachingAppointments(userIds, opts) {
7616
7662
  opts = opts || {};
@@ -7624,7 +7670,7 @@ class CoachingApi {
7624
7670
  '/api/v2/coaching/appointments',
7625
7671
  'GET',
7626
7672
  { },
7627
- { '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'] },
7673
+ { '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'] },
7628
7674
  { },
7629
7675
  { },
7630
7676
  null,
@@ -7647,6 +7693,7 @@ class CoachingApi {
7647
7693
  * @param {Array.<String>} opts.relationships Relationships to filter by
7648
7694
  * @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
7649
7695
  * @param {Object} opts.overdue Overdue status to filter by
7696
+ * @param {Object} opts.intervalCondition Filter condition for interval
7650
7697
  */
7651
7698
  getCoachingAppointmentsMe(opts) {
7652
7699
  opts = opts || {};
@@ -7656,7 +7703,7 @@ class CoachingApi {
7656
7703
  '/api/v2/coaching/appointments/me',
7657
7704
  'GET',
7658
7705
  { },
7659
- { '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'] },
7706
+ { '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'] },
7660
7707
  { },
7661
7708
  { },
7662
7709
  null,
@@ -7987,7 +8034,7 @@ class ContentManagementApi {
7987
8034
  /**
7988
8035
  * ContentManagement service.
7989
8036
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7990
- * @version 128.0.0
8037
+ * @version 131.1.0
7991
8038
  */
7992
8039
 
7993
8040
  /**
@@ -9127,7 +9174,7 @@ class ConversationsApi {
9127
9174
  /**
9128
9175
  * Conversations service.
9129
9176
  * @module purecloud-platform-client-v2/api/ConversationsApi
9130
- * @version 128.0.0
9177
+ * @version 131.1.0
9131
9178
  */
9132
9179
 
9133
9180
  /**
@@ -9417,6 +9464,31 @@ class ConversationsApi {
9417
9464
  );
9418
9465
  }
9419
9466
 
9467
+ /**
9468
+ * Delete a supported content profile
9469
+ *
9470
+ * @param {String} supportedContentId Supported Content ID
9471
+ */
9472
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
9473
+ // verify the required parameter 'supportedContentId' is set
9474
+ if (supportedContentId === undefined || supportedContentId === null) {
9475
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
9476
+ }
9477
+
9478
+ return this.apiClient.callApi(
9479
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
9480
+ 'DELETE',
9481
+ { 'supportedContentId': supportedContentId },
9482
+ { },
9483
+ { },
9484
+ { },
9485
+ null,
9486
+ ['PureCloud OAuth'],
9487
+ ['application/json'],
9488
+ ['application/json']
9489
+ );
9490
+ }
9491
+
9420
9492
  /**
9421
9493
  * Get a conversation by id
9422
9494
  *
@@ -11009,6 +11081,76 @@ class ConversationsApi {
11009
11081
  );
11010
11082
  }
11011
11083
 
11084
+ /**
11085
+ * Get a list of Supported Content profiles
11086
+ *
11087
+ * @param {Object} opts Optional parameters
11088
+ * @param {Number} opts.pageSize Page size (default to 25)
11089
+ * @param {Number} opts.pageNumber Page number (default to 1)
11090
+ */
11091
+ getConversationsMessagingSupportedcontent(opts) {
11092
+ opts = opts || {};
11093
+
11094
+
11095
+ return this.apiClient.callApi(
11096
+ '/api/v2/conversations/messaging/supportedcontent',
11097
+ 'GET',
11098
+ { },
11099
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11100
+ { },
11101
+ { },
11102
+ null,
11103
+ ['PureCloud OAuth'],
11104
+ ['application/json'],
11105
+ ['application/json']
11106
+ );
11107
+ }
11108
+
11109
+ /**
11110
+ * Get the organization&#39;s default supported content profile that will be used as the default when creating an integration.
11111
+ * 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.
11112
+ */
11113
+ getConversationsMessagingSupportedcontentDefault() {
11114
+
11115
+ return this.apiClient.callApi(
11116
+ '/api/v2/conversations/messaging/supportedcontent/default',
11117
+ 'GET',
11118
+ { },
11119
+ { },
11120
+ { },
11121
+ { },
11122
+ null,
11123
+ ['PureCloud OAuth'],
11124
+ ['application/json'],
11125
+ ['application/json']
11126
+ );
11127
+ }
11128
+
11129
+ /**
11130
+ * Get a supported content profile
11131
+ *
11132
+ * @param {String} supportedContentId Supported Content ID
11133
+ */
11134
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11135
+ // verify the required parameter 'supportedContentId' is set
11136
+ if (supportedContentId === undefined || supportedContentId === null) {
11137
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
11138
+ }
11139
+
11140
+ return this.apiClient.callApi(
11141
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11142
+ 'GET',
11143
+ { 'supportedContentId': supportedContentId },
11144
+ { },
11145
+ { },
11146
+ { },
11147
+ null,
11148
+ ['PureCloud OAuth'],
11149
+ ['application/json'],
11150
+ ['application/json']
11151
+ );
11152
+ }
11153
+
11012
11154
  /**
11013
11155
  * Get conversation threading window timeline for each messaging type
11014
11156
  * 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.
@@ -12090,6 +12232,36 @@ class ConversationsApi {
12090
12232
  );
12091
12233
  }
12092
12234
 
12235
+ /**
12236
+ * Update a supported content profile
12237
+ *
12238
+ * @param {String} supportedContentId Supported Content ID
12239
+ * @param {Object} body SupportedContent
12240
+ */
12241
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
12242
+ // verify the required parameter 'supportedContentId' is set
12243
+ if (supportedContentId === undefined || supportedContentId === null) {
12244
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12245
+ }
12246
+ // verify the required parameter 'body' is set
12247
+ if (body === undefined || body === null) {
12248
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12249
+ }
12250
+
12251
+ return this.apiClient.callApi(
12252
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12253
+ 'PATCH',
12254
+ { 'supportedContentId': supportedContentId },
12255
+ { },
12256
+ { },
12257
+ { },
12258
+ body,
12259
+ ['PureCloud OAuth'],
12260
+ ['application/json'],
12261
+ ['application/json']
12262
+ );
12263
+ }
12264
+
12093
12265
  /**
12094
12266
  * Index conversation properties
12095
12267
  *
@@ -13325,6 +13497,31 @@ class ConversationsApi {
13325
13497
  );
13326
13498
  }
13327
13499
 
13500
+ /**
13501
+ * Create a Supported Content profile
13502
+ *
13503
+ * @param {Object} body SupportedContent
13504
+ */
13505
+ postConversationsMessagingSupportedcontent(body) {
13506
+ // verify the required parameter 'body' is set
13507
+ if (body === undefined || body === null) {
13508
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
13509
+ }
13510
+
13511
+ return this.apiClient.callApi(
13512
+ '/api/v2/conversations/messaging/supportedcontent',
13513
+ 'POST',
13514
+ { },
13515
+ { },
13516
+ { },
13517
+ { },
13518
+ body,
13519
+ ['PureCloud OAuth'],
13520
+ ['application/json'],
13521
+ ['application/json']
13522
+ );
13523
+ }
13524
+
13328
13525
  /**
13329
13526
  * Set flagged reason on conversation participant to indicate bad conversation quality.
13330
13527
  *
@@ -13485,6 +13682,31 @@ class ConversationsApi {
13485
13682
  );
13486
13683
  }
13487
13684
 
13685
+ /**
13686
+ * Set the organization&#39;s default supported content profile that may be assigned to an integration when it is created.
13687
+ * 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.
13688
+ * @param {Object} body SupportedContent
13689
+ */
13690
+ putConversationsMessagingSupportedcontentDefault(body) {
13691
+ // verify the required parameter 'body' is set
13692
+ if (body === undefined || body === null) {
13693
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
13694
+ }
13695
+
13696
+ return this.apiClient.callApi(
13697
+ '/api/v2/conversations/messaging/supportedcontent/default',
13698
+ 'PUT',
13699
+ { },
13700
+ { },
13701
+ { },
13702
+ { },
13703
+ body,
13704
+ ['PureCloud OAuth'],
13705
+ ['application/json'],
13706
+ ['application/json']
13707
+ );
13708
+ }
13709
+
13488
13710
  /**
13489
13711
  * Update conversation threading window timeline for each messaging type
13490
13712
  * 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.
@@ -13516,7 +13738,7 @@ class DataExtensionsApi {
13516
13738
  /**
13517
13739
  * DataExtensions service.
13518
13740
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13519
- * @version 128.0.0
13741
+ * @version 131.1.0
13520
13742
  */
13521
13743
 
13522
13744
  /**
@@ -13602,7 +13824,7 @@ class ExternalContactsApi {
13602
13824
  /**
13603
13825
  * ExternalContacts service.
13604
13826
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13605
- * @version 128.0.0
13827
+ * @version 131.1.0
13606
13828
  */
13607
13829
 
13608
13830
  /**
@@ -15345,7 +15567,7 @@ class FaxApi {
15345
15567
  /**
15346
15568
  * Fax service.
15347
15569
  * @module purecloud-platform-client-v2/api/FaxApi
15348
- * @version 128.0.0
15570
+ * @version 131.1.0
15349
15571
  */
15350
15572
 
15351
15573
  /**
@@ -15516,7 +15738,7 @@ class FlowsApi {
15516
15738
  /**
15517
15739
  * Flows service.
15518
15740
  * @module purecloud-platform-client-v2/api/FlowsApi
15519
- * @version 128.0.0
15741
+ * @version 131.1.0
15520
15742
  */
15521
15743
 
15522
15744
  /**
@@ -15587,7 +15809,7 @@ class GamificationApi {
15587
15809
  /**
15588
15810
  * Gamification service.
15589
15811
  * @module purecloud-platform-client-v2/api/GamificationApi
15590
- * @version 128.0.0
15812
+ * @version 131.1.0
15591
15813
  */
15592
15814
 
15593
15815
  /**
@@ -15855,6 +16077,31 @@ class GamificationApi {
15855
16077
  );
15856
16078
  }
15857
16079
 
16080
+ /**
16081
+ * Members of a given performance profile
16082
+ *
16083
+ * @param {String} performanceProfileId Performance Profile Id
16084
+ */
16085
+ getGamificationProfileMembers(performanceProfileId) {
16086
+ // verify the required parameter 'performanceProfileId' is set
16087
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16088
+ throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
16089
+ }
16090
+
16091
+ return this.apiClient.callApi(
16092
+ '/api/v2/gamification/profiles/{performanceProfileId}/members',
16093
+ 'GET',
16094
+ { 'performanceProfileId': performanceProfileId },
16095
+ { },
16096
+ { },
16097
+ { },
16098
+ null,
16099
+ ['PureCloud OAuth'],
16100
+ ['application/json'],
16101
+ ['application/json']
16102
+ );
16103
+ }
16104
+
15858
16105
  /**
15859
16106
  * Performance profile gamified metric by id
15860
16107
  *
@@ -16709,6 +16956,101 @@ class GamificationApi {
16709
16956
  );
16710
16957
  }
16711
16958
 
16959
+ /**
16960
+ * Assign members to a given performance profile
16961
+ *
16962
+ * @param {String} performanceProfileId Performance Profile Id
16963
+ * @param {Object} body assignUsers
16964
+ */
16965
+ postGamificationProfileMembers(performanceProfileId, body) {
16966
+ // verify the required parameter 'performanceProfileId' is set
16967
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16968
+ throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
16969
+ }
16970
+ // verify the required parameter 'body' is set
16971
+ if (body === undefined || body === null) {
16972
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
16973
+ }
16974
+
16975
+ return this.apiClient.callApi(
16976
+ '/api/v2/gamification/profiles/{performanceProfileId}/members',
16977
+ 'POST',
16978
+ { 'performanceProfileId': performanceProfileId },
16979
+ { },
16980
+ { },
16981
+ { },
16982
+ body,
16983
+ ['PureCloud OAuth'],
16984
+ ['application/json'],
16985
+ ['application/json']
16986
+ );
16987
+ }
16988
+
16989
+ /**
16990
+ * Validate member assignment
16991
+ *
16992
+ * @param {String} performanceProfileId Performance Profile Id
16993
+ * @param {Object} body memberAssignments
16994
+ */
16995
+ postGamificationProfileMembersValidate(performanceProfileId, body) {
16996
+ // verify the required parameter 'performanceProfileId' is set
16997
+ if (performanceProfileId === undefined || performanceProfileId === null) {
16998
+ throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
16999
+ }
17000
+ // verify the required parameter 'body' is set
17001
+ if (body === undefined || body === null) {
17002
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
17003
+ }
17004
+
17005
+ return this.apiClient.callApi(
17006
+ '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
17007
+ 'POST',
17008
+ { 'performanceProfileId': performanceProfileId },
17009
+ { },
17010
+ { },
17011
+ { },
17012
+ body,
17013
+ ['PureCloud OAuth'],
17014
+ ['application/json'],
17015
+ ['application/json']
17016
+ );
17017
+ }
17018
+
17019
+ /**
17020
+ * Creates a linked metric
17021
+ *
17022
+ * @param {String} sourceProfileId Source Performance Profile Id
17023
+ * @param {String} sourceMetricId Source Metric Id
17024
+ * @param {Object} body linkedMetric
17025
+ */
17026
+ postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
17027
+ // verify the required parameter 'sourceProfileId' is set
17028
+ if (sourceProfileId === undefined || sourceProfileId === null) {
17029
+ throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
17030
+ }
17031
+ // verify the required parameter 'sourceMetricId' is set
17032
+ if (sourceMetricId === undefined || sourceMetricId === null) {
17033
+ throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
17034
+ }
17035
+ // verify the required parameter 'body' is set
17036
+ if (body === undefined || body === null) {
17037
+ throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
17038
+ }
17039
+
17040
+ return this.apiClient.callApi(
17041
+ '/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
17042
+ 'POST',
17043
+ { 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
17044
+ { },
17045
+ { },
17046
+ { },
17047
+ body,
17048
+ ['PureCloud OAuth'],
17049
+ ['application/json'],
17050
+ ['application/json']
17051
+ );
17052
+ }
17053
+
16712
17054
  /**
16713
17055
  * Creates a gamified metric with a given metric definition and metric objective under in a performance profile
16714
17056
  *
@@ -16893,7 +17235,7 @@ class GeneralDataProtectionRegulationApi {
16893
17235
  /**
16894
17236
  * GeneralDataProtectionRegulation service.
16895
17237
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
16896
- * @version 128.0.0
17238
+ * @version 131.1.0
16897
17239
  */
16898
17240
 
16899
17241
  /**
@@ -17023,7 +17365,7 @@ class GeolocationApi {
17023
17365
  /**
17024
17366
  * Geolocation service.
17025
17367
  * @module purecloud-platform-client-v2/api/GeolocationApi
17026
- * @version 128.0.0
17368
+ * @version 131.1.0
17027
17369
  */
17028
17370
 
17029
17371
  /**
@@ -17154,7 +17496,7 @@ class GreetingsApi {
17154
17496
  /**
17155
17497
  * Greetings service.
17156
17498
  * @module purecloud-platform-client-v2/api/GreetingsApi
17157
- * @version 128.0.0
17499
+ * @version 131.1.0
17158
17500
  */
17159
17501
 
17160
17502
  /**
@@ -17609,7 +17951,7 @@ class GroupsApi {
17609
17951
  /**
17610
17952
  * Groups service.
17611
17953
  * @module purecloud-platform-client-v2/api/GroupsApi
17612
- * @version 128.0.0
17954
+ * @version 131.1.0
17613
17955
  */
17614
17956
 
17615
17957
  /**
@@ -18014,7 +18356,7 @@ class IdentityProviderApi {
18014
18356
  /**
18015
18357
  * IdentityProvider service.
18016
18358
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18017
- * @version 128.0.0
18359
+ * @version 131.1.0
18018
18360
  */
18019
18361
 
18020
18362
  /**
@@ -18770,7 +19112,7 @@ class IntegrationsApi {
18770
19112
  /**
18771
19113
  * Integrations service.
18772
19114
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18773
- * @version 128.0.0
19115
+ * @version 131.1.0
18774
19116
  */
18775
19117
 
18776
19118
  /**
@@ -19427,6 +19769,35 @@ class IntegrationsApi {
19427
19769
  );
19428
19770
  }
19429
19771
 
19772
+ /**
19773
+ * UC integration client application configuration.
19774
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
19775
+ * @param {Object} opts Optional parameters
19776
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
19777
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
19778
+ * @param {String} opts.sortBy variable name requested to sort by
19779
+ * @param {Array.<String>} opts.expand variable name requested by expand list
19780
+ * @param {String} opts.nextPage next page token
19781
+ * @param {String} opts.previousPage Previous page token
19782
+ */
19783
+ getIntegrationsClientappsUnifiedcommunications(opts) {
19784
+ opts = opts || {};
19785
+
19786
+
19787
+ return this.apiClient.callApi(
19788
+ '/api/v2/integrations/clientapps/unifiedcommunications',
19789
+ 'GET',
19790
+ { },
19791
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
19792
+ { },
19793
+ { },
19794
+ null,
19795
+ ['PureCloud OAuth'],
19796
+ ['application/json'],
19797
+ ['application/json']
19798
+ );
19799
+ }
19800
+
19430
19801
  /**
19431
19802
  * Get a single credential with sensitive fields redacted
19432
19803
  *
@@ -20416,7 +20787,7 @@ class JourneyApi {
20416
20787
  /**
20417
20788
  * Journey service.
20418
20789
  * @module purecloud-platform-client-v2/api/JourneyApi
20419
- * @version 128.0.0
20790
+ * @version 131.1.0
20420
20791
  */
20421
20792
 
20422
20793
  /**
@@ -21127,7 +21498,7 @@ class KnowledgeApi {
21127
21498
  /**
21128
21499
  * Knowledge service.
21129
21500
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21130
- * @version 128.0.0
21501
+ * @version 131.1.0
21131
21502
  */
21132
21503
 
21133
21504
  /**
@@ -22027,7 +22398,7 @@ class LanguageUnderstandingApi {
22027
22398
  /**
22028
22399
  * LanguageUnderstanding service.
22029
22400
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22030
- * @version 128.0.0
22401
+ * @version 131.1.0
22031
22402
  */
22032
22403
 
22033
22404
  /**
@@ -22485,7 +22856,7 @@ class LanguageUnderstandingApi {
22485
22856
  * @param {String} minerId Miner ID
22486
22857
  * @param {String} intentId The ID of the intent to be retrieved.
22487
22858
  * @param {Object} opts Optional parameters
22488
- * @param {String} opts.expand Option to fetch utterances
22859
+ * @param {Object} opts.expand Option to fetch utterances
22489
22860
  */
22490
22861
  getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
22491
22862
  opts = opts || {};
@@ -22518,7 +22889,7 @@ class LanguageUnderstandingApi {
22518
22889
  *
22519
22890
  * @param {String} minerId Miner ID
22520
22891
  * @param {Object} opts Optional parameters
22521
- * @param {String} opts.expand Option to fetch utterances.
22892
+ * @param {Object} opts.expand Option to fetch utterances.
22522
22893
  */
22523
22894
  getLanguageunderstandingMinerIntents(minerId, opts) {
22524
22895
  opts = opts || {};
@@ -22931,7 +23302,7 @@ class LanguagesApi {
22931
23302
  /**
22932
23303
  * Languages service.
22933
23304
  * @module purecloud-platform-client-v2/api/LanguagesApi
22934
- * @version 128.0.0
23305
+ * @version 131.1.0
22935
23306
  */
22936
23307
 
22937
23308
  /**
@@ -23199,7 +23570,7 @@ class LearningApi {
23199
23570
  /**
23200
23571
  * Learning service.
23201
23572
  * @module purecloud-platform-client-v2/api/LearningApi
23202
- * @version 128.0.0
23573
+ * @version 131.1.0
23203
23574
  */
23204
23575
 
23205
23576
  /**
@@ -23790,7 +24161,7 @@ class LicenseApi {
23790
24161
  /**
23791
24162
  * License service.
23792
24163
  * @module purecloud-platform-client-v2/api/LicenseApi
23793
- * @version 128.0.0
24164
+ * @version 131.1.0
23794
24165
  */
23795
24166
 
23796
24167
  /**
@@ -24028,7 +24399,7 @@ class LocationsApi {
24028
24399
  /**
24029
24400
  * Locations service.
24030
24401
  * @module purecloud-platform-client-v2/api/LocationsApi
24031
- * @version 128.0.0
24402
+ * @version 131.1.0
24032
24403
  */
24033
24404
 
24034
24405
  /**
@@ -24260,11 +24631,162 @@ class LocationsApi {
24260
24631
 
24261
24632
  }
24262
24633
 
24634
+ class MessagingApi {
24635
+ /**
24636
+ * Messaging service.
24637
+ * @module purecloud-platform-client-v2/api/MessagingApi
24638
+ * @version 131.1.0
24639
+ */
24640
+
24641
+ /**
24642
+ * Constructs a new MessagingApi.
24643
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
24644
+ * @class
24645
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
24646
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
24647
+ */
24648
+ constructor(apiClient) {
24649
+ this.apiClient = apiClient || ApiClient.instance;
24650
+ }
24651
+
24652
+
24653
+ /**
24654
+ * Delete a supported content profile
24655
+ *
24656
+ * @param {String} supportedContentId Supported Content ID
24657
+ */
24658
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
24659
+ // verify the required parameter 'supportedContentId' is set
24660
+ if (supportedContentId === undefined || supportedContentId === null) {
24661
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
24662
+ }
24663
+
24664
+ return this.apiClient.callApi(
24665
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24666
+ 'DELETE',
24667
+ { 'supportedContentId': supportedContentId },
24668
+ { },
24669
+ { },
24670
+ { },
24671
+ null,
24672
+ ['PureCloud OAuth'],
24673
+ ['application/json'],
24674
+ ['application/json']
24675
+ );
24676
+ }
24677
+
24678
+ /**
24679
+ * Get a list of Supported Content profiles
24680
+ *
24681
+ * @param {Object} opts Optional parameters
24682
+ * @param {Number} opts.pageSize Page size (default to 25)
24683
+ * @param {Number} opts.pageNumber Page number (default to 1)
24684
+ */
24685
+ getMessagingSupportedcontent(opts) {
24686
+ opts = opts || {};
24687
+
24688
+
24689
+ return this.apiClient.callApi(
24690
+ '/api/v2/messaging/supportedcontent',
24691
+ 'GET',
24692
+ { },
24693
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
24694
+ { },
24695
+ { },
24696
+ null,
24697
+ ['PureCloud OAuth'],
24698
+ ['application/json'],
24699
+ ['application/json']
24700
+ );
24701
+ }
24702
+
24703
+ /**
24704
+ * Get a supported content profile
24705
+ *
24706
+ * @param {String} supportedContentId Supported Content ID
24707
+ */
24708
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
24709
+ // verify the required parameter 'supportedContentId' is set
24710
+ if (supportedContentId === undefined || supportedContentId === null) {
24711
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
24712
+ }
24713
+
24714
+ return this.apiClient.callApi(
24715
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24716
+ 'GET',
24717
+ { 'supportedContentId': supportedContentId },
24718
+ { },
24719
+ { },
24720
+ { },
24721
+ null,
24722
+ ['PureCloud OAuth'],
24723
+ ['application/json'],
24724
+ ['application/json']
24725
+ );
24726
+ }
24727
+
24728
+ /**
24729
+ * Update a supported content profile
24730
+ *
24731
+ * @param {String} supportedContentId Supported Content ID
24732
+ * @param {Object} body SupportedContent
24733
+ */
24734
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
24735
+ // verify the required parameter 'supportedContentId' is set
24736
+ if (supportedContentId === undefined || supportedContentId === null) {
24737
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
24738
+ }
24739
+ // verify the required parameter 'body' is set
24740
+ if (body === undefined || body === null) {
24741
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
24742
+ }
24743
+
24744
+ return this.apiClient.callApi(
24745
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24746
+ 'PATCH',
24747
+ { 'supportedContentId': supportedContentId },
24748
+ { },
24749
+ { },
24750
+ { },
24751
+ body,
24752
+ ['PureCloud OAuth'],
24753
+ ['application/json'],
24754
+ ['application/json']
24755
+ );
24756
+ }
24757
+
24758
+ /**
24759
+ * Create a Supported Content profile
24760
+ *
24761
+ * @param {Object} body SupportedContent
24762
+ */
24763
+ postMessagingSupportedcontent(body) {
24764
+ // verify the required parameter 'body' is set
24765
+ if (body === undefined || body === null) {
24766
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
24767
+ }
24768
+
24769
+ return this.apiClient.callApi(
24770
+ '/api/v2/messaging/supportedcontent',
24771
+ 'POST',
24772
+ { },
24773
+ { },
24774
+ { },
24775
+ { },
24776
+ body,
24777
+ ['PureCloud OAuth'],
24778
+ ['application/json'],
24779
+ ['application/json']
24780
+ );
24781
+ }
24782
+
24783
+ }
24784
+
24263
24785
  class MobileDevicesApi {
24264
24786
  /**
24265
24787
  * MobileDevices service.
24266
24788
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24267
- * @version 128.0.0
24789
+ * @version 131.1.0
24268
24790
  */
24269
24791
 
24270
24792
  /**
@@ -24415,7 +24937,7 @@ class NotificationsApi {
24415
24937
  /**
24416
24938
  * Notifications service.
24417
24939
  * @module purecloud-platform-client-v2/api/NotificationsApi
24418
- * @version 128.0.0
24940
+ * @version 131.1.0
24419
24941
  */
24420
24942
 
24421
24943
  /**
@@ -24640,7 +25162,7 @@ class OAuthApi {
24640
25162
  /**
24641
25163
  * OAuth service.
24642
25164
  * @module purecloud-platform-client-v2/api/OAuthApi
24643
- * @version 128.0.0
25165
+ * @version 131.1.0
24644
25166
  */
24645
25167
 
24646
25168
  /**
@@ -24998,7 +25520,7 @@ class ObjectsApi {
24998
25520
  /**
24999
25521
  * Objects service.
25000
25522
  * @module purecloud-platform-client-v2/api/ObjectsApi
25001
- * @version 128.0.0
25523
+ * @version 131.1.0
25002
25524
  */
25003
25525
 
25004
25526
  /**
@@ -25269,7 +25791,7 @@ class OrganizationApi {
25269
25791
  /**
25270
25792
  * Organization service.
25271
25793
  * @module purecloud-platform-client-v2/api/OrganizationApi
25272
- * @version 128.0.0
25794
+ * @version 131.1.0
25273
25795
  */
25274
25796
 
25275
25797
  /**
@@ -25672,7 +26194,7 @@ class OrganizationAuthorizationApi {
25672
26194
  /**
25673
26195
  * OrganizationAuthorization service.
25674
26196
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25675
- * @version 128.0.0
26197
+ * @version 131.1.0
25676
26198
  */
25677
26199
 
25678
26200
  /**
@@ -26597,7 +27119,7 @@ class OutboundApi {
26597
27119
  /**
26598
27120
  * Outbound service.
26599
27121
  * @module purecloud-platform-client-v2/api/OutboundApi
26600
- * @version 128.0.0
27122
+ * @version 131.1.0
26601
27123
  */
26602
27124
 
26603
27125
  /**
@@ -29623,7 +30145,7 @@ class PresenceApi {
29623
30145
  /**
29624
30146
  * Presence service.
29625
30147
  * @module purecloud-platform-client-v2/api/PresenceApi
29626
- * @version 128.0.0
30148
+ * @version 131.1.0
29627
30149
  */
29628
30150
 
29629
30151
  /**
@@ -29995,7 +30517,7 @@ class QualityApi {
29995
30517
  /**
29996
30518
  * Quality service.
29997
30519
  * @module purecloud-platform-client-v2/api/QualityApi
29998
- * @version 128.0.0
30520
+ * @version 131.1.0
29999
30521
  */
30000
30522
 
30001
30523
  /**
@@ -30614,6 +31136,31 @@ class QualityApi {
30614
31136
  );
30615
31137
  }
30616
31138
 
31139
+ /**
31140
+ * Retrieve a list of the latest published evaluation form versions by context ids
31141
+ *
31142
+ * @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
31143
+ */
31144
+ getQualityFormsEvaluationsBulkContexts(contextId) {
31145
+ // verify the required parameter 'contextId' is set
31146
+ if (contextId === undefined || contextId === null) {
31147
+ throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
31148
+ }
31149
+
31150
+ return this.apiClient.callApi(
31151
+ '/api/v2/quality/forms/evaluations/bulk/contexts',
31152
+ 'GET',
31153
+ { },
31154
+ { 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
31155
+ { },
31156
+ { },
31157
+ null,
31158
+ ['PureCloud OAuth'],
31159
+ ['application/json'],
31160
+ ['application/json']
31161
+ );
31162
+ }
31163
+
30617
31164
  /**
30618
31165
  * Get a survey form
30619
31166
  *
@@ -31128,6 +31675,31 @@ class QualityApi {
31128
31675
  );
31129
31676
  }
31130
31677
 
31678
+ /**
31679
+ * Query for evaluation aggregates for the current user
31680
+ *
31681
+ * @param {Object} body query
31682
+ */
31683
+ postQualityEvaluationsAggregatesQueryMe(body) {
31684
+ // verify the required parameter 'body' is set
31685
+ if (body === undefined || body === null) {
31686
+ throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
31687
+ }
31688
+
31689
+ return this.apiClient.callApi(
31690
+ '/api/v2/quality/evaluations/aggregates/query/me',
31691
+ 'POST',
31692
+ { },
31693
+ { },
31694
+ { },
31695
+ { },
31696
+ body,
31697
+ ['PureCloud OAuth'],
31698
+ ['application/json'],
31699
+ ['application/json']
31700
+ );
31701
+ }
31702
+
31131
31703
  /**
31132
31704
  * Score evaluation
31133
31705
  *
@@ -31523,7 +32095,7 @@ class RecordingApi {
31523
32095
  /**
31524
32096
  * Recording service.
31525
32097
  * @module purecloud-platform-client-v2/api/RecordingApi
31526
- * @version 128.0.0
32098
+ * @version 131.1.0
31527
32099
  */
31528
32100
 
31529
32101
  /**
@@ -31729,11 +32301,11 @@ class RecordingApi {
31729
32301
  * @param {String} conversationId Conversation ID
31730
32302
  * @param {String} recordingId Recording ID
31731
32303
  * @param {Object} opts Optional parameters
31732
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
31733
- * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
31734
- * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
31735
- * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
31736
- * @param {Boolean} opts.download requesting a download format of the recording (default to false)
32304
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
32305
+ * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
32306
+ * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
32307
+ * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
32308
+ * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
31737
32309
  * @param {String} opts.fileName the name of the downloaded fileName
31738
32310
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
31739
32311
  */
@@ -31829,7 +32401,7 @@ class RecordingApi {
31829
32401
  }
31830
32402
 
31831
32403
  /**
31832
- * Get recording metadata for a conversation. Does not return playable media.
32404
+ * 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.
31833
32405
  *
31834
32406
  * @param {String} conversationId Conversation ID
31835
32407
  */
@@ -31889,7 +32461,7 @@ class RecordingApi {
31889
32461
  * @param {String} conversationId Conversation ID
31890
32462
  * @param {Object} opts Optional parameters
31891
32463
  * @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)
31892
- * @param {Object} opts.formatId The desired media format (default to WEBM)
32464
+ * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
31893
32465
  */
31894
32466
  getConversationRecordings(conversationId, opts) {
31895
32467
  opts = opts || {};
@@ -33046,7 +33618,7 @@ class ResponseManagementApi {
33046
33618
  /**
33047
33619
  * ResponseManagement service.
33048
33620
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33049
- * @version 128.0.0
33621
+ * @version 131.1.0
33050
33622
  */
33051
33623
 
33052
33624
  /**
@@ -33371,7 +33943,7 @@ class RoutingApi {
33371
33943
  /**
33372
33944
  * Routing service.
33373
33945
  * @module purecloud-platform-client-v2/api/RoutingApi
33374
- * @version 128.0.0
33946
+ * @version 131.1.0
33375
33947
  */
33376
33948
 
33377
33949
  /**
@@ -34809,10 +35381,14 @@ class RoutingApi {
34809
35381
  *
34810
35382
  * @param {Object} opts Optional parameters
34811
35383
  * @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.
34812
- * @param {Object} opts.phoneNumberType Filter on phone number type
34813
- * @param {Object} opts.phoneNumberStatus Filter on phone number status
35384
+ * @param {Array.<String>} opts.phoneNumberType Filter on phone number type
35385
+ * @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
35386
+ * @param {Array.<String>} opts.countryCode Filter on country code
34814
35387
  * @param {Number} opts.pageSize Page size (default to 25)
34815
35388
  * @param {Number} opts.pageNumber Page number (default to 1)
35389
+ * @param {Object} opts.sortBy Optional field to sort results
35390
+ * @param {Object} opts.sortOrder Sort order
35391
+ * @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)
34816
35392
  */
34817
35393
  getRoutingSmsPhonenumbers(opts) {
34818
35394
  opts = opts || {};
@@ -34822,7 +35398,7 @@ class RoutingApi {
34822
35398
  '/api/v2/routing/sms/phonenumbers',
34823
35399
  'GET',
34824
35400
  { },
34825
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
35401
+ { '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'] },
34826
35402
  { },
34827
35403
  { },
34828
35404
  null,
@@ -36290,7 +36866,7 @@ class SCIMApi {
36290
36866
  /**
36291
36867
  * SCIM service.
36292
36868
  * @module purecloud-platform-client-v2/api/SCIMApi
36293
- * @version 128.0.0
36869
+ * @version 131.1.0
36294
36870
  */
36295
36871
 
36296
36872
  /**
@@ -37167,7 +37743,7 @@ class ScriptsApi {
37167
37743
  /**
37168
37744
  * Scripts service.
37169
37745
  * @module purecloud-platform-client-v2/api/ScriptsApi
37170
- * @version 128.0.0
37746
+ * @version 131.1.0
37171
37747
  */
37172
37748
 
37173
37749
  /**
@@ -37520,7 +38096,7 @@ class SearchApi {
37520
38096
  /**
37521
38097
  * Search service.
37522
38098
  * @module purecloud-platform-client-v2/api/SearchApi
37523
- * @version 128.0.0
38099
+ * @version 131.1.0
37524
38100
  */
37525
38101
 
37526
38102
  /**
@@ -38055,7 +38631,7 @@ class SpeechTextAnalyticsApi {
38055
38631
  /**
38056
38632
  * SpeechTextAnalytics service.
38057
38633
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38058
- * @version 128.0.0
38634
+ * @version 131.1.0
38059
38635
  */
38060
38636
 
38061
38637
  /**
@@ -38224,26 +38800,6 @@ class SpeechTextAnalyticsApi {
38224
38800
  );
38225
38801
  }
38226
38802
 
38227
- /**
38228
- * Get list of supported Speech &amp; Text Analytics dialects
38229
- * This api has been deprecated. Use api/v2/topics/dialects instead
38230
- */
38231
- getSpeechandtextanalyticsDialects() {
38232
-
38233
- return this.apiClient.callApi(
38234
- '/api/v2/speechandtextanalytics/dialects',
38235
- 'GET',
38236
- { },
38237
- { },
38238
- { },
38239
- { },
38240
- null,
38241
- ['PureCloud OAuth'],
38242
- ['application/json'],
38243
- ['application/json']
38244
- );
38245
- }
38246
-
38247
38803
  /**
38248
38804
  * Get a Speech &amp; Text Analytics program by id
38249
38805
  *
@@ -38928,7 +39484,7 @@ class StationsApi {
38928
39484
  /**
38929
39485
  * Stations service.
38930
39486
  * @module purecloud-platform-client-v2/api/StationsApi
38931
- * @version 128.0.0
39487
+ * @version 131.1.0
38932
39488
  */
38933
39489
 
38934
39490
  /**
@@ -39075,7 +39631,7 @@ class SuggestApi {
39075
39631
  /**
39076
39632
  * Suggest service.
39077
39633
  * @module purecloud-platform-client-v2/api/SuggestApi
39078
- * @version 128.0.0
39634
+ * @version 131.1.0
39079
39635
  */
39080
39636
 
39081
39637
  /**
@@ -39214,7 +39770,7 @@ class TelephonyApi {
39214
39770
  /**
39215
39771
  * Telephony service.
39216
39772
  * @module purecloud-platform-client-v2/api/TelephonyApi
39217
- * @version 128.0.0
39773
+ * @version 131.1.0
39218
39774
  */
39219
39775
 
39220
39776
  /**
@@ -39322,7 +39878,7 @@ class TelephonyProvidersEdgeApi {
39322
39878
  /**
39323
39879
  * TelephonyProvidersEdge service.
39324
39880
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39325
- * @version 128.0.0
39881
+ * @version 131.1.0
39326
39882
  */
39327
39883
 
39328
39884
  /**
@@ -40660,6 +41216,26 @@ class TelephonyProvidersEdgeApi {
40660
41216
  );
40661
41217
  }
40662
41218
 
41219
+ /**
41220
+ * List of edges more than 4 edge versions behind the latest software.
41221
+ *
41222
+ */
41223
+ getTelephonyProvidersEdgesExpired() {
41224
+
41225
+ return this.apiClient.callApi(
41226
+ '/api/v2/telephony/providers/edges/expired',
41227
+ 'GET',
41228
+ { },
41229
+ { },
41230
+ { },
41231
+ { },
41232
+ null,
41233
+ ['PureCloud OAuth'],
41234
+ ['application/json'],
41235
+ ['application/json']
41236
+ );
41237
+ }
41238
+
40663
41239
  /**
40664
41240
  * Get an extension by ID.
40665
41241
  *
@@ -40716,7 +41292,7 @@ class TelephonyProvidersEdgeApi {
40716
41292
  * @param {Object} opts Optional parameters
40717
41293
  * @param {Number} opts.pageSize Page size (default to 25)
40718
41294
  * @param {Number} opts.pageNumber Page number (default to 1)
40719
- * @param {String} opts.sortBy Sort by (default to startNumber)
41295
+ * @param {String} opts.sortBy Sort by
40720
41296
  * @param {String} opts._number Number
40721
41297
  */
40722
41298
  getTelephonyProvidersEdgesExtensionpools(opts) {
@@ -42935,7 +43511,7 @@ class TextbotsApi {
42935
43511
  /**
42936
43512
  * Textbots service.
42937
43513
  * @module purecloud-platform-client-v2/api/TextbotsApi
42938
- * @version 128.0.0
43514
+ * @version 131.1.0
42939
43515
  */
42940
43516
 
42941
43517
  /**
@@ -43063,7 +43639,7 @@ class TokensApi {
43063
43639
  /**
43064
43640
  * Tokens service.
43065
43641
  * @module purecloud-platform-client-v2/api/TokensApi
43066
- * @version 128.0.0
43642
+ * @version 131.1.0
43067
43643
  */
43068
43644
 
43069
43645
  /**
@@ -43169,7 +43745,7 @@ class UploadsApi {
43169
43745
  /**
43170
43746
  * Uploads service.
43171
43747
  * @module purecloud-platform-client-v2/api/UploadsApi
43172
- * @version 128.0.0
43748
+ * @version 131.1.0
43173
43749
  */
43174
43750
 
43175
43751
  /**
@@ -43345,7 +43921,7 @@ class UsageApi {
43345
43921
  /**
43346
43922
  * Usage service.
43347
43923
  * @module purecloud-platform-client-v2/api/UsageApi
43348
- * @version 128.0.0
43924
+ * @version 131.1.0
43349
43925
  */
43350
43926
 
43351
43927
  /**
@@ -43416,7 +43992,7 @@ class UserRecordingsApi {
43416
43992
  /**
43417
43993
  * UserRecordings service.
43418
43994
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43419
- * @version 128.0.0
43995
+ * @version 131.1.0
43420
43996
  */
43421
43997
 
43422
43998
  /**
@@ -43600,7 +44176,7 @@ class UsersApi {
43600
44176
  /**
43601
44177
  * Users service.
43602
44178
  * @module purecloud-platform-client-v2/api/UsersApi
43603
- * @version 128.0.0
44179
+ * @version 131.1.0
43604
44180
  */
43605
44181
 
43606
44182
  /**
@@ -45902,7 +46478,7 @@ class UtilitiesApi {
45902
46478
  /**
45903
46479
  * Utilities service.
45904
46480
  * @module purecloud-platform-client-v2/api/UtilitiesApi
45905
- * @version 128.0.0
46481
+ * @version 131.1.0
45906
46482
  */
45907
46483
 
45908
46484
  /**
@@ -45938,7 +46514,7 @@ class UtilitiesApi {
45938
46514
  }
45939
46515
 
45940
46516
  /**
45941
- * Get public ip address ranges for PureCloud
46517
+ * Get public ip address ranges for Genesys Cloud
45942
46518
  *
45943
46519
  */
45944
46520
  getIpranges() {
@@ -46013,7 +46589,7 @@ class VoicemailApi {
46013
46589
  /**
46014
46590
  * Voicemail service.
46015
46591
  * @module purecloud-platform-client-v2/api/VoicemailApi
46016
- * @version 128.0.0
46592
+ * @version 131.1.0
46017
46593
  */
46018
46594
 
46019
46595
  /**
@@ -46680,7 +47256,7 @@ class WebChatApi {
46680
47256
  /**
46681
47257
  * WebChat service.
46682
47258
  * @module purecloud-platform-client-v2/api/WebChatApi
46683
- * @version 128.0.0
47259
+ * @version 131.1.0
46684
47260
  */
46685
47261
 
46686
47262
  /**
@@ -47224,7 +47800,7 @@ class WebDeploymentsApi {
47224
47800
  /**
47225
47801
  * WebDeployments service.
47226
47802
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47227
- * @version 128.0.0
47803
+ * @version 131.1.0
47228
47804
  */
47229
47805
 
47230
47806
  /**
@@ -47579,7 +48155,7 @@ class WebMessagingApi {
47579
48155
  /**
47580
48156
  * WebMessaging service.
47581
48157
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47582
- * @version 128.0.0
48158
+ * @version 131.1.0
47583
48159
  */
47584
48160
 
47585
48161
  /**
@@ -47625,7 +48201,7 @@ class WidgetsApi {
47625
48201
  /**
47626
48202
  * Widgets service.
47627
48203
  * @module purecloud-platform-client-v2/api/WidgetsApi
47628
- * @version 128.0.0
48204
+ * @version 131.1.0
47629
48205
  */
47630
48206
 
47631
48207
  /**
@@ -47771,7 +48347,7 @@ class WorkforceManagementApi {
47771
48347
  /**
47772
48348
  * WorkforceManagement service.
47773
48349
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47774
- * @version 128.0.0
48350
+ * @version 131.1.0
47775
48351
  */
47776
48352
 
47777
48353
  /**
@@ -51802,7 +52378,7 @@ class WorkforceManagementApi {
51802
52378
  * </pre>
51803
52379
  * </p>
51804
52380
  * @module purecloud-platform-client-v2/index
51805
- * @version 128.0.0
52381
+ * @version 131.1.0
51806
52382
  */
51807
52383
  class platformClient {
51808
52384
  constructor() {
@@ -51956,6 +52532,11 @@ class platformClient {
51956
52532
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
51957
52533
  */
51958
52534
  this.LocationsApi = LocationsApi;
52535
+ /**
52536
+ * The MessagingApi service constructor.
52537
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
52538
+ */
52539
+ this.MessagingApi = MessagingApi;
51959
52540
  /**
51960
52541
  * The MobileDevicesApi service constructor.
51961
52542
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}