purecloud-platform-client-v2 157.0.0 → 159.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +631 -80
  3. package/dist/web-amd/purecloud-platform-client-v2.js +631 -80
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +631 -80
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +641 -80
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +214 -3
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -2
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -3
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +371 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -4
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +61 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -2279,7 +2279,7 @@ class Configuration {
2279
2279
 
2280
2280
  /**
2281
2281
  * @module purecloud-platform-client-v2/ApiClient
2282
- * @version 157.0.0
2282
+ * @version 159.0.0
2283
2283
  */
2284
2284
  class ApiClient {
2285
2285
  /**
@@ -3351,7 +3351,7 @@ class AlertingApi {
3351
3351
  /**
3352
3352
  * Alerting service.
3353
3353
  * @module purecloud-platform-client-v2/api/AlertingApi
3354
- * @version 157.0.0
3354
+ * @version 159.0.0
3355
3355
  */
3356
3356
 
3357
3357
  /**
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
3665
3665
  /**
3666
3666
  * Analytics service.
3667
3667
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3668
- * @version 157.0.0
3668
+ * @version 159.0.0
3669
3669
  */
3670
3670
 
3671
3671
  /**
@@ -4919,7 +4919,7 @@ class ArchitectApi {
4919
4919
  /**
4920
4920
  * Architect service.
4921
4921
  * @module purecloud-platform-client-v2/api/ArchitectApi
4922
- * @version 157.0.0
4922
+ * @version 159.0.0
4923
4923
  */
4924
4924
 
4925
4925
  /**
@@ -7967,7 +7967,7 @@ class AuditApi {
7967
7967
  /**
7968
7968
  * Audit service.
7969
7969
  * @module purecloud-platform-client-v2/api/AuditApi
7970
- * @version 157.0.0
7970
+ * @version 159.0.0
7971
7971
  */
7972
7972
 
7973
7973
  /**
@@ -8138,7 +8138,7 @@ class AuthorizationApi {
8138
8138
  /**
8139
8139
  * Authorization service.
8140
8140
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8141
- * @version 157.0.0
8141
+ * @version 159.0.0
8142
8142
  */
8143
8143
 
8144
8144
  /**
@@ -9366,7 +9366,7 @@ class BillingApi {
9366
9366
  /**
9367
9367
  * Billing service.
9368
9368
  * @module purecloud-platform-client-v2/api/BillingApi
9369
- * @version 157.0.0
9369
+ * @version 159.0.0
9370
9370
  */
9371
9371
 
9372
9372
  /**
@@ -9446,7 +9446,7 @@ class ChatApi {
9446
9446
  /**
9447
9447
  * Chat service.
9448
9448
  * @module purecloud-platform-client-v2/api/ChatApi
9449
- * @version 157.0.0
9449
+ * @version 159.0.0
9450
9450
  */
9451
9451
 
9452
9452
  /**
@@ -9537,7 +9537,7 @@ class CoachingApi {
9537
9537
  /**
9538
9538
  * Coaching service.
9539
9539
  * @module purecloud-platform-client-v2/api/CoachingApi
9540
- * @version 157.0.0
9540
+ * @version 159.0.0
9541
9541
  */
9542
9542
 
9543
9543
  /**
@@ -10114,7 +10114,7 @@ class ContentManagementApi {
10114
10114
  /**
10115
10115
  * ContentManagement service.
10116
10116
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10117
- * @version 157.0.0
10117
+ * @version 159.0.0
10118
10118
  */
10119
10119
 
10120
10120
  /**
@@ -11254,7 +11254,7 @@ class ConversationsApi {
11254
11254
  /**
11255
11255
  * Conversations service.
11256
11256
  * @module purecloud-platform-client-v2/api/ConversationsApi
11257
- * @version 157.0.0
11257
+ * @version 159.0.0
11258
11258
  */
11259
11259
 
11260
11260
  /**
@@ -14641,6 +14641,31 @@ class ConversationsApi {
14641
14641
  );
14642
14642
  }
14643
14643
 
14644
+ /**
14645
+ * Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
14646
+ *
14647
+ * @param {String} conversationId Conversation ID
14648
+ */
14649
+ postConversationCobrowse(conversationId) {
14650
+ // verify the required parameter 'conversationId' is set
14651
+ if (conversationId === undefined || conversationId === null) {
14652
+ throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
14653
+ }
14654
+
14655
+ return this.apiClient.callApi(
14656
+ '/api/v2/conversations/{conversationId}/cobrowse',
14657
+ 'POST',
14658
+ { 'conversationId': conversationId },
14659
+ { },
14660
+ { },
14661
+ { },
14662
+ null,
14663
+ ['PureCloud OAuth'],
14664
+ ['application/json'],
14665
+ ['application/json']
14666
+ );
14667
+ }
14668
+
14644
14669
  /**
14645
14670
  * Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
14646
14671
  *
@@ -16477,7 +16502,7 @@ class DataExtensionsApi {
16477
16502
  /**
16478
16503
  * DataExtensions service.
16479
16504
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16480
- * @version 157.0.0
16505
+ * @version 159.0.0
16481
16506
  */
16482
16507
 
16483
16508
  /**
@@ -16563,7 +16588,7 @@ class DownloadsApi {
16563
16588
  /**
16564
16589
  * Downloads service.
16565
16590
  * @module purecloud-platform-client-v2/api/DownloadsApi
16566
- * @version 157.0.0
16591
+ * @version 159.0.0
16567
16592
  */
16568
16593
 
16569
16594
  /**
@@ -16615,7 +16640,7 @@ class EventsApi {
16615
16640
  /**
16616
16641
  * Events service.
16617
16642
  * @module purecloud-platform-client-v2/api/EventsApi
16618
- * @version 157.0.0
16643
+ * @version 159.0.0
16619
16644
  */
16620
16645
 
16621
16646
  /**
@@ -16711,7 +16736,7 @@ class ExternalContactsApi {
16711
16736
  /**
16712
16737
  * ExternalContacts service.
16713
16738
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16714
- * @version 157.0.0
16739
+ * @version 159.0.0
16715
16740
  */
16716
16741
 
16717
16742
  /**
@@ -18669,7 +18694,7 @@ class FaxApi {
18669
18694
  /**
18670
18695
  * Fax service.
18671
18696
  * @module purecloud-platform-client-v2/api/FaxApi
18672
- * @version 157.0.0
18697
+ * @version 159.0.0
18673
18698
  */
18674
18699
 
18675
18700
  /**
@@ -18840,7 +18865,7 @@ class FlowsApi {
18840
18865
  /**
18841
18866
  * Flows service.
18842
18867
  * @module purecloud-platform-client-v2/api/FlowsApi
18843
- * @version 157.0.0
18868
+ * @version 159.0.0
18844
18869
  */
18845
18870
 
18846
18871
  /**
@@ -18911,7 +18936,7 @@ class GamificationApi {
18911
18936
  /**
18912
18937
  * Gamification service.
18913
18938
  * @module purecloud-platform-client-v2/api/GamificationApi
18914
- * @version 157.0.0
18939
+ * @version 159.0.0
18915
18940
  */
18916
18941
 
18917
18942
  /**
@@ -20528,7 +20553,7 @@ class GeneralDataProtectionRegulationApi {
20528
20553
  /**
20529
20554
  * GeneralDataProtectionRegulation service.
20530
20555
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20531
- * @version 157.0.0
20556
+ * @version 159.0.0
20532
20557
  */
20533
20558
 
20534
20559
  /**
@@ -20658,7 +20683,7 @@ class GeolocationApi {
20658
20683
  /**
20659
20684
  * Geolocation service.
20660
20685
  * @module purecloud-platform-client-v2/api/GeolocationApi
20661
- * @version 157.0.0
20686
+ * @version 159.0.0
20662
20687
  */
20663
20688
 
20664
20689
  /**
@@ -20789,7 +20814,7 @@ class GreetingsApi {
20789
20814
  /**
20790
20815
  * Greetings service.
20791
20816
  * @module purecloud-platform-client-v2/api/GreetingsApi
20792
- * @version 157.0.0
20817
+ * @version 159.0.0
20793
20818
  */
20794
20819
 
20795
20820
  /**
@@ -21244,7 +21269,7 @@ class GroupsApi {
21244
21269
  /**
21245
21270
  * Groups service.
21246
21271
  * @module purecloud-platform-client-v2/api/GroupsApi
21247
- * @version 157.0.0
21272
+ * @version 159.0.0
21248
21273
  */
21249
21274
 
21250
21275
  /**
@@ -21650,7 +21675,7 @@ class IdentityProviderApi {
21650
21675
  /**
21651
21676
  * IdentityProvider service.
21652
21677
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21653
- * @version 157.0.0
21678
+ * @version 159.0.0
21654
21679
  */
21655
21680
 
21656
21681
  /**
@@ -22406,7 +22431,7 @@ class IntegrationsApi {
22406
22431
  /**
22407
22432
  * Integrations service.
22408
22433
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22409
- * @version 157.0.0
22434
+ * @version 159.0.0
22410
22435
  */
22411
22436
 
22412
22437
  /**
@@ -24006,7 +24031,7 @@ class JourneyApi {
24006
24031
  /**
24007
24032
  * Journey service.
24008
24033
  * @module purecloud-platform-client-v2/api/JourneyApi
24009
- * @version 157.0.0
24034
+ * @version 159.0.0
24010
24035
  */
24011
24036
 
24012
24037
  /**
@@ -24100,6 +24125,31 @@ class JourneyApi {
24100
24125
  );
24101
24126
  }
24102
24127
 
24128
+ /**
24129
+ * Delete an outcome predictor.
24130
+ *
24131
+ * @param {String} predictorId ID of predictor
24132
+ */
24133
+ deleteJourneyOutcomesPredictor(predictorId) {
24134
+ // verify the required parameter 'predictorId' is set
24135
+ if (predictorId === undefined || predictorId === null) {
24136
+ throw 'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';
24137
+ }
24138
+
24139
+ return this.apiClient.callApi(
24140
+ '/api/v2/journey/outcomes/predictors/{predictorId}',
24141
+ 'DELETE',
24142
+ { 'predictorId': predictorId },
24143
+ { },
24144
+ { },
24145
+ { },
24146
+ null,
24147
+ ['PureCloud OAuth'],
24148
+ ['application/json'],
24149
+ ['application/json']
24150
+ );
24151
+ }
24152
+
24103
24153
  /**
24104
24154
  * Delete a segment.
24105
24155
  *
@@ -24390,6 +24440,51 @@ class JourneyApi {
24390
24440
  );
24391
24441
  }
24392
24442
 
24443
+ /**
24444
+ * Retrieve a single outcome predictor.
24445
+ *
24446
+ * @param {String} predictorId ID of predictor
24447
+ */
24448
+ getJourneyOutcomesPredictor(predictorId) {
24449
+ // verify the required parameter 'predictorId' is set
24450
+ if (predictorId === undefined || predictorId === null) {
24451
+ throw 'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';
24452
+ }
24453
+
24454
+ return this.apiClient.callApi(
24455
+ '/api/v2/journey/outcomes/predictors/{predictorId}',
24456
+ 'GET',
24457
+ { 'predictorId': predictorId },
24458
+ { },
24459
+ { },
24460
+ { },
24461
+ null,
24462
+ ['PureCloud OAuth'],
24463
+ ['application/json'],
24464
+ ['application/json']
24465
+ );
24466
+ }
24467
+
24468
+ /**
24469
+ * Retrieve all outcome predictors.
24470
+ *
24471
+ */
24472
+ getJourneyOutcomesPredictors() {
24473
+
24474
+ return this.apiClient.callApi(
24475
+ '/api/v2/journey/outcomes/predictors',
24476
+ 'GET',
24477
+ { },
24478
+ { },
24479
+ { },
24480
+ { },
24481
+ null,
24482
+ ['PureCloud OAuth'],
24483
+ ['application/json'],
24484
+ ['application/json']
24485
+ );
24486
+ }
24487
+
24393
24488
  /**
24394
24489
  * Retrieve a single segment.
24395
24490
  *
@@ -24762,6 +24857,30 @@ class JourneyApi {
24762
24857
  );
24763
24858
  }
24764
24859
 
24860
+ /**
24861
+ * Create an outcome predictor.
24862
+ *
24863
+ * @param {Object} opts Optional parameters
24864
+ * @param {Object} opts.body
24865
+ */
24866
+ postJourneyOutcomesPredictors(opts) {
24867
+ opts = opts || {};
24868
+
24869
+
24870
+ return this.apiClient.callApi(
24871
+ '/api/v2/journey/outcomes/predictors',
24872
+ 'POST',
24873
+ { },
24874
+ { },
24875
+ { },
24876
+ { },
24877
+ opts['body'],
24878
+ ['PureCloud OAuth'],
24879
+ ['application/json'],
24880
+ ['application/json']
24881
+ );
24882
+ }
24883
+
24765
24884
  /**
24766
24885
  * Create a segment.
24767
24886
  *
@@ -24792,7 +24911,7 @@ class KnowledgeApi {
24792
24911
  /**
24793
24912
  * Knowledge service.
24794
24913
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24795
- * @version 157.0.0
24914
+ * @version 159.0.0
24796
24915
  */
24797
24916
 
24798
24917
  /**
@@ -25195,7 +25314,6 @@ class KnowledgeApi {
25195
25314
  * @param {String} sessionId Knowledge guest session ID.
25196
25315
  * @param {Object} opts Optional parameters
25197
25316
  * @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
25198
- * @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
25199
25317
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
25200
25318
  */
25201
25319
  getKnowledgeGuestSessionDocuments(sessionId, opts) {
@@ -25210,7 +25328,7 @@ class KnowledgeApi {
25210
25328
  '/api/v2/knowledge/guest/sessions/{sessionId}/documents',
25211
25329
  'GET',
25212
25330
  { 'sessionId': sessionId },
25213
- { 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'pageSize': opts['pageSize'] },
25331
+ { 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'pageSize': opts['pageSize'] },
25214
25332
  { },
25215
25333
  { },
25216
25334
  null,
@@ -27225,7 +27343,7 @@ class LanguageUnderstandingApi {
27225
27343
  /**
27226
27344
  * LanguageUnderstanding service.
27227
27345
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
27228
- * @version 157.0.0
27346
+ * @version 159.0.0
27229
27347
  */
27230
27348
 
27231
27349
  /**
@@ -27419,6 +27537,7 @@ class LanguageUnderstandingApi {
27419
27537
  * @param {Number} opts.pageNumber Page number (default to 1)
27420
27538
  * @param {Number} opts.pageSize Page size (default to 25)
27421
27539
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
27540
+ * @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
27422
27541
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. This is considered only when enableCursorPagination=true
27423
27542
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
27424
27543
  */
@@ -27434,7 +27553,7 @@ class LanguageUnderstandingApi {
27434
27553
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
27435
27554
  'GET',
27436
27555
  { 'domainId': domainId },
27437
- { 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
27556
+ { 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'includeTrainingUtterances': opts['includeTrainingUtterances'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
27438
27557
  { },
27439
27558
  { },
27440
27559
  null,
@@ -28237,7 +28356,7 @@ class LanguagesApi {
28237
28356
  /**
28238
28357
  * Languages service.
28239
28358
  * @module purecloud-platform-client-v2/api/LanguagesApi
28240
- * @version 157.0.0
28359
+ * @version 159.0.0
28241
28360
  */
28242
28361
 
28243
28362
  /**
@@ -28455,7 +28574,7 @@ class LearningApi {
28455
28574
  /**
28456
28575
  * Learning service.
28457
28576
  * @module purecloud-platform-client-v2/api/LearningApi
28458
- * @version 157.0.0
28577
+ * @version 159.0.0
28459
28578
  */
28460
28579
 
28461
28580
  /**
@@ -28565,7 +28684,7 @@ class LearningApi {
28565
28684
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
28566
28685
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
28567
28686
  * @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
28568
- * @param {Array.<String>} opts.types Specifies the assignment types, currently not supported and will be ignored. For now, all learning assignments regardless of types will be returned
28687
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
28569
28688
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
28570
28689
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
28571
28690
  */
@@ -28602,7 +28721,7 @@ class LearningApi {
28602
28721
  * @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
28603
28722
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
28604
28723
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
28605
- * @param {Array.<String>} opts.types Specifies the assignment types, currently not supported and will be ignored. For now, all learning assignments regardless of types will be returned
28724
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
28606
28725
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
28607
28726
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
28608
28727
  */
@@ -29216,7 +29335,7 @@ class LicenseApi {
29216
29335
  /**
29217
29336
  * License service.
29218
29337
  * @module purecloud-platform-client-v2/api/LicenseApi
29219
- * @version 157.0.0
29338
+ * @version 159.0.0
29220
29339
  */
29221
29340
 
29222
29341
  /**
@@ -29454,7 +29573,7 @@ class LocationsApi {
29454
29573
  /**
29455
29574
  * Locations service.
29456
29575
  * @module purecloud-platform-client-v2/api/LocationsApi
29457
- * @version 157.0.0
29576
+ * @version 159.0.0
29458
29577
  */
29459
29578
 
29460
29579
  /**
@@ -29690,7 +29809,7 @@ class MessagingApi {
29690
29809
  /**
29691
29810
  * Messaging service.
29692
29811
  * @module purecloud-platform-client-v2/api/MessagingApi
29693
- * @version 157.0.0
29812
+ * @version 159.0.0
29694
29813
  */
29695
29814
 
29696
29815
  /**
@@ -29841,7 +29960,7 @@ class MobileDevicesApi {
29841
29960
  /**
29842
29961
  * MobileDevices service.
29843
29962
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29844
- * @version 157.0.0
29963
+ * @version 159.0.0
29845
29964
  */
29846
29965
 
29847
29966
  /**
@@ -29992,7 +30111,7 @@ class NotificationsApi {
29992
30111
  /**
29993
30112
  * Notifications service.
29994
30113
  * @module purecloud-platform-client-v2/api/NotificationsApi
29995
- * @version 157.0.0
30114
+ * @version 159.0.0
29996
30115
  */
29997
30116
 
29998
30117
  /**
@@ -30217,7 +30336,7 @@ class OAuthApi {
30217
30336
  /**
30218
30337
  * OAuth service.
30219
30338
  * @module purecloud-platform-client-v2/api/OAuthApi
30220
- * @version 157.0.0
30339
+ * @version 159.0.0
30221
30340
  */
30222
30341
 
30223
30342
  /**
@@ -30583,7 +30702,7 @@ class ObjectsApi {
30583
30702
  /**
30584
30703
  * Objects service.
30585
30704
  * @module purecloud-platform-client-v2/api/ObjectsApi
30586
- * @version 157.0.0
30705
+ * @version 159.0.0
30587
30706
  */
30588
30707
 
30589
30708
  /**
@@ -30854,7 +30973,7 @@ class OrganizationApi {
30854
30973
  /**
30855
30974
  * Organization service.
30856
30975
  * @module purecloud-platform-client-v2/api/OrganizationApi
30857
- * @version 157.0.0
30976
+ * @version 159.0.0
30858
30977
  */
30859
30978
 
30860
30979
  /**
@@ -31257,7 +31376,7 @@ class OrganizationAuthorizationApi {
31257
31376
  /**
31258
31377
  * OrganizationAuthorization service.
31259
31378
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31260
- * @version 157.0.0
31379
+ * @version 159.0.0
31261
31380
  */
31262
31381
 
31263
31382
  /**
@@ -31327,6 +31446,66 @@ class OrganizationAuthorizationApi {
31327
31446
  );
31328
31447
  }
31329
31448
 
31449
+ /**
31450
+ * Delete Trustee Group
31451
+ *
31452
+ * @param {String} trusteeOrgId Trustee Organization Id
31453
+ * @param {String} trusteeGroupId Trustee Group Id
31454
+ */
31455
+ deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
31456
+ // verify the required parameter 'trusteeOrgId' is set
31457
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
31458
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
31459
+ }
31460
+ // verify the required parameter 'trusteeGroupId' is set
31461
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
31462
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
31463
+ }
31464
+
31465
+ return this.apiClient.callApi(
31466
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
31467
+ 'DELETE',
31468
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
31469
+ { },
31470
+ { },
31471
+ { },
31472
+ null,
31473
+ ['PureCloud OAuth'],
31474
+ ['application/json'],
31475
+ ['application/json']
31476
+ );
31477
+ }
31478
+
31479
+ /**
31480
+ * Delete Trustee Group Roles
31481
+ *
31482
+ * @param {String} trusteeOrgId Trustee Organization Id
31483
+ * @param {String} trusteeGroupId Trustee Group Id
31484
+ */
31485
+ deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
31486
+ // verify the required parameter 'trusteeOrgId' is set
31487
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
31488
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
31489
+ }
31490
+ // verify the required parameter 'trusteeGroupId' is set
31491
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
31492
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
31493
+ }
31494
+
31495
+ return this.apiClient.callApi(
31496
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
31497
+ 'DELETE',
31498
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
31499
+ { },
31500
+ { },
31501
+ { },
31502
+ null,
31503
+ ['PureCloud OAuth'],
31504
+ ['application/json'],
31505
+ ['application/json']
31506
+ );
31507
+ }
31508
+
31330
31509
  /**
31331
31510
  * Delete Trustee User
31332
31511
  *
@@ -31442,6 +31621,36 @@ class OrganizationAuthorizationApi {
31442
31621
  );
31443
31622
  }
31444
31623
 
31624
+ /**
31625
+ * Delete Trustee Group
31626
+ *
31627
+ * @param {String} trustorOrgId Trustor Organization Id
31628
+ * @param {String} trustorGroupId Trustor Group Id
31629
+ */
31630
+ deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
31631
+ // verify the required parameter 'trustorOrgId' is set
31632
+ if (trustorOrgId === undefined || trustorOrgId === null) {
31633
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
31634
+ }
31635
+ // verify the required parameter 'trustorGroupId' is set
31636
+ if (trustorGroupId === undefined || trustorGroupId === null) {
31637
+ throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
31638
+ }
31639
+
31640
+ return this.apiClient.callApi(
31641
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
31642
+ 'DELETE',
31643
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
31644
+ { },
31645
+ { },
31646
+ { },
31647
+ null,
31648
+ ['PureCloud OAuth'],
31649
+ ['application/json'],
31650
+ ['application/json']
31651
+ );
31652
+ }
31653
+
31445
31654
  /**
31446
31655
  * Delete Trustee User
31447
31656
  *
@@ -31547,6 +31756,96 @@ class OrganizationAuthorizationApi {
31547
31756
  );
31548
31757
  }
31549
31758
 
31759
+ /**
31760
+ * Get Trustee Group
31761
+ *
31762
+ * @param {String} trusteeOrgId Trustee Organization Id
31763
+ * @param {String} trusteeGroupId Trustee Group Id
31764
+ */
31765
+ getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
31766
+ // verify the required parameter 'trusteeOrgId' is set
31767
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
31768
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
31769
+ }
31770
+ // verify the required parameter 'trusteeGroupId' is set
31771
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
31772
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
31773
+ }
31774
+
31775
+ return this.apiClient.callApi(
31776
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
31777
+ 'GET',
31778
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
31779
+ { },
31780
+ { },
31781
+ { },
31782
+ null,
31783
+ ['PureCloud OAuth'],
31784
+ ['application/json'],
31785
+ ['application/json']
31786
+ );
31787
+ }
31788
+
31789
+ /**
31790
+ * Get Trustee Group Roles
31791
+ *
31792
+ * @param {String} trusteeOrgId Trustee Organization Id
31793
+ * @param {String} trusteeGroupId Trustee Group Id
31794
+ */
31795
+ getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
31796
+ // verify the required parameter 'trusteeOrgId' is set
31797
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
31798
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
31799
+ }
31800
+ // verify the required parameter 'trusteeGroupId' is set
31801
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
31802
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
31803
+ }
31804
+
31805
+ return this.apiClient.callApi(
31806
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
31807
+ 'GET',
31808
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
31809
+ { },
31810
+ { },
31811
+ { },
31812
+ null,
31813
+ ['PureCloud OAuth'],
31814
+ ['application/json'],
31815
+ ['application/json']
31816
+ );
31817
+ }
31818
+
31819
+ /**
31820
+ * The list of trustee groups for this organization (i.e. groups granted access to this organization).
31821
+ *
31822
+ * @param {String} trusteeOrgId Trustee Organization Id
31823
+ * @param {Object} opts Optional parameters
31824
+ * @param {Number} opts.pageSize Page size (default to 25)
31825
+ * @param {Number} opts.pageNumber Page number (default to 1)
31826
+ */
31827
+ getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
31828
+ opts = opts || {};
31829
+
31830
+ // verify the required parameter 'trusteeOrgId' is set
31831
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
31832
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
31833
+ }
31834
+
31835
+ return this.apiClient.callApi(
31836
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
31837
+ 'GET',
31838
+ { 'trusteeOrgId': trusteeOrgId },
31839
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
31840
+ { },
31841
+ { },
31842
+ null,
31843
+ ['PureCloud OAuth'],
31844
+ ['application/json'],
31845
+ ['application/json']
31846
+ );
31847
+ }
31848
+
31550
31849
  /**
31551
31850
  * Get Trustee User
31552
31851
  *
@@ -31762,6 +32061,66 @@ class OrganizationAuthorizationApi {
31762
32061
  );
31763
32062
  }
31764
32063
 
32064
+ /**
32065
+ * Get Trustee Group
32066
+ *
32067
+ * @param {String} trustorOrgId Trustor Organization Id
32068
+ * @param {String} trustorGroupId Trustor Group Id
32069
+ */
32070
+ getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
32071
+ // verify the required parameter 'trustorOrgId' is set
32072
+ if (trustorOrgId === undefined || trustorOrgId === null) {
32073
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
32074
+ }
32075
+ // verify the required parameter 'trustorGroupId' is set
32076
+ if (trustorGroupId === undefined || trustorGroupId === null) {
32077
+ throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
32078
+ }
32079
+
32080
+ return this.apiClient.callApi(
32081
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
32082
+ 'GET',
32083
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
32084
+ { },
32085
+ { },
32086
+ { },
32087
+ null,
32088
+ ['PureCloud OAuth'],
32089
+ ['application/json'],
32090
+ ['application/json']
32091
+ );
32092
+ }
32093
+
32094
+ /**
32095
+ * The list of groups in the trustor organization (i.e. groups granted access).
32096
+ *
32097
+ * @param {String} trustorOrgId Trustee Organization Id
32098
+ * @param {Object} opts Optional parameters
32099
+ * @param {Number} opts.pageSize Page size (default to 25)
32100
+ * @param {Number} opts.pageNumber Page number (default to 1)
32101
+ */
32102
+ getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
32103
+ opts = opts || {};
32104
+
32105
+ // verify the required parameter 'trustorOrgId' is set
32106
+ if (trustorOrgId === undefined || trustorOrgId === null) {
32107
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
32108
+ }
32109
+
32110
+ return this.apiClient.callApi(
32111
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
32112
+ 'GET',
32113
+ { 'trustorOrgId': trustorOrgId },
32114
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
32115
+ { },
32116
+ { },
32117
+ null,
32118
+ ['PureCloud OAuth'],
32119
+ ['application/json'],
32120
+ ['application/json']
32121
+ );
32122
+ }
32123
+
31765
32124
  /**
31766
32125
  * Get Trustee User
31767
32126
  *
@@ -31872,6 +32231,36 @@ class OrganizationAuthorizationApi {
31872
32231
  );
31873
32232
  }
31874
32233
 
32234
+ /**
32235
+ * Add a group to the trust.
32236
+ *
32237
+ * @param {String} trusteeOrgId Trustee Organization Id
32238
+ * @param {Object} body Trust
32239
+ */
32240
+ postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
32241
+ // verify the required parameter 'trusteeOrgId' is set
32242
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
32243
+ throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
32244
+ }
32245
+ // verify the required parameter 'body' is set
32246
+ if (body === undefined || body === null) {
32247
+ throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
32248
+ }
32249
+
32250
+ return this.apiClient.callApi(
32251
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
32252
+ 'POST',
32253
+ { 'trusteeOrgId': trusteeOrgId },
32254
+ { },
32255
+ { },
32256
+ { },
32257
+ body,
32258
+ ['PureCloud OAuth'],
32259
+ ['application/json'],
32260
+ ['application/json']
32261
+ );
32262
+ }
32263
+
31875
32264
  /**
31876
32265
  * Add a user to the trust.
31877
32266
  *
@@ -32046,6 +32435,76 @@ class OrganizationAuthorizationApi {
32046
32435
  );
32047
32436
  }
32048
32437
 
32438
+ /**
32439
+ * Update Trustee Group Roles
32440
+ *
32441
+ * @param {String} trusteeOrgId Trustee Organization Id
32442
+ * @param {String} trusteeGroupId Trustee Group Id
32443
+ * @param {Object} body Set of roles with corresponding divisions to apply
32444
+ */
32445
+ putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
32446
+ // verify the required parameter 'trusteeOrgId' is set
32447
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
32448
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
32449
+ }
32450
+ // verify the required parameter 'trusteeGroupId' is set
32451
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
32452
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
32453
+ }
32454
+ // verify the required parameter 'body' is set
32455
+ if (body === undefined || body === null) {
32456
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
32457
+ }
32458
+
32459
+ return this.apiClient.callApi(
32460
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
32461
+ 'PUT',
32462
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
32463
+ { },
32464
+ { },
32465
+ { },
32466
+ body,
32467
+ ['PureCloud OAuth'],
32468
+ ['application/json'],
32469
+ ['application/json']
32470
+ );
32471
+ }
32472
+
32473
+ /**
32474
+ * Update Trustee Group Roles
32475
+ *
32476
+ * @param {String} trusteeOrgId Trustee Organization Id
32477
+ * @param {String} trusteeGroupId Trustee Group Id
32478
+ * @param {Array.<String>} body List of roles
32479
+ */
32480
+ putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
32481
+ // verify the required parameter 'trusteeOrgId' is set
32482
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
32483
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
32484
+ }
32485
+ // verify the required parameter 'trusteeGroupId' is set
32486
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
32487
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
32488
+ }
32489
+ // verify the required parameter 'body' is set
32490
+ if (body === undefined || body === null) {
32491
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
32492
+ }
32493
+
32494
+ return this.apiClient.callApi(
32495
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
32496
+ 'PUT',
32497
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
32498
+ { },
32499
+ { },
32500
+ { },
32501
+ body,
32502
+ ['PureCloud OAuth'],
32503
+ ['application/json'],
32504
+ ['application/json']
32505
+ );
32506
+ }
32507
+
32049
32508
  /**
32050
32509
  * Update Trustee User Roles
32051
32510
  *
@@ -32146,6 +32605,36 @@ class OrganizationAuthorizationApi {
32146
32605
  );
32147
32606
  }
32148
32607
 
32608
+ /**
32609
+ * Add a Trustee Group to the trust.
32610
+ *
32611
+ * @param {String} trustorOrgId Trustor Organization Id
32612
+ * @param {String} trustorGroupId Trustor Group Id
32613
+ */
32614
+ putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
32615
+ // verify the required parameter 'trustorOrgId' is set
32616
+ if (trustorOrgId === undefined || trustorOrgId === null) {
32617
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
32618
+ }
32619
+ // verify the required parameter 'trustorGroupId' is set
32620
+ if (trustorGroupId === undefined || trustorGroupId === null) {
32621
+ throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
32622
+ }
32623
+
32624
+ return this.apiClient.callApi(
32625
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
32626
+ 'PUT',
32627
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
32628
+ { },
32629
+ { },
32630
+ { },
32631
+ null,
32632
+ ['PureCloud OAuth'],
32633
+ ['application/json'],
32634
+ ['application/json']
32635
+ );
32636
+ }
32637
+
32149
32638
  /**
32150
32639
  * Add a Trustee user to the trust.
32151
32640
  *
@@ -32182,7 +32671,7 @@ class OutboundApi {
32182
32671
  /**
32183
32672
  * Outbound service.
32184
32673
  * @module purecloud-platform-client-v2/api/OutboundApi
32185
- * @version 157.0.0
32674
+ * @version 159.0.0
32186
32675
  */
32187
32676
 
32188
32677
  /**
@@ -35719,7 +36208,7 @@ class PresenceApi {
35719
36208
  /**
35720
36209
  * Presence service.
35721
36210
  * @module purecloud-platform-client-v2/api/PresenceApi
35722
- * @version 157.0.0
36211
+ * @version 159.0.0
35723
36212
  */
35724
36213
 
35725
36214
  /**
@@ -36225,7 +36714,7 @@ class ProcessAutomationApi {
36225
36714
  /**
36226
36715
  * ProcessAutomation service.
36227
36716
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
36228
- * @version 157.0.0
36717
+ * @version 159.0.0
36229
36718
  */
36230
36719
 
36231
36720
  /**
@@ -36464,7 +36953,7 @@ class QualityApi {
36464
36953
  /**
36465
36954
  * Quality service.
36466
36955
  * @module purecloud-platform-client-v2/api/QualityApi
36467
- * @version 157.0.0
36956
+ * @version 159.0.0
36468
36957
  */
36469
36958
 
36470
36959
  /**
@@ -36726,7 +37215,7 @@ class QualityApi {
36726
37215
  * @param {String} conversationId conversationId
36727
37216
  * @param {String} evaluationId evaluationId
36728
37217
  * @param {Object} opts Optional parameters
36729
- * @param {String} opts.expand agent, evaluator, evaluationForm
37218
+ * @param {String} opts.expand agent, assignee, evaluator, evaluationForm
36730
37219
  */
36731
37220
  getQualityConversationEvaluation(conversationId, evaluationId, opts) {
36732
37221
  opts = opts || {};
@@ -36837,7 +37326,7 @@ class QualityApi {
36837
37326
 
36838
37327
  /**
36839
37328
  * Queries Evaluations and returns a paged list
36840
- * Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
37329
+ * Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
36841
37330
  * @param {Object} opts Optional parameters
36842
37331
  * @param {Number} opts.pageSize The total page size requested (default to 25)
36843
37332
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -36848,6 +37337,7 @@ class QualityApi {
36848
37337
  * @param {String} opts.conversationId conversationId specified
36849
37338
  * @param {String} opts.agentUserId user id of the agent
36850
37339
  * @param {String} opts.evaluatorUserId evaluator user id
37340
+ * @param {String} opts.assigneeUserId assignee user id
36851
37341
  * @param {String} opts.queueId queue id
36852
37342
  * @param {String} opts.startTime start time of the evaluation query
36853
37343
  * @param {String} opts.endTime end time of the evaluation query
@@ -36866,7 +37356,7 @@ class QualityApi {
36866
37356
  '/api/v2/quality/evaluations/query',
36867
37357
  'GET',
36868
37358
  { },
36869
- { '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'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
37359
+ { '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'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
36870
37360
  { },
36871
37361
  { },
36872
37362
  null,
@@ -38042,7 +38532,7 @@ class RecordingApi {
38042
38532
  /**
38043
38533
  * Recording service.
38044
38534
  * @module purecloud-platform-client-v2/api/RecordingApi
38045
- * @version 157.0.0
38535
+ * @version 159.0.0
38046
38536
  */
38047
38537
 
38048
38538
  /**
@@ -39172,7 +39662,7 @@ class RecordingApi {
39172
39662
 
39173
39663
  /**
39174
39664
  * Create a recording bulk job.
39175
- * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
39665
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
39176
39666
  * @param {Object} body query
39177
39667
  */
39178
39668
  postRecordingJobs(body) {
@@ -39779,7 +40269,7 @@ class ResponseManagementApi {
39779
40269
  /**
39780
40270
  * ResponseManagement service.
39781
40271
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39782
- * @version 157.0.0
40272
+ * @version 159.0.0
39783
40273
  */
39784
40274
 
39785
40275
  /**
@@ -40263,7 +40753,7 @@ class RoutingApi {
40263
40753
  /**
40264
40754
  * Routing service.
40265
40755
  * @module purecloud-platform-client-v2/api/RoutingApi
40266
- * @version 157.0.0
40756
+ * @version 159.0.0
40267
40757
  */
40268
40758
 
40269
40759
  /**
@@ -43728,7 +44218,7 @@ class SCIMApi {
43728
44218
  /**
43729
44219
  * SCIM service.
43730
44220
  * @module purecloud-platform-client-v2/api/SCIMApi
43731
- * @version 157.0.0
44221
+ * @version 159.0.0
43732
44222
  */
43733
44223
 
43734
44224
  /**
@@ -44605,7 +45095,7 @@ class ScriptsApi {
44605
45095
  /**
44606
45096
  * Scripts service.
44607
45097
  * @module purecloud-platform-client-v2/api/ScriptsApi
44608
- * @version 157.0.0
45098
+ * @version 159.0.0
44609
45099
  */
44610
45100
 
44611
45101
  /**
@@ -45024,7 +45514,7 @@ class SearchApi {
45024
45514
  /**
45025
45515
  * Search service.
45026
45516
  * @module purecloud-platform-client-v2/api/SearchApi
45027
- * @version 157.0.0
45517
+ * @version 159.0.0
45028
45518
  */
45029
45519
 
45030
45520
  /**
@@ -45609,7 +46099,7 @@ class SpeechTextAnalyticsApi {
45609
46099
  /**
45610
46100
  * SpeechTextAnalytics service.
45611
46101
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45612
- * @version 157.0.0
46102
+ * @version 159.0.0
45613
46103
  */
45614
46104
 
45615
46105
  /**
@@ -46463,7 +46953,7 @@ class StationsApi {
46463
46953
  /**
46464
46954
  * Stations service.
46465
46955
  * @module purecloud-platform-client-v2/api/StationsApi
46466
- * @version 157.0.0
46956
+ * @version 159.0.0
46467
46957
  */
46468
46958
 
46469
46959
  /**
@@ -46561,7 +47051,7 @@ class StationsApi {
46561
47051
 
46562
47052
  /**
46563
47053
  * Get an organization's StationSettings
46564
- *
47054
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46565
47055
  */
46566
47056
  getStationsSettings() {
46567
47057
 
@@ -46581,7 +47071,7 @@ class StationsApi {
46581
47071
 
46582
47072
  /**
46583
47073
  * Patch an organization's StationSettings
46584
- *
47074
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46585
47075
  * @param {Object} body Station settings
46586
47076
  */
46587
47077
  patchStationsSettings(body) {
@@ -46610,7 +47100,7 @@ class SuggestApi {
46610
47100
  /**
46611
47101
  * Suggest service.
46612
47102
  * @module purecloud-platform-client-v2/api/SuggestApi
46613
- * @version 157.0.0
47103
+ * @version 159.0.0
46614
47104
  */
46615
47105
 
46616
47106
  /**
@@ -46749,7 +47239,7 @@ class TeamsApi {
46749
47239
  /**
46750
47240
  * Teams service.
46751
47241
  * @module purecloud-platform-client-v2/api/TeamsApi
46752
- * @version 157.0.0
47242
+ * @version 159.0.0
46753
47243
  */
46754
47244
 
46755
47245
  /**
@@ -47020,7 +47510,7 @@ class TelephonyApi {
47020
47510
  /**
47021
47511
  * Telephony service.
47022
47512
  * @module purecloud-platform-client-v2/api/TelephonyApi
47023
- * @version 157.0.0
47513
+ * @version 159.0.0
47024
47514
  */
47025
47515
 
47026
47516
  /**
@@ -47148,7 +47638,7 @@ class TelephonyProvidersEdgeApi {
47148
47638
  /**
47149
47639
  * TelephonyProvidersEdge service.
47150
47640
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
47151
- * @version 157.0.0
47641
+ * @version 159.0.0
47152
47642
  */
47153
47643
 
47154
47644
  /**
@@ -48154,6 +48644,7 @@ class TelephonyProvidersEdgeApi {
48154
48644
  * @param {String} opts.edgeGroupId Filter by edgeGroup.id
48155
48645
  * @param {String} opts.sortBy Sort by (default to name)
48156
48646
  * @param {Boolean} opts.managed Filter by managed
48647
+ * @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
48157
48648
  */
48158
48649
  getTelephonyProvidersEdges(opts) {
48159
48650
  opts = opts || {};
@@ -48163,7 +48654,7 @@ class TelephonyProvidersEdgeApi {
48163
48654
  '/api/v2/telephony/providers/edges',
48164
48655
  'GET',
48165
48656
  { },
48166
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'] },
48657
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'],'showCloudMedia': opts['showCloudMedia'] },
48167
48658
  { },
48168
48659
  { },
48169
48660
  null,
@@ -50781,7 +51272,7 @@ class TextbotsApi {
50781
51272
  /**
50782
51273
  * Textbots service.
50783
51274
  * @module purecloud-platform-client-v2/api/TextbotsApi
50784
- * @version 157.0.0
51275
+ * @version 159.0.0
50785
51276
  */
50786
51277
 
50787
51278
  /**
@@ -50909,7 +51400,7 @@ class TokensApi {
50909
51400
  /**
50910
51401
  * Tokens service.
50911
51402
  * @module purecloud-platform-client-v2/api/TokensApi
50912
- * @version 157.0.0
51403
+ * @version 159.0.0
50913
51404
  */
50914
51405
 
50915
51406
  /**
@@ -51015,7 +51506,7 @@ class UploadsApi {
51015
51506
  /**
51016
51507
  * Uploads service.
51017
51508
  * @module purecloud-platform-client-v2/api/UploadsApi
51018
- * @version 157.0.0
51509
+ * @version 159.0.0
51019
51510
  */
51020
51511
 
51021
51512
  /**
@@ -51191,7 +51682,7 @@ class UsageApi {
51191
51682
  /**
51192
51683
  * Usage service.
51193
51684
  * @module purecloud-platform-client-v2/api/UsageApi
51194
- * @version 157.0.0
51685
+ * @version 159.0.0
51195
51686
  */
51196
51687
 
51197
51688
  /**
@@ -51262,7 +51753,7 @@ class UserRecordingsApi {
51262
51753
  /**
51263
51754
  * UserRecordings service.
51264
51755
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
51265
- * @version 157.0.0
51756
+ * @version 159.0.0
51266
51757
  */
51267
51758
 
51268
51759
  /**
@@ -51447,7 +51938,7 @@ class UsersApi {
51447
51938
  /**
51448
51939
  * Users service.
51449
51940
  * @module purecloud-platform-client-v2/api/UsersApi
51450
- * @version 157.0.0
51941
+ * @version 159.0.0
51451
51942
  */
51452
51943
 
51453
51944
  /**
@@ -53804,7 +54295,7 @@ class UtilitiesApi {
53804
54295
  /**
53805
54296
  * Utilities service.
53806
54297
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53807
- * @version 157.0.0
54298
+ * @version 159.0.0
53808
54299
  */
53809
54300
 
53810
54301
  /**
@@ -53915,7 +54406,7 @@ class VoicemailApi {
53915
54406
  /**
53916
54407
  * Voicemail service.
53917
54408
  * @module purecloud-platform-client-v2/api/VoicemailApi
53918
- * @version 157.0.0
54409
+ * @version 159.0.0
53919
54410
  */
53920
54411
 
53921
54412
  /**
@@ -54582,7 +55073,7 @@ class WebChatApi {
54582
55073
  /**
54583
55074
  * WebChat service.
54584
55075
  * @module purecloud-platform-client-v2/api/WebChatApi
54585
- * @version 157.0.0
55076
+ * @version 159.0.0
54586
55077
  */
54587
55078
 
54588
55079
  /**
@@ -55126,7 +55617,7 @@ class WebDeploymentsApi {
55126
55617
  /**
55127
55618
  * WebDeployments service.
55128
55619
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
55129
- * @version 157.0.0
55620
+ * @version 159.0.0
55130
55621
  */
55131
55622
 
55132
55623
  /**
@@ -55191,6 +55682,36 @@ class WebDeploymentsApi {
55191
55682
  );
55192
55683
  }
55193
55684
 
55685
+ /**
55686
+ * Deletes a cobrowse session
55687
+ *
55688
+ * @param {String} deploymentId WebMessaging deployment ID
55689
+ * @param {String} sessionId Cobrowse session id or join code
55690
+ */
55691
+ deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
55692
+ // verify the required parameter 'deploymentId' is set
55693
+ if (deploymentId === undefined || deploymentId === null) {
55694
+ throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
55695
+ }
55696
+ // verify the required parameter 'sessionId' is set
55697
+ if (sessionId === undefined || sessionId === null) {
55698
+ throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
55699
+ }
55700
+
55701
+ return this.apiClient.callApi(
55702
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
55703
+ 'DELETE',
55704
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
55705
+ { },
55706
+ { },
55707
+ { },
55708
+ null,
55709
+ ['PureCloud OAuth'],
55710
+ ['application/json'],
55711
+ ['application/json']
55712
+ );
55713
+ }
55714
+
55194
55715
  /**
55195
55716
  * Invalidate JWT
55196
55717
  *
@@ -55345,6 +55866,36 @@ class WebDeploymentsApi {
55345
55866
  );
55346
55867
  }
55347
55868
 
55869
+ /**
55870
+ * Retrieves a cobrowse session
55871
+ *
55872
+ * @param {String} deploymentId WebMessaging deployment ID
55873
+ * @param {String} sessionId Cobrowse session id or join code
55874
+ */
55875
+ getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
55876
+ // verify the required parameter 'deploymentId' is set
55877
+ if (deploymentId === undefined || deploymentId === null) {
55878
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
55879
+ }
55880
+ // verify the required parameter 'sessionId' is set
55881
+ if (sessionId === undefined || sessionId === null) {
55882
+ throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
55883
+ }
55884
+
55885
+ return this.apiClient.callApi(
55886
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
55887
+ 'GET',
55888
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
55889
+ { },
55890
+ { },
55891
+ { },
55892
+ null,
55893
+ ['PureCloud OAuth'],
55894
+ ['application/json'],
55895
+ ['application/json']
55896
+ );
55897
+ }
55898
+
55348
55899
  /**
55349
55900
  * Get active configuration for a given deployment
55350
55901
  *
@@ -55588,7 +56139,7 @@ class WebMessagingApi {
55588
56139
  /**
55589
56140
  * WebMessaging service.
55590
56141
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55591
- * @version 157.0.0
56142
+ * @version 159.0.0
55592
56143
  */
55593
56144
 
55594
56145
  /**
@@ -55634,7 +56185,7 @@ class WidgetsApi {
55634
56185
  /**
55635
56186
  * Widgets service.
55636
56187
  * @module purecloud-platform-client-v2/api/WidgetsApi
55637
- * @version 157.0.0
56188
+ * @version 159.0.0
55638
56189
  */
55639
56190
 
55640
56191
  /**
@@ -55780,7 +56331,7 @@ class WorkforceManagementApi {
55780
56331
  /**
55781
56332
  * WorkforceManagement service.
55782
56333
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55783
- * @version 157.0.0
56334
+ * @version 159.0.0
55784
56335
  */
55785
56336
 
55786
56337
  /**
@@ -60499,7 +61050,7 @@ class WorkforceManagementApi {
60499
61050
  * </pre>
60500
61051
  * </p>
60501
61052
  * @module purecloud-platform-client-v2/index
60502
- * @version 157.0.0
61053
+ * @version 159.0.0
60503
61054
  */
60504
61055
  class platformClient {
60505
61056
  constructor() {