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
@@ -2279,7 +2279,7 @@ class Configuration {
2279
2279
 
2280
2280
  /**
2281
2281
  * @module purecloud-platform-client-v2/ApiClient
2282
- * @version 150.0.0
2282
+ * @version 151.0.0
2283
2283
  */
2284
2284
  class ApiClient {
2285
2285
  /**
@@ -3351,7 +3351,7 @@ class AlertingApi {
3351
3351
  /**
3352
3352
  * Alerting service.
3353
3353
  * @module purecloud-platform-client-v2/api/AlertingApi
3354
- * @version 150.0.0
3354
+ * @version 151.0.0
3355
3355
  */
3356
3356
 
3357
3357
  /**
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
3665
3665
  /**
3666
3666
  * Analytics service.
3667
3667
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3668
- * @version 150.0.0
3668
+ * @version 151.0.0
3669
3669
  */
3670
3670
 
3671
3671
  /**
@@ -4892,7 +4892,7 @@ class ArchitectApi {
4892
4892
  /**
4893
4893
  * Architect service.
4894
4894
  * @module purecloud-platform-client-v2/api/ArchitectApi
4895
- * @version 150.0.0
4895
+ * @version 151.0.0
4896
4896
  */
4897
4897
 
4898
4898
  /**
@@ -7938,7 +7938,7 @@ class AuditApi {
7938
7938
  /**
7939
7939
  * Audit service.
7940
7940
  * @module purecloud-platform-client-v2/api/AuditApi
7941
- * @version 150.0.0
7941
+ * @version 151.0.0
7942
7942
  */
7943
7943
 
7944
7944
  /**
@@ -8109,7 +8109,7 @@ class AuthorizationApi {
8109
8109
  /**
8110
8110
  * Authorization service.
8111
8111
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8112
- * @version 150.0.0
8112
+ * @version 151.0.0
8113
8113
  */
8114
8114
 
8115
8115
  /**
@@ -9292,7 +9292,7 @@ class BillingApi {
9292
9292
  /**
9293
9293
  * Billing service.
9294
9294
  * @module purecloud-platform-client-v2/api/BillingApi
9295
- * @version 150.0.0
9295
+ * @version 151.0.0
9296
9296
  */
9297
9297
 
9298
9298
  /**
@@ -9372,7 +9372,7 @@ class ChatApi {
9372
9372
  /**
9373
9373
  * Chat service.
9374
9374
  * @module purecloud-platform-client-v2/api/ChatApi
9375
- * @version 150.0.0
9375
+ * @version 151.0.0
9376
9376
  */
9377
9377
 
9378
9378
  /**
@@ -9463,7 +9463,7 @@ class CoachingApi {
9463
9463
  /**
9464
9464
  * Coaching service.
9465
9465
  * @module purecloud-platform-client-v2/api/CoachingApi
9466
- * @version 150.0.0
9466
+ * @version 151.0.0
9467
9467
  */
9468
9468
 
9469
9469
  /**
@@ -10040,7 +10040,7 @@ class ContentManagementApi {
10040
10040
  /**
10041
10041
  * ContentManagement service.
10042
10042
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10043
- * @version 150.0.0
10043
+ * @version 151.0.0
10044
10044
  */
10045
10045
 
10046
10046
  /**
@@ -11180,7 +11180,7 @@ class ConversationsApi {
11180
11180
  /**
11181
11181
  * Conversations service.
11182
11182
  * @module purecloud-platform-client-v2/api/ConversationsApi
11183
- * @version 150.0.0
11183
+ * @version 151.0.0
11184
11184
  */
11185
11185
 
11186
11186
  /**
@@ -15526,6 +15526,41 @@ class ConversationsApi {
15526
15526
  );
15527
15527
  }
15528
15528
 
15529
+ /**
15530
+ * Send message typing event
15531
+ * Send message typing event for existing conversation/communication.
15532
+ * @param {String} conversationId conversationId
15533
+ * @param {String} communicationId communicationId
15534
+ * @param {Object} body MessageTypingEvent
15535
+ */
15536
+ postConversationsMessageCommunicationTyping(conversationId, communicationId, body) {
15537
+ // verify the required parameter 'conversationId' is set
15538
+ if (conversationId === undefined || conversationId === null) {
15539
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';
15540
+ }
15541
+ // verify the required parameter 'communicationId' is set
15542
+ if (communicationId === undefined || communicationId === null) {
15543
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';
15544
+ }
15545
+ // verify the required parameter 'body' is set
15546
+ if (body === undefined || body === null) {
15547
+ throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationTyping';
15548
+ }
15549
+
15550
+ return this.apiClient.callApi(
15551
+ '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/typing',
15552
+ 'POST',
15553
+ { 'conversationId': conversationId,'communicationId': communicationId },
15554
+ { },
15555
+ { },
15556
+ { },
15557
+ body,
15558
+ ['PureCloud OAuth'],
15559
+ ['application/json'],
15560
+ ['application/json']
15561
+ );
15562
+ }
15563
+
15529
15564
  /**
15530
15565
  * Get messages in batch
15531
15566
  * 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"]
@@ -16362,7 +16397,7 @@ class DataExtensionsApi {
16362
16397
  /**
16363
16398
  * DataExtensions service.
16364
16399
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16365
- * @version 150.0.0
16400
+ * @version 151.0.0
16366
16401
  */
16367
16402
 
16368
16403
  /**
@@ -16448,7 +16483,7 @@ class DownloadsApi {
16448
16483
  /**
16449
16484
  * Downloads service.
16450
16485
  * @module purecloud-platform-client-v2/api/DownloadsApi
16451
- * @version 150.0.0
16486
+ * @version 151.0.0
16452
16487
  */
16453
16488
 
16454
16489
  /**
@@ -16500,7 +16535,7 @@ class EventsApi {
16500
16535
  /**
16501
16536
  * Events service.
16502
16537
  * @module purecloud-platform-client-v2/api/EventsApi
16503
- * @version 150.0.0
16538
+ * @version 151.0.0
16504
16539
  */
16505
16540
 
16506
16541
  /**
@@ -16596,7 +16631,7 @@ class ExternalContactsApi {
16596
16631
  /**
16597
16632
  * ExternalContacts service.
16598
16633
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16599
- * @version 150.0.0
16634
+ * @version 151.0.0
16600
16635
  */
16601
16636
 
16602
16637
  /**
@@ -16850,6 +16885,37 @@ class ExternalContactsApi {
16850
16885
  );
16851
16886
  }
16852
16887
 
16888
+ /**
16889
+ * Retrieve all sessions for a given external contact.
16890
+ *
16891
+ * @param {String} contactId ExternalContact ID
16892
+ * @param {Object} opts Optional parameters
16893
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
16894
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
16895
+ * @param {Boolean} opts.includeMerged Indicates whether to return sessions from all external contacts in the merge-set of the given one.
16896
+ */
16897
+ getExternalcontactsContactJourneySessions(contactId, opts) {
16898
+ opts = opts || {};
16899
+
16900
+ // verify the required parameter 'contactId' is set
16901
+ if (contactId === undefined || contactId === null) {
16902
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';
16903
+ }
16904
+
16905
+ return this.apiClient.callApi(
16906
+ '/api/v2/externalcontacts/contacts/{contactId}/journey/sessions',
16907
+ 'GET',
16908
+ { 'contactId': contactId },
16909
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'includeMerged': opts['includeMerged'] },
16910
+ { },
16911
+ { },
16912
+ null,
16913
+ ['PureCloud OAuth'],
16914
+ ['application/json'],
16915
+ ['application/json']
16916
+ );
16917
+ }
16918
+
16853
16919
  /**
16854
16920
  * Fetch a note for an external contact
16855
16921
  *
@@ -18523,7 +18589,7 @@ class FaxApi {
18523
18589
  /**
18524
18590
  * Fax service.
18525
18591
  * @module purecloud-platform-client-v2/api/FaxApi
18526
- * @version 150.0.0
18592
+ * @version 151.0.0
18527
18593
  */
18528
18594
 
18529
18595
  /**
@@ -18694,7 +18760,7 @@ class FlowsApi {
18694
18760
  /**
18695
18761
  * Flows service.
18696
18762
  * @module purecloud-platform-client-v2/api/FlowsApi
18697
- * @version 150.0.0
18763
+ * @version 151.0.0
18698
18764
  */
18699
18765
 
18700
18766
  /**
@@ -18765,7 +18831,7 @@ class GamificationApi {
18765
18831
  /**
18766
18832
  * Gamification service.
18767
18833
  * @module purecloud-platform-client-v2/api/GamificationApi
18768
- * @version 150.0.0
18834
+ * @version 151.0.0
18769
18835
  */
18770
18836
 
18771
18837
  /**
@@ -20446,7 +20512,7 @@ class GeneralDataProtectionRegulationApi {
20446
20512
  /**
20447
20513
  * GeneralDataProtectionRegulation service.
20448
20514
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20449
- * @version 150.0.0
20515
+ * @version 151.0.0
20450
20516
  */
20451
20517
 
20452
20518
  /**
@@ -20576,7 +20642,7 @@ class GeolocationApi {
20576
20642
  /**
20577
20643
  * Geolocation service.
20578
20644
  * @module purecloud-platform-client-v2/api/GeolocationApi
20579
- * @version 150.0.0
20645
+ * @version 151.0.0
20580
20646
  */
20581
20647
 
20582
20648
  /**
@@ -20707,7 +20773,7 @@ class GreetingsApi {
20707
20773
  /**
20708
20774
  * Greetings service.
20709
20775
  * @module purecloud-platform-client-v2/api/GreetingsApi
20710
- * @version 150.0.0
20776
+ * @version 151.0.0
20711
20777
  */
20712
20778
 
20713
20779
  /**
@@ -21162,7 +21228,7 @@ class GroupsApi {
21162
21228
  /**
21163
21229
  * Groups service.
21164
21230
  * @module purecloud-platform-client-v2/api/GroupsApi
21165
- * @version 150.0.0
21231
+ * @version 151.0.0
21166
21232
  */
21167
21233
 
21168
21234
  /**
@@ -21568,7 +21634,7 @@ class IdentityProviderApi {
21568
21634
  /**
21569
21635
  * IdentityProvider service.
21570
21636
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21571
- * @version 150.0.0
21637
+ * @version 151.0.0
21572
21638
  */
21573
21639
 
21574
21640
  /**
@@ -22324,7 +22390,7 @@ class IntegrationsApi {
22324
22390
  /**
22325
22391
  * Integrations service.
22326
22392
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22327
- * @version 150.0.0
22393
+ * @version 151.0.0
22328
22394
  */
22329
22395
 
22330
22396
  /**
@@ -23924,7 +23990,7 @@ class JourneyApi {
23924
23990
  /**
23925
23991
  * Journey service.
23926
23992
  * @module purecloud-platform-client-v2/api/JourneyApi
23927
- * @version 150.0.0
23993
+ * @version 151.0.0
23928
23994
  */
23929
23995
 
23930
23996
  /**
@@ -24710,7 +24776,7 @@ class KnowledgeApi {
24710
24776
  /**
24711
24777
  * Knowledge service.
24712
24778
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24713
- * @version 150.0.0
24779
+ * @version 151.0.0
24714
24780
  */
24715
24781
 
24716
24782
  /**
@@ -27143,7 +27209,7 @@ class LanguageUnderstandingApi {
27143
27209
  /**
27144
27210
  * LanguageUnderstanding service.
27145
27211
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
27146
- * @version 150.0.0
27212
+ * @version 151.0.0
27147
27213
  */
27148
27214
 
27149
27215
  /**
@@ -28047,7 +28113,7 @@ class LanguagesApi {
28047
28113
  /**
28048
28114
  * Languages service.
28049
28115
  * @module purecloud-platform-client-v2/api/LanguagesApi
28050
- * @version 150.0.0
28116
+ * @version 151.0.0
28051
28117
  */
28052
28118
 
28053
28119
  /**
@@ -28315,7 +28381,7 @@ class LearningApi {
28315
28381
  /**
28316
28382
  * Learning service.
28317
28383
  * @module purecloud-platform-client-v2/api/LearningApi
28318
- * @version 150.0.0
28384
+ * @version 151.0.0
28319
28385
  */
28320
28386
 
28321
28387
  /**
@@ -29075,7 +29141,7 @@ class LicenseApi {
29075
29141
  /**
29076
29142
  * License service.
29077
29143
  * @module purecloud-platform-client-v2/api/LicenseApi
29078
- * @version 150.0.0
29144
+ * @version 151.0.0
29079
29145
  */
29080
29146
 
29081
29147
  /**
@@ -29313,7 +29379,7 @@ class LocationsApi {
29313
29379
  /**
29314
29380
  * Locations service.
29315
29381
  * @module purecloud-platform-client-v2/api/LocationsApi
29316
- * @version 150.0.0
29382
+ * @version 151.0.0
29317
29383
  */
29318
29384
 
29319
29385
  /**
@@ -29549,7 +29615,7 @@ class MessagingApi {
29549
29615
  /**
29550
29616
  * Messaging service.
29551
29617
  * @module purecloud-platform-client-v2/api/MessagingApi
29552
- * @version 150.0.0
29618
+ * @version 151.0.0
29553
29619
  */
29554
29620
 
29555
29621
  /**
@@ -29700,7 +29766,7 @@ class MobileDevicesApi {
29700
29766
  /**
29701
29767
  * MobileDevices service.
29702
29768
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29703
- * @version 150.0.0
29769
+ * @version 151.0.0
29704
29770
  */
29705
29771
 
29706
29772
  /**
@@ -29851,7 +29917,7 @@ class NotificationsApi {
29851
29917
  /**
29852
29918
  * Notifications service.
29853
29919
  * @module purecloud-platform-client-v2/api/NotificationsApi
29854
- * @version 150.0.0
29920
+ * @version 151.0.0
29855
29921
  */
29856
29922
 
29857
29923
  /**
@@ -30076,7 +30142,7 @@ class OAuthApi {
30076
30142
  /**
30077
30143
  * OAuth service.
30078
30144
  * @module purecloud-platform-client-v2/api/OAuthApi
30079
- * @version 150.0.0
30145
+ * @version 151.0.0
30080
30146
  */
30081
30147
 
30082
30148
  /**
@@ -30442,7 +30508,7 @@ class ObjectsApi {
30442
30508
  /**
30443
30509
  * Objects service.
30444
30510
  * @module purecloud-platform-client-v2/api/ObjectsApi
30445
- * @version 150.0.0
30511
+ * @version 151.0.0
30446
30512
  */
30447
30513
 
30448
30514
  /**
@@ -30713,7 +30779,7 @@ class OrganizationApi {
30713
30779
  /**
30714
30780
  * Organization service.
30715
30781
  * @module purecloud-platform-client-v2/api/OrganizationApi
30716
- * @version 150.0.0
30782
+ * @version 151.0.0
30717
30783
  */
30718
30784
 
30719
30785
  /**
@@ -31116,7 +31182,7 @@ class OrganizationAuthorizationApi {
31116
31182
  /**
31117
31183
  * OrganizationAuthorization service.
31118
31184
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31119
- * @version 150.0.0
31185
+ * @version 151.0.0
31120
31186
  */
31121
31187
 
31122
31188
  /**
@@ -32041,7 +32107,7 @@ class OutboundApi {
32041
32107
  /**
32042
32108
  * Outbound service.
32043
32109
  * @module purecloud-platform-client-v2/api/OutboundApi
32044
- * @version 150.0.0
32110
+ * @version 151.0.0
32045
32111
  */
32046
32112
 
32047
32113
  /**
@@ -35430,7 +35496,7 @@ class PresenceApi {
35430
35496
  /**
35431
35497
  * Presence service.
35432
35498
  * @module purecloud-platform-client-v2/api/PresenceApi
35433
- * @version 150.0.0
35499
+ * @version 151.0.0
35434
35500
  */
35435
35501
 
35436
35502
  /**
@@ -35524,7 +35590,7 @@ class PresenceApi {
35524
35590
  * Get a list of Presence Sources
35525
35591
  *
35526
35592
  * @param {Object} opts Optional parameters
35527
- * @param {String} opts.deleted Deleted query can be TRUE or FALSE (default to false)
35593
+ * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
35528
35594
  */
35529
35595
  getPresenceSources(opts) {
35530
35596
  opts = opts || {};
@@ -35534,7 +35600,7 @@ class PresenceApi {
35534
35600
  '/api/v2/presence/sources',
35535
35601
  'GET',
35536
35602
  { },
35537
- { 'deleted': opts['deleted'] },
35603
+ { 'deactivated': opts['deactivated'] },
35538
35604
  { },
35539
35605
  { },
35540
35606
  null,
@@ -35936,7 +36002,7 @@ class ProcessAutomationApi {
35936
36002
  /**
35937
36003
  * ProcessAutomation service.
35938
36004
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
35939
- * @version 150.0.0
36005
+ * @version 151.0.0
35940
36006
  */
35941
36007
 
35942
36008
  /**
@@ -35977,7 +36043,7 @@ class ProcessAutomationApi {
35977
36043
  }
35978
36044
 
35979
36045
  /**
35980
- * Retrieve a single Trigger matching id.
36046
+ * Retrieve a single Trigger matching id
35981
36047
  *
35982
36048
  * @param {String} triggerId triggerId
35983
36049
  */
@@ -36002,13 +36068,13 @@ class ProcessAutomationApi {
36002
36068
  }
36003
36069
 
36004
36070
  /**
36005
- * Retrieves all triggers
36071
+ * Retrieves all triggers, optionally filtered by query parameters.
36006
36072
  *
36007
36073
  * @param {Object} opts Optional parameters
36008
36074
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
36009
36075
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
36010
36076
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
36011
- * @param {String} opts.topicName Topic name
36077
+ * @param {String} opts.topicName Topic name(s). Separated by commas
36012
36078
  * @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
36013
36079
  */
36014
36080
  getProcessautomationTriggers(opts) {
@@ -36174,7 +36240,7 @@ class QualityApi {
36174
36240
  /**
36175
36241
  * Quality service.
36176
36242
  * @module purecloud-platform-client-v2/api/QualityApi
36177
- * @version 150.0.0
36243
+ * @version 151.0.0
36178
36244
  */
36179
36245
 
36180
36246
  /**
@@ -37752,7 +37818,7 @@ class RecordingApi {
37752
37818
  /**
37753
37819
  * Recording service.
37754
37820
  * @module purecloud-platform-client-v2/api/RecordingApi
37755
- * @version 150.0.0
37821
+ * @version 151.0.0
37756
37822
  */
37757
37823
 
37758
37824
  /**
@@ -39439,7 +39505,7 @@ class ResponseManagementApi {
39439
39505
  /**
39440
39506
  * ResponseManagement service.
39441
39507
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39442
- * @version 150.0.0
39508
+ * @version 151.0.0
39443
39509
  */
39444
39510
 
39445
39511
  /**
@@ -39923,7 +39989,7 @@ class RoutingApi {
39923
39989
  /**
39924
39990
  * Routing service.
39925
39991
  * @module purecloud-platform-client-v2/api/RoutingApi
39926
- * @version 150.0.0
39992
+ * @version 151.0.0
39927
39993
  */
39928
39994
 
39929
39995
  /**
@@ -43114,7 +43180,7 @@ class SCIMApi {
43114
43180
  /**
43115
43181
  * SCIM service.
43116
43182
  * @module purecloud-platform-client-v2/api/SCIMApi
43117
- * @version 150.0.0
43183
+ * @version 151.0.0
43118
43184
  */
43119
43185
 
43120
43186
  /**
@@ -43991,7 +44057,7 @@ class ScriptsApi {
43991
44057
  /**
43992
44058
  * Scripts service.
43993
44059
  * @module purecloud-platform-client-v2/api/ScriptsApi
43994
- * @version 150.0.0
44060
+ * @version 151.0.0
43995
44061
  */
43996
44062
 
43997
44063
  /**
@@ -44410,7 +44476,7 @@ class SearchApi {
44410
44476
  /**
44411
44477
  * Search service.
44412
44478
  * @module purecloud-platform-client-v2/api/SearchApi
44413
- * @version 150.0.0
44479
+ * @version 151.0.0
44414
44480
  */
44415
44481
 
44416
44482
  /**
@@ -44939,6 +45005,31 @@ class SearchApi {
44939
45005
  );
44940
45006
  }
44941
45007
 
45008
+ /**
45009
+ * Search users assigned to teams
45010
+ *
45011
+ * @param {Object} body Search request options
45012
+ */
45013
+ postUsersSearchTeamsAssign(body) {
45014
+ // verify the required parameter 'body' is set
45015
+ if (body === undefined || body === null) {
45016
+ throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
45017
+ }
45018
+
45019
+ return this.apiClient.callApi(
45020
+ '/api/v2/users/search/teams/assign',
45021
+ 'POST',
45022
+ { },
45023
+ { },
45024
+ { },
45025
+ { },
45026
+ body,
45027
+ ['PureCloud OAuth'],
45028
+ ['application/json'],
45029
+ ['application/json']
45030
+ );
45031
+ }
45032
+
44942
45033
  /**
44943
45034
  * Search voicemails
44944
45035
  *
@@ -44970,7 +45061,7 @@ class SpeechTextAnalyticsApi {
44970
45061
  /**
44971
45062
  * SpeechTextAnalytics service.
44972
45063
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
44973
- * @version 150.0.0
45064
+ * @version 151.0.0
44974
45065
  */
44975
45066
 
44976
45067
  /**
@@ -45824,7 +45915,7 @@ class StationsApi {
45824
45915
  /**
45825
45916
  * Stations service.
45826
45917
  * @module purecloud-platform-client-v2/api/StationsApi
45827
- * @version 150.0.0
45918
+ * @version 151.0.0
45828
45919
  */
45829
45920
 
45830
45921
  /**
@@ -45971,7 +46062,7 @@ class SuggestApi {
45971
46062
  /**
45972
46063
  * Suggest service.
45973
46064
  * @module purecloud-platform-client-v2/api/SuggestApi
45974
- * @version 150.0.0
46065
+ * @version 151.0.0
45975
46066
  */
45976
46067
 
45977
46068
  /**
@@ -46110,7 +46201,7 @@ class TeamsApi {
46110
46201
  /**
46111
46202
  * Teams service.
46112
46203
  * @module purecloud-platform-client-v2/api/TeamsApi
46113
- * @version 150.0.0
46204
+ * @version 151.0.0
46114
46205
  */
46115
46206
 
46116
46207
  /**
@@ -46150,6 +46241,36 @@ class TeamsApi {
46150
46241
  );
46151
46242
  }
46152
46243
 
46244
+ /**
46245
+ * Delete team members
46246
+ *
46247
+ * @param {String} teamId Team ID
46248
+ * @param {String} id Comma separated list of member ids to remove
46249
+ */
46250
+ deleteTeamMembers(teamId, id) {
46251
+ // verify the required parameter 'teamId' is set
46252
+ if (teamId === undefined || teamId === null) {
46253
+ throw 'Missing the required parameter "teamId" when calling deleteTeamMembers';
46254
+ }
46255
+ // verify the required parameter 'id' is set
46256
+ if (id === undefined || id === null) {
46257
+ throw 'Missing the required parameter "id" when calling deleteTeamMembers';
46258
+ }
46259
+
46260
+ return this.apiClient.callApi(
46261
+ '/api/v2/teams/{teamId}/members',
46262
+ 'DELETE',
46263
+ { 'teamId': teamId },
46264
+ { 'id': id },
46265
+ { },
46266
+ { },
46267
+ null,
46268
+ ['PureCloud OAuth'],
46269
+ ['application/json'],
46270
+ ['application/json']
46271
+ );
46272
+ }
46273
+
46153
46274
  /**
46154
46275
  * Get team
46155
46276
  *
@@ -46175,6 +46296,38 @@ class TeamsApi {
46175
46296
  );
46176
46297
  }
46177
46298
 
46299
+ /**
46300
+ * Get team membership
46301
+ *
46302
+ * @param {String} teamId Team ID
46303
+ * @param {Object} opts Optional parameters
46304
+ * @param {Number} opts.pageSize Page size (default to 25)
46305
+ * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
46306
+ * @param {String} opts.after The cursor that points to the next item in the complete list of teams
46307
+ * @param {Object} opts.expand Expand the name on each user
46308
+ */
46309
+ getTeamMembers(teamId, opts) {
46310
+ opts = opts || {};
46311
+
46312
+ // verify the required parameter 'teamId' is set
46313
+ if (teamId === undefined || teamId === null) {
46314
+ throw 'Missing the required parameter "teamId" when calling getTeamMembers';
46315
+ }
46316
+
46317
+ return this.apiClient.callApi(
46318
+ '/api/v2/teams/{teamId}/members',
46319
+ 'GET',
46320
+ { 'teamId': teamId },
46321
+ { 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': opts['expand'] },
46322
+ { },
46323
+ { },
46324
+ null,
46325
+ ['PureCloud OAuth'],
46326
+ ['application/json'],
46327
+ ['application/json']
46328
+ );
46329
+ }
46330
+
46178
46331
  /**
46179
46332
  * Get Team listing
46180
46333
  *
@@ -46233,6 +46386,36 @@ class TeamsApi {
46233
46386
  );
46234
46387
  }
46235
46388
 
46389
+ /**
46390
+ * Add team members
46391
+ *
46392
+ * @param {String} teamId Team ID
46393
+ * @param {Object} body TeamMembers
46394
+ */
46395
+ postTeamMembers(teamId, body) {
46396
+ // verify the required parameter 'teamId' is set
46397
+ if (teamId === undefined || teamId === null) {
46398
+ throw 'Missing the required parameter "teamId" when calling postTeamMembers';
46399
+ }
46400
+ // verify the required parameter 'body' is set
46401
+ if (body === undefined || body === null) {
46402
+ throw 'Missing the required parameter "body" when calling postTeamMembers';
46403
+ }
46404
+
46405
+ return this.apiClient.callApi(
46406
+ '/api/v2/teams/{teamId}/members',
46407
+ 'POST',
46408
+ { 'teamId': teamId },
46409
+ { },
46410
+ { },
46411
+ { },
46412
+ body,
46413
+ ['PureCloud OAuth'],
46414
+ ['application/json'],
46415
+ ['application/json']
46416
+ );
46417
+ }
46418
+
46236
46419
  /**
46237
46420
  * Create a team
46238
46421
  *
@@ -46289,7 +46472,7 @@ class TelephonyApi {
46289
46472
  /**
46290
46473
  * Telephony service.
46291
46474
  * @module purecloud-platform-client-v2/api/TelephonyApi
46292
- * @version 150.0.0
46475
+ * @version 151.0.0
46293
46476
  */
46294
46477
 
46295
46478
  /**
@@ -46397,7 +46580,7 @@ class TelephonyProvidersEdgeApi {
46397
46580
  /**
46398
46581
  * TelephonyProvidersEdge service.
46399
46582
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
46400
- * @version 150.0.0
46583
+ * @version 151.0.0
46401
46584
  */
46402
46585
 
46403
46586
  /**
@@ -50030,7 +50213,7 @@ class TextbotsApi {
50030
50213
  /**
50031
50214
  * Textbots service.
50032
50215
  * @module purecloud-platform-client-v2/api/TextbotsApi
50033
- * @version 150.0.0
50216
+ * @version 151.0.0
50034
50217
  */
50035
50218
 
50036
50219
  /**
@@ -50158,7 +50341,7 @@ class TokensApi {
50158
50341
  /**
50159
50342
  * Tokens service.
50160
50343
  * @module purecloud-platform-client-v2/api/TokensApi
50161
- * @version 150.0.0
50344
+ * @version 151.0.0
50162
50345
  */
50163
50346
 
50164
50347
  /**
@@ -50264,7 +50447,7 @@ class UploadsApi {
50264
50447
  /**
50265
50448
  * Uploads service.
50266
50449
  * @module purecloud-platform-client-v2/api/UploadsApi
50267
- * @version 150.0.0
50450
+ * @version 151.0.0
50268
50451
  */
50269
50452
 
50270
50453
  /**
@@ -50440,7 +50623,7 @@ class UsageApi {
50440
50623
  /**
50441
50624
  * Usage service.
50442
50625
  * @module purecloud-platform-client-v2/api/UsageApi
50443
- * @version 150.0.0
50626
+ * @version 151.0.0
50444
50627
  */
50445
50628
 
50446
50629
  /**
@@ -50511,7 +50694,7 @@ class UserRecordingsApi {
50511
50694
  /**
50512
50695
  * UserRecordings service.
50513
50696
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
50514
- * @version 150.0.0
50697
+ * @version 151.0.0
50515
50698
  */
50516
50699
 
50517
50700
  /**
@@ -50696,7 +50879,7 @@ class UsersApi {
50696
50879
  /**
50697
50880
  * Users service.
50698
50881
  * @module purecloud-platform-client-v2/api/UsersApi
50699
- * @version 150.0.0
50882
+ * @version 151.0.0
50700
50883
  */
50701
50884
 
50702
50885
  /**
@@ -52687,6 +52870,31 @@ class UsersApi {
52687
52870
  );
52688
52871
  }
52689
52872
 
52873
+ /**
52874
+ * Search users assigned to teams
52875
+ *
52876
+ * @param {Object} body Search request options
52877
+ */
52878
+ postUsersSearchTeamsAssign(body) {
52879
+ // verify the required parameter 'body' is set
52880
+ if (body === undefined || body === null) {
52881
+ throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
52882
+ }
52883
+
52884
+ return this.apiClient.callApi(
52885
+ '/api/v2/users/search/teams/assign',
52886
+ 'POST',
52887
+ { },
52888
+ { },
52889
+ { },
52890
+ { },
52891
+ body,
52892
+ ['PureCloud OAuth'],
52893
+ ['application/json'],
52894
+ ['application/json']
52895
+ );
52896
+ }
52897
+
52690
52898
  /**
52691
52899
  * Update the user's max utilization settings. Include only those media types requiring custom configuration.
52692
52900
  *
@@ -53028,7 +53236,7 @@ class UtilitiesApi {
53028
53236
  /**
53029
53237
  * Utilities service.
53030
53238
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53031
- * @version 150.0.0
53239
+ * @version 151.0.0
53032
53240
  */
53033
53241
 
53034
53242
  /**
@@ -53139,7 +53347,7 @@ class VoicemailApi {
53139
53347
  /**
53140
53348
  * Voicemail service.
53141
53349
  * @module purecloud-platform-client-v2/api/VoicemailApi
53142
- * @version 150.0.0
53350
+ * @version 151.0.0
53143
53351
  */
53144
53352
 
53145
53353
  /**
@@ -53806,7 +54014,7 @@ class WebChatApi {
53806
54014
  /**
53807
54015
  * WebChat service.
53808
54016
  * @module purecloud-platform-client-v2/api/WebChatApi
53809
- * @version 150.0.0
54017
+ * @version 151.0.0
53810
54018
  */
53811
54019
 
53812
54020
  /**
@@ -54350,7 +54558,7 @@ class WebDeploymentsApi {
54350
54558
  /**
54351
54559
  * WebDeployments service.
54352
54560
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
54353
- * @version 150.0.0
54561
+ * @version 151.0.0
54354
54562
  */
54355
54563
 
54356
54564
  /**
@@ -54738,7 +54946,7 @@ class WebMessagingApi {
54738
54946
  /**
54739
54947
  * WebMessaging service.
54740
54948
  * @module purecloud-platform-client-v2/api/WebMessagingApi
54741
- * @version 150.0.0
54949
+ * @version 151.0.0
54742
54950
  */
54743
54951
 
54744
54952
  /**
@@ -54784,7 +54992,7 @@ class WidgetsApi {
54784
54992
  /**
54785
54993
  * Widgets service.
54786
54994
  * @module purecloud-platform-client-v2/api/WidgetsApi
54787
- * @version 150.0.0
54995
+ * @version 151.0.0
54788
54996
  */
54789
54997
 
54790
54998
  /**
@@ -54930,7 +55138,7 @@ class WorkforceManagementApi {
54930
55138
  /**
54931
55139
  * WorkforceManagement service.
54932
55140
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
54933
- * @version 150.0.0
55141
+ * @version 151.0.0
54934
55142
  */
54935
55143
 
54936
55144
  /**
@@ -58710,6 +58918,76 @@ class WorkforceManagementApi {
58710
58918
  );
58711
58919
  }
58712
58920
 
58921
+ /**
58922
+ * Query time off balances for a given user for specified activity code and dates
58923
+ *
58924
+ * @param {String} managementUnitId The ID of the management unit
58925
+ * @param {String} userId The ID of the user
58926
+ * @param {Object} body The request body
58927
+ */
58928
+ postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
58929
+ // verify the required parameter 'managementUnitId' is set
58930
+ if (managementUnitId === undefined || managementUnitId === null) {
58931
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
58932
+ }
58933
+ // verify the required parameter 'userId' is set
58934
+ if (userId === undefined || userId === null) {
58935
+ throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
58936
+ }
58937
+ // verify the required parameter 'body' is set
58938
+ if (body === undefined || body === null) {
58939
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
58940
+ }
58941
+
58942
+ return this.apiClient.callApi(
58943
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs',
58944
+ 'POST',
58945
+ { 'managementUnitId': managementUnitId,'userId': userId },
58946
+ { },
58947
+ { },
58948
+ { },
58949
+ body,
58950
+ ['PureCloud OAuth'],
58951
+ ['application/json'],
58952
+ ['application/json']
58953
+ );
58954
+ }
58955
+
58956
+ /**
58957
+ * Query time off balances for dates spanned by a given time off request
58958
+ *
58959
+ * @param {String} managementUnitId The ID of the management unit.
58960
+ * @param {String} userId The userId to whom the time off request applies.
58961
+ * @param {String} timeOffRequestId The time off request id.
58962
+ */
58963
+ postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
58964
+ // verify the required parameter 'managementUnitId' is set
58965
+ if (managementUnitId === undefined || managementUnitId === null) {
58966
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
58967
+ }
58968
+ // verify the required parameter 'userId' is set
58969
+ if (userId === undefined || userId === null) {
58970
+ throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
58971
+ }
58972
+ // verify the required parameter 'timeOffRequestId' is set
58973
+ if (timeOffRequestId === undefined || timeOffRequestId === null) {
58974
+ throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
58975
+ }
58976
+
58977
+ return this.apiClient.callApi(
58978
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs',
58979
+ 'POST',
58980
+ { 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
58981
+ { },
58982
+ { },
58983
+ { },
58984
+ null,
58985
+ ['PureCloud OAuth'],
58986
+ ['application/json'],
58987
+ ['application/json']
58988
+ );
58989
+ }
58990
+
58713
58991
  /**
58714
58992
  * Matches a shift trade. This route can only be called by the receiving agent
58715
58993
  *
@@ -59206,7 +59484,7 @@ class WorkforceManagementApi {
59206
59484
  * </pre>
59207
59485
  * </p>
59208
59486
  * @module purecloud-platform-client-v2/index
59209
- * @version 150.0.0
59487
+ * @version 151.0.0
59210
59488
  */
59211
59489
  class platformClient {
59212
59490
  constructor() {