purecloud-platform-client-v2 194.0.0 → 195.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 +589 -116
  3. package/dist/web-amd/purecloud-platform-client-v2.js +589 -116
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +205 -96
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +205 -96
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +401 -299
  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 +1 -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 +1 -1
  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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.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 195.0.0
29599
29740
  */
29600
29741
 
29601
29742
  /**
@@ -31184,7 +31325,7 @@ class KnowledgeApi {
31184
31325
  /**
31185
31326
  * Knowledge service.
31186
31327
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31187
- * @version 194.0.0
31328
+ * @version 195.0.0
31188
31329
  */
31189
31330
 
31190
31331
  /**
@@ -32538,6 +32679,7 @@ class KnowledgeApi {
32538
32679
  * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
32539
32680
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
32540
32681
  * @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
32682
+ * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
32541
32683
  * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
32542
32684
  */
32543
32685
  getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
@@ -32552,7 +32694,7 @@ class KnowledgeApi {
32552
32694
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations',
32553
32695
  'GET',
32554
32696
  { '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'] },
32697
+ { '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
32698
  { },
32557
32699
  { },
32558
32700
  null,
@@ -34427,7 +34569,7 @@ class LanguageUnderstandingApi {
34427
34569
  /**
34428
34570
  * LanguageUnderstanding service.
34429
34571
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34430
- * @version 194.0.0
34572
+ * @version 195.0.0
34431
34573
  */
34432
34574
 
34433
34575
  /**
@@ -35461,7 +35603,7 @@ class LanguagesApi {
35461
35603
  /**
35462
35604
  * Languages service.
35463
35605
  * @module purecloud-platform-client-v2/api/LanguagesApi
35464
- * @version 194.0.0
35606
+ * @version 195.0.0
35465
35607
  */
35466
35608
 
35467
35609
  /**
@@ -35683,7 +35825,7 @@ class LearningApi {
35683
35825
  /**
35684
35826
  * Learning service.
35685
35827
  * @module purecloud-platform-client-v2/api/LearningApi
35686
- * @version 194.0.0
35828
+ * @version 195.0.0
35687
35829
  */
35688
35830
 
35689
35831
  /**
@@ -35777,6 +35919,41 @@ class LearningApi {
35777
35919
  );
35778
35920
  }
35779
35921
 
35922
+ /**
35923
+ * Get Learning Assignment Step
35924
+ * Permission not required if you are the assigned user of the learning assignment
35925
+ * @param {String} assignmentId The ID of Learning Assignment
35926
+ * @param {String} stepId The ID of Learning Assignment Step
35927
+ * @param {Object} opts Optional parameters
35928
+ * @param {String} opts.shareableContentObjectId The ID of SCO to load
35929
+ * @param {Array.<String>} opts.expand Fields to expand in response
35930
+ */
35931
+ getLearningAssignmentStep(assignmentId, stepId, opts) {
35932
+ opts = opts || {};
35933
+
35934
+ // verify the required parameter 'assignmentId' is set
35935
+ if (assignmentId === undefined || assignmentId === null) {
35936
+ throw 'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';
35937
+ }
35938
+ // verify the required parameter 'stepId' is set
35939
+ if (stepId === undefined || stepId === null) {
35940
+ throw 'Missing the required parameter "stepId" when calling getLearningAssignmentStep';
35941
+ }
35942
+
35943
+ return this.apiClient.callApi(
35944
+ '/api/v2/learning/assignments/{assignmentId}/steps/{stepId}',
35945
+ 'GET',
35946
+ { 'assignmentId': assignmentId,'stepId': stepId },
35947
+ { 'shareableContentObjectId': opts['shareableContentObjectId'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
35948
+ { },
35949
+ { },
35950
+ null,
35951
+ ['PureCloud OAuth'],
35952
+ ['application/json'],
35953
+ ['application/json']
35954
+ );
35955
+ }
35956
+
35780
35957
  /**
35781
35958
  * List of Learning module Assignments
35782
35959
  * Either moduleId or user value is required
@@ -35911,6 +36088,31 @@ class LearningApi {
35911
36088
  );
35912
36089
  }
35913
36090
 
36091
+ /**
36092
+ * Get a learning module preview
36093
+ *
36094
+ * @param {String} moduleId The ID of the learning module
36095
+ */
36096
+ getLearningModulePreview(moduleId) {
36097
+ // verify the required parameter 'moduleId' is set
36098
+ if (moduleId === undefined || moduleId === null) {
36099
+ throw 'Missing the required parameter "moduleId" when calling getLearningModulePreview';
36100
+ }
36101
+
36102
+ return this.apiClient.callApi(
36103
+ '/api/v2/learning/modules/{moduleId}/preview',
36104
+ 'GET',
36105
+ { 'moduleId': moduleId },
36106
+ { },
36107
+ { },
36108
+ { },
36109
+ null,
36110
+ ['PureCloud OAuth'],
36111
+ ['application/json'],
36112
+ ['application/json']
36113
+ );
36114
+ }
36115
+
35914
36116
  /**
35915
36117
  * Get a learning module rule
35916
36118
  *
@@ -36063,6 +36265,31 @@ class LearningApi {
36063
36265
  );
36064
36266
  }
36065
36267
 
36268
+ /**
36269
+ * Get Learning SCORM Result
36270
+ *
36271
+ * @param {String} scormId The ID of the SCORM package
36272
+ */
36273
+ getLearningScormScormId(scormId) {
36274
+ // verify the required parameter 'scormId' is set
36275
+ if (scormId === undefined || scormId === null) {
36276
+ throw 'Missing the required parameter "scormId" when calling getLearningScormScormId';
36277
+ }
36278
+
36279
+ return this.apiClient.callApi(
36280
+ '/api/v2/learning/scorm/{scormId}',
36281
+ 'GET',
36282
+ { 'scormId': scormId },
36283
+ { },
36284
+ { },
36285
+ { },
36286
+ null,
36287
+ ['PureCloud OAuth'],
36288
+ ['application/json'],
36289
+ ['application/json']
36290
+ );
36291
+ }
36292
+
36066
36293
  /**
36067
36294
  * Update Learning Assignment
36068
36295
  *
@@ -36121,6 +36348,40 @@ class LearningApi {
36121
36348
  );
36122
36349
  }
36123
36350
 
36351
+ /**
36352
+ * Update Learning Assignment Step
36353
+ * Permission not required if you are the assigned user of the learning assignment
36354
+ * @param {String} assignmentId The ID of Learning Assignment
36355
+ * @param {String} stepId The ID of Learning Assignment Step
36356
+ * @param {Object} opts Optional parameters
36357
+ * @param {Object} opts.body The Learning Assignment Step to be updated
36358
+ */
36359
+ patchLearningAssignmentStep(assignmentId, stepId, opts) {
36360
+ opts = opts || {};
36361
+
36362
+ // verify the required parameter 'assignmentId' is set
36363
+ if (assignmentId === undefined || assignmentId === null) {
36364
+ throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';
36365
+ }
36366
+ // verify the required parameter 'stepId' is set
36367
+ if (stepId === undefined || stepId === null) {
36368
+ throw 'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';
36369
+ }
36370
+
36371
+ return this.apiClient.callApi(
36372
+ '/api/v2/learning/assignments/{assignmentId}/steps/{stepId}',
36373
+ 'PATCH',
36374
+ { 'assignmentId': assignmentId,'stepId': stepId },
36375
+ { },
36376
+ { },
36377
+ { },
36378
+ opts['body'],
36379
+ ['PureCloud OAuth'],
36380
+ ['application/json'],
36381
+ ['application/json']
36382
+ );
36383
+ }
36384
+
36124
36385
  /**
36125
36386
  * Update an external assignment for a specific user
36126
36387
  *
@@ -36472,6 +36733,30 @@ class LearningApi {
36472
36733
  );
36473
36734
  }
36474
36735
 
36736
+ /**
36737
+ * Create a SCORM package upload request
36738
+ *
36739
+ * @param {Object} opts Optional parameters
36740
+ * @param {Object} opts.body The SCORM package to be uploaded
36741
+ */
36742
+ postLearningScorm(opts) {
36743
+ opts = opts || {};
36744
+
36745
+
36746
+ return this.apiClient.callApi(
36747
+ '/api/v2/learning/scorm',
36748
+ 'POST',
36749
+ { },
36750
+ { },
36751
+ { },
36752
+ { },
36753
+ opts['body'],
36754
+ ['PureCloud OAuth'],
36755
+ ['application/json'],
36756
+ ['application/json']
36757
+ );
36758
+ }
36759
+
36475
36760
  /**
36476
36761
  * Update a learning module
36477
36762
  * This will update the name, description, completion time in days and inform steps for a learning module
@@ -36502,6 +36787,36 @@ class LearningApi {
36502
36787
  );
36503
36788
  }
36504
36789
 
36790
+ /**
36791
+ * Update a learning module preview
36792
+ * This will update a learning module preview
36793
+ * @param {String} moduleId The ID of the learning module
36794
+ * @param {Object} body The learning module to be updated
36795
+ */
36796
+ putLearningModulePreview(moduleId, body) {
36797
+ // verify the required parameter 'moduleId' is set
36798
+ if (moduleId === undefined || moduleId === null) {
36799
+ throw 'Missing the required parameter "moduleId" when calling putLearningModulePreview';
36800
+ }
36801
+ // verify the required parameter 'body' is set
36802
+ if (body === undefined || body === null) {
36803
+ throw 'Missing the required parameter "body" when calling putLearningModulePreview';
36804
+ }
36805
+
36806
+ return this.apiClient.callApi(
36807
+ '/api/v2/learning/modules/{moduleId}/preview',
36808
+ 'PUT',
36809
+ { 'moduleId': moduleId },
36810
+ { },
36811
+ { },
36812
+ { },
36813
+ body,
36814
+ ['PureCloud OAuth'],
36815
+ ['application/json'],
36816
+ ['application/json']
36817
+ );
36818
+ }
36819
+
36505
36820
  /**
36506
36821
  * Update a learning module rule
36507
36822
  * This will update a learning module rule with the specified fields.
@@ -36538,7 +36853,7 @@ class LicenseApi {
36538
36853
  /**
36539
36854
  * License service.
36540
36855
  * @module purecloud-platform-client-v2/api/LicenseApi
36541
- * @version 194.0.0
36856
+ * @version 195.0.0
36542
36857
  */
36543
36858
 
36544
36859
  /**
@@ -36776,7 +37091,7 @@ class LocationsApi {
36776
37091
  /**
36777
37092
  * Locations service.
36778
37093
  * @module purecloud-platform-client-v2/api/LocationsApi
36779
- * @version 194.0.0
37094
+ * @version 195.0.0
36780
37095
  */
36781
37096
 
36782
37097
  /**
@@ -37012,7 +37327,7 @@ class LogCaptureApi {
37012
37327
  /**
37013
37328
  * LogCapture service.
37014
37329
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37015
- * @version 194.0.0
37330
+ * @version 195.0.0
37016
37331
  */
37017
37332
 
37018
37333
  /**
@@ -37212,7 +37527,7 @@ class MessagingApi {
37212
37527
  /**
37213
37528
  * Messaging service.
37214
37529
  * @module purecloud-platform-client-v2/api/MessagingApi
37215
- * @version 194.0.0
37530
+ * @version 195.0.0
37216
37531
  */
37217
37532
 
37218
37533
  /**
@@ -37571,7 +37886,7 @@ class MobileDevicesApi {
37571
37886
  /**
37572
37887
  * MobileDevices service.
37573
37888
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
37574
- * @version 194.0.0
37889
+ * @version 195.0.0
37575
37890
  */
37576
37891
 
37577
37892
  /**
@@ -37722,7 +38037,7 @@ class NotificationsApi {
37722
38037
  /**
37723
38038
  * Notifications service.
37724
38039
  * @module purecloud-platform-client-v2/api/NotificationsApi
37725
- * @version 194.0.0
38040
+ * @version 195.0.0
37726
38041
  */
37727
38042
 
37728
38043
  /**
@@ -37955,7 +38270,7 @@ class OAuthApi {
37955
38270
  /**
37956
38271
  * OAuth service.
37957
38272
  * @module purecloud-platform-client-v2/api/OAuthApi
37958
- * @version 194.0.0
38273
+ * @version 195.0.0
37959
38274
  */
37960
38275
 
37961
38276
  /**
@@ -38321,7 +38636,7 @@ class ObjectsApi {
38321
38636
  /**
38322
38637
  * Objects service.
38323
38638
  * @module purecloud-platform-client-v2/api/ObjectsApi
38324
- * @version 194.0.0
38639
+ * @version 195.0.0
38325
38640
  */
38326
38641
 
38327
38642
  /**
@@ -38591,7 +38906,7 @@ class OperationalEventsApi {
38591
38906
  /**
38592
38907
  * OperationalEvents service.
38593
38908
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
38594
- * @version 194.0.0
38909
+ * @version 195.0.0
38595
38910
  */
38596
38911
 
38597
38912
  /**
@@ -38657,7 +38972,7 @@ class OrganizationApi {
38657
38972
  /**
38658
38973
  * Organization service.
38659
38974
  * @module purecloud-platform-client-v2/api/OrganizationApi
38660
- * @version 194.0.0
38975
+ * @version 195.0.0
38661
38976
  */
38662
38977
 
38663
38978
  /**
@@ -39132,7 +39447,7 @@ class OrganizationAuthorizationApi {
39132
39447
  /**
39133
39448
  * OrganizationAuthorization service.
39134
39449
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39135
- * @version 194.0.0
39450
+ * @version 195.0.0
39136
39451
  */
39137
39452
 
39138
39453
  /**
@@ -40479,7 +40794,7 @@ class OutboundApi {
40479
40794
  /**
40480
40795
  * Outbound service.
40481
40796
  * @module purecloud-platform-client-v2/api/OutboundApi
40482
- * @version 194.0.0
40797
+ * @version 195.0.0
40483
40798
  */
40484
40799
 
40485
40800
  /**
@@ -44845,7 +45160,7 @@ class PresenceApi {
44845
45160
  /**
44846
45161
  * Presence service.
44847
45162
  * @module purecloud-platform-client-v2/api/PresenceApi
44848
- * @version 194.0.0
45163
+ * @version 195.0.0
44849
45164
  */
44850
45165
 
44851
45166
  /**
@@ -45589,7 +45904,7 @@ class ProcessAutomationApi {
45589
45904
  /**
45590
45905
  * ProcessAutomation service.
45591
45906
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
45592
- * @version 194.0.0
45907
+ * @version 195.0.0
45593
45908
  */
45594
45909
 
45595
45910
  /**
@@ -45828,7 +46143,7 @@ class QualityApi {
45828
46143
  /**
45829
46144
  * Quality service.
45830
46145
  * @module purecloud-platform-client-v2/api/QualityApi
45831
- * @version 194.0.0
46146
+ * @version 195.0.0
45832
46147
  */
45833
46148
 
45834
46149
  /**
@@ -47585,7 +47900,7 @@ class RecordingApi {
47585
47900
  /**
47586
47901
  * Recording service.
47587
47902
  * @module purecloud-platform-client-v2/api/RecordingApi
47588
- * @version 194.0.0
47903
+ * @version 195.0.0
47589
47904
  */
47590
47905
 
47591
47906
  /**
@@ -49243,7 +49558,7 @@ class ResponseManagementApi {
49243
49558
  /**
49244
49559
  * ResponseManagement service.
49245
49560
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
49246
- * @version 194.0.0
49561
+ * @version 195.0.0
49247
49562
  */
49248
49563
 
49249
49564
  /**
@@ -49753,7 +50068,7 @@ class RoutingApi {
49753
50068
  /**
49754
50069
  * Routing service.
49755
50070
  * @module purecloud-platform-client-v2/api/RoutingApi
49756
- * @version 194.0.0
50071
+ * @version 195.0.0
49757
50072
  */
49758
50073
 
49759
50074
  /**
@@ -50214,7 +50529,6 @@ class RoutingApi {
50214
50529
  * @param {String} labelId Utilization Label ID
50215
50530
  * @param {Object} opts Optional parameters
50216
50531
  * @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
50532
  */
50219
50533
  deleteRoutingUtilizationLabel(labelId, opts) {
50220
50534
  opts = opts || {};
@@ -51733,7 +52047,6 @@ class RoutingApi {
51733
52047
  * Get details about this utilization label
51734
52048
  *
51735
52049
  * @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
52050
  */
51738
52051
  getRoutingUtilizationLabel(labelId) {
51739
52052
  // verify the required parameter 'labelId' is set
@@ -51759,7 +52072,6 @@ class RoutingApi {
51759
52072
  * Get list of agent ids associated with a utilization label
51760
52073
  *
51761
52074
  * @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
52075
  */
51764
52076
  getRoutingUtilizationLabelAgents(labelId) {
51765
52077
  // verify the required parameter 'labelId' is set
@@ -51789,7 +52101,6 @@ class RoutingApi {
51789
52101
  * @param {Number} opts.pageNumber Page number (default to 1)
51790
52102
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
51791
52103
  * @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
52104
  */
51794
52105
  getRoutingUtilizationLabels(opts) {
51795
52106
  opts = opts || {};
@@ -53212,7 +53523,6 @@ class RoutingApi {
53212
53523
  * Create a utilization label
53213
53524
  *
53214
53525
  * @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
53526
  */
53217
53527
  postRoutingUtilizationLabels(body) {
53218
53528
  // verify the required parameter 'body' is set
@@ -53605,7 +53915,6 @@ class RoutingApi {
53605
53915
  *
53606
53916
  * @param {String} labelId Utilization Label ID
53607
53917
  * @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
53918
  */
53610
53919
  putRoutingUtilizationLabel(labelId, body) {
53611
53920
  // verify the required parameter 'labelId' is set
@@ -53732,7 +54041,7 @@ class SCIMApi {
53732
54041
  /**
53733
54042
  * SCIM service.
53734
54043
  * @module purecloud-platform-client-v2/api/SCIMApi
53735
- * @version 194.0.0
54044
+ * @version 195.0.0
53736
54045
  */
53737
54046
 
53738
54047
  /**
@@ -54609,7 +54918,7 @@ class ScreenRecordingApi {
54609
54918
  /**
54610
54919
  * ScreenRecording service.
54611
54920
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
54612
- * @version 194.0.0
54921
+ * @version 195.0.0
54613
54922
  */
54614
54923
 
54615
54924
  /**
@@ -54654,7 +54963,7 @@ class ScriptsApi {
54654
54963
  /**
54655
54964
  * Scripts service.
54656
54965
  * @module purecloud-platform-client-v2/api/ScriptsApi
54657
- * @version 194.0.0
54966
+ * @version 195.0.0
54658
54967
  */
54659
54968
 
54660
54969
  /**
@@ -55098,7 +55407,7 @@ class SearchApi {
55098
55407
  /**
55099
55408
  * Search service.
55100
55409
  * @module purecloud-platform-client-v2/api/SearchApi
55101
- * @version 194.0.0
55410
+ * @version 195.0.0
55102
55411
  */
55103
55412
 
55104
55413
  /**
@@ -55787,7 +56096,7 @@ class SettingsApi {
55787
56096
  /**
55788
56097
  * Settings service.
55789
56098
  * @module purecloud-platform-client-v2/api/SettingsApi
55790
- * @version 194.0.0
56099
+ * @version 195.0.0
55791
56100
  */
55792
56101
 
55793
56102
  /**
@@ -55899,7 +56208,7 @@ class SpeechTextAnalyticsApi {
55899
56208
  /**
55900
56209
  * SpeechTextAnalytics service.
55901
56210
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
55902
- * @version 194.0.0
56211
+ * @version 195.0.0
55903
56212
  */
55904
56213
 
55905
56214
  /**
@@ -55914,6 +56223,31 @@ class SpeechTextAnalyticsApi {
55914
56223
  }
55915
56224
 
55916
56225
 
56226
+ /**
56227
+ * Delete a Speech and Text Analytics category by ID
56228
+ *
56229
+ * @param {String} categoryId The id of the category
56230
+ */
56231
+ deleteSpeechandtextanalyticsCategory(categoryId) {
56232
+ // verify the required parameter 'categoryId' is set
56233
+ if (categoryId === undefined || categoryId === null) {
56234
+ throw 'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';
56235
+ }
56236
+
56237
+ return this.apiClient.callApi(
56238
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
56239
+ 'DELETE',
56240
+ { 'categoryId': categoryId },
56241
+ { },
56242
+ { },
56243
+ { },
56244
+ null,
56245
+ ['PureCloud OAuth'],
56246
+ ['application/json'],
56247
+ ['application/json']
56248
+ );
56249
+ }
56250
+
55917
56251
  /**
55918
56252
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
55919
56253
  *
@@ -56038,6 +56372,60 @@ class SpeechTextAnalyticsApi {
56038
56372
  );
56039
56373
  }
56040
56374
 
56375
+ /**
56376
+ * Get the list of Speech and Text Analytics categories
56377
+ *
56378
+ * @param {Object} opts Optional parameters
56379
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
56380
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
56381
+ * @param {String} opts.name The category name filter applied to the listing
56382
+ * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
56383
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
56384
+ * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
56385
+ */
56386
+ getSpeechandtextanalyticsCategories(opts) {
56387
+ opts = opts || {};
56388
+
56389
+
56390
+ return this.apiClient.callApi(
56391
+ '/api/v2/speechandtextanalytics/categories',
56392
+ 'GET',
56393
+ { },
56394
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
56395
+ { },
56396
+ { },
56397
+ null,
56398
+ ['PureCloud OAuth'],
56399
+ ['application/json'],
56400
+ ['application/json']
56401
+ );
56402
+ }
56403
+
56404
+ /**
56405
+ * Get a Speech and Text Analytics Category by ID
56406
+ *
56407
+ * @param {String} categoryId The id of the category
56408
+ */
56409
+ getSpeechandtextanalyticsCategory(categoryId) {
56410
+ // verify the required parameter 'categoryId' is set
56411
+ if (categoryId === undefined || categoryId === null) {
56412
+ throw 'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';
56413
+ }
56414
+
56415
+ return this.apiClient.callApi(
56416
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
56417
+ 'GET',
56418
+ { 'categoryId': categoryId },
56419
+ { },
56420
+ { },
56421
+ { },
56422
+ null,
56423
+ ['PureCloud OAuth'],
56424
+ ['application/json'],
56425
+ ['application/json']
56426
+ );
56427
+ }
56428
+
56041
56429
  /**
56042
56430
  * Get Speech and Text Analytics for a specific conversation
56043
56431
  *
@@ -56063,6 +56451,36 @@ class SpeechTextAnalyticsApi {
56063
56451
  );
56064
56452
  }
56065
56453
 
56454
+ /**
56455
+ * Get the list of detected Speech and Text Analytics categories of conversation
56456
+ *
56457
+ * @param {String} conversationId The id of the conversation
56458
+ * @param {Object} opts Optional parameters
56459
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
56460
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
56461
+ */
56462
+ getSpeechandtextanalyticsConversationCategories(conversationId, opts) {
56463
+ opts = opts || {};
56464
+
56465
+ // verify the required parameter 'conversationId' is set
56466
+ if (conversationId === undefined || conversationId === null) {
56467
+ throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';
56468
+ }
56469
+
56470
+ return this.apiClient.callApi(
56471
+ '/api/v2/speechandtextanalytics/conversations/{conversationId}/categories',
56472
+ 'GET',
56473
+ { 'conversationId': conversationId },
56474
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
56475
+ { },
56476
+ { },
56477
+ null,
56478
+ ['PureCloud OAuth'],
56479
+ ['application/json'],
56480
+ ['application/json']
56481
+ );
56482
+ }
56483
+
56066
56484
  /**
56067
56485
  * Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
56068
56486
  *
@@ -56633,6 +57051,31 @@ class SpeechTextAnalyticsApi {
56633
57051
  );
56634
57052
  }
56635
57053
 
57054
+ /**
57055
+ * Create new Speech and Text Analytics category
57056
+ *
57057
+ * @param {Object} body The category to create
57058
+ */
57059
+ postSpeechandtextanalyticsCategories(body) {
57060
+ // verify the required parameter 'body' is set
57061
+ if (body === undefined || body === null) {
57062
+ throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';
57063
+ }
57064
+
57065
+ return this.apiClient.callApi(
57066
+ '/api/v2/speechandtextanalytics/categories',
57067
+ 'POST',
57068
+ { },
57069
+ { },
57070
+ { },
57071
+ { },
57072
+ body,
57073
+ ['PureCloud OAuth'],
57074
+ ['application/json'],
57075
+ ['application/json']
57076
+ );
57077
+ }
57078
+
56636
57079
  /**
56637
57080
  * Create a Speech and Text Analytics DictionaryFeedback
56638
57081
  *
@@ -56833,6 +57276,36 @@ class SpeechTextAnalyticsApi {
56833
57276
  );
56834
57277
  }
56835
57278
 
57279
+ /**
57280
+ * Update a Speech and Text Analytics category by ID
57281
+ *
57282
+ * @param {String} categoryId The id of the category
57283
+ * @param {Object} body The updated category
57284
+ */
57285
+ putSpeechandtextanalyticsCategory(categoryId, body) {
57286
+ // verify the required parameter 'categoryId' is set
57287
+ if (categoryId === undefined || categoryId === null) {
57288
+ throw 'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';
57289
+ }
57290
+ // verify the required parameter 'body' is set
57291
+ if (body === undefined || body === null) {
57292
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';
57293
+ }
57294
+
57295
+ return this.apiClient.callApi(
57296
+ '/api/v2/speechandtextanalytics/categories/{categoryId}',
57297
+ 'PUT',
57298
+ { 'categoryId': categoryId },
57299
+ { },
57300
+ { },
57301
+ { },
57302
+ body,
57303
+ ['PureCloud OAuth'],
57304
+ ['application/json'],
57305
+ ['application/json']
57306
+ );
57307
+ }
57308
+
56836
57309
  /**
56837
57310
  * Update existing Speech and Text Analytics dictionary feedback by id
56838
57311
  *
@@ -57013,7 +57486,7 @@ class StationsApi {
57013
57486
  /**
57014
57487
  * Stations service.
57015
57488
  * @module purecloud-platform-client-v2/api/StationsApi
57016
- * @version 194.0.0
57489
+ * @version 195.0.0
57017
57490
  */
57018
57491
 
57019
57492
  /**
@@ -57115,7 +57588,7 @@ class SuggestApi {
57115
57588
  /**
57116
57589
  * Suggest service.
57117
57590
  * @module purecloud-platform-client-v2/api/SuggestApi
57118
- * @version 194.0.0
57591
+ * @version 195.0.0
57119
57592
  */
57120
57593
 
57121
57594
  /**
@@ -57254,7 +57727,7 @@ class TaskManagementApi {
57254
57727
  /**
57255
57728
  * TaskManagement service.
57256
57729
  * @module purecloud-platform-client-v2/api/TaskManagementApi
57257
- * @version 194.0.0
57730
+ * @version 195.0.0
57258
57731
  */
57259
57732
 
57260
57733
  /**
@@ -58602,7 +59075,7 @@ class TeamsApi {
58602
59075
  /**
58603
59076
  * Teams service.
58604
59077
  * @module purecloud-platform-client-v2/api/TeamsApi
58605
- * @version 194.0.0
59078
+ * @version 195.0.0
58606
59079
  */
58607
59080
 
58608
59081
  /**
@@ -58903,7 +59376,7 @@ class TelephonyApi {
58903
59376
  /**
58904
59377
  * Telephony service.
58905
59378
  * @module purecloud-platform-client-v2/api/TelephonyApi
58906
- * @version 194.0.0
59379
+ * @version 195.0.0
58907
59380
  */
58908
59381
 
58909
59382
  /**
@@ -59085,7 +59558,7 @@ class TelephonyProvidersEdgeApi {
59085
59558
  /**
59086
59559
  * TelephonyProvidersEdge service.
59087
59560
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
59088
- * @version 194.0.0
59561
+ * @version 195.0.0
59089
59562
  */
59090
59563
 
59091
59564
  /**
@@ -62413,7 +62886,7 @@ class TextbotsApi {
62413
62886
  /**
62414
62887
  * Textbots service.
62415
62888
  * @module purecloud-platform-client-v2/api/TextbotsApi
62416
- * @version 194.0.0
62889
+ * @version 195.0.0
62417
62890
  */
62418
62891
 
62419
62892
  /**
@@ -62541,7 +63014,7 @@ class TokensApi {
62541
63014
  /**
62542
63015
  * Tokens service.
62543
63016
  * @module purecloud-platform-client-v2/api/TokensApi
62544
- * @version 194.0.0
63017
+ * @version 195.0.0
62545
63018
  */
62546
63019
 
62547
63020
  /**
@@ -62695,7 +63168,7 @@ class UploadsApi {
62695
63168
  /**
62696
63169
  * Uploads service.
62697
63170
  * @module purecloud-platform-client-v2/api/UploadsApi
62698
- * @version 194.0.0
63171
+ * @version 195.0.0
62699
63172
  */
62700
63173
 
62701
63174
  /**
@@ -62964,7 +63437,7 @@ class UsageApi {
62964
63437
  /**
62965
63438
  * Usage service.
62966
63439
  * @module purecloud-platform-client-v2/api/UsageApi
62967
- * @version 194.0.0
63440
+ * @version 195.0.0
62968
63441
  */
62969
63442
 
62970
63443
  /**
@@ -63179,7 +63652,7 @@ class UserRecordingsApi {
63179
63652
  /**
63180
63653
  * UserRecordings service.
63181
63654
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
63182
- * @version 194.0.0
63655
+ * @version 195.0.0
63183
63656
  */
63184
63657
 
63185
63658
  /**
@@ -63364,7 +63837,7 @@ class UsersApi {
63364
63837
  /**
63365
63838
  * Users service.
63366
63839
  * @module purecloud-platform-client-v2/api/UsersApi
63367
- * @version 194.0.0
63840
+ * @version 195.0.0
63368
63841
  */
63369
63842
 
63370
63843
  /**
@@ -66022,7 +66495,7 @@ class UtilitiesApi {
66022
66495
  /**
66023
66496
  * Utilities service.
66024
66497
  * @module purecloud-platform-client-v2/api/UtilitiesApi
66025
- * @version 194.0.0
66498
+ * @version 195.0.0
66026
66499
  */
66027
66500
 
66028
66501
  /**
@@ -66133,7 +66606,7 @@ class VoicemailApi {
66133
66606
  /**
66134
66607
  * Voicemail service.
66135
66608
  * @module purecloud-platform-client-v2/api/VoicemailApi
66136
- * @version 194.0.0
66609
+ * @version 195.0.0
66137
66610
  */
66138
66611
 
66139
66612
  /**
@@ -66800,7 +67273,7 @@ class WebChatApi {
66800
67273
  /**
66801
67274
  * WebChat service.
66802
67275
  * @module purecloud-platform-client-v2/api/WebChatApi
66803
- * @version 194.0.0
67276
+ * @version 195.0.0
66804
67277
  */
66805
67278
 
66806
67279
  /**
@@ -67351,7 +67824,7 @@ class WebDeploymentsApi {
67351
67824
  /**
67352
67825
  * WebDeployments service.
67353
67826
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
67354
- * @version 194.0.0
67827
+ * @version 195.0.0
67355
67828
  */
67356
67829
 
67357
67830
  /**
@@ -67878,7 +68351,7 @@ class WebMessagingApi {
67878
68351
  /**
67879
68352
  * WebMessaging service.
67880
68353
  * @module purecloud-platform-client-v2/api/WebMessagingApi
67881
- * @version 194.0.0
68354
+ * @version 195.0.0
67882
68355
  */
67883
68356
 
67884
68357
  /**
@@ -67924,7 +68397,7 @@ class WidgetsApi {
67924
68397
  /**
67925
68398
  * Widgets service.
67926
68399
  * @module purecloud-platform-client-v2/api/WidgetsApi
67927
- * @version 194.0.0
68400
+ * @version 195.0.0
67928
68401
  */
67929
68402
 
67930
68403
  /**
@@ -68070,7 +68543,7 @@ class WorkforceManagementApi {
68070
68543
  /**
68071
68544
  * WorkforceManagement service.
68072
68545
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
68073
- * @version 194.0.0
68546
+ * @version 195.0.0
68074
68547
  */
68075
68548
 
68076
68549
  /**
@@ -73983,7 +74456,7 @@ class WorkforceManagementApi {
73983
74456
  * </pre>
73984
74457
  * </p>
73985
74458
  * @module purecloud-platform-client-v2/index
73986
- * @version 194.0.0
74459
+ * @version 195.0.0
73987
74460
  */
73988
74461
  class platformClient {
73989
74462
  constructor() {