purecloud-platform-client-v2 150.0.0 → 151.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 +351 -73
  3. package/dist/web-amd/purecloud-platform-client-v2.js +351 -73
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +351 -73
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +351 -73
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +297 -201
  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 +36 -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 +32 -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 +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  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 +1 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
  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 +26 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +93 -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 +26 -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 +1 -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 +71 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -9307,7 +9307,7 @@ class Configuration {
9307
9307
 
9308
9308
  /**
9309
9309
  * @module purecloud-platform-client-v2/ApiClient
9310
- * @version 150.0.0
9310
+ * @version 151.0.0
9311
9311
  */
9312
9312
  class ApiClient {
9313
9313
  /**
@@ -10379,7 +10379,7 @@ class AlertingApi {
10379
10379
  /**
10380
10380
  * Alerting service.
10381
10381
  * @module purecloud-platform-client-v2/api/AlertingApi
10382
- * @version 150.0.0
10382
+ * @version 151.0.0
10383
10383
  */
10384
10384
 
10385
10385
  /**
@@ -10693,7 +10693,7 @@ class AnalyticsApi {
10693
10693
  /**
10694
10694
  * Analytics service.
10695
10695
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10696
- * @version 150.0.0
10696
+ * @version 151.0.0
10697
10697
  */
10698
10698
 
10699
10699
  /**
@@ -11920,7 +11920,7 @@ class ArchitectApi {
11920
11920
  /**
11921
11921
  * Architect service.
11922
11922
  * @module purecloud-platform-client-v2/api/ArchitectApi
11923
- * @version 150.0.0
11923
+ * @version 151.0.0
11924
11924
  */
11925
11925
 
11926
11926
  /**
@@ -14966,7 +14966,7 @@ class AuditApi {
14966
14966
  /**
14967
14967
  * Audit service.
14968
14968
  * @module purecloud-platform-client-v2/api/AuditApi
14969
- * @version 150.0.0
14969
+ * @version 151.0.0
14970
14970
  */
14971
14971
 
14972
14972
  /**
@@ -15137,7 +15137,7 @@ class AuthorizationApi {
15137
15137
  /**
15138
15138
  * Authorization service.
15139
15139
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15140
- * @version 150.0.0
15140
+ * @version 151.0.0
15141
15141
  */
15142
15142
 
15143
15143
  /**
@@ -16320,7 +16320,7 @@ class BillingApi {
16320
16320
  /**
16321
16321
  * Billing service.
16322
16322
  * @module purecloud-platform-client-v2/api/BillingApi
16323
- * @version 150.0.0
16323
+ * @version 151.0.0
16324
16324
  */
16325
16325
 
16326
16326
  /**
@@ -16400,7 +16400,7 @@ class ChatApi {
16400
16400
  /**
16401
16401
  * Chat service.
16402
16402
  * @module purecloud-platform-client-v2/api/ChatApi
16403
- * @version 150.0.0
16403
+ * @version 151.0.0
16404
16404
  */
16405
16405
 
16406
16406
  /**
@@ -16491,7 +16491,7 @@ class CoachingApi {
16491
16491
  /**
16492
16492
  * Coaching service.
16493
16493
  * @module purecloud-platform-client-v2/api/CoachingApi
16494
- * @version 150.0.0
16494
+ * @version 151.0.0
16495
16495
  */
16496
16496
 
16497
16497
  /**
@@ -17068,7 +17068,7 @@ class ContentManagementApi {
17068
17068
  /**
17069
17069
  * ContentManagement service.
17070
17070
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17071
- * @version 150.0.0
17071
+ * @version 151.0.0
17072
17072
  */
17073
17073
 
17074
17074
  /**
@@ -18208,7 +18208,7 @@ class ConversationsApi {
18208
18208
  /**
18209
18209
  * Conversations service.
18210
18210
  * @module purecloud-platform-client-v2/api/ConversationsApi
18211
- * @version 150.0.0
18211
+ * @version 151.0.0
18212
18212
  */
18213
18213
 
18214
18214
  /**
@@ -22554,6 +22554,41 @@ class ConversationsApi {
22554
22554
  );
22555
22555
  }
22556
22556
 
22557
+ /**
22558
+ * Send message typing event
22559
+ * Send message typing event for existing conversation/communication.
22560
+ * @param {String} conversationId conversationId
22561
+ * @param {String} communicationId communicationId
22562
+ * @param {Object} body MessageTypingEvent
22563
+ */
22564
+ postConversationsMessageCommunicationTyping(conversationId, communicationId, body) {
22565
+ // verify the required parameter 'conversationId' is set
22566
+ if (conversationId === undefined || conversationId === null) {
22567
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';
22568
+ }
22569
+ // verify the required parameter 'communicationId' is set
22570
+ if (communicationId === undefined || communicationId === null) {
22571
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';
22572
+ }
22573
+ // verify the required parameter 'body' is set
22574
+ if (body === undefined || body === null) {
22575
+ throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationTyping';
22576
+ }
22577
+
22578
+ return this.apiClient.callApi(
22579
+ '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/typing',
22580
+ 'POST',
22581
+ { 'conversationId': conversationId,'communicationId': communicationId },
22582
+ { },
22583
+ { },
22584
+ { },
22585
+ body,
22586
+ ['PureCloud OAuth'],
22587
+ ['application/json'],
22588
+ ['application/json']
22589
+ );
22590
+ }
22591
+
22557
22592
  /**
22558
22593
  * Get messages in batch
22559
22594
  * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
@@ -23390,7 +23425,7 @@ class DataExtensionsApi {
23390
23425
  /**
23391
23426
  * DataExtensions service.
23392
23427
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23393
- * @version 150.0.0
23428
+ * @version 151.0.0
23394
23429
  */
23395
23430
 
23396
23431
  /**
@@ -23476,7 +23511,7 @@ class DownloadsApi {
23476
23511
  /**
23477
23512
  * Downloads service.
23478
23513
  * @module purecloud-platform-client-v2/api/DownloadsApi
23479
- * @version 150.0.0
23514
+ * @version 151.0.0
23480
23515
  */
23481
23516
 
23482
23517
  /**
@@ -23528,7 +23563,7 @@ class EventsApi {
23528
23563
  /**
23529
23564
  * Events service.
23530
23565
  * @module purecloud-platform-client-v2/api/EventsApi
23531
- * @version 150.0.0
23566
+ * @version 151.0.0
23532
23567
  */
23533
23568
 
23534
23569
  /**
@@ -23624,7 +23659,7 @@ class ExternalContactsApi {
23624
23659
  /**
23625
23660
  * ExternalContacts service.
23626
23661
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23627
- * @version 150.0.0
23662
+ * @version 151.0.0
23628
23663
  */
23629
23664
 
23630
23665
  /**
@@ -23878,6 +23913,37 @@ class ExternalContactsApi {
23878
23913
  );
23879
23914
  }
23880
23915
 
23916
+ /**
23917
+ * Retrieve all sessions for a given external contact.
23918
+ *
23919
+ * @param {String} contactId ExternalContact ID
23920
+ * @param {Object} opts Optional parameters
23921
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23922
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
23923
+ * @param {Boolean} opts.includeMerged Indicates whether to return sessions from all external contacts in the merge-set of the given one.
23924
+ */
23925
+ getExternalcontactsContactJourneySessions(contactId, opts) {
23926
+ opts = opts || {};
23927
+
23928
+ // verify the required parameter 'contactId' is set
23929
+ if (contactId === undefined || contactId === null) {
23930
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';
23931
+ }
23932
+
23933
+ return this.apiClient.callApi(
23934
+ '/api/v2/externalcontacts/contacts/{contactId}/journey/sessions',
23935
+ 'GET',
23936
+ { 'contactId': contactId },
23937
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'includeMerged': opts['includeMerged'] },
23938
+ { },
23939
+ { },
23940
+ null,
23941
+ ['PureCloud OAuth'],
23942
+ ['application/json'],
23943
+ ['application/json']
23944
+ );
23945
+ }
23946
+
23881
23947
  /**
23882
23948
  * Fetch a note for an external contact
23883
23949
  *
@@ -25551,7 +25617,7 @@ class FaxApi {
25551
25617
  /**
25552
25618
  * Fax service.
25553
25619
  * @module purecloud-platform-client-v2/api/FaxApi
25554
- * @version 150.0.0
25620
+ * @version 151.0.0
25555
25621
  */
25556
25622
 
25557
25623
  /**
@@ -25722,7 +25788,7 @@ class FlowsApi {
25722
25788
  /**
25723
25789
  * Flows service.
25724
25790
  * @module purecloud-platform-client-v2/api/FlowsApi
25725
- * @version 150.0.0
25791
+ * @version 151.0.0
25726
25792
  */
25727
25793
 
25728
25794
  /**
@@ -25793,7 +25859,7 @@ class GamificationApi {
25793
25859
  /**
25794
25860
  * Gamification service.
25795
25861
  * @module purecloud-platform-client-v2/api/GamificationApi
25796
- * @version 150.0.0
25862
+ * @version 151.0.0
25797
25863
  */
25798
25864
 
25799
25865
  /**
@@ -27474,7 +27540,7 @@ class GeneralDataProtectionRegulationApi {
27474
27540
  /**
27475
27541
  * GeneralDataProtectionRegulation service.
27476
27542
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27477
- * @version 150.0.0
27543
+ * @version 151.0.0
27478
27544
  */
27479
27545
 
27480
27546
  /**
@@ -27604,7 +27670,7 @@ class GeolocationApi {
27604
27670
  /**
27605
27671
  * Geolocation service.
27606
27672
  * @module purecloud-platform-client-v2/api/GeolocationApi
27607
- * @version 150.0.0
27673
+ * @version 151.0.0
27608
27674
  */
27609
27675
 
27610
27676
  /**
@@ -27735,7 +27801,7 @@ class GreetingsApi {
27735
27801
  /**
27736
27802
  * Greetings service.
27737
27803
  * @module purecloud-platform-client-v2/api/GreetingsApi
27738
- * @version 150.0.0
27804
+ * @version 151.0.0
27739
27805
  */
27740
27806
 
27741
27807
  /**
@@ -28190,7 +28256,7 @@ class GroupsApi {
28190
28256
  /**
28191
28257
  * Groups service.
28192
28258
  * @module purecloud-platform-client-v2/api/GroupsApi
28193
- * @version 150.0.0
28259
+ * @version 151.0.0
28194
28260
  */
28195
28261
 
28196
28262
  /**
@@ -28596,7 +28662,7 @@ class IdentityProviderApi {
28596
28662
  /**
28597
28663
  * IdentityProvider service.
28598
28664
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28599
- * @version 150.0.0
28665
+ * @version 151.0.0
28600
28666
  */
28601
28667
 
28602
28668
  /**
@@ -29352,7 +29418,7 @@ class IntegrationsApi {
29352
29418
  /**
29353
29419
  * Integrations service.
29354
29420
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29355
- * @version 150.0.0
29421
+ * @version 151.0.0
29356
29422
  */
29357
29423
 
29358
29424
  /**
@@ -30952,7 +31018,7 @@ class JourneyApi {
30952
31018
  /**
30953
31019
  * Journey service.
30954
31020
  * @module purecloud-platform-client-v2/api/JourneyApi
30955
- * @version 150.0.0
31021
+ * @version 151.0.0
30956
31022
  */
30957
31023
 
30958
31024
  /**
@@ -31738,7 +31804,7 @@ class KnowledgeApi {
31738
31804
  /**
31739
31805
  * Knowledge service.
31740
31806
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31741
- * @version 150.0.0
31807
+ * @version 151.0.0
31742
31808
  */
31743
31809
 
31744
31810
  /**
@@ -34171,7 +34237,7 @@ class LanguageUnderstandingApi {
34171
34237
  /**
34172
34238
  * LanguageUnderstanding service.
34173
34239
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34174
- * @version 150.0.0
34240
+ * @version 151.0.0
34175
34241
  */
34176
34242
 
34177
34243
  /**
@@ -35075,7 +35141,7 @@ class LanguagesApi {
35075
35141
  /**
35076
35142
  * Languages service.
35077
35143
  * @module purecloud-platform-client-v2/api/LanguagesApi
35078
- * @version 150.0.0
35144
+ * @version 151.0.0
35079
35145
  */
35080
35146
 
35081
35147
  /**
@@ -35343,7 +35409,7 @@ class LearningApi {
35343
35409
  /**
35344
35410
  * Learning service.
35345
35411
  * @module purecloud-platform-client-v2/api/LearningApi
35346
- * @version 150.0.0
35412
+ * @version 151.0.0
35347
35413
  */
35348
35414
 
35349
35415
  /**
@@ -36103,7 +36169,7 @@ class LicenseApi {
36103
36169
  /**
36104
36170
  * License service.
36105
36171
  * @module purecloud-platform-client-v2/api/LicenseApi
36106
- * @version 150.0.0
36172
+ * @version 151.0.0
36107
36173
  */
36108
36174
 
36109
36175
  /**
@@ -36341,7 +36407,7 @@ class LocationsApi {
36341
36407
  /**
36342
36408
  * Locations service.
36343
36409
  * @module purecloud-platform-client-v2/api/LocationsApi
36344
- * @version 150.0.0
36410
+ * @version 151.0.0
36345
36411
  */
36346
36412
 
36347
36413
  /**
@@ -36577,7 +36643,7 @@ class MessagingApi {
36577
36643
  /**
36578
36644
  * Messaging service.
36579
36645
  * @module purecloud-platform-client-v2/api/MessagingApi
36580
- * @version 150.0.0
36646
+ * @version 151.0.0
36581
36647
  */
36582
36648
 
36583
36649
  /**
@@ -36728,7 +36794,7 @@ class MobileDevicesApi {
36728
36794
  /**
36729
36795
  * MobileDevices service.
36730
36796
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
36731
- * @version 150.0.0
36797
+ * @version 151.0.0
36732
36798
  */
36733
36799
 
36734
36800
  /**
@@ -36879,7 +36945,7 @@ class NotificationsApi {
36879
36945
  /**
36880
36946
  * Notifications service.
36881
36947
  * @module purecloud-platform-client-v2/api/NotificationsApi
36882
- * @version 150.0.0
36948
+ * @version 151.0.0
36883
36949
  */
36884
36950
 
36885
36951
  /**
@@ -37104,7 +37170,7 @@ class OAuthApi {
37104
37170
  /**
37105
37171
  * OAuth service.
37106
37172
  * @module purecloud-platform-client-v2/api/OAuthApi
37107
- * @version 150.0.0
37173
+ * @version 151.0.0
37108
37174
  */
37109
37175
 
37110
37176
  /**
@@ -37470,7 +37536,7 @@ class ObjectsApi {
37470
37536
  /**
37471
37537
  * Objects service.
37472
37538
  * @module purecloud-platform-client-v2/api/ObjectsApi
37473
- * @version 150.0.0
37539
+ * @version 151.0.0
37474
37540
  */
37475
37541
 
37476
37542
  /**
@@ -37741,7 +37807,7 @@ class OrganizationApi {
37741
37807
  /**
37742
37808
  * Organization service.
37743
37809
  * @module purecloud-platform-client-v2/api/OrganizationApi
37744
- * @version 150.0.0
37810
+ * @version 151.0.0
37745
37811
  */
37746
37812
 
37747
37813
  /**
@@ -38144,7 +38210,7 @@ class OrganizationAuthorizationApi {
38144
38210
  /**
38145
38211
  * OrganizationAuthorization service.
38146
38212
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
38147
- * @version 150.0.0
38213
+ * @version 151.0.0
38148
38214
  */
38149
38215
 
38150
38216
  /**
@@ -39069,7 +39135,7 @@ class OutboundApi {
39069
39135
  /**
39070
39136
  * Outbound service.
39071
39137
  * @module purecloud-platform-client-v2/api/OutboundApi
39072
- * @version 150.0.0
39138
+ * @version 151.0.0
39073
39139
  */
39074
39140
 
39075
39141
  /**
@@ -42458,7 +42524,7 @@ class PresenceApi {
42458
42524
  /**
42459
42525
  * Presence service.
42460
42526
  * @module purecloud-platform-client-v2/api/PresenceApi
42461
- * @version 150.0.0
42527
+ * @version 151.0.0
42462
42528
  */
42463
42529
 
42464
42530
  /**
@@ -42552,7 +42618,7 @@ class PresenceApi {
42552
42618
  * Get a list of Presence Sources
42553
42619
  *
42554
42620
  * @param {Object} opts Optional parameters
42555
- * @param {String} opts.deleted Deleted query can be TRUE or FALSE (default to false)
42621
+ * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
42556
42622
  */
42557
42623
  getPresenceSources(opts) {
42558
42624
  opts = opts || {};
@@ -42562,7 +42628,7 @@ class PresenceApi {
42562
42628
  '/api/v2/presence/sources',
42563
42629
  'GET',
42564
42630
  { },
42565
- { 'deleted': opts['deleted'] },
42631
+ { 'deactivated': opts['deactivated'] },
42566
42632
  { },
42567
42633
  { },
42568
42634
  null,
@@ -42964,7 +43030,7 @@ class ProcessAutomationApi {
42964
43030
  /**
42965
43031
  * ProcessAutomation service.
42966
43032
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
42967
- * @version 150.0.0
43033
+ * @version 151.0.0
42968
43034
  */
42969
43035
 
42970
43036
  /**
@@ -43005,7 +43071,7 @@ class ProcessAutomationApi {
43005
43071
  }
43006
43072
 
43007
43073
  /**
43008
- * Retrieve a single Trigger matching id.
43074
+ * Retrieve a single Trigger matching id
43009
43075
  *
43010
43076
  * @param {String} triggerId triggerId
43011
43077
  */
@@ -43030,13 +43096,13 @@ class ProcessAutomationApi {
43030
43096
  }
43031
43097
 
43032
43098
  /**
43033
- * Retrieves all triggers
43099
+ * Retrieves all triggers, optionally filtered by query parameters.
43034
43100
  *
43035
43101
  * @param {Object} opts Optional parameters
43036
43102
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
43037
43103
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
43038
43104
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
43039
- * @param {String} opts.topicName Topic name
43105
+ * @param {String} opts.topicName Topic name(s). Separated by commas
43040
43106
  * @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
43041
43107
  */
43042
43108
  getProcessautomationTriggers(opts) {
@@ -43202,7 +43268,7 @@ class QualityApi {
43202
43268
  /**
43203
43269
  * Quality service.
43204
43270
  * @module purecloud-platform-client-v2/api/QualityApi
43205
- * @version 150.0.0
43271
+ * @version 151.0.0
43206
43272
  */
43207
43273
 
43208
43274
  /**
@@ -44780,7 +44846,7 @@ class RecordingApi {
44780
44846
  /**
44781
44847
  * Recording service.
44782
44848
  * @module purecloud-platform-client-v2/api/RecordingApi
44783
- * @version 150.0.0
44849
+ * @version 151.0.0
44784
44850
  */
44785
44851
 
44786
44852
  /**
@@ -46467,7 +46533,7 @@ class ResponseManagementApi {
46467
46533
  /**
46468
46534
  * ResponseManagement service.
46469
46535
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
46470
- * @version 150.0.0
46536
+ * @version 151.0.0
46471
46537
  */
46472
46538
 
46473
46539
  /**
@@ -46951,7 +47017,7 @@ class RoutingApi {
46951
47017
  /**
46952
47018
  * Routing service.
46953
47019
  * @module purecloud-platform-client-v2/api/RoutingApi
46954
- * @version 150.0.0
47020
+ * @version 151.0.0
46955
47021
  */
46956
47022
 
46957
47023
  /**
@@ -50142,7 +50208,7 @@ class SCIMApi {
50142
50208
  /**
50143
50209
  * SCIM service.
50144
50210
  * @module purecloud-platform-client-v2/api/SCIMApi
50145
- * @version 150.0.0
50211
+ * @version 151.0.0
50146
50212
  */
50147
50213
 
50148
50214
  /**
@@ -51019,7 +51085,7 @@ class ScriptsApi {
51019
51085
  /**
51020
51086
  * Scripts service.
51021
51087
  * @module purecloud-platform-client-v2/api/ScriptsApi
51022
- * @version 150.0.0
51088
+ * @version 151.0.0
51023
51089
  */
51024
51090
 
51025
51091
  /**
@@ -51438,7 +51504,7 @@ class SearchApi {
51438
51504
  /**
51439
51505
  * Search service.
51440
51506
  * @module purecloud-platform-client-v2/api/SearchApi
51441
- * @version 150.0.0
51507
+ * @version 151.0.0
51442
51508
  */
51443
51509
 
51444
51510
  /**
@@ -51967,6 +52033,31 @@ class SearchApi {
51967
52033
  );
51968
52034
  }
51969
52035
 
52036
+ /**
52037
+ * Search users assigned to teams
52038
+ *
52039
+ * @param {Object} body Search request options
52040
+ */
52041
+ postUsersSearchTeamsAssign(body) {
52042
+ // verify the required parameter 'body' is set
52043
+ if (body === undefined || body === null) {
52044
+ throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
52045
+ }
52046
+
52047
+ return this.apiClient.callApi(
52048
+ '/api/v2/users/search/teams/assign',
52049
+ 'POST',
52050
+ { },
52051
+ { },
52052
+ { },
52053
+ { },
52054
+ body,
52055
+ ['PureCloud OAuth'],
52056
+ ['application/json'],
52057
+ ['application/json']
52058
+ );
52059
+ }
52060
+
51970
52061
  /**
51971
52062
  * Search voicemails
51972
52063
  *
@@ -51998,7 +52089,7 @@ class SpeechTextAnalyticsApi {
51998
52089
  /**
51999
52090
  * SpeechTextAnalytics service.
52000
52091
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
52001
- * @version 150.0.0
52092
+ * @version 151.0.0
52002
52093
  */
52003
52094
 
52004
52095
  /**
@@ -52852,7 +52943,7 @@ class StationsApi {
52852
52943
  /**
52853
52944
  * Stations service.
52854
52945
  * @module purecloud-platform-client-v2/api/StationsApi
52855
- * @version 150.0.0
52946
+ * @version 151.0.0
52856
52947
  */
52857
52948
 
52858
52949
  /**
@@ -52999,7 +53090,7 @@ class SuggestApi {
52999
53090
  /**
53000
53091
  * Suggest service.
53001
53092
  * @module purecloud-platform-client-v2/api/SuggestApi
53002
- * @version 150.0.0
53093
+ * @version 151.0.0
53003
53094
  */
53004
53095
 
53005
53096
  /**
@@ -53138,7 +53229,7 @@ class TeamsApi {
53138
53229
  /**
53139
53230
  * Teams service.
53140
53231
  * @module purecloud-platform-client-v2/api/TeamsApi
53141
- * @version 150.0.0
53232
+ * @version 151.0.0
53142
53233
  */
53143
53234
 
53144
53235
  /**
@@ -53178,6 +53269,36 @@ class TeamsApi {
53178
53269
  );
53179
53270
  }
53180
53271
 
53272
+ /**
53273
+ * Delete team members
53274
+ *
53275
+ * @param {String} teamId Team ID
53276
+ * @param {String} id Comma separated list of member ids to remove
53277
+ */
53278
+ deleteTeamMembers(teamId, id) {
53279
+ // verify the required parameter 'teamId' is set
53280
+ if (teamId === undefined || teamId === null) {
53281
+ throw 'Missing the required parameter "teamId" when calling deleteTeamMembers';
53282
+ }
53283
+ // verify the required parameter 'id' is set
53284
+ if (id === undefined || id === null) {
53285
+ throw 'Missing the required parameter "id" when calling deleteTeamMembers';
53286
+ }
53287
+
53288
+ return this.apiClient.callApi(
53289
+ '/api/v2/teams/{teamId}/members',
53290
+ 'DELETE',
53291
+ { 'teamId': teamId },
53292
+ { 'id': id },
53293
+ { },
53294
+ { },
53295
+ null,
53296
+ ['PureCloud OAuth'],
53297
+ ['application/json'],
53298
+ ['application/json']
53299
+ );
53300
+ }
53301
+
53181
53302
  /**
53182
53303
  * Get team
53183
53304
  *
@@ -53203,6 +53324,38 @@ class TeamsApi {
53203
53324
  );
53204
53325
  }
53205
53326
 
53327
+ /**
53328
+ * Get team membership
53329
+ *
53330
+ * @param {String} teamId Team ID
53331
+ * @param {Object} opts Optional parameters
53332
+ * @param {Number} opts.pageSize Page size (default to 25)
53333
+ * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
53334
+ * @param {String} opts.after The cursor that points to the next item in the complete list of teams
53335
+ * @param {Object} opts.expand Expand the name on each user
53336
+ */
53337
+ getTeamMembers(teamId, opts) {
53338
+ opts = opts || {};
53339
+
53340
+ // verify the required parameter 'teamId' is set
53341
+ if (teamId === undefined || teamId === null) {
53342
+ throw 'Missing the required parameter "teamId" when calling getTeamMembers';
53343
+ }
53344
+
53345
+ return this.apiClient.callApi(
53346
+ '/api/v2/teams/{teamId}/members',
53347
+ 'GET',
53348
+ { 'teamId': teamId },
53349
+ { 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': opts['expand'] },
53350
+ { },
53351
+ { },
53352
+ null,
53353
+ ['PureCloud OAuth'],
53354
+ ['application/json'],
53355
+ ['application/json']
53356
+ );
53357
+ }
53358
+
53206
53359
  /**
53207
53360
  * Get Team listing
53208
53361
  *
@@ -53261,6 +53414,36 @@ class TeamsApi {
53261
53414
  );
53262
53415
  }
53263
53416
 
53417
+ /**
53418
+ * Add team members
53419
+ *
53420
+ * @param {String} teamId Team ID
53421
+ * @param {Object} body TeamMembers
53422
+ */
53423
+ postTeamMembers(teamId, body) {
53424
+ // verify the required parameter 'teamId' is set
53425
+ if (teamId === undefined || teamId === null) {
53426
+ throw 'Missing the required parameter "teamId" when calling postTeamMembers';
53427
+ }
53428
+ // verify the required parameter 'body' is set
53429
+ if (body === undefined || body === null) {
53430
+ throw 'Missing the required parameter "body" when calling postTeamMembers';
53431
+ }
53432
+
53433
+ return this.apiClient.callApi(
53434
+ '/api/v2/teams/{teamId}/members',
53435
+ 'POST',
53436
+ { 'teamId': teamId },
53437
+ { },
53438
+ { },
53439
+ { },
53440
+ body,
53441
+ ['PureCloud OAuth'],
53442
+ ['application/json'],
53443
+ ['application/json']
53444
+ );
53445
+ }
53446
+
53264
53447
  /**
53265
53448
  * Create a team
53266
53449
  *
@@ -53317,7 +53500,7 @@ class TelephonyApi {
53317
53500
  /**
53318
53501
  * Telephony service.
53319
53502
  * @module purecloud-platform-client-v2/api/TelephonyApi
53320
- * @version 150.0.0
53503
+ * @version 151.0.0
53321
53504
  */
53322
53505
 
53323
53506
  /**
@@ -53425,7 +53608,7 @@ class TelephonyProvidersEdgeApi {
53425
53608
  /**
53426
53609
  * TelephonyProvidersEdge service.
53427
53610
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
53428
- * @version 150.0.0
53611
+ * @version 151.0.0
53429
53612
  */
53430
53613
 
53431
53614
  /**
@@ -57058,7 +57241,7 @@ class TextbotsApi {
57058
57241
  /**
57059
57242
  * Textbots service.
57060
57243
  * @module purecloud-platform-client-v2/api/TextbotsApi
57061
- * @version 150.0.0
57244
+ * @version 151.0.0
57062
57245
  */
57063
57246
 
57064
57247
  /**
@@ -57186,7 +57369,7 @@ class TokensApi {
57186
57369
  /**
57187
57370
  * Tokens service.
57188
57371
  * @module purecloud-platform-client-v2/api/TokensApi
57189
- * @version 150.0.0
57372
+ * @version 151.0.0
57190
57373
  */
57191
57374
 
57192
57375
  /**
@@ -57292,7 +57475,7 @@ class UploadsApi {
57292
57475
  /**
57293
57476
  * Uploads service.
57294
57477
  * @module purecloud-platform-client-v2/api/UploadsApi
57295
- * @version 150.0.0
57478
+ * @version 151.0.0
57296
57479
  */
57297
57480
 
57298
57481
  /**
@@ -57468,7 +57651,7 @@ class UsageApi {
57468
57651
  /**
57469
57652
  * Usage service.
57470
57653
  * @module purecloud-platform-client-v2/api/UsageApi
57471
- * @version 150.0.0
57654
+ * @version 151.0.0
57472
57655
  */
57473
57656
 
57474
57657
  /**
@@ -57539,7 +57722,7 @@ class UserRecordingsApi {
57539
57722
  /**
57540
57723
  * UserRecordings service.
57541
57724
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
57542
- * @version 150.0.0
57725
+ * @version 151.0.0
57543
57726
  */
57544
57727
 
57545
57728
  /**
@@ -57724,7 +57907,7 @@ class UsersApi {
57724
57907
  /**
57725
57908
  * Users service.
57726
57909
  * @module purecloud-platform-client-v2/api/UsersApi
57727
- * @version 150.0.0
57910
+ * @version 151.0.0
57728
57911
  */
57729
57912
 
57730
57913
  /**
@@ -59715,6 +59898,31 @@ class UsersApi {
59715
59898
  );
59716
59899
  }
59717
59900
 
59901
+ /**
59902
+ * Search users assigned to teams
59903
+ *
59904
+ * @param {Object} body Search request options
59905
+ */
59906
+ postUsersSearchTeamsAssign(body) {
59907
+ // verify the required parameter 'body' is set
59908
+ if (body === undefined || body === null) {
59909
+ throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
59910
+ }
59911
+
59912
+ return this.apiClient.callApi(
59913
+ '/api/v2/users/search/teams/assign',
59914
+ 'POST',
59915
+ { },
59916
+ { },
59917
+ { },
59918
+ { },
59919
+ body,
59920
+ ['PureCloud OAuth'],
59921
+ ['application/json'],
59922
+ ['application/json']
59923
+ );
59924
+ }
59925
+
59718
59926
  /**
59719
59927
  * Update the user's max utilization settings. Include only those media types requiring custom configuration.
59720
59928
  *
@@ -60056,7 +60264,7 @@ class UtilitiesApi {
60056
60264
  /**
60057
60265
  * Utilities service.
60058
60266
  * @module purecloud-platform-client-v2/api/UtilitiesApi
60059
- * @version 150.0.0
60267
+ * @version 151.0.0
60060
60268
  */
60061
60269
 
60062
60270
  /**
@@ -60167,7 +60375,7 @@ class VoicemailApi {
60167
60375
  /**
60168
60376
  * Voicemail service.
60169
60377
  * @module purecloud-platform-client-v2/api/VoicemailApi
60170
- * @version 150.0.0
60378
+ * @version 151.0.0
60171
60379
  */
60172
60380
 
60173
60381
  /**
@@ -60834,7 +61042,7 @@ class WebChatApi {
60834
61042
  /**
60835
61043
  * WebChat service.
60836
61044
  * @module purecloud-platform-client-v2/api/WebChatApi
60837
- * @version 150.0.0
61045
+ * @version 151.0.0
60838
61046
  */
60839
61047
 
60840
61048
  /**
@@ -61378,7 +61586,7 @@ class WebDeploymentsApi {
61378
61586
  /**
61379
61587
  * WebDeployments service.
61380
61588
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
61381
- * @version 150.0.0
61589
+ * @version 151.0.0
61382
61590
  */
61383
61591
 
61384
61592
  /**
@@ -61766,7 +61974,7 @@ class WebMessagingApi {
61766
61974
  /**
61767
61975
  * WebMessaging service.
61768
61976
  * @module purecloud-platform-client-v2/api/WebMessagingApi
61769
- * @version 150.0.0
61977
+ * @version 151.0.0
61770
61978
  */
61771
61979
 
61772
61980
  /**
@@ -61812,7 +62020,7 @@ class WidgetsApi {
61812
62020
  /**
61813
62021
  * Widgets service.
61814
62022
  * @module purecloud-platform-client-v2/api/WidgetsApi
61815
- * @version 150.0.0
62023
+ * @version 151.0.0
61816
62024
  */
61817
62025
 
61818
62026
  /**
@@ -61958,7 +62166,7 @@ class WorkforceManagementApi {
61958
62166
  /**
61959
62167
  * WorkforceManagement service.
61960
62168
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
61961
- * @version 150.0.0
62169
+ * @version 151.0.0
61962
62170
  */
61963
62171
 
61964
62172
  /**
@@ -65738,6 +65946,76 @@ class WorkforceManagementApi {
65738
65946
  );
65739
65947
  }
65740
65948
 
65949
+ /**
65950
+ * Query time off balances for a given user for specified activity code and dates
65951
+ *
65952
+ * @param {String} managementUnitId The ID of the management unit
65953
+ * @param {String} userId The ID of the user
65954
+ * @param {Object} body The request body
65955
+ */
65956
+ postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
65957
+ // verify the required parameter 'managementUnitId' is set
65958
+ if (managementUnitId === undefined || managementUnitId === null) {
65959
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
65960
+ }
65961
+ // verify the required parameter 'userId' is set
65962
+ if (userId === undefined || userId === null) {
65963
+ throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
65964
+ }
65965
+ // verify the required parameter 'body' is set
65966
+ if (body === undefined || body === null) {
65967
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
65968
+ }
65969
+
65970
+ return this.apiClient.callApi(
65971
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs',
65972
+ 'POST',
65973
+ { 'managementUnitId': managementUnitId,'userId': userId },
65974
+ { },
65975
+ { },
65976
+ { },
65977
+ body,
65978
+ ['PureCloud OAuth'],
65979
+ ['application/json'],
65980
+ ['application/json']
65981
+ );
65982
+ }
65983
+
65984
+ /**
65985
+ * Query time off balances for dates spanned by a given time off request
65986
+ *
65987
+ * @param {String} managementUnitId The ID of the management unit.
65988
+ * @param {String} userId The userId to whom the time off request applies.
65989
+ * @param {String} timeOffRequestId The time off request id.
65990
+ */
65991
+ postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
65992
+ // verify the required parameter 'managementUnitId' is set
65993
+ if (managementUnitId === undefined || managementUnitId === null) {
65994
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
65995
+ }
65996
+ // verify the required parameter 'userId' is set
65997
+ if (userId === undefined || userId === null) {
65998
+ throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
65999
+ }
66000
+ // verify the required parameter 'timeOffRequestId' is set
66001
+ if (timeOffRequestId === undefined || timeOffRequestId === null) {
66002
+ throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
66003
+ }
66004
+
66005
+ return this.apiClient.callApi(
66006
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs',
66007
+ 'POST',
66008
+ { 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
66009
+ { },
66010
+ { },
66011
+ { },
66012
+ null,
66013
+ ['PureCloud OAuth'],
66014
+ ['application/json'],
66015
+ ['application/json']
66016
+ );
66017
+ }
66018
+
65741
66019
  /**
65742
66020
  * Matches a shift trade. This route can only be called by the receiving agent
65743
66021
  *
@@ -66234,7 +66512,7 @@ class WorkforceManagementApi {
66234
66512
  * </pre>
66235
66513
  * </p>
66236
66514
  * @module purecloud-platform-client-v2/index
66237
- * @version 150.0.0
66515
+ * @version 151.0.0
66238
66516
  */
66239
66517
  class platformClient {
66240
66518
  constructor() {