purecloud-platform-client-v2 157.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 +529 -73
  3. package/dist/web-amd/purecloud-platform-client-v2.js +529 -73
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +529 -73
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +539 -73
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +141 -2
  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 +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
@@ -5162,6 +5162,8 @@ var INTRINSICS = {
5162
5162
  '%AsyncIteratorPrototype%': needsEval,
5163
5163
  '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
5164
5164
  '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
5165
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
5166
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
5165
5167
  '%Boolean%': Boolean,
5166
5168
  '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
5167
5169
  '%Date%': Date,
@@ -5217,6 +5219,14 @@ var INTRINSICS = {
5217
5219
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
5218
5220
  };
5219
5221
 
5222
+ try {
5223
+ null.error; // eslint-disable-line no-unused-expressions
5224
+ } catch (e) {
5225
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
5226
+ var errorProto = getProto(getProto(e));
5227
+ INTRINSICS['%Error.prototype%'] = errorProto;
5228
+ }
5229
+
5220
5230
  var doEval = function doEval(name) {
5221
5231
  var value;
5222
5232
  if (name === '%AsyncFunction%') {
@@ -9311,7 +9321,7 @@ class Configuration {
9311
9321
 
9312
9322
  /**
9313
9323
  * @module purecloud-platform-client-v2/ApiClient
9314
- * @version 157.0.0
9324
+ * @version 158.0.0
9315
9325
  */
9316
9326
  class ApiClient {
9317
9327
  /**
@@ -10383,7 +10393,7 @@ class AlertingApi {
10383
10393
  /**
10384
10394
  * Alerting service.
10385
10395
  * @module purecloud-platform-client-v2/api/AlertingApi
10386
- * @version 157.0.0
10396
+ * @version 158.0.0
10387
10397
  */
10388
10398
 
10389
10399
  /**
@@ -10697,7 +10707,7 @@ class AnalyticsApi {
10697
10707
  /**
10698
10708
  * Analytics service.
10699
10709
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10700
- * @version 157.0.0
10710
+ * @version 158.0.0
10701
10711
  */
10702
10712
 
10703
10713
  /**
@@ -11951,7 +11961,7 @@ class ArchitectApi {
11951
11961
  /**
11952
11962
  * Architect service.
11953
11963
  * @module purecloud-platform-client-v2/api/ArchitectApi
11954
- * @version 157.0.0
11964
+ * @version 158.0.0
11955
11965
  */
11956
11966
 
11957
11967
  /**
@@ -14999,7 +15009,7 @@ class AuditApi {
14999
15009
  /**
15000
15010
  * Audit service.
15001
15011
  * @module purecloud-platform-client-v2/api/AuditApi
15002
- * @version 157.0.0
15012
+ * @version 158.0.0
15003
15013
  */
15004
15014
 
15005
15015
  /**
@@ -15170,7 +15180,7 @@ class AuthorizationApi {
15170
15180
  /**
15171
15181
  * Authorization service.
15172
15182
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15173
- * @version 157.0.0
15183
+ * @version 158.0.0
15174
15184
  */
15175
15185
 
15176
15186
  /**
@@ -16398,7 +16408,7 @@ class BillingApi {
16398
16408
  /**
16399
16409
  * Billing service.
16400
16410
  * @module purecloud-platform-client-v2/api/BillingApi
16401
- * @version 157.0.0
16411
+ * @version 158.0.0
16402
16412
  */
16403
16413
 
16404
16414
  /**
@@ -16478,7 +16488,7 @@ class ChatApi {
16478
16488
  /**
16479
16489
  * Chat service.
16480
16490
  * @module purecloud-platform-client-v2/api/ChatApi
16481
- * @version 157.0.0
16491
+ * @version 158.0.0
16482
16492
  */
16483
16493
 
16484
16494
  /**
@@ -16569,7 +16579,7 @@ class CoachingApi {
16569
16579
  /**
16570
16580
  * Coaching service.
16571
16581
  * @module purecloud-platform-client-v2/api/CoachingApi
16572
- * @version 157.0.0
16582
+ * @version 158.0.0
16573
16583
  */
16574
16584
 
16575
16585
  /**
@@ -17146,7 +17156,7 @@ class ContentManagementApi {
17146
17156
  /**
17147
17157
  * ContentManagement service.
17148
17158
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17149
- * @version 157.0.0
17159
+ * @version 158.0.0
17150
17160
  */
17151
17161
 
17152
17162
  /**
@@ -18286,7 +18296,7 @@ class ConversationsApi {
18286
18296
  /**
18287
18297
  * Conversations service.
18288
18298
  * @module purecloud-platform-client-v2/api/ConversationsApi
18289
- * @version 157.0.0
18299
+ * @version 158.0.0
18290
18300
  */
18291
18301
 
18292
18302
  /**
@@ -21673,6 +21683,31 @@ class ConversationsApi {
21673
21683
  );
21674
21684
  }
21675
21685
 
21686
+ /**
21687
+ * Creates a cobrowse session
21688
+ *
21689
+ * @param {String} conversationId Conversation ID
21690
+ */
21691
+ postConversationCobrowse(conversationId) {
21692
+ // verify the required parameter 'conversationId' is set
21693
+ if (conversationId === undefined || conversationId === null) {
21694
+ throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
21695
+ }
21696
+
21697
+ return this.apiClient.callApi(
21698
+ '/api/v2/conversations/{conversationId}/cobrowse',
21699
+ 'POST',
21700
+ { 'conversationId': conversationId },
21701
+ { },
21702
+ { },
21703
+ { },
21704
+ null,
21705
+ ['PureCloud OAuth'],
21706
+ ['application/json'],
21707
+ ['application/json']
21708
+ );
21709
+ }
21710
+
21676
21711
  /**
21677
21712
  * 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.
21678
21713
  *
@@ -23509,7 +23544,7 @@ class DataExtensionsApi {
23509
23544
  /**
23510
23545
  * DataExtensions service.
23511
23546
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23512
- * @version 157.0.0
23547
+ * @version 158.0.0
23513
23548
  */
23514
23549
 
23515
23550
  /**
@@ -23595,7 +23630,7 @@ class DownloadsApi {
23595
23630
  /**
23596
23631
  * Downloads service.
23597
23632
  * @module purecloud-platform-client-v2/api/DownloadsApi
23598
- * @version 157.0.0
23633
+ * @version 158.0.0
23599
23634
  */
23600
23635
 
23601
23636
  /**
@@ -23647,7 +23682,7 @@ class EventsApi {
23647
23682
  /**
23648
23683
  * Events service.
23649
23684
  * @module purecloud-platform-client-v2/api/EventsApi
23650
- * @version 157.0.0
23685
+ * @version 158.0.0
23651
23686
  */
23652
23687
 
23653
23688
  /**
@@ -23743,7 +23778,7 @@ class ExternalContactsApi {
23743
23778
  /**
23744
23779
  * ExternalContacts service.
23745
23780
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23746
- * @version 157.0.0
23781
+ * @version 158.0.0
23747
23782
  */
23748
23783
 
23749
23784
  /**
@@ -25701,7 +25736,7 @@ class FaxApi {
25701
25736
  /**
25702
25737
  * Fax service.
25703
25738
  * @module purecloud-platform-client-v2/api/FaxApi
25704
- * @version 157.0.0
25739
+ * @version 158.0.0
25705
25740
  */
25706
25741
 
25707
25742
  /**
@@ -25872,7 +25907,7 @@ class FlowsApi {
25872
25907
  /**
25873
25908
  * Flows service.
25874
25909
  * @module purecloud-platform-client-v2/api/FlowsApi
25875
- * @version 157.0.0
25910
+ * @version 158.0.0
25876
25911
  */
25877
25912
 
25878
25913
  /**
@@ -25943,7 +25978,7 @@ class GamificationApi {
25943
25978
  /**
25944
25979
  * Gamification service.
25945
25980
  * @module purecloud-platform-client-v2/api/GamificationApi
25946
- * @version 157.0.0
25981
+ * @version 158.0.0
25947
25982
  */
25948
25983
 
25949
25984
  /**
@@ -27560,7 +27595,7 @@ class GeneralDataProtectionRegulationApi {
27560
27595
  /**
27561
27596
  * GeneralDataProtectionRegulation service.
27562
27597
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27563
- * @version 157.0.0
27598
+ * @version 158.0.0
27564
27599
  */
27565
27600
 
27566
27601
  /**
@@ -27690,7 +27725,7 @@ class GeolocationApi {
27690
27725
  /**
27691
27726
  * Geolocation service.
27692
27727
  * @module purecloud-platform-client-v2/api/GeolocationApi
27693
- * @version 157.0.0
27728
+ * @version 158.0.0
27694
27729
  */
27695
27730
 
27696
27731
  /**
@@ -27821,7 +27856,7 @@ class GreetingsApi {
27821
27856
  /**
27822
27857
  * Greetings service.
27823
27858
  * @module purecloud-platform-client-v2/api/GreetingsApi
27824
- * @version 157.0.0
27859
+ * @version 158.0.0
27825
27860
  */
27826
27861
 
27827
27862
  /**
@@ -28276,7 +28311,7 @@ class GroupsApi {
28276
28311
  /**
28277
28312
  * Groups service.
28278
28313
  * @module purecloud-platform-client-v2/api/GroupsApi
28279
- * @version 157.0.0
28314
+ * @version 158.0.0
28280
28315
  */
28281
28316
 
28282
28317
  /**
@@ -28682,7 +28717,7 @@ class IdentityProviderApi {
28682
28717
  /**
28683
28718
  * IdentityProvider service.
28684
28719
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28685
- * @version 157.0.0
28720
+ * @version 158.0.0
28686
28721
  */
28687
28722
 
28688
28723
  /**
@@ -29438,7 +29473,7 @@ class IntegrationsApi {
29438
29473
  /**
29439
29474
  * Integrations service.
29440
29475
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29441
- * @version 157.0.0
29476
+ * @version 158.0.0
29442
29477
  */
29443
29478
 
29444
29479
  /**
@@ -31038,7 +31073,7 @@ class JourneyApi {
31038
31073
  /**
31039
31074
  * Journey service.
31040
31075
  * @module purecloud-platform-client-v2/api/JourneyApi
31041
- * @version 157.0.0
31076
+ * @version 158.0.0
31042
31077
  */
31043
31078
 
31044
31079
  /**
@@ -31824,7 +31859,7 @@ class KnowledgeApi {
31824
31859
  /**
31825
31860
  * Knowledge service.
31826
31861
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31827
- * @version 157.0.0
31862
+ * @version 158.0.0
31828
31863
  */
31829
31864
 
31830
31865
  /**
@@ -34257,7 +34292,7 @@ class LanguageUnderstandingApi {
34257
34292
  /**
34258
34293
  * LanguageUnderstanding service.
34259
34294
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34260
- * @version 157.0.0
34295
+ * @version 158.0.0
34261
34296
  */
34262
34297
 
34263
34298
  /**
@@ -34451,6 +34486,7 @@ class LanguageUnderstandingApi {
34451
34486
  * @param {Number} opts.pageNumber Page number (default to 1)
34452
34487
  * @param {Number} opts.pageSize Page size (default to 25)
34453
34488
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
34489
+ * @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
34454
34490
  * @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
34455
34491
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
34456
34492
  */
@@ -34466,7 +34502,7 @@ class LanguageUnderstandingApi {
34466
34502
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
34467
34503
  'GET',
34468
34504
  { 'domainId': domainId },
34469
- { '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') },
34505
+ { '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') },
34470
34506
  { },
34471
34507
  { },
34472
34508
  null,
@@ -35269,7 +35305,7 @@ class LanguagesApi {
35269
35305
  /**
35270
35306
  * Languages service.
35271
35307
  * @module purecloud-platform-client-v2/api/LanguagesApi
35272
- * @version 157.0.0
35308
+ * @version 158.0.0
35273
35309
  */
35274
35310
 
35275
35311
  /**
@@ -35487,7 +35523,7 @@ class LearningApi {
35487
35523
  /**
35488
35524
  * Learning service.
35489
35525
  * @module purecloud-platform-client-v2/api/LearningApi
35490
- * @version 157.0.0
35526
+ * @version 158.0.0
35491
35527
  */
35492
35528
 
35493
35529
  /**
@@ -35597,7 +35633,7 @@ class LearningApi {
35597
35633
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
35598
35634
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
35599
35635
  * @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
35600
- * @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
35636
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
35601
35637
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
35602
35638
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
35603
35639
  */
@@ -35634,7 +35670,7 @@ class LearningApi {
35634
35670
  * @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
35635
35671
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
35636
35672
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
35637
- * @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
35673
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
35638
35674
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
35639
35675
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
35640
35676
  */
@@ -36248,7 +36284,7 @@ class LicenseApi {
36248
36284
  /**
36249
36285
  * License service.
36250
36286
  * @module purecloud-platform-client-v2/api/LicenseApi
36251
- * @version 157.0.0
36287
+ * @version 158.0.0
36252
36288
  */
36253
36289
 
36254
36290
  /**
@@ -36486,7 +36522,7 @@ class LocationsApi {
36486
36522
  /**
36487
36523
  * Locations service.
36488
36524
  * @module purecloud-platform-client-v2/api/LocationsApi
36489
- * @version 157.0.0
36525
+ * @version 158.0.0
36490
36526
  */
36491
36527
 
36492
36528
  /**
@@ -36722,7 +36758,7 @@ class MessagingApi {
36722
36758
  /**
36723
36759
  * Messaging service.
36724
36760
  * @module purecloud-platform-client-v2/api/MessagingApi
36725
- * @version 157.0.0
36761
+ * @version 158.0.0
36726
36762
  */
36727
36763
 
36728
36764
  /**
@@ -36873,7 +36909,7 @@ class MobileDevicesApi {
36873
36909
  /**
36874
36910
  * MobileDevices service.
36875
36911
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
36876
- * @version 157.0.0
36912
+ * @version 158.0.0
36877
36913
  */
36878
36914
 
36879
36915
  /**
@@ -37024,7 +37060,7 @@ class NotificationsApi {
37024
37060
  /**
37025
37061
  * Notifications service.
37026
37062
  * @module purecloud-platform-client-v2/api/NotificationsApi
37027
- * @version 157.0.0
37063
+ * @version 158.0.0
37028
37064
  */
37029
37065
 
37030
37066
  /**
@@ -37249,7 +37285,7 @@ class OAuthApi {
37249
37285
  /**
37250
37286
  * OAuth service.
37251
37287
  * @module purecloud-platform-client-v2/api/OAuthApi
37252
- * @version 157.0.0
37288
+ * @version 158.0.0
37253
37289
  */
37254
37290
 
37255
37291
  /**
@@ -37615,7 +37651,7 @@ class ObjectsApi {
37615
37651
  /**
37616
37652
  * Objects service.
37617
37653
  * @module purecloud-platform-client-v2/api/ObjectsApi
37618
- * @version 157.0.0
37654
+ * @version 158.0.0
37619
37655
  */
37620
37656
 
37621
37657
  /**
@@ -37886,7 +37922,7 @@ class OrganizationApi {
37886
37922
  /**
37887
37923
  * Organization service.
37888
37924
  * @module purecloud-platform-client-v2/api/OrganizationApi
37889
- * @version 157.0.0
37925
+ * @version 158.0.0
37890
37926
  */
37891
37927
 
37892
37928
  /**
@@ -38289,7 +38325,7 @@ class OrganizationAuthorizationApi {
38289
38325
  /**
38290
38326
  * OrganizationAuthorization service.
38291
38327
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
38292
- * @version 157.0.0
38328
+ * @version 158.0.0
38293
38329
  */
38294
38330
 
38295
38331
  /**
@@ -38359,6 +38395,66 @@ class OrganizationAuthorizationApi {
38359
38395
  );
38360
38396
  }
38361
38397
 
38398
+ /**
38399
+ * Delete Trustee Group
38400
+ *
38401
+ * @param {String} trusteeOrgId Trustee Organization Id
38402
+ * @param {String} trusteeGroupId Trustee Group Id
38403
+ */
38404
+ deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
38405
+ // verify the required parameter 'trusteeOrgId' is set
38406
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
38407
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
38408
+ }
38409
+ // verify the required parameter 'trusteeGroupId' is set
38410
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
38411
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
38412
+ }
38413
+
38414
+ return this.apiClient.callApi(
38415
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
38416
+ 'DELETE',
38417
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
38418
+ { },
38419
+ { },
38420
+ { },
38421
+ null,
38422
+ ['PureCloud OAuth'],
38423
+ ['application/json'],
38424
+ ['application/json']
38425
+ );
38426
+ }
38427
+
38428
+ /**
38429
+ * Delete Trustee Group Roles
38430
+ *
38431
+ * @param {String} trusteeOrgId Trustee Organization Id
38432
+ * @param {String} trusteeGroupId Trustee Group Id
38433
+ */
38434
+ deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
38435
+ // verify the required parameter 'trusteeOrgId' is set
38436
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
38437
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
38438
+ }
38439
+ // verify the required parameter 'trusteeGroupId' is set
38440
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
38441
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
38442
+ }
38443
+
38444
+ return this.apiClient.callApi(
38445
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
38446
+ 'DELETE',
38447
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
38448
+ { },
38449
+ { },
38450
+ { },
38451
+ null,
38452
+ ['PureCloud OAuth'],
38453
+ ['application/json'],
38454
+ ['application/json']
38455
+ );
38456
+ }
38457
+
38362
38458
  /**
38363
38459
  * Delete Trustee User
38364
38460
  *
@@ -38474,6 +38570,36 @@ class OrganizationAuthorizationApi {
38474
38570
  );
38475
38571
  }
38476
38572
 
38573
+ /**
38574
+ * Delete Trustee Group
38575
+ *
38576
+ * @param {String} trustorOrgId Trustor Organization Id
38577
+ * @param {String} trustorGroupId Trustor Group Id
38578
+ */
38579
+ deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
38580
+ // verify the required parameter 'trustorOrgId' is set
38581
+ if (trustorOrgId === undefined || trustorOrgId === null) {
38582
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
38583
+ }
38584
+ // verify the required parameter 'trustorGroupId' is set
38585
+ if (trustorGroupId === undefined || trustorGroupId === null) {
38586
+ throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
38587
+ }
38588
+
38589
+ return this.apiClient.callApi(
38590
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
38591
+ 'DELETE',
38592
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
38593
+ { },
38594
+ { },
38595
+ { },
38596
+ null,
38597
+ ['PureCloud OAuth'],
38598
+ ['application/json'],
38599
+ ['application/json']
38600
+ );
38601
+ }
38602
+
38477
38603
  /**
38478
38604
  * Delete Trustee User
38479
38605
  *
@@ -38579,6 +38705,96 @@ class OrganizationAuthorizationApi {
38579
38705
  );
38580
38706
  }
38581
38707
 
38708
+ /**
38709
+ * Get Trustee Group
38710
+ *
38711
+ * @param {String} trusteeOrgId Trustee Organization Id
38712
+ * @param {String} trusteeGroupId Trustee Group Id
38713
+ */
38714
+ getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
38715
+ // verify the required parameter 'trusteeOrgId' is set
38716
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
38717
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
38718
+ }
38719
+ // verify the required parameter 'trusteeGroupId' is set
38720
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
38721
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
38722
+ }
38723
+
38724
+ return this.apiClient.callApi(
38725
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
38726
+ 'GET',
38727
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
38728
+ { },
38729
+ { },
38730
+ { },
38731
+ null,
38732
+ ['PureCloud OAuth'],
38733
+ ['application/json'],
38734
+ ['application/json']
38735
+ );
38736
+ }
38737
+
38738
+ /**
38739
+ * Get Trustee Group Roles
38740
+ *
38741
+ * @param {String} trusteeOrgId Trustee Organization Id
38742
+ * @param {String} trusteeGroupId Trustee Group Id
38743
+ */
38744
+ getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
38745
+ // verify the required parameter 'trusteeOrgId' is set
38746
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
38747
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
38748
+ }
38749
+ // verify the required parameter 'trusteeGroupId' is set
38750
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
38751
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
38752
+ }
38753
+
38754
+ return this.apiClient.callApi(
38755
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
38756
+ 'GET',
38757
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
38758
+ { },
38759
+ { },
38760
+ { },
38761
+ null,
38762
+ ['PureCloud OAuth'],
38763
+ ['application/json'],
38764
+ ['application/json']
38765
+ );
38766
+ }
38767
+
38768
+ /**
38769
+ * The list of trustee groups for this organization (i.e. groups granted access to this organization).
38770
+ *
38771
+ * @param {String} trusteeOrgId Trustee Organization Id
38772
+ * @param {Object} opts Optional parameters
38773
+ * @param {Number} opts.pageSize Page size (default to 25)
38774
+ * @param {Number} opts.pageNumber Page number (default to 1)
38775
+ */
38776
+ getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
38777
+ opts = opts || {};
38778
+
38779
+ // verify the required parameter 'trusteeOrgId' is set
38780
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
38781
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
38782
+ }
38783
+
38784
+ return this.apiClient.callApi(
38785
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
38786
+ 'GET',
38787
+ { 'trusteeOrgId': trusteeOrgId },
38788
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
38789
+ { },
38790
+ { },
38791
+ null,
38792
+ ['PureCloud OAuth'],
38793
+ ['application/json'],
38794
+ ['application/json']
38795
+ );
38796
+ }
38797
+
38582
38798
  /**
38583
38799
  * Get Trustee User
38584
38800
  *
@@ -38794,6 +39010,66 @@ class OrganizationAuthorizationApi {
38794
39010
  );
38795
39011
  }
38796
39012
 
39013
+ /**
39014
+ * Get Trustee Group
39015
+ *
39016
+ * @param {String} trustorOrgId Trustor Organization Id
39017
+ * @param {String} trustorGroupId Trustor Group Id
39018
+ */
39019
+ getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
39020
+ // verify the required parameter 'trustorOrgId' is set
39021
+ if (trustorOrgId === undefined || trustorOrgId === null) {
39022
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
39023
+ }
39024
+ // verify the required parameter 'trustorGroupId' is set
39025
+ if (trustorGroupId === undefined || trustorGroupId === null) {
39026
+ throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
39027
+ }
39028
+
39029
+ return this.apiClient.callApi(
39030
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
39031
+ 'GET',
39032
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
39033
+ { },
39034
+ { },
39035
+ { },
39036
+ null,
39037
+ ['PureCloud OAuth'],
39038
+ ['application/json'],
39039
+ ['application/json']
39040
+ );
39041
+ }
39042
+
39043
+ /**
39044
+ * The list of groups in the trustor organization (i.e. groups granted access).
39045
+ *
39046
+ * @param {String} trustorOrgId Trustee Organization Id
39047
+ * @param {Object} opts Optional parameters
39048
+ * @param {Number} opts.pageSize Page size (default to 25)
39049
+ * @param {Number} opts.pageNumber Page number (default to 1)
39050
+ */
39051
+ getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
39052
+ opts = opts || {};
39053
+
39054
+ // verify the required parameter 'trustorOrgId' is set
39055
+ if (trustorOrgId === undefined || trustorOrgId === null) {
39056
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
39057
+ }
39058
+
39059
+ return this.apiClient.callApi(
39060
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
39061
+ 'GET',
39062
+ { 'trustorOrgId': trustorOrgId },
39063
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
39064
+ { },
39065
+ { },
39066
+ null,
39067
+ ['PureCloud OAuth'],
39068
+ ['application/json'],
39069
+ ['application/json']
39070
+ );
39071
+ }
39072
+
38797
39073
  /**
38798
39074
  * Get Trustee User
38799
39075
  *
@@ -38904,6 +39180,36 @@ class OrganizationAuthorizationApi {
38904
39180
  );
38905
39181
  }
38906
39182
 
39183
+ /**
39184
+ * Add a group to the trust.
39185
+ *
39186
+ * @param {String} trusteeOrgId Trustee Organization Id
39187
+ * @param {Object} body Trust
39188
+ */
39189
+ postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
39190
+ // verify the required parameter 'trusteeOrgId' is set
39191
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
39192
+ throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
39193
+ }
39194
+ // verify the required parameter 'body' is set
39195
+ if (body === undefined || body === null) {
39196
+ throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
39197
+ }
39198
+
39199
+ return this.apiClient.callApi(
39200
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
39201
+ 'POST',
39202
+ { 'trusteeOrgId': trusteeOrgId },
39203
+ { },
39204
+ { },
39205
+ { },
39206
+ body,
39207
+ ['PureCloud OAuth'],
39208
+ ['application/json'],
39209
+ ['application/json']
39210
+ );
39211
+ }
39212
+
38907
39213
  /**
38908
39214
  * Add a user to the trust.
38909
39215
  *
@@ -39078,6 +39384,76 @@ class OrganizationAuthorizationApi {
39078
39384
  );
39079
39385
  }
39080
39386
 
39387
+ /**
39388
+ * Update Trustee Group Roles
39389
+ *
39390
+ * @param {String} trusteeOrgId Trustee Organization Id
39391
+ * @param {String} trusteeGroupId Trustee Group Id
39392
+ * @param {Object} body Set of roles with corresponding divisions to apply
39393
+ */
39394
+ putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
39395
+ // verify the required parameter 'trusteeOrgId' is set
39396
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
39397
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
39398
+ }
39399
+ // verify the required parameter 'trusteeGroupId' is set
39400
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
39401
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
39402
+ }
39403
+ // verify the required parameter 'body' is set
39404
+ if (body === undefined || body === null) {
39405
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
39406
+ }
39407
+
39408
+ return this.apiClient.callApi(
39409
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
39410
+ 'PUT',
39411
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
39412
+ { },
39413
+ { },
39414
+ { },
39415
+ body,
39416
+ ['PureCloud OAuth'],
39417
+ ['application/json'],
39418
+ ['application/json']
39419
+ );
39420
+ }
39421
+
39422
+ /**
39423
+ * Update Trustee Group Roles
39424
+ *
39425
+ * @param {String} trusteeOrgId Trustee Organization Id
39426
+ * @param {String} trusteeGroupId Trustee Group Id
39427
+ * @param {Array.<String>} body List of roles
39428
+ */
39429
+ putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
39430
+ // verify the required parameter 'trusteeOrgId' is set
39431
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
39432
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
39433
+ }
39434
+ // verify the required parameter 'trusteeGroupId' is set
39435
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
39436
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
39437
+ }
39438
+ // verify the required parameter 'body' is set
39439
+ if (body === undefined || body === null) {
39440
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
39441
+ }
39442
+
39443
+ return this.apiClient.callApi(
39444
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
39445
+ 'PUT',
39446
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
39447
+ { },
39448
+ { },
39449
+ { },
39450
+ body,
39451
+ ['PureCloud OAuth'],
39452
+ ['application/json'],
39453
+ ['application/json']
39454
+ );
39455
+ }
39456
+
39081
39457
  /**
39082
39458
  * Update Trustee User Roles
39083
39459
  *
@@ -39178,6 +39554,36 @@ class OrganizationAuthorizationApi {
39178
39554
  );
39179
39555
  }
39180
39556
 
39557
+ /**
39558
+ * Add a Trustee Group to the trust.
39559
+ *
39560
+ * @param {String} trustorOrgId Trustor Organization Id
39561
+ * @param {String} trustorGroupId Trustor Group Id
39562
+ */
39563
+ putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
39564
+ // verify the required parameter 'trustorOrgId' is set
39565
+ if (trustorOrgId === undefined || trustorOrgId === null) {
39566
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
39567
+ }
39568
+ // verify the required parameter 'trustorGroupId' is set
39569
+ if (trustorGroupId === undefined || trustorGroupId === null) {
39570
+ throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
39571
+ }
39572
+
39573
+ return this.apiClient.callApi(
39574
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
39575
+ 'PUT',
39576
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
39577
+ { },
39578
+ { },
39579
+ { },
39580
+ null,
39581
+ ['PureCloud OAuth'],
39582
+ ['application/json'],
39583
+ ['application/json']
39584
+ );
39585
+ }
39586
+
39181
39587
  /**
39182
39588
  * Add a Trustee user to the trust.
39183
39589
  *
@@ -39214,7 +39620,7 @@ class OutboundApi {
39214
39620
  /**
39215
39621
  * Outbound service.
39216
39622
  * @module purecloud-platform-client-v2/api/OutboundApi
39217
- * @version 157.0.0
39623
+ * @version 158.0.0
39218
39624
  */
39219
39625
 
39220
39626
  /**
@@ -42751,7 +43157,7 @@ class PresenceApi {
42751
43157
  /**
42752
43158
  * Presence service.
42753
43159
  * @module purecloud-platform-client-v2/api/PresenceApi
42754
- * @version 157.0.0
43160
+ * @version 158.0.0
42755
43161
  */
42756
43162
 
42757
43163
  /**
@@ -43257,7 +43663,7 @@ class ProcessAutomationApi {
43257
43663
  /**
43258
43664
  * ProcessAutomation service.
43259
43665
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
43260
- * @version 157.0.0
43666
+ * @version 158.0.0
43261
43667
  */
43262
43668
 
43263
43669
  /**
@@ -43496,7 +43902,7 @@ class QualityApi {
43496
43902
  /**
43497
43903
  * Quality service.
43498
43904
  * @module purecloud-platform-client-v2/api/QualityApi
43499
- * @version 157.0.0
43905
+ * @version 158.0.0
43500
43906
  */
43501
43907
 
43502
43908
  /**
@@ -45074,7 +45480,7 @@ class RecordingApi {
45074
45480
  /**
45075
45481
  * Recording service.
45076
45482
  * @module purecloud-platform-client-v2/api/RecordingApi
45077
- * @version 157.0.0
45483
+ * @version 158.0.0
45078
45484
  */
45079
45485
 
45080
45486
  /**
@@ -46811,7 +47217,7 @@ class ResponseManagementApi {
46811
47217
  /**
46812
47218
  * ResponseManagement service.
46813
47219
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
46814
- * @version 157.0.0
47220
+ * @version 158.0.0
46815
47221
  */
46816
47222
 
46817
47223
  /**
@@ -47295,7 +47701,7 @@ class RoutingApi {
47295
47701
  /**
47296
47702
  * Routing service.
47297
47703
  * @module purecloud-platform-client-v2/api/RoutingApi
47298
- * @version 157.0.0
47704
+ * @version 158.0.0
47299
47705
  */
47300
47706
 
47301
47707
  /**
@@ -50760,7 +51166,7 @@ class SCIMApi {
50760
51166
  /**
50761
51167
  * SCIM service.
50762
51168
  * @module purecloud-platform-client-v2/api/SCIMApi
50763
- * @version 157.0.0
51169
+ * @version 158.0.0
50764
51170
  */
50765
51171
 
50766
51172
  /**
@@ -51637,7 +52043,7 @@ class ScriptsApi {
51637
52043
  /**
51638
52044
  * Scripts service.
51639
52045
  * @module purecloud-platform-client-v2/api/ScriptsApi
51640
- * @version 157.0.0
52046
+ * @version 158.0.0
51641
52047
  */
51642
52048
 
51643
52049
  /**
@@ -52056,7 +52462,7 @@ class SearchApi {
52056
52462
  /**
52057
52463
  * Search service.
52058
52464
  * @module purecloud-platform-client-v2/api/SearchApi
52059
- * @version 157.0.0
52465
+ * @version 158.0.0
52060
52466
  */
52061
52467
 
52062
52468
  /**
@@ -52641,7 +53047,7 @@ class SpeechTextAnalyticsApi {
52641
53047
  /**
52642
53048
  * SpeechTextAnalytics service.
52643
53049
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
52644
- * @version 157.0.0
53050
+ * @version 158.0.0
52645
53051
  */
52646
53052
 
52647
53053
  /**
@@ -53495,7 +53901,7 @@ class StationsApi {
53495
53901
  /**
53496
53902
  * Stations service.
53497
53903
  * @module purecloud-platform-client-v2/api/StationsApi
53498
- * @version 157.0.0
53904
+ * @version 158.0.0
53499
53905
  */
53500
53906
 
53501
53907
  /**
@@ -53593,7 +53999,7 @@ class StationsApi {
53593
53999
 
53594
54000
  /**
53595
54001
  * Get an organization's StationSettings
53596
- *
54002
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
53597
54003
  */
53598
54004
  getStationsSettings() {
53599
54005
 
@@ -53613,7 +54019,7 @@ class StationsApi {
53613
54019
 
53614
54020
  /**
53615
54021
  * Patch an organization's StationSettings
53616
- *
54022
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
53617
54023
  * @param {Object} body Station settings
53618
54024
  */
53619
54025
  patchStationsSettings(body) {
@@ -53642,7 +54048,7 @@ class SuggestApi {
53642
54048
  /**
53643
54049
  * Suggest service.
53644
54050
  * @module purecloud-platform-client-v2/api/SuggestApi
53645
- * @version 157.0.0
54051
+ * @version 158.0.0
53646
54052
  */
53647
54053
 
53648
54054
  /**
@@ -53781,7 +54187,7 @@ class TeamsApi {
53781
54187
  /**
53782
54188
  * Teams service.
53783
54189
  * @module purecloud-platform-client-v2/api/TeamsApi
53784
- * @version 157.0.0
54190
+ * @version 158.0.0
53785
54191
  */
53786
54192
 
53787
54193
  /**
@@ -54052,7 +54458,7 @@ class TelephonyApi {
54052
54458
  /**
54053
54459
  * Telephony service.
54054
54460
  * @module purecloud-platform-client-v2/api/TelephonyApi
54055
- * @version 157.0.0
54461
+ * @version 158.0.0
54056
54462
  */
54057
54463
 
54058
54464
  /**
@@ -54180,7 +54586,7 @@ class TelephonyProvidersEdgeApi {
54180
54586
  /**
54181
54587
  * TelephonyProvidersEdge service.
54182
54588
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
54183
- * @version 157.0.0
54589
+ * @version 158.0.0
54184
54590
  */
54185
54591
 
54186
54592
  /**
@@ -57813,7 +58219,7 @@ class TextbotsApi {
57813
58219
  /**
57814
58220
  * Textbots service.
57815
58221
  * @module purecloud-platform-client-v2/api/TextbotsApi
57816
- * @version 157.0.0
58222
+ * @version 158.0.0
57817
58223
  */
57818
58224
 
57819
58225
  /**
@@ -57941,7 +58347,7 @@ class TokensApi {
57941
58347
  /**
57942
58348
  * Tokens service.
57943
58349
  * @module purecloud-platform-client-v2/api/TokensApi
57944
- * @version 157.0.0
58350
+ * @version 158.0.0
57945
58351
  */
57946
58352
 
57947
58353
  /**
@@ -58047,7 +58453,7 @@ class UploadsApi {
58047
58453
  /**
58048
58454
  * Uploads service.
58049
58455
  * @module purecloud-platform-client-v2/api/UploadsApi
58050
- * @version 157.0.0
58456
+ * @version 158.0.0
58051
58457
  */
58052
58458
 
58053
58459
  /**
@@ -58223,7 +58629,7 @@ class UsageApi {
58223
58629
  /**
58224
58630
  * Usage service.
58225
58631
  * @module purecloud-platform-client-v2/api/UsageApi
58226
- * @version 157.0.0
58632
+ * @version 158.0.0
58227
58633
  */
58228
58634
 
58229
58635
  /**
@@ -58294,7 +58700,7 @@ class UserRecordingsApi {
58294
58700
  /**
58295
58701
  * UserRecordings service.
58296
58702
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
58297
- * @version 157.0.0
58703
+ * @version 158.0.0
58298
58704
  */
58299
58705
 
58300
58706
  /**
@@ -58479,7 +58885,7 @@ class UsersApi {
58479
58885
  /**
58480
58886
  * Users service.
58481
58887
  * @module purecloud-platform-client-v2/api/UsersApi
58482
- * @version 157.0.0
58888
+ * @version 158.0.0
58483
58889
  */
58484
58890
 
58485
58891
  /**
@@ -60836,7 +61242,7 @@ class UtilitiesApi {
60836
61242
  /**
60837
61243
  * Utilities service.
60838
61244
  * @module purecloud-platform-client-v2/api/UtilitiesApi
60839
- * @version 157.0.0
61245
+ * @version 158.0.0
60840
61246
  */
60841
61247
 
60842
61248
  /**
@@ -60947,7 +61353,7 @@ class VoicemailApi {
60947
61353
  /**
60948
61354
  * Voicemail service.
60949
61355
  * @module purecloud-platform-client-v2/api/VoicemailApi
60950
- * @version 157.0.0
61356
+ * @version 158.0.0
60951
61357
  */
60952
61358
 
60953
61359
  /**
@@ -61614,7 +62020,7 @@ class WebChatApi {
61614
62020
  /**
61615
62021
  * WebChat service.
61616
62022
  * @module purecloud-platform-client-v2/api/WebChatApi
61617
- * @version 157.0.0
62023
+ * @version 158.0.0
61618
62024
  */
61619
62025
 
61620
62026
  /**
@@ -62158,7 +62564,7 @@ class WebDeploymentsApi {
62158
62564
  /**
62159
62565
  * WebDeployments service.
62160
62566
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
62161
- * @version 157.0.0
62567
+ * @version 158.0.0
62162
62568
  */
62163
62569
 
62164
62570
  /**
@@ -62223,6 +62629,36 @@ class WebDeploymentsApi {
62223
62629
  );
62224
62630
  }
62225
62631
 
62632
+ /**
62633
+ * Deletes a cobrowse session
62634
+ *
62635
+ * @param {String} deploymentId WebMessaging deployment ID
62636
+ * @param {String} sessionId Cobrowse session id or join code
62637
+ */
62638
+ deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
62639
+ // verify the required parameter 'deploymentId' is set
62640
+ if (deploymentId === undefined || deploymentId === null) {
62641
+ throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
62642
+ }
62643
+ // verify the required parameter 'sessionId' is set
62644
+ if (sessionId === undefined || sessionId === null) {
62645
+ throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
62646
+ }
62647
+
62648
+ return this.apiClient.callApi(
62649
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
62650
+ 'DELETE',
62651
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
62652
+ { },
62653
+ { },
62654
+ { },
62655
+ null,
62656
+ ['PureCloud OAuth'],
62657
+ ['application/json'],
62658
+ ['application/json']
62659
+ );
62660
+ }
62661
+
62226
62662
  /**
62227
62663
  * Invalidate JWT
62228
62664
  *
@@ -62377,6 +62813,36 @@ class WebDeploymentsApi {
62377
62813
  );
62378
62814
  }
62379
62815
 
62816
+ /**
62817
+ * Retrieves a cobrowse session
62818
+ *
62819
+ * @param {String} deploymentId WebMessaging deployment ID
62820
+ * @param {String} sessionId Cobrowse session id or join code
62821
+ */
62822
+ getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
62823
+ // verify the required parameter 'deploymentId' is set
62824
+ if (deploymentId === undefined || deploymentId === null) {
62825
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
62826
+ }
62827
+ // verify the required parameter 'sessionId' is set
62828
+ if (sessionId === undefined || sessionId === null) {
62829
+ throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
62830
+ }
62831
+
62832
+ return this.apiClient.callApi(
62833
+ '/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}',
62834
+ 'GET',
62835
+ { 'deploymentId': deploymentId,'sessionId': sessionId },
62836
+ { },
62837
+ { },
62838
+ { },
62839
+ null,
62840
+ ['PureCloud OAuth'],
62841
+ ['application/json'],
62842
+ ['application/json']
62843
+ );
62844
+ }
62845
+
62380
62846
  /**
62381
62847
  * Get active configuration for a given deployment
62382
62848
  *
@@ -62620,7 +63086,7 @@ class WebMessagingApi {
62620
63086
  /**
62621
63087
  * WebMessaging service.
62622
63088
  * @module purecloud-platform-client-v2/api/WebMessagingApi
62623
- * @version 157.0.0
63089
+ * @version 158.0.0
62624
63090
  */
62625
63091
 
62626
63092
  /**
@@ -62666,7 +63132,7 @@ class WidgetsApi {
62666
63132
  /**
62667
63133
  * Widgets service.
62668
63134
  * @module purecloud-platform-client-v2/api/WidgetsApi
62669
- * @version 157.0.0
63135
+ * @version 158.0.0
62670
63136
  */
62671
63137
 
62672
63138
  /**
@@ -62812,7 +63278,7 @@ class WorkforceManagementApi {
62812
63278
  /**
62813
63279
  * WorkforceManagement service.
62814
63280
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
62815
- * @version 157.0.0
63281
+ * @version 158.0.0
62816
63282
  */
62817
63283
 
62818
63284
  /**
@@ -67531,7 +67997,7 @@ class WorkforceManagementApi {
67531
67997
  * </pre>
67532
67998
  * </p>
67533
67999
  * @module purecloud-platform-client-v2/index
67534
- * @version 157.0.0
68000
+ * @version 158.0.0
67535
68001
  */
67536
68002
  class platformClient {
67537
68003
  constructor() {