purecloud-platform-client-v2 194.0.0 → 196.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +618 -119
  3. package/dist/web-amd/purecloud-platform-client-v2.js +618 -119
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +215 -99
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +219 -100
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +644 -516
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
  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/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -32
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +29 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +174 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -7
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +165 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -405,7 +405,7 @@ class Configuration {
405
405
 
406
406
  /**
407
407
  * @module purecloud-platform-client-v2/ApiClient
408
- * @version 194.0.0
408
+ * @version 196.0.0
409
409
  */
410
410
  class ApiClient {
411
411
  /**
@@ -1480,6 +1480,9 @@ class ApiClient {
1480
1480
  if (param instanceof Date) {
1481
1481
  return param.toJSON();
1482
1482
  }
1483
+ if (param instanceof Boolean) {
1484
+ return param.toString().toLowerCase();
1485
+ }
1483
1486
  return param.toString();
1484
1487
  }
1485
1488
 
@@ -1824,7 +1827,7 @@ class AlertingApi {
1824
1827
  /**
1825
1828
  * Alerting service.
1826
1829
  * @module purecloud-platform-client-v2/api/AlertingApi
1827
- * @version 194.0.0
1830
+ * @version 196.0.0
1828
1831
  */
1829
1832
 
1830
1833
  /**
@@ -2485,7 +2488,7 @@ class AnalyticsApi {
2485
2488
  /**
2486
2489
  * Analytics service.
2487
2490
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2488
- * @version 194.0.0
2491
+ * @version 196.0.0
2489
2492
  */
2490
2493
 
2491
2494
  /**
@@ -2606,6 +2609,62 @@ class AnalyticsApi {
2606
2609
  );
2607
2610
  }
2608
2611
 
2612
+ /**
2613
+ * Get status for async query for agent copilot aggregates
2614
+ *
2615
+ * @param {String} jobId jobId
2616
+ * getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2617
+ */
2618
+ getAnalyticsAgentcopilotsAggregatesJob(jobId) {
2619
+ // verify the required parameter 'jobId' is set
2620
+ if (jobId === undefined || jobId === null) {
2621
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';
2622
+ }
2623
+
2624
+ return this.apiClient.callApi(
2625
+ '/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}',
2626
+ 'GET',
2627
+ { 'jobId': jobId },
2628
+ { },
2629
+ { },
2630
+ { },
2631
+ null,
2632
+ ['PureCloud OAuth'],
2633
+ ['application/json'],
2634
+ ['application/json']
2635
+ );
2636
+ }
2637
+
2638
+ /**
2639
+ * Fetch a page of results for an async aggregates query
2640
+ *
2641
+ * @param {String} jobId jobId
2642
+ * @param {Object} opts Optional parameters
2643
+ * @param {String} opts.cursor Cursor token to retrieve next page
2644
+ * getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2645
+ */
2646
+ getAnalyticsAgentcopilotsAggregatesJobResults(jobId, opts) {
2647
+ opts = opts || {};
2648
+
2649
+ // verify the required parameter 'jobId' is set
2650
+ if (jobId === undefined || jobId === null) {
2651
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';
2652
+ }
2653
+
2654
+ return this.apiClient.callApi(
2655
+ '/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results',
2656
+ 'GET',
2657
+ { 'jobId': jobId },
2658
+ { 'cursor': opts['cursor'] },
2659
+ { },
2660
+ { },
2661
+ null,
2662
+ ['PureCloud OAuth'],
2663
+ ['application/json'],
2664
+ ['application/json']
2665
+ );
2666
+ }
2667
+
2609
2668
  /**
2610
2669
  * Get Reporting Turns (division aware).
2611
2670
  * Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
@@ -3364,6 +3423,42 @@ class AnalyticsApi {
3364
3423
  );
3365
3424
  }
3366
3425
 
3426
+ /**
3427
+ * Get list of dashboard configurations
3428
+ *
3429
+ * @param {Object} dashboardType List dashboard of given type
3430
+ * @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
3431
+ * @param {Object} opts Optional parameters
3432
+ * @param {String} opts.sortBy (default to desc)
3433
+ * @param {Number} opts.pageNumber (default to 1)
3434
+ * @param {Number} opts.pageSize (default to 9)
3435
+ */
3436
+ getAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, opts) {
3437
+ opts = opts || {};
3438
+
3439
+ // verify the required parameter 'dashboardType' is set
3440
+ if (dashboardType === undefined || dashboardType === null) {
3441
+ throw 'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';
3442
+ }
3443
+ // verify the required parameter 'dashboardAccessFilter' is set
3444
+ if (dashboardAccessFilter === undefined || dashboardAccessFilter === null) {
3445
+ throw 'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';
3446
+ }
3447
+
3448
+ return this.apiClient.callApi(
3449
+ '/api/v2/analytics/reporting/settings/dashboards/query',
3450
+ 'GET',
3451
+ { },
3452
+ { 'dashboardType': dashboardType,'dashboardAccessFilter': dashboardAccessFilter,'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
3453
+ { },
3454
+ { },
3455
+ null,
3456
+ ['PureCloud OAuth'],
3457
+ ['application/json'],
3458
+ ['application/json']
3459
+ );
3460
+ }
3461
+
3367
3462
  /**
3368
3463
  * Get list of dashboards for an user
3369
3464
  *
@@ -3829,6 +3924,58 @@ class AnalyticsApi {
3829
3924
  );
3830
3925
  }
3831
3926
 
3927
+ /**
3928
+ * Query for agent copilot aggregates asynchronously
3929
+ *
3930
+ * @param {Object} body query
3931
+ * postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3932
+ */
3933
+ postAnalyticsAgentcopilotsAggregatesJobs(body) {
3934
+ // verify the required parameter 'body' is set
3935
+ if (body === undefined || body === null) {
3936
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';
3937
+ }
3938
+
3939
+ return this.apiClient.callApi(
3940
+ '/api/v2/analytics/agentcopilots/aggregates/jobs',
3941
+ 'POST',
3942
+ { },
3943
+ { },
3944
+ { },
3945
+ { },
3946
+ body,
3947
+ ['PureCloud OAuth'],
3948
+ ['application/json'],
3949
+ ['application/json']
3950
+ );
3951
+ }
3952
+
3953
+ /**
3954
+ * Query for agent copilot aggregates
3955
+ *
3956
+ * @param {Object} body query
3957
+ * postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3958
+ */
3959
+ postAnalyticsAgentcopilotsAggregatesQuery(body) {
3960
+ // verify the required parameter 'body' is set
3961
+ if (body === undefined || body === null) {
3962
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';
3963
+ }
3964
+
3965
+ return this.apiClient.callApi(
3966
+ '/api/v2/analytics/agentcopilots/aggregates/query',
3967
+ 'POST',
3968
+ { },
3969
+ { },
3970
+ { },
3971
+ { },
3972
+ body,
3973
+ ['PureCloud OAuth'],
3974
+ ['application/json'],
3975
+ ['application/json']
3976
+ );
3977
+ }
3978
+
3832
3979
  /**
3833
3980
  * Query for bot aggregates asynchronously
3834
3981
  *
@@ -4402,8 +4549,8 @@ class AnalyticsApi {
4402
4549
  }
4403
4550
 
4404
4551
  /**
4405
- * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
4406
- *
4552
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
4553
+ * The max property can be used to determine estimated rate limit value hit.
4407
4554
  * @param {Object} body query
4408
4555
  */
4409
4556
  postAnalyticsRatelimitsAggregatesQuery(body) {
@@ -4953,7 +5100,7 @@ class ArchitectApi {
4953
5100
  /**
4954
5101
  * Architect service.
4955
5102
  * @module purecloud-platform-client-v2/api/ArchitectApi
4956
- * @version 194.0.0
5103
+ * @version 196.0.0
4957
5104
  */
4958
5105
 
4959
5106
  /**
@@ -9099,7 +9246,7 @@ class AuditApi {
9099
9246
  /**
9100
9247
  * Audit service.
9101
9248
  * @module purecloud-platform-client-v2/api/AuditApi
9102
- * @version 194.0.0
9249
+ * @version 196.0.0
9103
9250
  */
9104
9251
 
9105
9252
  /**
@@ -9299,7 +9446,7 @@ class AuthorizationApi {
9299
9446
  /**
9300
9447
  * Authorization service.
9301
9448
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9302
- * @version 194.0.0
9449
+ * @version 196.0.0
9303
9450
  */
9304
9451
 
9305
9452
  /**
@@ -10537,7 +10684,7 @@ class BillingApi {
10537
10684
  /**
10538
10685
  * Billing service.
10539
10686
  * @module purecloud-platform-client-v2/api/BillingApi
10540
- * @version 194.0.0
10687
+ * @version 196.0.0
10541
10688
  */
10542
10689
 
10543
10690
  /**
@@ -10617,7 +10764,7 @@ class CarrierServicesApi {
10617
10764
  /**
10618
10765
  * CarrierServices service.
10619
10766
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10620
- * @version 194.0.0
10767
+ * @version 196.0.0
10621
10768
  */
10622
10769
 
10623
10770
  /**
@@ -10687,7 +10834,7 @@ class ChatApi {
10687
10834
  /**
10688
10835
  * Chat service.
10689
10836
  * @module purecloud-platform-client-v2/api/ChatApi
10690
- * @version 194.0.0
10837
+ * @version 196.0.0
10691
10838
  */
10692
10839
 
10693
10840
  /**
@@ -11623,7 +11770,7 @@ class CoachingApi {
11623
11770
  /**
11624
11771
  * Coaching service.
11625
11772
  * @module purecloud-platform-client-v2/api/CoachingApi
11626
- * @version 194.0.0
11773
+ * @version 196.0.0
11627
11774
  */
11628
11775
 
11629
11776
  /**
@@ -12200,7 +12347,7 @@ class ContentManagementApi {
12200
12347
  /**
12201
12348
  * ContentManagement service.
12202
12349
  * @module purecloud-platform-client-v2/api/ContentManagementApi
12203
- * @version 194.0.0
12350
+ * @version 196.0.0
12204
12351
  */
12205
12352
 
12206
12353
  /**
@@ -13282,7 +13429,7 @@ class ConversationsApi {
13282
13429
  /**
13283
13430
  * Conversations service.
13284
13431
  * @module purecloud-platform-client-v2/api/ConversationsApi
13285
- * @version 194.0.0
13432
+ * @version 196.0.0
13286
13433
  */
13287
13434
 
13288
13435
  /**
@@ -15690,37 +15837,6 @@ class ConversationsApi {
15690
15837
  );
15691
15838
  }
15692
15839
 
15693
- /**
15694
- * Get a list of Messaging Stickers (Deprecated)
15695
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
15696
- * @param {Object} messengerType Messenger Type
15697
- * @param {Object} opts Optional parameters
15698
- * @param {Number} opts.pageSize Page size (default to 25)
15699
- * @param {Number} opts.pageNumber Page number (default to 1)
15700
- * @deprecated
15701
- */
15702
- getConversationsMessagingSticker(messengerType, opts) {
15703
- opts = opts || {};
15704
-
15705
- // verify the required parameter 'messengerType' is set
15706
- if (messengerType === undefined || messengerType === null) {
15707
- throw 'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';
15708
- }
15709
-
15710
- return this.apiClient.callApi(
15711
- '/api/v2/conversations/messaging/stickers/{messengerType}',
15712
- 'GET',
15713
- { 'messengerType': messengerType },
15714
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
15715
- { },
15716
- { },
15717
- null,
15718
- ['PureCloud OAuth'],
15719
- ['application/json'],
15720
- ['application/json']
15721
- );
15722
- }
15723
-
15724
15840
  /**
15725
15841
  * Get a list of Supported Content profiles
15726
15842
  *
@@ -18823,6 +18939,31 @@ class ConversationsApi {
18823
18939
  );
18824
18940
  }
18825
18941
 
18942
+ /**
18943
+ * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
18944
+ *
18945
+ * @param {String} conversationId conversationId
18946
+ */
18947
+ postConversationsEmailReconnect(conversationId) {
18948
+ // verify the required parameter 'conversationId' is set
18949
+ if (conversationId === undefined || conversationId === null) {
18950
+ throw 'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';
18951
+ }
18952
+
18953
+ return this.apiClient.callApi(
18954
+ '/api/v2/conversations/emails/{conversationId}/reconnect',
18955
+ 'POST',
18956
+ { 'conversationId': conversationId },
18957
+ { },
18958
+ { },
18959
+ { },
18960
+ null,
18961
+ ['PureCloud OAuth'],
18962
+ ['application/json'],
18963
+ ['application/json']
18964
+ );
18965
+ }
18966
+
18826
18967
  /**
18827
18968
  * Create an email conversation
18828
18969
  * If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
@@ -20239,7 +20380,7 @@ class DataExtensionsApi {
20239
20380
  /**
20240
20381
  * DataExtensions service.
20241
20382
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20242
- * @version 194.0.0
20383
+ * @version 196.0.0
20243
20384
  */
20244
20385
 
20245
20386
  /**
@@ -20325,7 +20466,7 @@ class DownloadsApi {
20325
20466
  /**
20326
20467
  * Downloads service.
20327
20468
  * @module purecloud-platform-client-v2/api/DownloadsApi
20328
- * @version 194.0.0
20469
+ * @version 196.0.0
20329
20470
  */
20330
20471
 
20331
20472
  /**
@@ -20377,7 +20518,7 @@ class EmailsApi {
20377
20518
  /**
20378
20519
  * Emails service.
20379
20520
  * @module purecloud-platform-client-v2/api/EmailsApi
20380
- * @version 194.0.0
20521
+ * @version 196.0.0
20381
20522
  */
20382
20523
 
20383
20524
  /**
@@ -20442,7 +20583,7 @@ class EventsApi {
20442
20583
  /**
20443
20584
  * Events service.
20444
20585
  * @module purecloud-platform-client-v2/api/EventsApi
20445
- * @version 194.0.0
20586
+ * @version 196.0.0
20446
20587
  */
20447
20588
 
20448
20589
  /**
@@ -20538,7 +20679,7 @@ class ExternalContactsApi {
20538
20679
  /**
20539
20680
  * ExternalContacts service.
20540
20681
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20541
- * @version 194.0.0
20682
+ * @version 196.0.0
20542
20683
  */
20543
20684
 
20544
20685
  /**
@@ -22496,7 +22637,7 @@ class FaxApi {
22496
22637
  /**
22497
22638
  * Fax service.
22498
22639
  * @module purecloud-platform-client-v2/api/FaxApi
22499
- * @version 194.0.0
22640
+ * @version 196.0.0
22500
22641
  */
22501
22642
 
22502
22643
  /**
@@ -22711,7 +22852,7 @@ class FlowsApi {
22711
22852
  /**
22712
22853
  * Flows service.
22713
22854
  * @module purecloud-platform-client-v2/api/FlowsApi
22714
- * @version 194.0.0
22855
+ * @version 196.0.0
22715
22856
  */
22716
22857
 
22717
22858
  /**
@@ -22894,7 +23035,7 @@ class GamificationApi {
22894
23035
  /**
22895
23036
  * Gamification service.
22896
23037
  * @module purecloud-platform-client-v2/api/GamificationApi
22897
- * @version 194.0.0
23038
+ * @version 196.0.0
22898
23039
  */
22899
23040
 
22900
23041
  /**
@@ -24980,7 +25121,7 @@ class GeneralDataProtectionRegulationApi {
24980
25121
  /**
24981
25122
  * GeneralDataProtectionRegulation service.
24982
25123
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
24983
- * @version 194.0.0
25124
+ * @version 196.0.0
24984
25125
  */
24985
25126
 
24986
25127
  /**
@@ -25110,7 +25251,7 @@ class GeolocationApi {
25110
25251
  /**
25111
25252
  * Geolocation service.
25112
25253
  * @module purecloud-platform-client-v2/api/GeolocationApi
25113
- * @version 194.0.0
25254
+ * @version 196.0.0
25114
25255
  */
25115
25256
 
25116
25257
  /**
@@ -25241,7 +25382,7 @@ class GreetingsApi {
25241
25382
  /**
25242
25383
  * Greetings service.
25243
25384
  * @module purecloud-platform-client-v2/api/GreetingsApi
25244
- * @version 194.0.0
25385
+ * @version 196.0.0
25245
25386
  */
25246
25387
 
25247
25388
  /**
@@ -25696,7 +25837,7 @@ class GroupsApi {
25696
25837
  /**
25697
25838
  * Groups service.
25698
25839
  * @module purecloud-platform-client-v2/api/GroupsApi
25699
- * @version 194.0.0
25840
+ * @version 196.0.0
25700
25841
  */
25701
25842
 
25702
25843
  /**
@@ -26215,7 +26356,7 @@ class IdentityProviderApi {
26215
26356
  /**
26216
26357
  * IdentityProvider service.
26217
26358
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26218
- * @version 194.0.0
26359
+ * @version 196.0.0
26219
26360
  */
26220
26361
 
26221
26362
  /**
@@ -27076,7 +27217,7 @@ class InfrastructureAsCodeApi {
27076
27217
  /**
27077
27218
  * InfrastructureAsCode service.
27078
27219
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27079
- * @version 194.0.0
27220
+ * @version 196.0.0
27080
27221
  */
27081
27222
 
27082
27223
  /**
@@ -27243,7 +27384,7 @@ class IntegrationsApi {
27243
27384
  /**
27244
27385
  * Integrations service.
27245
27386
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27246
- * @version 194.0.0
27387
+ * @version 196.0.0
27247
27388
  */
27248
27389
 
27249
27390
  /**
@@ -29595,7 +29736,7 @@ class JourneyApi {
29595
29736
  /**
29596
29737
  * Journey service.
29597
29738
  * @module purecloud-platform-client-v2/api/JourneyApi
29598
- * @version 194.0.0
29739
+ * @version 196.0.0
29599
29740
  */
29600
29741
 
29601
29742
  /**
@@ -30616,6 +30757,34 @@ class JourneyApi {
30616
30757
  );
30617
30758
  }
30618
30759
 
30760
+ /**
30761
+ * Get the jobs for an organization.
30762
+ *
30763
+ * @param {Object} opts Optional parameters
30764
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
30765
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
30766
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
30767
+ * @param {String} opts.statuses Job statuses to filter for
30768
+ * getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30769
+ */
30770
+ getJourneyViewsJobs(opts) {
30771
+ opts = opts || {};
30772
+
30773
+
30774
+ return this.apiClient.callApi(
30775
+ '/api/v2/journey/views/jobs',
30776
+ 'GET',
30777
+ { },
30778
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'interval': opts['interval'],'statuses': opts['statuses'] },
30779
+ { },
30780
+ { },
30781
+ null,
30782
+ ['PureCloud OAuth'],
30783
+ ['application/json'],
30784
+ ['application/json']
30785
+ );
30786
+ }
30787
+
30619
30788
  /**
30620
30789
  * Update single action map.
30621
30790
  *
@@ -31184,7 +31353,7 @@ class KnowledgeApi {
31184
31353
  /**
31185
31354
  * Knowledge service.
31186
31355
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31187
- * @version 194.0.0
31356
+ * @version 196.0.0
31188
31357
  */
31189
31358
 
31190
31359
  /**
@@ -32538,6 +32707,7 @@ class KnowledgeApi {
32538
32707
  * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
32539
32708
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
32540
32709
  * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
32710
+ * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
32541
32711
  * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32542
32712
  */
32543
32713
  getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
@@ -32552,7 +32722,7 @@ class KnowledgeApi {
32552
32722
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations',
32553
32723
  'GET',
32554
32724
  { 'knowledgeBaseId': knowledgeBaseId },
32555
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'] },
32725
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'],'sourceId': this.apiClient.buildCollectionParam(opts['sourceId'], 'multi') },
32556
32726
  { },
32557
32727
  { },
32558
32728
  null,
@@ -34427,7 +34597,7 @@ class LanguageUnderstandingApi {
34427
34597
  /**
34428
34598
  * LanguageUnderstanding service.
34429
34599
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34430
- * @version 194.0.0
34600
+ * @version 196.0.0
34431
34601
  */
34432
34602
 
34433
34603
  /**
@@ -35461,7 +35631,7 @@ class LanguagesApi {
35461
35631
  /**
35462
35632
  * Languages service.
35463
35633
  * @module purecloud-platform-client-v2/api/LanguagesApi
35464
- * @version 194.0.0
35634
+ * @version 196.0.0
35465
35635
  */
35466
35636
 
35467
35637
  /**
@@ -35683,7 +35853,7 @@ class LearningApi {
35683
35853
  /**
35684
35854
  * Learning service.
35685
35855
  * @module purecloud-platform-client-v2/api/LearningApi
35686
- * @version 194.0.0
35856
+ * @version 196.0.0
35687
35857
  */
35688
35858
 
35689
35859
  /**
@@ -35777,6 +35947,41 @@ class LearningApi {
35777
35947
  );
35778
35948
  }
35779
35949
 
35950
+ /**
35951
+ * Get Learning Assignment Step
35952
+ * Permission not required if you are the assigned user of the learning assignment
35953
+ * @param {String} assignmentId The ID of Learning Assignment
35954
+ * @param {String} stepId The ID of Learning Assignment Step
35955
+ * @param {Object} opts Optional parameters
35956
+ * @param {String} opts.shareableContentObjectId The ID of SCO to load
35957
+ * @param {Array.<String>} opts.expand Fields to expand in response
35958
+ */
35959
+ getLearningAssignmentStep(assignmentId, stepId, opts) {
35960
+ opts = opts || {};
35961
+
35962
+ // verify the required parameter 'assignmentId' is set
35963
+ if (assignmentId === undefined || assignmentId === null) {
35964
+ throw 'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';
35965
+ }
35966
+ // verify the required parameter 'stepId' is set
35967
+ if (stepId === undefined || stepId === null) {
35968
+ throw 'Missing the required parameter "stepId" when calling getLearningAssignmentStep';
35969
+ }
35970
+
35971
+ return this.apiClient.callApi(
35972
+ '/api/v2/learning/assignments/{assignmentId}/steps/{stepId}',
35973
+ 'GET',
35974
+ { 'assignmentId': assignmentId,'stepId': stepId },
35975
+ { 'shareableContentObjectId': opts['shareableContentObjectId'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
35976
+ { },
35977
+ { },
35978
+ null,
35979
+ ['PureCloud OAuth'],
35980
+ ['application/json'],
35981
+ ['application/json']
35982
+ );
35983
+ }
35984
+
35780
35985
  /**
35781
35986
  * List of Learning module Assignments
35782
35987
  * Either moduleId or user value is required
@@ -35911,6 +36116,31 @@ class LearningApi {
35911
36116
  );
35912
36117
  }
35913
36118
 
36119
+ /**
36120
+ * Get a learning module preview
36121
+ *
36122
+ * @param {String} moduleId The ID of the learning module
36123
+ */
36124
+ getLearningModulePreview(moduleId) {
36125
+ // verify the required parameter 'moduleId' is set
36126
+ if (moduleId === undefined || moduleId === null) {
36127
+ throw 'Missing the required parameter "moduleId" when calling getLearningModulePreview';
36128
+ }
36129
+
36130
+ return this.apiClient.callApi(
36131
+ '/api/v2/learning/modules/{moduleId}/preview',
36132
+ 'GET',
36133
+ { 'moduleId': moduleId },
36134
+ { },
36135
+ { },
36136
+ { },
36137
+ null,
36138
+ ['PureCloud OAuth'],
36139
+ ['application/json'],
36140
+ ['application/json']
36141
+ );
36142
+ }
36143
+
35914
36144
  /**
35915
36145
  * Get a learning module rule
35916
36146
  *
@@ -36063,6 +36293,31 @@ class LearningApi {
36063
36293
  );
36064
36294
  }
36065
36295
 
36296
+ /**
36297
+ * Get Learning SCORM Result
36298
+ *
36299
+ * @param {String} scormId The ID of the SCORM package
36300
+ */
36301
+ getLearningScormScormId(scormId) {
36302
+ // verify the required parameter 'scormId' is set
36303
+ if (scormId === undefined || scormId === null) {
36304
+ throw 'Missing the required parameter "scormId" when calling getLearningScormScormId';
36305
+ }
36306
+
36307
+ return this.apiClient.callApi(
36308
+ '/api/v2/learning/scorm/{scormId}',
36309
+ 'GET',
36310
+ { 'scormId': scormId },
36311
+ { },
36312
+ { },
36313
+ { },
36314
+ null,
36315
+ ['PureCloud OAuth'],
36316
+ ['application/json'],
36317
+ ['application/json']
36318
+ );
36319
+ }
36320
+
36066
36321
  /**
36067
36322
  * Update Learning Assignment
36068
36323
  *
@@ -36121,6 +36376,40 @@ class LearningApi {
36121
36376
  );
36122
36377
  }
36123
36378
 
36379
+ /**
36380
+ * Update Learning Assignment Step
36381
+ * Permission not required if you are the assigned user of the learning assignment
36382
+ * @param {String} assignmentId The ID of Learning Assignment
36383
+ * @param {String} stepId The ID of Learning Assignment Step
36384
+ * @param {Object} opts Optional parameters
36385
+ * @param {Object} opts.body The Learning Assignment Step to be updated
36386
+ */
36387
+ patchLearningAssignmentStep(assignmentId, stepId, opts) {
36388
+ opts = opts || {};
36389
+
36390
+ // verify the required parameter 'assignmentId' is set
36391
+ if (assignmentId === undefined || assignmentId === null) {
36392
+ throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';
36393
+ }
36394
+ // verify the required parameter 'stepId' is set
36395
+ if (stepId === undefined || stepId === null) {
36396
+ throw 'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';
36397
+ }
36398
+
36399
+ return this.apiClient.callApi(
36400
+ '/api/v2/learning/assignments/{assignmentId}/steps/{stepId}',
36401
+ 'PATCH',
36402
+ { 'assignmentId': assignmentId,'stepId': stepId },
36403
+ { },
36404
+ { },
36405
+ { },
36406
+ opts['body'],
36407
+ ['PureCloud OAuth'],
36408
+ ['application/json'],
36409
+ ['application/json']
36410
+ );
36411
+ }
36412
+
36124
36413
  /**
36125
36414
  * Update an external assignment for a specific user
36126
36415
  *
@@ -36472,6 +36761,30 @@ class LearningApi {
36472
36761
  );
36473
36762
  }
36474
36763
 
36764
+ /**
36765
+ * Create a SCORM package upload request
36766
+ *
36767
+ * @param {Object} opts Optional parameters
36768
+ * @param {Object} opts.body The SCORM package to be uploaded
36769
+ */
36770
+ postLearningScorm(opts) {
36771
+ opts = opts || {};
36772
+
36773
+
36774
+ return this.apiClient.callApi(
36775
+ '/api/v2/learning/scorm',
36776
+ 'POST',
36777
+ { },
36778
+ { },
36779
+ { },
36780
+ { },
36781
+ opts['body'],
36782
+ ['PureCloud OAuth'],
36783
+ ['application/json'],
36784
+ ['application/json']
36785
+ );
36786
+ }
36787
+
36475
36788
  /**
36476
36789
  * Update a learning module
36477
36790
  * This will update the name, description, completion time in days and inform steps for a learning module
@@ -36502,6 +36815,36 @@ class LearningApi {
36502
36815
  );
36503
36816
  }
36504
36817
 
36818
+ /**
36819
+ * Update a learning module preview
36820
+ * This will update a learning module preview
36821
+ * @param {String} moduleId The ID of the learning module
36822
+ * @param {Object} body The learning module to be updated
36823
+ */
36824
+ putLearningModulePreview(moduleId, body) {
36825
+ // verify the required parameter 'moduleId' is set
36826
+ if (moduleId === undefined || moduleId === null) {
36827
+ throw 'Missing the required parameter "moduleId" when calling putLearningModulePreview';
36828
+ }
36829
+ // verify the required parameter 'body' is set
36830
+ if (body === undefined || body === null) {
36831
+ throw 'Missing the required parameter "body" when calling putLearningModulePreview';
36832
+ }
36833
+
36834
+ return this.apiClient.callApi(
36835
+ '/api/v2/learning/modules/{moduleId}/preview',
36836
+ 'PUT',
36837
+ { 'moduleId': moduleId },
36838
+ { },
36839
+ { },
36840
+ { },
36841
+ body,
36842
+ ['PureCloud OAuth'],
36843
+ ['application/json'],
36844
+ ['application/json']
36845
+ );
36846
+ }
36847
+
36505
36848
  /**
36506
36849
  * Update a learning module rule
36507
36850
  * This will update a learning module rule with the specified fields.
@@ -36538,7 +36881,7 @@ class LicenseApi {
36538
36881
  /**
36539
36882
  * License service.
36540
36883
  * @module purecloud-platform-client-v2/api/LicenseApi
36541
- * @version 194.0.0
36884
+ * @version 196.0.0
36542
36885
  */
36543
36886
 
36544
36887
  /**
@@ -36776,7 +37119,7 @@ class LocationsApi {
36776
37119
  /**
36777
37120
  * Locations service.
36778
37121
  * @module purecloud-platform-client-v2/api/LocationsApi
36779
- * @version 194.0.0
37122
+ * @version 196.0.0
36780
37123
  */
36781
37124
 
36782
37125
  /**
@@ -37012,7 +37355,7 @@ class LogCaptureApi {
37012
37355
  /**
37013
37356
  * LogCapture service.
37014
37357
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37015
- * @version 194.0.0
37358
+ * @version 196.0.0
37016
37359
  */
37017
37360
 
37018
37361
  /**
@@ -37212,7 +37555,7 @@ class MessagingApi {
37212
37555
  /**
37213
37556
  * Messaging service.
37214
37557
  * @module purecloud-platform-client-v2/api/MessagingApi
37215
- * @version 194.0.0
37558
+ * @version 196.0.0
37216
37559
  */
37217
37560
 
37218
37561
  /**
@@ -37571,7 +37914,7 @@ class MobileDevicesApi {
37571
37914
  /**
37572
37915
  * MobileDevices service.
37573
37916
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
37574
- * @version 194.0.0
37917
+ * @version 196.0.0
37575
37918
  */
37576
37919
 
37577
37920
  /**
@@ -37722,7 +38065,7 @@ class NotificationsApi {
37722
38065
  /**
37723
38066
  * Notifications service.
37724
38067
  * @module purecloud-platform-client-v2/api/NotificationsApi
37725
- * @version 194.0.0
38068
+ * @version 196.0.0
37726
38069
  */
37727
38070
 
37728
38071
  /**
@@ -37955,7 +38298,7 @@ class OAuthApi {
37955
38298
  /**
37956
38299
  * OAuth service.
37957
38300
  * @module purecloud-platform-client-v2/api/OAuthApi
37958
- * @version 194.0.0
38301
+ * @version 196.0.0
37959
38302
  */
37960
38303
 
37961
38304
  /**
@@ -38321,7 +38664,7 @@ class ObjectsApi {
38321
38664
  /**
38322
38665
  * Objects service.
38323
38666
  * @module purecloud-platform-client-v2/api/ObjectsApi
38324
- * @version 194.0.0
38667
+ * @version 196.0.0
38325
38668
  */
38326
38669
 
38327
38670
  /**
@@ -38591,7 +38934,7 @@ class OperationalEventsApi {
38591
38934
  /**
38592
38935
  * OperationalEvents service.
38593
38936
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
38594
- * @version 194.0.0
38937
+ * @version 196.0.0
38595
38938
  */
38596
38939
 
38597
38940
  /**
@@ -38657,7 +39000,7 @@ class OrganizationApi {
38657
39000
  /**
38658
39001
  * Organization service.
38659
39002
  * @module purecloud-platform-client-v2/api/OrganizationApi
38660
- * @version 194.0.0
39003
+ * @version 196.0.0
38661
39004
  */
38662
39005
 
38663
39006
  /**
@@ -39132,7 +39475,7 @@ class OrganizationAuthorizationApi {
39132
39475
  /**
39133
39476
  * OrganizationAuthorization service.
39134
39477
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39135
- * @version 194.0.0
39478
+ * @version 196.0.0
39136
39479
  */
39137
39480
 
39138
39481
  /**
@@ -40479,7 +40822,7 @@ class OutboundApi {
40479
40822
  /**
40480
40823
  * Outbound service.
40481
40824
  * @module purecloud-platform-client-v2/api/OutboundApi
40482
- * @version 194.0.0
40825
+ * @version 196.0.0
40483
40826
  */
40484
40827
 
40485
40828
  /**
@@ -44845,7 +45188,7 @@ class PresenceApi {
44845
45188
  /**
44846
45189
  * Presence service.
44847
45190
  * @module purecloud-platform-client-v2/api/PresenceApi
44848
- * @version 194.0.0
45191
+ * @version 196.0.0
44849
45192
  */
44850
45193
 
44851
45194
  /**
@@ -45589,7 +45932,7 @@ class ProcessAutomationApi {
45589
45932
  /**
45590
45933
  * ProcessAutomation service.
45591
45934
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
45592
- * @version 194.0.0
45935
+ * @version 196.0.0
45593
45936
  */
45594
45937
 
45595
45938
  /**
@@ -45828,7 +46171,7 @@ class QualityApi {
45828
46171
  /**
45829
46172
  * Quality service.
45830
46173
  * @module purecloud-platform-client-v2/api/QualityApi
45831
- * @version 194.0.0
46174
+ * @version 196.0.0
45832
46175
  */
45833
46176
 
45834
46177
  /**
@@ -46320,9 +46663,7 @@ class QualityApi {
46320
46663
  * @param {Object} opts Optional parameters
46321
46664
  * @param {Number} opts.pageSize The total page size requested (default to 25)
46322
46665
  * @param {Number} opts.pageNumber The page number requested (default to 1)
46323
- * @param {String} opts.sortBy NOTE: Does not work when querying evaluations
46324
46666
  * @param {Array.<String>} opts.expand variable name requested by expand list
46325
- * @param {String} opts.nextPage NOTE: Does not work when querying evaluations
46326
46667
  * @param {String} opts.previousPage Previous page token
46327
46668
  * @param {String} opts.conversationId conversationId specified
46328
46669
  * @param {String} opts.agentUserId user id of the agent
@@ -46348,7 +46689,7 @@ class QualityApi {
46348
46689
  '/api/v2/quality/evaluations/query',
46349
46690
  'GET',
46350
46691
  { },
46351
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'agentTeamId': opts['agentTeamId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'formContextId': opts['formContextId'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
46692
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'agentTeamId': opts['agentTeamId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'formContextId': opts['formContextId'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
46352
46693
  { },
46353
46694
  { },
46354
46695
  null,
@@ -47585,7 +47926,7 @@ class RecordingApi {
47585
47926
  /**
47586
47927
  * Recording service.
47587
47928
  * @module purecloud-platform-client-v2/api/RecordingApi
47588
- * @version 194.0.0
47929
+ * @version 196.0.0
47589
47930
  */
47590
47931
 
47591
47932
  /**
@@ -49243,7 +49584,7 @@ class ResponseManagementApi {
49243
49584
  /**
49244
49585
  * ResponseManagement service.
49245
49586
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
49246
- * @version 194.0.0
49587
+ * @version 196.0.0
49247
49588
  */
49248
49589
 
49249
49590
  /**
@@ -49753,7 +50094,7 @@ class RoutingApi {
49753
50094
  /**
49754
50095
  * Routing service.
49755
50096
  * @module purecloud-platform-client-v2/api/RoutingApi
49756
- * @version 194.0.0
50097
+ * @version 196.0.0
49757
50098
  */
49758
50099
 
49759
50100
  /**
@@ -50214,7 +50555,6 @@ class RoutingApi {
50214
50555
  * @param {String} labelId Utilization Label ID
50215
50556
  * @param {Object} opts Optional parameters
50216
50557
  * @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
50217
- * deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
50218
50558
  */
50219
50559
  deleteRoutingUtilizationLabel(labelId, opts) {
50220
50560
  opts = opts || {};
@@ -51733,7 +52073,6 @@ class RoutingApi {
51733
52073
  * Get details about this utilization label
51734
52074
  *
51735
52075
  * @param {String} labelId Utilization Label ID
51736
- * getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
51737
52076
  */
51738
52077
  getRoutingUtilizationLabel(labelId) {
51739
52078
  // verify the required parameter 'labelId' is set
@@ -51759,7 +52098,6 @@ class RoutingApi {
51759
52098
  * Get list of agent ids associated with a utilization label
51760
52099
  *
51761
52100
  * @param {String} labelId Utilization Label ID
51762
- * getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
51763
52101
  */
51764
52102
  getRoutingUtilizationLabelAgents(labelId) {
51765
52103
  // verify the required parameter 'labelId' is set
@@ -51789,7 +52127,6 @@ class RoutingApi {
51789
52127
  * @param {Number} opts.pageNumber Page number (default to 1)
51790
52128
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
51791
52129
  * @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
51792
- * getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
51793
52130
  */
51794
52131
  getRoutingUtilizationLabels(opts) {
51795
52132
  opts = opts || {};
@@ -53212,7 +53549,6 @@ class RoutingApi {
53212
53549
  * Create a utilization label
53213
53550
  *
53214
53551
  * @param {Object} body UtilizationLabel
53215
- * postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
53216
53552
  */
53217
53553
  postRoutingUtilizationLabels(body) {
53218
53554
  // verify the required parameter 'body' is set
@@ -53605,7 +53941,6 @@ class RoutingApi {
53605
53941
  *
53606
53942
  * @param {String} labelId Utilization Label ID
53607
53943
  * @param {Object} body UtilizationLabel
53608
- * putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
53609
53944
  */
53610
53945
  putRoutingUtilizationLabel(labelId, body) {
53611
53946
  // verify the required parameter 'labelId' is set
@@ -53732,7 +54067,7 @@ class SCIMApi {
53732
54067
  /**
53733
54068
  * SCIM service.
53734
54069
  * @module purecloud-platform-client-v2/api/SCIMApi
53735
- * @version 194.0.0
54070
+ * @version 196.0.0
53736
54071
  */
53737
54072
 
53738
54073
  /**
@@ -54609,7 +54944,7 @@ class ScreenRecordingApi {
54609
54944
  /**
54610
54945
  * ScreenRecording service.
54611
54946
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
54612
- * @version 194.0.0
54947
+ * @version 196.0.0
54613
54948
  */
54614
54949
 
54615
54950
  /**
@@ -54654,7 +54989,7 @@ class ScriptsApi {
54654
54989
  /**
54655
54990
  * Scripts service.
54656
54991
  * @module purecloud-platform-client-v2/api/ScriptsApi
54657
- * @version 194.0.0
54992
+ * @version 196.0.0
54658
54993
  */
54659
54994
 
54660
54995
  /**
@@ -55098,7 +55433,7 @@ class SearchApi {
55098
55433
  /**
55099
55434
  * Search service.
55100
55435
  * @module purecloud-platform-client-v2/api/SearchApi
55101
- * @version 194.0.0
55436
+ * @version 196.0.0
55102
55437
  */
55103
55438
 
55104
55439
  /**
@@ -55787,7 +56122,7 @@ class SettingsApi {
55787
56122
  /**
55788
56123
  * Settings service.
55789
56124
  * @module purecloud-platform-client-v2/api/SettingsApi
55790
- * @version 194.0.0
56125
+ * @version 196.0.0
55791
56126
  */
55792
56127
 
55793
56128
  /**
@@ -55899,7 +56234,7 @@ class SpeechTextAnalyticsApi {
55899
56234
  /**
55900
56235
  * SpeechTextAnalytics service.
55901
56236
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
55902
- * @version 194.0.0
56237
+ * @version 196.0.0
55903
56238
  */
55904
56239
 
55905
56240
  /**
@@ -55914,6 +56249,31 @@ class SpeechTextAnalyticsApi {
55914
56249
  }
55915
56250
 
55916
56251
 
56252
+ /**
56253
+ * Delete a Speech and Text Analytics category by ID
56254
+ *
56255
+ * @param {String} categoryId The id of the category
56256
+ */
56257
+ deleteSpeechandtextanalyticsCategory(categoryId) {
56258
+ // verify the required parameter 'categoryId' is set
56259
+ if (categoryId === undefined || categoryId === null) {
56260
+ throw 'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';
56261
+ }
56262
+
56263
+ return this.apiClient.callApi(
56264
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
56265
+ 'DELETE',
56266
+ { 'categoryId': categoryId },
56267
+ { },
56268
+ { },
56269
+ { },
56270
+ null,
56271
+ ['PureCloud OAuth'],
56272
+ ['application/json'],
56273
+ ['application/json']
56274
+ );
56275
+ }
56276
+
55917
56277
  /**
55918
56278
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
55919
56279
  *
@@ -56038,6 +56398,60 @@ class SpeechTextAnalyticsApi {
56038
56398
  );
56039
56399
  }
56040
56400
 
56401
+ /**
56402
+ * Get the list of Speech and Text Analytics categories
56403
+ *
56404
+ * @param {Object} opts Optional parameters
56405
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
56406
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
56407
+ * @param {String} opts.name The category name filter applied to the listing
56408
+ * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
56409
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
56410
+ * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
56411
+ */
56412
+ getSpeechandtextanalyticsCategories(opts) {
56413
+ opts = opts || {};
56414
+
56415
+
56416
+ return this.apiClient.callApi(
56417
+ '/api/v2/speechandtextanalytics/categories',
56418
+ 'GET',
56419
+ { },
56420
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
56421
+ { },
56422
+ { },
56423
+ null,
56424
+ ['PureCloud OAuth'],
56425
+ ['application/json'],
56426
+ ['application/json']
56427
+ );
56428
+ }
56429
+
56430
+ /**
56431
+ * Get a Speech and Text Analytics Category by ID
56432
+ *
56433
+ * @param {String} categoryId The id of the category
56434
+ */
56435
+ getSpeechandtextanalyticsCategory(categoryId) {
56436
+ // verify the required parameter 'categoryId' is set
56437
+ if (categoryId === undefined || categoryId === null) {
56438
+ throw 'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';
56439
+ }
56440
+
56441
+ return this.apiClient.callApi(
56442
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
56443
+ 'GET',
56444
+ { 'categoryId': categoryId },
56445
+ { },
56446
+ { },
56447
+ { },
56448
+ null,
56449
+ ['PureCloud OAuth'],
56450
+ ['application/json'],
56451
+ ['application/json']
56452
+ );
56453
+ }
56454
+
56041
56455
  /**
56042
56456
  * Get Speech and Text Analytics for a specific conversation
56043
56457
  *
@@ -56063,6 +56477,36 @@ class SpeechTextAnalyticsApi {
56063
56477
  );
56064
56478
  }
56065
56479
 
56480
+ /**
56481
+ * Get the list of detected Speech and Text Analytics categories of conversation
56482
+ *
56483
+ * @param {String} conversationId The id of the conversation
56484
+ * @param {Object} opts Optional parameters
56485
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
56486
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
56487
+ */
56488
+ getSpeechandtextanalyticsConversationCategories(conversationId, opts) {
56489
+ opts = opts || {};
56490
+
56491
+ // verify the required parameter 'conversationId' is set
56492
+ if (conversationId === undefined || conversationId === null) {
56493
+ throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';
56494
+ }
56495
+
56496
+ return this.apiClient.callApi(
56497
+ '/api/v2/speechandtextanalytics/conversations/{conversationId}/categories',
56498
+ 'GET',
56499
+ { 'conversationId': conversationId },
56500
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
56501
+ { },
56502
+ { },
56503
+ null,
56504
+ ['PureCloud OAuth'],
56505
+ ['application/json'],
56506
+ ['application/json']
56507
+ );
56508
+ }
56509
+
56066
56510
  /**
56067
56511
  * Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
56068
56512
  *
@@ -56633,6 +57077,31 @@ class SpeechTextAnalyticsApi {
56633
57077
  );
56634
57078
  }
56635
57079
 
57080
+ /**
57081
+ * Create new Speech and Text Analytics category
57082
+ *
57083
+ * @param {Object} body The category to create
57084
+ */
57085
+ postSpeechandtextanalyticsCategories(body) {
57086
+ // verify the required parameter 'body' is set
57087
+ if (body === undefined || body === null) {
57088
+ throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';
57089
+ }
57090
+
57091
+ return this.apiClient.callApi(
57092
+ '/api/v2/speechandtextanalytics/categories',
57093
+ 'POST',
57094
+ { },
57095
+ { },
57096
+ { },
57097
+ { },
57098
+ body,
57099
+ ['PureCloud OAuth'],
57100
+ ['application/json'],
57101
+ ['application/json']
57102
+ );
57103
+ }
57104
+
56636
57105
  /**
56637
57106
  * Create a Speech and Text Analytics DictionaryFeedback
56638
57107
  *
@@ -56833,6 +57302,36 @@ class SpeechTextAnalyticsApi {
56833
57302
  );
56834
57303
  }
56835
57304
 
57305
+ /**
57306
+ * Update a Speech and Text Analytics category by ID
57307
+ *
57308
+ * @param {String} categoryId The id of the category
57309
+ * @param {Object} body The updated category
57310
+ */
57311
+ putSpeechandtextanalyticsCategory(categoryId, body) {
57312
+ // verify the required parameter 'categoryId' is set
57313
+ if (categoryId === undefined || categoryId === null) {
57314
+ throw 'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';
57315
+ }
57316
+ // verify the required parameter 'body' is set
57317
+ if (body === undefined || body === null) {
57318
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';
57319
+ }
57320
+
57321
+ return this.apiClient.callApi(
57322
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
57323
+ 'PUT',
57324
+ { 'categoryId': categoryId },
57325
+ { },
57326
+ { },
57327
+ { },
57328
+ body,
57329
+ ['PureCloud OAuth'],
57330
+ ['application/json'],
57331
+ ['application/json']
57332
+ );
57333
+ }
57334
+
56836
57335
  /**
56837
57336
  * Update existing Speech and Text Analytics dictionary feedback by id
56838
57337
  *
@@ -57013,7 +57512,7 @@ class StationsApi {
57013
57512
  /**
57014
57513
  * Stations service.
57015
57514
  * @module purecloud-platform-client-v2/api/StationsApi
57016
- * @version 194.0.0
57515
+ * @version 196.0.0
57017
57516
  */
57018
57517
 
57019
57518
  /**
@@ -57115,7 +57614,7 @@ class SuggestApi {
57115
57614
  /**
57116
57615
  * Suggest service.
57117
57616
  * @module purecloud-platform-client-v2/api/SuggestApi
57118
- * @version 194.0.0
57617
+ * @version 196.0.0
57119
57618
  */
57120
57619
 
57121
57620
  /**
@@ -57254,7 +57753,7 @@ class TaskManagementApi {
57254
57753
  /**
57255
57754
  * TaskManagement service.
57256
57755
  * @module purecloud-platform-client-v2/api/TaskManagementApi
57257
- * @version 194.0.0
57756
+ * @version 196.0.0
57258
57757
  */
57259
57758
 
57260
57759
  /**
@@ -58602,7 +59101,7 @@ class TeamsApi {
58602
59101
  /**
58603
59102
  * Teams service.
58604
59103
  * @module purecloud-platform-client-v2/api/TeamsApi
58605
- * @version 194.0.0
59104
+ * @version 196.0.0
58606
59105
  */
58607
59106
 
58608
59107
  /**
@@ -58903,7 +59402,7 @@ class TelephonyApi {
58903
59402
  /**
58904
59403
  * Telephony service.
58905
59404
  * @module purecloud-platform-client-v2/api/TelephonyApi
58906
- * @version 194.0.0
59405
+ * @version 196.0.0
58907
59406
  */
58908
59407
 
58909
59408
  /**
@@ -59085,7 +59584,7 @@ class TelephonyProvidersEdgeApi {
59085
59584
  /**
59086
59585
  * TelephonyProvidersEdge service.
59087
59586
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
59088
- * @version 194.0.0
59587
+ * @version 196.0.0
59089
59588
  */
59090
59589
 
59091
59590
  /**
@@ -62413,7 +62912,7 @@ class TextbotsApi {
62413
62912
  /**
62414
62913
  * Textbots service.
62415
62914
  * @module purecloud-platform-client-v2/api/TextbotsApi
62416
- * @version 194.0.0
62915
+ * @version 196.0.0
62417
62916
  */
62418
62917
 
62419
62918
  /**
@@ -62541,7 +63040,7 @@ class TokensApi {
62541
63040
  /**
62542
63041
  * Tokens service.
62543
63042
  * @module purecloud-platform-client-v2/api/TokensApi
62544
- * @version 194.0.0
63043
+ * @version 196.0.0
62545
63044
  */
62546
63045
 
62547
63046
  /**
@@ -62695,7 +63194,7 @@ class UploadsApi {
62695
63194
  /**
62696
63195
  * Uploads service.
62697
63196
  * @module purecloud-platform-client-v2/api/UploadsApi
62698
- * @version 194.0.0
63197
+ * @version 196.0.0
62699
63198
  */
62700
63199
 
62701
63200
  /**
@@ -62964,7 +63463,7 @@ class UsageApi {
62964
63463
  /**
62965
63464
  * Usage service.
62966
63465
  * @module purecloud-platform-client-v2/api/UsageApi
62967
- * @version 194.0.0
63466
+ * @version 196.0.0
62968
63467
  */
62969
63468
 
62970
63469
  /**
@@ -63179,7 +63678,7 @@ class UserRecordingsApi {
63179
63678
  /**
63180
63679
  * UserRecordings service.
63181
63680
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
63182
- * @version 194.0.0
63681
+ * @version 196.0.0
63183
63682
  */
63184
63683
 
63185
63684
  /**
@@ -63364,7 +63863,7 @@ class UsersApi {
63364
63863
  /**
63365
63864
  * Users service.
63366
63865
  * @module purecloud-platform-client-v2/api/UsersApi
63367
- * @version 194.0.0
63866
+ * @version 196.0.0
63368
63867
  */
63369
63868
 
63370
63869
  /**
@@ -66022,7 +66521,7 @@ class UtilitiesApi {
66022
66521
  /**
66023
66522
  * Utilities service.
66024
66523
  * @module purecloud-platform-client-v2/api/UtilitiesApi
66025
- * @version 194.0.0
66524
+ * @version 196.0.0
66026
66525
  */
66027
66526
 
66028
66527
  /**
@@ -66133,7 +66632,7 @@ class VoicemailApi {
66133
66632
  /**
66134
66633
  * Voicemail service.
66135
66634
  * @module purecloud-platform-client-v2/api/VoicemailApi
66136
- * @version 194.0.0
66635
+ * @version 196.0.0
66137
66636
  */
66138
66637
 
66139
66638
  /**
@@ -66800,7 +67299,7 @@ class WebChatApi {
66800
67299
  /**
66801
67300
  * WebChat service.
66802
67301
  * @module purecloud-platform-client-v2/api/WebChatApi
66803
- * @version 194.0.0
67302
+ * @version 196.0.0
66804
67303
  */
66805
67304
 
66806
67305
  /**
@@ -67351,7 +67850,7 @@ class WebDeploymentsApi {
67351
67850
  /**
67352
67851
  * WebDeployments service.
67353
67852
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
67354
- * @version 194.0.0
67853
+ * @version 196.0.0
67355
67854
  */
67356
67855
 
67357
67856
  /**
@@ -67878,7 +68377,7 @@ class WebMessagingApi {
67878
68377
  /**
67879
68378
  * WebMessaging service.
67880
68379
  * @module purecloud-platform-client-v2/api/WebMessagingApi
67881
- * @version 194.0.0
68380
+ * @version 196.0.0
67882
68381
  */
67883
68382
 
67884
68383
  /**
@@ -67924,7 +68423,7 @@ class WidgetsApi {
67924
68423
  /**
67925
68424
  * Widgets service.
67926
68425
  * @module purecloud-platform-client-v2/api/WidgetsApi
67927
- * @version 194.0.0
68426
+ * @version 196.0.0
67928
68427
  */
67929
68428
 
67930
68429
  /**
@@ -68070,7 +68569,7 @@ class WorkforceManagementApi {
68070
68569
  /**
68071
68570
  * WorkforceManagement service.
68072
68571
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
68073
- * @version 194.0.0
68572
+ * @version 196.0.0
68074
68573
  */
68075
68574
 
68076
68575
  /**
@@ -73983,7 +74482,7 @@ class WorkforceManagementApi {
73983
74482
  * </pre>
73984
74483
  * </p>
73985
74484
  * @module purecloud-platform-client-v2/index
73986
- * @version 194.0.0
74485
+ * @version 196.0.0
73987
74486
  */
73988
74487
  class platformClient {
73989
74488
  constructor() {