purecloud-platform-client-v2 156.0.0 → 158.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 +652 -73
  3. package/dist/web-amd/purecloud-platform-client-v2.js +652 -73
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +652 -73
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +672 -79
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +263 -5
  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 +1 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  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 +1 -1
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  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 +1 -1
  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 +135 -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 +50 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 156.0.0
402
+ * @version 158.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1478
1478
  /**
1479
1479
  * Alerting service.
1480
1480
  * @module purecloud-platform-client-v2/api/AlertingApi
1481
- * @version 156.0.0
1481
+ * @version 158.0.0
1482
1482
  */
1483
1483
 
1484
1484
  /**
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1792
1792
  /**
1793
1793
  * Analytics service.
1794
1794
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1795
- * @version 156.0.0
1795
+ * @version 158.0.0
1796
1796
  */
1797
1797
 
1798
1798
  /**
@@ -3046,7 +3046,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3046
3046
  /**
3047
3047
  * Architect service.
3048
3048
  * @module purecloud-platform-client-v2/api/ArchitectApi
3049
- * @version 156.0.0
3049
+ * @version 158.0.0
3050
3050
  */
3051
3051
 
3052
3052
  /**
@@ -6094,7 +6094,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6094
6094
  /**
6095
6095
  * Audit service.
6096
6096
  * @module purecloud-platform-client-v2/api/AuditApi
6097
- * @version 156.0.0
6097
+ * @version 158.0.0
6098
6098
  */
6099
6099
 
6100
6100
  /**
@@ -6265,7 +6265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6265
6265
  /**
6266
6266
  * Authorization service.
6267
6267
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6268
- * @version 156.0.0
6268
+ * @version 158.0.0
6269
6269
  */
6270
6270
 
6271
6271
  /**
@@ -7493,7 +7493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7493
7493
  /**
7494
7494
  * Billing service.
7495
7495
  * @module purecloud-platform-client-v2/api/BillingApi
7496
- * @version 156.0.0
7496
+ * @version 158.0.0
7497
7497
  */
7498
7498
 
7499
7499
  /**
@@ -7573,7 +7573,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7573
7573
  /**
7574
7574
  * Chat service.
7575
7575
  * @module purecloud-platform-client-v2/api/ChatApi
7576
- * @version 156.0.0
7576
+ * @version 158.0.0
7577
7577
  */
7578
7578
 
7579
7579
  /**
@@ -7664,7 +7664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7664
7664
  /**
7665
7665
  * Coaching service.
7666
7666
  * @module purecloud-platform-client-v2/api/CoachingApi
7667
- * @version 156.0.0
7667
+ * @version 158.0.0
7668
7668
  */
7669
7669
 
7670
7670
  /**
@@ -8241,7 +8241,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8241
8241
  /**
8242
8242
  * ContentManagement service.
8243
8243
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8244
- * @version 156.0.0
8244
+ * @version 158.0.0
8245
8245
  */
8246
8246
 
8247
8247
  /**
@@ -9381,7 +9381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9381
9381
  /**
9382
9382
  * Conversations service.
9383
9383
  * @module purecloud-platform-client-v2/api/ConversationsApi
9384
- * @version 156.0.0
9384
+ * @version 158.0.0
9385
9385
  */
9386
9386
 
9387
9387
  /**
@@ -12768,6 +12768,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12768
12768
  );
12769
12769
  }
12770
12770
 
12771
+ /**
12772
+ * Creates a cobrowse session
12773
+ *
12774
+ * @param {String} conversationId Conversation ID
12775
+ */
12776
+ postConversationCobrowse(conversationId) {
12777
+ // verify the required parameter 'conversationId' is set
12778
+ if (conversationId === undefined || conversationId === null) {
12779
+ throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
12780
+ }
12781
+
12782
+ return this.apiClient.callApi(
12783
+ '/api/v2/conversations/{conversationId}/cobrowse',
12784
+ 'POST',
12785
+ { 'conversationId': conversationId },
12786
+ { },
12787
+ { },
12788
+ { },
12789
+ null,
12790
+ ['PureCloud OAuth'],
12791
+ ['application/json'],
12792
+ ['application/json']
12793
+ );
12794
+ }
12795
+
12771
12796
  /**
12772
12797
  * 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.
12773
12798
  *
@@ -14604,7 +14629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14604
14629
  /**
14605
14630
  * DataExtensions service.
14606
14631
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14607
- * @version 156.0.0
14632
+ * @version 158.0.0
14608
14633
  */
14609
14634
 
14610
14635
  /**
@@ -14690,7 +14715,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14690
14715
  /**
14691
14716
  * Downloads service.
14692
14717
  * @module purecloud-platform-client-v2/api/DownloadsApi
14693
- * @version 156.0.0
14718
+ * @version 158.0.0
14694
14719
  */
14695
14720
 
14696
14721
  /**
@@ -14742,7 +14767,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14742
14767
  /**
14743
14768
  * Events service.
14744
14769
  * @module purecloud-platform-client-v2/api/EventsApi
14745
- * @version 156.0.0
14770
+ * @version 158.0.0
14746
14771
  */
14747
14772
 
14748
14773
  /**
@@ -14838,7 +14863,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14838
14863
  /**
14839
14864
  * ExternalContacts service.
14840
14865
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14841
- * @version 156.0.0
14866
+ * @version 158.0.0
14842
14867
  */
14843
14868
 
14844
14869
  /**
@@ -16796,7 +16821,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16796
16821
  /**
16797
16822
  * Fax service.
16798
16823
  * @module purecloud-platform-client-v2/api/FaxApi
16799
- * @version 156.0.0
16824
+ * @version 158.0.0
16800
16825
  */
16801
16826
 
16802
16827
  /**
@@ -16967,7 +16992,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16967
16992
  /**
16968
16993
  * Flows service.
16969
16994
  * @module purecloud-platform-client-v2/api/FlowsApi
16970
- * @version 156.0.0
16995
+ * @version 158.0.0
16971
16996
  */
16972
16997
 
16973
16998
  /**
@@ -17038,7 +17063,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17038
17063
  /**
17039
17064
  * Gamification service.
17040
17065
  * @module purecloud-platform-client-v2/api/GamificationApi
17041
- * @version 156.0.0
17066
+ * @version 158.0.0
17042
17067
  */
17043
17068
 
17044
17069
  /**
@@ -18655,7 +18680,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18655
18680
  /**
18656
18681
  * GeneralDataProtectionRegulation service.
18657
18682
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18658
- * @version 156.0.0
18683
+ * @version 158.0.0
18659
18684
  */
18660
18685
 
18661
18686
  /**
@@ -18785,7 +18810,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18785
18810
  /**
18786
18811
  * Geolocation service.
18787
18812
  * @module purecloud-platform-client-v2/api/GeolocationApi
18788
- * @version 156.0.0
18813
+ * @version 158.0.0
18789
18814
  */
18790
18815
 
18791
18816
  /**
@@ -18916,7 +18941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18916
18941
  /**
18917
18942
  * Greetings service.
18918
18943
  * @module purecloud-platform-client-v2/api/GreetingsApi
18919
- * @version 156.0.0
18944
+ * @version 158.0.0
18920
18945
  */
18921
18946
 
18922
18947
  /**
@@ -19371,7 +19396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19371
19396
  /**
19372
19397
  * Groups service.
19373
19398
  * @module purecloud-platform-client-v2/api/GroupsApi
19374
- * @version 156.0.0
19399
+ * @version 158.0.0
19375
19400
  */
19376
19401
 
19377
19402
  /**
@@ -19777,7 +19802,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19777
19802
  /**
19778
19803
  * IdentityProvider service.
19779
19804
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19780
- * @version 156.0.0
19805
+ * @version 158.0.0
19781
19806
  */
19782
19807
 
19783
19808
  /**
@@ -20533,7 +20558,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20533
20558
  /**
20534
20559
  * Integrations service.
20535
20560
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20536
- * @version 156.0.0
20561
+ * @version 158.0.0
20537
20562
  */
20538
20563
 
20539
20564
  /**
@@ -22133,7 +22158,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22133
22158
  /**
22134
22159
  * Journey service.
22135
22160
  * @module purecloud-platform-client-v2/api/JourneyApi
22136
- * @version 156.0.0
22161
+ * @version 158.0.0
22137
22162
  */
22138
22163
 
22139
22164
  /**
@@ -22919,7 +22944,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22919
22944
  /**
22920
22945
  * Knowledge service.
22921
22946
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22922
- * @version 156.0.0
22947
+ * @version 158.0.0
22923
22948
  */
22924
22949
 
22925
22950
  /**
@@ -25352,7 +25377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25352
25377
  /**
25353
25378
  * LanguageUnderstanding service.
25354
25379
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25355
- * @version 156.0.0
25380
+ * @version 158.0.0
25356
25381
  */
25357
25382
 
25358
25383
  /**
@@ -25546,6 +25571,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25546
25571
  * @param {Number} opts.pageNumber Page number (default to 1)
25547
25572
  * @param {Number} opts.pageSize Page size (default to 25)
25548
25573
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
25574
+ * @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
25549
25575
  * @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
25550
25576
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
25551
25577
  */
@@ -25561,7 +25587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25561
25587
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
25562
25588
  'GET',
25563
25589
  { 'domainId': domainId },
25564
- { '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') },
25590
+ { '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') },
25565
25591
  { },
25566
25592
  { },
25567
25593
  null,
@@ -26364,7 +26390,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26364
26390
  /**
26365
26391
  * Languages service.
26366
26392
  * @module purecloud-platform-client-v2/api/LanguagesApi
26367
- * @version 156.0.0
26393
+ * @version 158.0.0
26368
26394
  */
26369
26395
 
26370
26396
  /**
@@ -26582,7 +26608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26582
26608
  /**
26583
26609
  * Learning service.
26584
26610
  * @module purecloud-platform-client-v2/api/LearningApi
26585
- * @version 156.0.0
26611
+ * @version 158.0.0
26586
26612
  */
26587
26613
 
26588
26614
  /**
@@ -26692,7 +26718,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26692
26718
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
26693
26719
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
26694
26720
  * @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
26695
- * @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
26721
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
26696
26722
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
26697
26723
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
26698
26724
  */
@@ -26729,7 +26755,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26729
26755
  * @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
26730
26756
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
26731
26757
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
26732
- * @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
26758
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
26733
26759
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
26734
26760
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
26735
26761
  */
@@ -27343,7 +27369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27343
27369
  /**
27344
27370
  * License service.
27345
27371
  * @module purecloud-platform-client-v2/api/LicenseApi
27346
- * @version 156.0.0
27372
+ * @version 158.0.0
27347
27373
  */
27348
27374
 
27349
27375
  /**
@@ -27581,7 +27607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27581
27607
  /**
27582
27608
  * Locations service.
27583
27609
  * @module purecloud-platform-client-v2/api/LocationsApi
27584
- * @version 156.0.0
27610
+ * @version 158.0.0
27585
27611
  */
27586
27612
 
27587
27613
  /**
@@ -27817,7 +27843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27817
27843
  /**
27818
27844
  * Messaging service.
27819
27845
  * @module purecloud-platform-client-v2/api/MessagingApi
27820
- * @version 156.0.0
27846
+ * @version 158.0.0
27821
27847
  */
27822
27848
 
27823
27849
  /**
@@ -27968,7 +27994,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27968
27994
  /**
27969
27995
  * MobileDevices service.
27970
27996
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27971
- * @version 156.0.0
27997
+ * @version 158.0.0
27972
27998
  */
27973
27999
 
27974
28000
  /**
@@ -28119,7 +28145,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28119
28145
  /**
28120
28146
  * Notifications service.
28121
28147
  * @module purecloud-platform-client-v2/api/NotificationsApi
28122
- * @version 156.0.0
28148
+ * @version 158.0.0
28123
28149
  */
28124
28150
 
28125
28151
  /**
@@ -28344,7 +28370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28344
28370
  /**
28345
28371
  * OAuth service.
28346
28372
  * @module purecloud-platform-client-v2/api/OAuthApi
28347
- * @version 156.0.0
28373
+ * @version 158.0.0
28348
28374
  */
28349
28375
 
28350
28376
  /**
@@ -28710,7 +28736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28710
28736
  /**
28711
28737
  * Objects service.
28712
28738
  * @module purecloud-platform-client-v2/api/ObjectsApi
28713
- * @version 156.0.0
28739
+ * @version 158.0.0
28714
28740
  */
28715
28741
 
28716
28742
  /**
@@ -28981,7 +29007,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28981
29007
  /**
28982
29008
  * Organization service.
28983
29009
  * @module purecloud-platform-client-v2/api/OrganizationApi
28984
- * @version 156.0.0
29010
+ * @version 158.0.0
28985
29011
  */
28986
29012
 
28987
29013
  /**
@@ -29384,7 +29410,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29384
29410
  /**
29385
29411
  * OrganizationAuthorization service.
29386
29412
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29387
- * @version 156.0.0
29413
+ * @version 158.0.0
29388
29414
  */
29389
29415
 
29390
29416
  /**
@@ -29454,6 +29480,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29454
29480
  );
29455
29481
  }
29456
29482
 
29483
+ /**
29484
+ * Delete Trustee Group
29485
+ *
29486
+ * @param {String} trusteeOrgId Trustee Organization Id
29487
+ * @param {String} trusteeGroupId Trustee Group Id
29488
+ */
29489
+ deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
29490
+ // verify the required parameter 'trusteeOrgId' is set
29491
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
29492
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
29493
+ }
29494
+ // verify the required parameter 'trusteeGroupId' is set
29495
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
29496
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
29497
+ }
29498
+
29499
+ return this.apiClient.callApi(
29500
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
29501
+ 'DELETE',
29502
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
29503
+ { },
29504
+ { },
29505
+ { },
29506
+ null,
29507
+ ['PureCloud OAuth'],
29508
+ ['application/json'],
29509
+ ['application/json']
29510
+ );
29511
+ }
29512
+
29513
+ /**
29514
+ * Delete Trustee Group Roles
29515
+ *
29516
+ * @param {String} trusteeOrgId Trustee Organization Id
29517
+ * @param {String} trusteeGroupId Trustee Group Id
29518
+ */
29519
+ deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
29520
+ // verify the required parameter 'trusteeOrgId' is set
29521
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
29522
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
29523
+ }
29524
+ // verify the required parameter 'trusteeGroupId' is set
29525
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
29526
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
29527
+ }
29528
+
29529
+ return this.apiClient.callApi(
29530
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
29531
+ 'DELETE',
29532
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
29533
+ { },
29534
+ { },
29535
+ { },
29536
+ null,
29537
+ ['PureCloud OAuth'],
29538
+ ['application/json'],
29539
+ ['application/json']
29540
+ );
29541
+ }
29542
+
29457
29543
  /**
29458
29544
  * Delete Trustee User
29459
29545
  *
@@ -29569,6 +29655,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29569
29655
  );
29570
29656
  }
29571
29657
 
29658
+ /**
29659
+ * Delete Trustee Group
29660
+ *
29661
+ * @param {String} trustorOrgId Trustor Organization Id
29662
+ * @param {String} trustorGroupId Trustor Group Id
29663
+ */
29664
+ deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
29665
+ // verify the required parameter 'trustorOrgId' is set
29666
+ if (trustorOrgId === undefined || trustorOrgId === null) {
29667
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
29668
+ }
29669
+ // verify the required parameter 'trustorGroupId' is set
29670
+ if (trustorGroupId === undefined || trustorGroupId === null) {
29671
+ throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
29672
+ }
29673
+
29674
+ return this.apiClient.callApi(
29675
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
29676
+ 'DELETE',
29677
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
29678
+ { },
29679
+ { },
29680
+ { },
29681
+ null,
29682
+ ['PureCloud OAuth'],
29683
+ ['application/json'],
29684
+ ['application/json']
29685
+ );
29686
+ }
29687
+
29572
29688
  /**
29573
29689
  * Delete Trustee User
29574
29690
  *
@@ -29674,6 +29790,96 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29674
29790
  );
29675
29791
  }
29676
29792
 
29793
+ /**
29794
+ * Get Trustee Group
29795
+ *
29796
+ * @param {String} trusteeOrgId Trustee Organization Id
29797
+ * @param {String} trusteeGroupId Trustee Group Id
29798
+ */
29799
+ getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
29800
+ // verify the required parameter 'trusteeOrgId' is set
29801
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
29802
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
29803
+ }
29804
+ // verify the required parameter 'trusteeGroupId' is set
29805
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
29806
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
29807
+ }
29808
+
29809
+ return this.apiClient.callApi(
29810
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
29811
+ 'GET',
29812
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
29813
+ { },
29814
+ { },
29815
+ { },
29816
+ null,
29817
+ ['PureCloud OAuth'],
29818
+ ['application/json'],
29819
+ ['application/json']
29820
+ );
29821
+ }
29822
+
29823
+ /**
29824
+ * Get Trustee Group Roles
29825
+ *
29826
+ * @param {String} trusteeOrgId Trustee Organization Id
29827
+ * @param {String} trusteeGroupId Trustee Group Id
29828
+ */
29829
+ getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
29830
+ // verify the required parameter 'trusteeOrgId' is set
29831
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
29832
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
29833
+ }
29834
+ // verify the required parameter 'trusteeGroupId' is set
29835
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
29836
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
29837
+ }
29838
+
29839
+ return this.apiClient.callApi(
29840
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
29841
+ 'GET',
29842
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
29843
+ { },
29844
+ { },
29845
+ { },
29846
+ null,
29847
+ ['PureCloud OAuth'],
29848
+ ['application/json'],
29849
+ ['application/json']
29850
+ );
29851
+ }
29852
+
29853
+ /**
29854
+ * The list of trustee groups for this organization (i.e. groups granted access to this organization).
29855
+ *
29856
+ * @param {String} trusteeOrgId Trustee Organization Id
29857
+ * @param {Object} opts Optional parameters
29858
+ * @param {Number} opts.pageSize Page size (default to 25)
29859
+ * @param {Number} opts.pageNumber Page number (default to 1)
29860
+ */
29861
+ getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
29862
+ opts = opts || {};
29863
+
29864
+ // verify the required parameter 'trusteeOrgId' is set
29865
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
29866
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
29867
+ }
29868
+
29869
+ return this.apiClient.callApi(
29870
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
29871
+ 'GET',
29872
+ { 'trusteeOrgId': trusteeOrgId },
29873
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
29874
+ { },
29875
+ { },
29876
+ null,
29877
+ ['PureCloud OAuth'],
29878
+ ['application/json'],
29879
+ ['application/json']
29880
+ );
29881
+ }
29882
+
29677
29883
  /**
29678
29884
  * Get Trustee User
29679
29885
  *
@@ -29889,6 +30095,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29889
30095
  );
29890
30096
  }
29891
30097
 
30098
+ /**
30099
+ * Get Trustee Group
30100
+ *
30101
+ * @param {String} trustorOrgId Trustor Organization Id
30102
+ * @param {String} trustorGroupId Trustor Group Id
30103
+ */
30104
+ getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
30105
+ // verify the required parameter 'trustorOrgId' is set
30106
+ if (trustorOrgId === undefined || trustorOrgId === null) {
30107
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
30108
+ }
30109
+ // verify the required parameter 'trustorGroupId' is set
30110
+ if (trustorGroupId === undefined || trustorGroupId === null) {
30111
+ throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
30112
+ }
30113
+
30114
+ return this.apiClient.callApi(
30115
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
30116
+ 'GET',
30117
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
30118
+ { },
30119
+ { },
30120
+ { },
30121
+ null,
30122
+ ['PureCloud OAuth'],
30123
+ ['application/json'],
30124
+ ['application/json']
30125
+ );
30126
+ }
30127
+
30128
+ /**
30129
+ * The list of groups in the trustor organization (i.e. groups granted access).
30130
+ *
30131
+ * @param {String} trustorOrgId Trustee Organization Id
30132
+ * @param {Object} opts Optional parameters
30133
+ * @param {Number} opts.pageSize Page size (default to 25)
30134
+ * @param {Number} opts.pageNumber Page number (default to 1)
30135
+ */
30136
+ getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
30137
+ opts = opts || {};
30138
+
30139
+ // verify the required parameter 'trustorOrgId' is set
30140
+ if (trustorOrgId === undefined || trustorOrgId === null) {
30141
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
30142
+ }
30143
+
30144
+ return this.apiClient.callApi(
30145
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
30146
+ 'GET',
30147
+ { 'trustorOrgId': trustorOrgId },
30148
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
30149
+ { },
30150
+ { },
30151
+ null,
30152
+ ['PureCloud OAuth'],
30153
+ ['application/json'],
30154
+ ['application/json']
30155
+ );
30156
+ }
30157
+
29892
30158
  /**
29893
30159
  * Get Trustee User
29894
30160
  *
@@ -29999,6 +30265,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29999
30265
  );
30000
30266
  }
30001
30267
 
30268
+ /**
30269
+ * Add a group to the trust.
30270
+ *
30271
+ * @param {String} trusteeOrgId Trustee Organization Id
30272
+ * @param {Object} body Trust
30273
+ */
30274
+ postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
30275
+ // verify the required parameter 'trusteeOrgId' is set
30276
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
30277
+ throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
30278
+ }
30279
+ // verify the required parameter 'body' is set
30280
+ if (body === undefined || body === null) {
30281
+ throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
30282
+ }
30283
+
30284
+ return this.apiClient.callApi(
30285
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
30286
+ 'POST',
30287
+ { 'trusteeOrgId': trusteeOrgId },
30288
+ { },
30289
+ { },
30290
+ { },
30291
+ body,
30292
+ ['PureCloud OAuth'],
30293
+ ['application/json'],
30294
+ ['application/json']
30295
+ );
30296
+ }
30297
+
30002
30298
  /**
30003
30299
  * Add a user to the trust.
30004
30300
  *
@@ -30173,6 +30469,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30173
30469
  );
30174
30470
  }
30175
30471
 
30472
+ /**
30473
+ * Update Trustee Group Roles
30474
+ *
30475
+ * @param {String} trusteeOrgId Trustee Organization Id
30476
+ * @param {String} trusteeGroupId Trustee Group Id
30477
+ * @param {Object} body Set of roles with corresponding divisions to apply
30478
+ */
30479
+ putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
30480
+ // verify the required parameter 'trusteeOrgId' is set
30481
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
30482
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
30483
+ }
30484
+ // verify the required parameter 'trusteeGroupId' is set
30485
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
30486
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
30487
+ }
30488
+ // verify the required parameter 'body' is set
30489
+ if (body === undefined || body === null) {
30490
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
30491
+ }
30492
+
30493
+ return this.apiClient.callApi(
30494
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
30495
+ 'PUT',
30496
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
30497
+ { },
30498
+ { },
30499
+ { },
30500
+ body,
30501
+ ['PureCloud OAuth'],
30502
+ ['application/json'],
30503
+ ['application/json']
30504
+ );
30505
+ }
30506
+
30507
+ /**
30508
+ * Update Trustee Group Roles
30509
+ *
30510
+ * @param {String} trusteeOrgId Trustee Organization Id
30511
+ * @param {String} trusteeGroupId Trustee Group Id
30512
+ * @param {Array.<String>} body List of roles
30513
+ */
30514
+ putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
30515
+ // verify the required parameter 'trusteeOrgId' is set
30516
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
30517
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
30518
+ }
30519
+ // verify the required parameter 'trusteeGroupId' is set
30520
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
30521
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
30522
+ }
30523
+ // verify the required parameter 'body' is set
30524
+ if (body === undefined || body === null) {
30525
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
30526
+ }
30527
+
30528
+ return this.apiClient.callApi(
30529
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
30530
+ 'PUT',
30531
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
30532
+ { },
30533
+ { },
30534
+ { },
30535
+ body,
30536
+ ['PureCloud OAuth'],
30537
+ ['application/json'],
30538
+ ['application/json']
30539
+ );
30540
+ }
30541
+
30176
30542
  /**
30177
30543
  * Update Trustee User Roles
30178
30544
  *
@@ -30273,6 +30639,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30273
30639
  );
30274
30640
  }
30275
30641
 
30642
+ /**
30643
+ * Add a Trustee Group to the trust.
30644
+ *
30645
+ * @param {String} trustorOrgId Trustor Organization Id
30646
+ * @param {String} trustorGroupId Trustor Group Id
30647
+ */
30648
+ putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
30649
+ // verify the required parameter 'trustorOrgId' is set
30650
+ if (trustorOrgId === undefined || trustorOrgId === null) {
30651
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
30652
+ }
30653
+ // verify the required parameter 'trustorGroupId' is set
30654
+ if (trustorGroupId === undefined || trustorGroupId === null) {
30655
+ throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
30656
+ }
30657
+
30658
+ return this.apiClient.callApi(
30659
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
30660
+ 'PUT',
30661
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
30662
+ { },
30663
+ { },
30664
+ { },
30665
+ null,
30666
+ ['PureCloud OAuth'],
30667
+ ['application/json'],
30668
+ ['application/json']
30669
+ );
30670
+ }
30671
+
30276
30672
  /**
30277
30673
  * Add a Trustee user to the trust.
30278
30674
  *
@@ -30309,7 +30705,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30309
30705
  /**
30310
30706
  * Outbound service.
30311
30707
  * @module purecloud-platform-client-v2/api/OutboundApi
30312
- * @version 156.0.0
30708
+ * @version 158.0.0
30313
30709
  */
30314
30710
 
30315
30711
  /**
@@ -33846,7 +34242,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33846
34242
  /**
33847
34243
  * Presence service.
33848
34244
  * @module purecloud-platform-client-v2/api/PresenceApi
33849
- * @version 156.0.0
34245
+ * @version 158.0.0
33850
34246
  */
33851
34247
 
33852
34248
  /**
@@ -34352,7 +34748,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34352
34748
  /**
34353
34749
  * ProcessAutomation service.
34354
34750
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
34355
- * @version 156.0.0
34751
+ * @version 158.0.0
34356
34752
  */
34357
34753
 
34358
34754
  /**
@@ -34591,7 +34987,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34591
34987
  /**
34592
34988
  * Quality service.
34593
34989
  * @module purecloud-platform-client-v2/api/QualityApi
34594
- * @version 156.0.0
34990
+ * @version 158.0.0
34595
34991
  */
34596
34992
 
34597
34993
  /**
@@ -36169,7 +36565,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36169
36565
  /**
36170
36566
  * Recording service.
36171
36567
  * @module purecloud-platform-client-v2/api/RecordingApi
36172
- * @version 156.0.0
36568
+ * @version 158.0.0
36173
36569
  */
36174
36570
 
36175
36571
  /**
@@ -37906,7 +38302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37906
38302
  /**
37907
38303
  * ResponseManagement service.
37908
38304
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
37909
- * @version 156.0.0
38305
+ * @version 158.0.0
37910
38306
  */
37911
38307
 
37912
38308
  /**
@@ -38390,7 +38786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38390
38786
  /**
38391
38787
  * Routing service.
38392
38788
  * @module purecloud-platform-client-v2/api/RoutingApi
38393
- * @version 156.0.0
38789
+ * @version 158.0.0
38394
38790
  */
38395
38791
 
38396
38792
  /**
@@ -41855,7 +42251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41855
42251
  /**
41856
42252
  * SCIM service.
41857
42253
  * @module purecloud-platform-client-v2/api/SCIMApi
41858
- * @version 156.0.0
42254
+ * @version 158.0.0
41859
42255
  */
41860
42256
 
41861
42257
  /**
@@ -42732,7 +43128,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42732
43128
  /**
42733
43129
  * Scripts service.
42734
43130
  * @module purecloud-platform-client-v2/api/ScriptsApi
42735
- * @version 156.0.0
43131
+ * @version 158.0.0
42736
43132
  */
42737
43133
 
42738
43134
  /**
@@ -43151,7 +43547,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43151
43547
  /**
43152
43548
  * Search service.
43153
43549
  * @module purecloud-platform-client-v2/api/SearchApi
43154
- * @version 156.0.0
43550
+ * @version 158.0.0
43155
43551
  */
43156
43552
 
43157
43553
  /**
@@ -43736,7 +44132,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43736
44132
  /**
43737
44133
  * SpeechTextAnalytics service.
43738
44134
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
43739
- * @version 156.0.0
44135
+ * @version 158.0.0
43740
44136
  */
43741
44137
 
43742
44138
  /**
@@ -44590,7 +44986,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44590
44986
  /**
44591
44987
  * Stations service.
44592
44988
  * @module purecloud-platform-client-v2/api/StationsApi
44593
- * @version 156.0.0
44989
+ * @version 158.0.0
44594
44990
  */
44595
44991
 
44596
44992
  /**
@@ -44688,7 +45084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44688
45084
 
44689
45085
  /**
44690
45086
  * Get an organization's StationSettings
44691
- *
45087
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
44692
45088
  */
44693
45089
  getStationsSettings() {
44694
45090
 
@@ -44708,7 +45104,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44708
45104
 
44709
45105
  /**
44710
45106
  * Patch an organization's StationSettings
44711
- *
45107
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
44712
45108
  * @param {Object} body Station settings
44713
45109
  */
44714
45110
  patchStationsSettings(body) {
@@ -44737,7 +45133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44737
45133
  /**
44738
45134
  * Suggest service.
44739
45135
  * @module purecloud-platform-client-v2/api/SuggestApi
44740
- * @version 156.0.0
45136
+ * @version 158.0.0
44741
45137
  */
44742
45138
 
44743
45139
  /**
@@ -44876,7 +45272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44876
45272
  /**
44877
45273
  * Teams service.
44878
45274
  * @module purecloud-platform-client-v2/api/TeamsApi
44879
- * @version 156.0.0
45275
+ * @version 158.0.0
44880
45276
  */
44881
45277
 
44882
45278
  /**
@@ -45147,7 +45543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45147
45543
  /**
45148
45544
  * Telephony service.
45149
45545
  * @module purecloud-platform-client-v2/api/TelephonyApi
45150
- * @version 156.0.0
45546
+ * @version 158.0.0
45151
45547
  */
45152
45548
 
45153
45549
  /**
@@ -45275,7 +45671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45275
45671
  /**
45276
45672
  * TelephonyProvidersEdge service.
45277
45673
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
45278
- * @version 156.0.0
45674
+ * @version 158.0.0
45279
45675
  */
45280
45676
 
45281
45677
  /**
@@ -48908,7 +49304,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48908
49304
  /**
48909
49305
  * Textbots service.
48910
49306
  * @module purecloud-platform-client-v2/api/TextbotsApi
48911
- * @version 156.0.0
49307
+ * @version 158.0.0
48912
49308
  */
48913
49309
 
48914
49310
  /**
@@ -49036,7 +49432,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49036
49432
  /**
49037
49433
  * Tokens service.
49038
49434
  * @module purecloud-platform-client-v2/api/TokensApi
49039
- * @version 156.0.0
49435
+ * @version 158.0.0
49040
49436
  */
49041
49437
 
49042
49438
  /**
@@ -49142,7 +49538,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49142
49538
  /**
49143
49539
  * Uploads service.
49144
49540
  * @module purecloud-platform-client-v2/api/UploadsApi
49145
- * @version 156.0.0
49541
+ * @version 158.0.0
49146
49542
  */
49147
49543
 
49148
49544
  /**
@@ -49318,7 +49714,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49318
49714
  /**
49319
49715
  * Usage service.
49320
49716
  * @module purecloud-platform-client-v2/api/UsageApi
49321
- * @version 156.0.0
49717
+ * @version 158.0.0
49322
49718
  */
49323
49719
 
49324
49720
  /**
@@ -49389,7 +49785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49389
49785
  /**
49390
49786
  * UserRecordings service.
49391
49787
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
49392
- * @version 156.0.0
49788
+ * @version 158.0.0
49393
49789
  */
49394
49790
 
49395
49791
  /**
@@ -49574,7 +49970,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49574
49970
  /**
49575
49971
  * Users service.
49576
49972
  * @module purecloud-platform-client-v2/api/UsersApi
49577
- * @version 156.0.0
49973
+ * @version 158.0.0
49578
49974
  */
49579
49975
 
49580
49976
  /**
@@ -51931,7 +52327,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51931
52327
  /**
51932
52328
  * Utilities service.
51933
52329
  * @module purecloud-platform-client-v2/api/UtilitiesApi
51934
- * @version 156.0.0
52330
+ * @version 158.0.0
51935
52331
  */
51936
52332
 
51937
52333
  /**
@@ -52042,7 +52438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52042
52438
  /**
52043
52439
  * Voicemail service.
52044
52440
  * @module purecloud-platform-client-v2/api/VoicemailApi
52045
- * @version 156.0.0
52441
+ * @version 158.0.0
52046
52442
  */
52047
52443
 
52048
52444
  /**
@@ -52709,7 +53105,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52709
53105
  /**
52710
53106
  * WebChat service.
52711
53107
  * @module purecloud-platform-client-v2/api/WebChatApi
52712
- * @version 156.0.0
53108
+ * @version 158.0.0
52713
53109
  */
52714
53110
 
52715
53111
  /**
@@ -53253,7 +53649,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53253
53649
  /**
53254
53650
  * WebDeployments service.
53255
53651
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
53256
- * @version 156.0.0
53652
+ * @version 158.0.0
53257
53653
  */
53258
53654
 
53259
53655
  /**
@@ -53318,6 +53714,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53318
53714
  );
53319
53715
  }
53320
53716
 
53717
+ /**
53718
+ * Deletes a cobrowse session
53719
+ *
53720
+ * @param {String} deploymentId WebMessaging deployment ID
53721
+ * @param {String} sessionId Cobrowse session id or join code
53722
+ */
53723
+ deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
53724
+ // verify the required parameter 'deploymentId' is set
53725
+ if (deploymentId === undefined || deploymentId === null) {
53726
+ throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
53727
+ }
53728
+ // verify the required parameter 'sessionId' is set
53729
+ if (sessionId === undefined || sessionId === null) {
53730
+ throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
53731
+ }
53732
+
53733
+ return this.apiClient.callApi(
53734
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
53735
+ 'DELETE',
53736
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
53737
+ { },
53738
+ { },
53739
+ { },
53740
+ null,
53741
+ ['PureCloud OAuth'],
53742
+ ['application/json'],
53743
+ ['application/json']
53744
+ );
53745
+ }
53746
+
53747
+ /**
53748
+ * Invalidate JWT
53749
+ *
53750
+ * @param {Object} opts Optional parameters
53751
+ * @param {String} opts.xJourneySessionId The Customer's journey sessionId.
53752
+ * @param {String} opts.xJourneySessionType The Customer's journey session type.
53753
+ */
53754
+ deleteWebdeploymentsTokenRevoke(opts) {
53755
+ opts = opts || {};
53756
+
53757
+
53758
+ return this.apiClient.callApi(
53759
+ '/api/v2/webdeployments/token/revoke',
53760
+ 'DELETE',
53761
+ { },
53762
+ { },
53763
+ { 'X-Journey-Session-Id': opts['xJourneySessionId'],'X-Journey-Session-Type': opts['xJourneySessionType'] },
53764
+ { },
53765
+ null,
53766
+ ['PureCloud OAuth'],
53767
+ ['application/json'],
53768
+ ['application/json']
53769
+ );
53770
+ }
53771
+
53321
53772
  /**
53322
53773
  * Get a configuration version
53323
53774
  *
@@ -53447,6 +53898,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53447
53898
  );
53448
53899
  }
53449
53900
 
53901
+ /**
53902
+ * Retrieves a cobrowse session
53903
+ *
53904
+ * @param {String} deploymentId WebMessaging deployment ID
53905
+ * @param {String} sessionId Cobrowse session id or join code
53906
+ */
53907
+ getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
53908
+ // verify the required parameter 'deploymentId' is set
53909
+ if (deploymentId === undefined || deploymentId === null) {
53910
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
53911
+ }
53912
+ // verify the required parameter 'sessionId' is set
53913
+ if (sessionId === undefined || sessionId === null) {
53914
+ throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
53915
+ }
53916
+
53917
+ return this.apiClient.callApi(
53918
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
53919
+ 'GET',
53920
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
53921
+ { },
53922
+ { },
53923
+ { },
53924
+ null,
53925
+ ['PureCloud OAuth'],
53926
+ ['application/json'],
53927
+ ['application/json']
53928
+ );
53929
+ }
53930
+
53450
53931
  /**
53451
53932
  * Get active configuration for a given deployment
53452
53933
  *
@@ -53575,6 +54056,55 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53575
54056
  );
53576
54057
  }
53577
54058
 
54059
+ /**
54060
+ * Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
54061
+ *
54062
+ * @param {Object} body webDeploymentsOAuthExchangeRequest
54063
+ */
54064
+ postWebdeploymentsTokenOauthcodegrantjwtexchange(body) {
54065
+ // verify the required parameter 'body' is set
54066
+ if (body === undefined || body === null) {
54067
+ throw 'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';
54068
+ }
54069
+
54070
+ return this.apiClient.callApi(
54071
+ '/api/v2/webdeployments/token/oauthcodegrantjwtexchange',
54072
+ 'POST',
54073
+ { },
54074
+ { },
54075
+ { },
54076
+ { },
54077
+ body,
54078
+ ['PureCloud OAuth'],
54079
+ ['application/json'],
54080
+ ['application/json']
54081
+ );
54082
+ }
54083
+
54084
+ /**
54085
+ * Refresh a JWT.
54086
+ *
54087
+ * @param {Object} opts Optional parameters
54088
+ * @param {Object} opts.body
54089
+ */
54090
+ postWebdeploymentsTokenRefresh(opts) {
54091
+ opts = opts || {};
54092
+
54093
+
54094
+ return this.apiClient.callApi(
54095
+ '/api/v2/webdeployments/token/refresh',
54096
+ 'POST',
54097
+ { },
54098
+ { },
54099
+ { },
54100
+ { },
54101
+ opts['body'],
54102
+ ['PureCloud OAuth'],
54103
+ ['application/json'],
54104
+ ['application/json']
54105
+ );
54106
+ }
54107
+
53578
54108
  /**
53579
54109
  * Update the configuration draft
53580
54110
  *
@@ -53641,7 +54171,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53641
54171
  /**
53642
54172
  * WebMessaging service.
53643
54173
  * @module purecloud-platform-client-v2/api/WebMessagingApi
53644
- * @version 156.0.0
54174
+ * @version 158.0.0
53645
54175
  */
53646
54176
 
53647
54177
  /**
@@ -53687,7 +54217,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53687
54217
  /**
53688
54218
  * Widgets service.
53689
54219
  * @module purecloud-platform-client-v2/api/WidgetsApi
53690
- * @version 156.0.0
54220
+ * @version 158.0.0
53691
54221
  */
53692
54222
 
53693
54223
  /**
@@ -53833,7 +54363,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53833
54363
  /**
53834
54364
  * WorkforceManagement service.
53835
54365
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
53836
- * @version 156.0.0
54366
+ * @version 158.0.0
53837
54367
  */
53838
54368
 
53839
54369
  /**
@@ -54303,6 +54833,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54303
54833
  );
54304
54834
  }
54305
54835
 
54836
+ /**
54837
+ * Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status
54838
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
54839
+ * @param {String} jobId ID of the job to get
54840
+ */
54841
+ getWorkforcemanagementAdherenceHistoricalBulkJob(jobId) {
54842
+ // verify the required parameter 'jobId' is set
54843
+ if (jobId === undefined || jobId === null) {
54844
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';
54845
+ }
54846
+
54847
+ return this.apiClient.callApi(
54848
+ '/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}',
54849
+ 'GET',
54850
+ { 'jobId': jobId },
54851
+ { },
54852
+ { },
54853
+ { },
54854
+ null,
54855
+ ['PureCloud OAuth'],
54856
+ ['application/json'],
54857
+ ['application/json']
54858
+ );
54859
+ }
54860
+
54306
54861
  /**
54307
54862
  * Query the status of a historical adherence request operation. Only the user who started the operation can query the status
54308
54863
  * Job details are only retained if the initial request returned a 202 ACCEPTED response
@@ -56754,6 +57309,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56754
57309
  );
56755
57310
  }
56756
57311
 
57312
+ /**
57313
+ * Request a historical adherence report in bulk
57314
+ *
57315
+ * @param {Object} opts Optional parameters
57316
+ * @param {Object} opts.body body
57317
+ */
57318
+ postWorkforcemanagementAdherenceHistoricalBulk(opts) {
57319
+ opts = opts || {};
57320
+
57321
+
57322
+ return this.apiClient.callApi(
57323
+ '/api/v2/workforcemanagement/adherence/historical/bulk',
57324
+ 'POST',
57325
+ { },
57326
+ { },
57327
+ { },
57328
+ { },
57329
+ opts['body'],
57330
+ ['PureCloud OAuth'],
57331
+ ['application/json'],
57332
+ ['application/json']
57333
+ );
57334
+ }
57335
+
56757
57336
  /**
56758
57337
  * Add an adherence explanation for the requested user
56759
57338
  *
@@ -58503,7 +59082,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58503
59082
  * </pre>
58504
59083
  * </p>
58505
59084
  * @module purecloud-platform-client-v2/index
58506
- * @version 156.0.0
59085
+ * @version 158.0.0
58507
59086
  */
58508
59087
  class platformClient {
58509
59088
  constructor() {