purecloud-platform-client-v2 192.1.0 → 193.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.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +191 -467
- package/dist/web-amd/purecloud-platform-client-v2.js +191 -467
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +193 -278
- package/dist/web-cjs/purecloud-platform-client-v2.js +193 -278
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +583 -602
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +3 -0
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +40 -346
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +48 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -38
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +5 -3
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class TaskManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TaskManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 193.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,7 +24,6 @@ class TaskManagementApi {
|
|
|
24
24
|
* Delete a workbin
|
|
25
25
|
*
|
|
26
26
|
* @param {String} workbinId Workbin ID
|
|
27
|
-
* deleteTaskmanagementWorkbin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28
27
|
*/
|
|
29
28
|
deleteTaskmanagementWorkbin(workbinId) {
|
|
30
29
|
// verify the required parameter 'workbinId' is set
|
|
@@ -50,7 +49,6 @@ class TaskManagementApi {
|
|
|
50
49
|
* Delete a workitem
|
|
51
50
|
*
|
|
52
51
|
* @param {String} workitemId Workitem ID
|
|
53
|
-
* deleteTaskmanagementWorkitem is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
54
52
|
*/
|
|
55
53
|
deleteTaskmanagementWorkitem(workitemId) {
|
|
56
54
|
// verify the required parameter 'workitemId' is set
|
|
@@ -76,7 +74,6 @@ class TaskManagementApi {
|
|
|
76
74
|
* Delete a schema
|
|
77
75
|
*
|
|
78
76
|
* @param {String} schemaId Schema ID
|
|
79
|
-
* deleteTaskmanagementWorkitemsSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
80
77
|
*/
|
|
81
78
|
deleteTaskmanagementWorkitemsSchema(schemaId) {
|
|
82
79
|
// verify the required parameter 'schemaId' is set
|
|
@@ -102,7 +99,6 @@ class TaskManagementApi {
|
|
|
102
99
|
* Delete a worktype
|
|
103
100
|
*
|
|
104
101
|
* @param {String} worktypeId Worktype id
|
|
105
|
-
* deleteTaskmanagementWorktype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
106
102
|
*/
|
|
107
103
|
deleteTaskmanagementWorktype(worktypeId) {
|
|
108
104
|
// verify the required parameter 'worktypeId' is set
|
|
@@ -129,7 +125,6 @@ class TaskManagementApi {
|
|
|
129
125
|
*
|
|
130
126
|
* @param {String} worktypeId Worktype id
|
|
131
127
|
* @param {String} statusId Status id
|
|
132
|
-
* deleteTaskmanagementWorktypeStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
133
128
|
*/
|
|
134
129
|
deleteTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
135
130
|
// verify the required parameter 'worktypeId' is set
|
|
@@ -159,7 +154,6 @@ class TaskManagementApi {
|
|
|
159
154
|
* Get a workbin
|
|
160
155
|
*
|
|
161
156
|
* @param {String} workbinId Workbin ID
|
|
162
|
-
* getTaskmanagementWorkbin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
163
157
|
*/
|
|
164
158
|
getTaskmanagementWorkbin(workbinId) {
|
|
165
159
|
// verify the required parameter 'workbinId' is set
|
|
@@ -282,7 +276,6 @@ class TaskManagementApi {
|
|
|
282
276
|
* @param {String} workitemId Workitem ID
|
|
283
277
|
* @param {Object} opts Optional parameters
|
|
284
278
|
* @param {Object} opts.expands Which fields to expand. Comma separated if more than one.
|
|
285
|
-
* getTaskmanagementWorkitem is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
286
279
|
*/
|
|
287
280
|
getTaskmanagementWorkitem(workitemId, opts) {
|
|
288
281
|
opts = opts || {};
|
|
@@ -348,7 +341,6 @@ class TaskManagementApi {
|
|
|
348
341
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
349
342
|
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 50. (default to 25)
|
|
350
343
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
351
|
-
* getTaskmanagementWorkitemUserWrapups is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
352
344
|
*/
|
|
353
345
|
getTaskmanagementWorkitemUserWrapups(workitemId, userId, opts) {
|
|
354
346
|
opts = opts || {};
|
|
@@ -448,7 +440,6 @@ class TaskManagementApi {
|
|
|
448
440
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
449
441
|
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 50. (default to 25)
|
|
450
442
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
451
|
-
* getTaskmanagementWorkitemWrapups is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
452
443
|
*/
|
|
453
444
|
getTaskmanagementWorkitemWrapups(workitemId, opts) {
|
|
454
445
|
opts = opts || {};
|
|
@@ -476,7 +467,6 @@ class TaskManagementApi {
|
|
|
476
467
|
* Get the workitem query job associated with the job id.
|
|
477
468
|
*
|
|
478
469
|
* @param {String} jobId jobId
|
|
479
|
-
* getTaskmanagementWorkitemsQueryJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
480
470
|
*/
|
|
481
471
|
getTaskmanagementWorkitemsQueryJob(jobId) {
|
|
482
472
|
// verify the required parameter 'jobId' is set
|
|
@@ -502,7 +492,6 @@ class TaskManagementApi {
|
|
|
502
492
|
* Get results from for workitem query job
|
|
503
493
|
*
|
|
504
494
|
* @param {String} jobId jobId
|
|
505
|
-
* getTaskmanagementWorkitemsQueryJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
506
495
|
*/
|
|
507
496
|
getTaskmanagementWorkitemsQueryJobResults(jobId) {
|
|
508
497
|
// verify the required parameter 'jobId' is set
|
|
@@ -528,7 +517,6 @@ class TaskManagementApi {
|
|
|
528
517
|
* Get a schema
|
|
529
518
|
*
|
|
530
519
|
* @param {String} schemaId Schema ID
|
|
531
|
-
* getTaskmanagementWorkitemsSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
532
520
|
*/
|
|
533
521
|
getTaskmanagementWorkitemsSchema(schemaId) {
|
|
534
522
|
// verify the required parameter 'schemaId' is set
|
|
@@ -555,7 +543,6 @@ class TaskManagementApi {
|
|
|
555
543
|
*
|
|
556
544
|
* @param {String} schemaId Schema ID
|
|
557
545
|
* @param {String} versionId Schema version
|
|
558
|
-
* getTaskmanagementWorkitemsSchemaVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
559
546
|
*/
|
|
560
547
|
getTaskmanagementWorkitemsSchemaVersion(schemaId, versionId) {
|
|
561
548
|
// verify the required parameter 'schemaId' is set
|
|
@@ -585,7 +572,6 @@ class TaskManagementApi {
|
|
|
585
572
|
* Get all versions of a schema
|
|
586
573
|
*
|
|
587
574
|
* @param {String} schemaId Schema ID
|
|
588
|
-
* getTaskmanagementWorkitemsSchemaVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
589
575
|
*/
|
|
590
576
|
getTaskmanagementWorkitemsSchemaVersions(schemaId) {
|
|
591
577
|
// verify the required parameter 'schemaId' is set
|
|
@@ -610,7 +596,6 @@ class TaskManagementApi {
|
|
|
610
596
|
/**
|
|
611
597
|
* Get a list of schemas.
|
|
612
598
|
*
|
|
613
|
-
* getTaskmanagementWorkitemsSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
614
599
|
*/
|
|
615
600
|
getTaskmanagementWorkitemsSchemas() {
|
|
616
601
|
|
|
@@ -634,7 +619,6 @@ class TaskManagementApi {
|
|
|
634
619
|
* @param {String} worktypeId Worktype id
|
|
635
620
|
* @param {Object} opts Optional parameters
|
|
636
621
|
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
637
|
-
* getTaskmanagementWorktype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
638
622
|
*/
|
|
639
623
|
getTaskmanagementWorktype(worktypeId, opts) {
|
|
640
624
|
opts = opts || {};
|
|
@@ -695,7 +679,6 @@ class TaskManagementApi {
|
|
|
695
679
|
*
|
|
696
680
|
* @param {String} worktypeId Worktype id
|
|
697
681
|
* @param {String} statusId Status id
|
|
698
|
-
* getTaskmanagementWorktypeStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
699
682
|
*/
|
|
700
683
|
getTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
701
684
|
// verify the required parameter 'worktypeId' is set
|
|
@@ -725,7 +708,6 @@ class TaskManagementApi {
|
|
|
725
708
|
* Get list of statuses for this worktype.
|
|
726
709
|
*
|
|
727
710
|
* @param {String} worktypeId Worktype id
|
|
728
|
-
* getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
729
711
|
*/
|
|
730
712
|
getTaskmanagementWorktypeStatuses(worktypeId) {
|
|
731
713
|
// verify the required parameter 'worktypeId' is set
|
|
@@ -815,7 +797,6 @@ class TaskManagementApi {
|
|
|
815
797
|
*
|
|
816
798
|
* @param {String} workbinId Workbin ID
|
|
817
799
|
* @param {Object} body Json with attributes and their new values: {description:new description, name:new name}.
|
|
818
|
-
* patchTaskmanagementWorkbin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
819
800
|
*/
|
|
820
801
|
patchTaskmanagementWorkbin(workbinId, body) {
|
|
821
802
|
// verify the required parameter 'workbinId' is set
|
|
@@ -846,7 +827,6 @@ class TaskManagementApi {
|
|
|
846
827
|
*
|
|
847
828
|
* @param {String} workitemId Workitem ID
|
|
848
829
|
* @param {Object} body Workitem
|
|
849
|
-
* patchTaskmanagementWorkitem is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
850
830
|
*/
|
|
851
831
|
patchTaskmanagementWorkitem(workitemId, body) {
|
|
852
832
|
// verify the required parameter 'workitemId' is set
|
|
@@ -877,7 +857,6 @@ class TaskManagementApi {
|
|
|
877
857
|
*
|
|
878
858
|
* @param {String} workitemId Workitem ID
|
|
879
859
|
* @param {Object} body Targeted user
|
|
880
|
-
* patchTaskmanagementWorkitemAssignment is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
881
860
|
*/
|
|
882
861
|
patchTaskmanagementWorkitemAssignment(workitemId, body) {
|
|
883
862
|
// verify the required parameter 'workitemId' is set
|
|
@@ -909,7 +888,6 @@ class TaskManagementApi {
|
|
|
909
888
|
* @param {String} workitemId The ID of the Workitem.
|
|
910
889
|
* @param {String} userId The ID of the user
|
|
911
890
|
* @param {Object} body Request body to add/remove a wrapup code for a workitem
|
|
912
|
-
* patchTaskmanagementWorkitemUserWrapups is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
913
891
|
*/
|
|
914
892
|
patchTaskmanagementWorkitemUserWrapups(workitemId, userId, body) {
|
|
915
893
|
// verify the required parameter 'workitemId' is set
|
|
@@ -944,7 +922,6 @@ class TaskManagementApi {
|
|
|
944
922
|
*
|
|
945
923
|
* @param {String} workitemId The ID of the Workitem.
|
|
946
924
|
* @param {Object} body Request body to add/remove the wrapup code for workitem
|
|
947
|
-
* patchTaskmanagementWorkitemUsersMeWrapups is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
948
925
|
*/
|
|
949
926
|
patchTaskmanagementWorkitemUsersMeWrapups(workitemId, body) {
|
|
950
927
|
// verify the required parameter 'workitemId' is set
|
|
@@ -976,7 +953,6 @@ class TaskManagementApi {
|
|
|
976
953
|
* @param {String} worktypeId Worktype id
|
|
977
954
|
* @param {Object} opts Optional parameters
|
|
978
955
|
* @param {Object} opts.body body
|
|
979
|
-
* patchTaskmanagementWorktype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
980
956
|
*/
|
|
981
957
|
patchTaskmanagementWorktype(worktypeId, opts) {
|
|
982
958
|
opts = opts || {};
|
|
@@ -1007,7 +983,6 @@ class TaskManagementApi {
|
|
|
1007
983
|
* @param {String} statusId Status id
|
|
1008
984
|
* @param {Object} opts Optional parameters
|
|
1009
985
|
* @param {Object} opts.body body
|
|
1010
|
-
* patchTaskmanagementWorktypeStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1011
986
|
*/
|
|
1012
987
|
patchTaskmanagementWorktypeStatus(worktypeId, statusId, opts) {
|
|
1013
988
|
opts = opts || {};
|
|
@@ -1040,7 +1015,6 @@ class TaskManagementApi {
|
|
|
1040
1015
|
*
|
|
1041
1016
|
* @param {Object} opts Optional parameters
|
|
1042
1017
|
* @param {Object} opts.body body
|
|
1043
|
-
* postTaskmanagementWorkbins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1044
1018
|
*/
|
|
1045
1019
|
postTaskmanagementWorkbins(opts) {
|
|
1046
1020
|
opts = opts || {};
|
|
@@ -1064,7 +1038,6 @@ class TaskManagementApi {
|
|
|
1064
1038
|
* Query for workbins
|
|
1065
1039
|
*
|
|
1066
1040
|
* @param {Object} body QueryPostRequest
|
|
1067
|
-
* postTaskmanagementWorkbinsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1068
1041
|
*/
|
|
1069
1042
|
postTaskmanagementWorkbinsQuery(body) {
|
|
1070
1043
|
// verify the required parameter 'body' is set
|
|
@@ -1090,7 +1063,6 @@ class TaskManagementApi {
|
|
|
1090
1063
|
* Cancel the assignment process for a workitem that is currently queued for assignment through ACD.
|
|
1091
1064
|
*
|
|
1092
1065
|
* @param {String} workitemId Workitem ID
|
|
1093
|
-
* postTaskmanagementWorkitemAcdCancel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1094
1066
|
*/
|
|
1095
1067
|
postTaskmanagementWorkitemAcdCancel(workitemId) {
|
|
1096
1068
|
// verify the required parameter 'workitemId' is set
|
|
@@ -1116,7 +1088,6 @@ class TaskManagementApi {
|
|
|
1116
1088
|
* Disconnect the assignee of the workitem
|
|
1117
1089
|
*
|
|
1118
1090
|
* @param {String} workitemId Workitem ID
|
|
1119
|
-
* postTaskmanagementWorkitemDisconnect is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1120
1091
|
*/
|
|
1121
1092
|
postTaskmanagementWorkitemDisconnect(workitemId) {
|
|
1122
1093
|
// verify the required parameter 'workitemId' is set
|
|
@@ -1144,7 +1115,6 @@ class TaskManagementApi {
|
|
|
1144
1115
|
* @param {String} workitemId Workitem ID
|
|
1145
1116
|
* @param {Object} opts Optional parameters
|
|
1146
1117
|
* @param {Object} opts.body Terminated request
|
|
1147
|
-
* postTaskmanagementWorkitemTerminate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1148
1118
|
*/
|
|
1149
1119
|
postTaskmanagementWorkitemTerminate(workitemId, opts) {
|
|
1150
1120
|
opts = opts || {};
|
|
@@ -1172,7 +1142,6 @@ class TaskManagementApi {
|
|
|
1172
1142
|
* Create a workitem
|
|
1173
1143
|
*
|
|
1174
1144
|
* @param {Object} body Workitem
|
|
1175
|
-
* postTaskmanagementWorkitems is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1176
1145
|
*/
|
|
1177
1146
|
postTaskmanagementWorkitems(body) {
|
|
1178
1147
|
// verify the required parameter 'body' is set
|
|
@@ -1224,7 +1193,6 @@ class TaskManagementApi {
|
|
|
1224
1193
|
* Create a workitem query job
|
|
1225
1194
|
*
|
|
1226
1195
|
* @param {Object} body WorkitemQueryJobCreate
|
|
1227
|
-
* postTaskmanagementWorkitemsQueryJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1228
1196
|
*/
|
|
1229
1197
|
postTaskmanagementWorkitemsQueryJobs(body) {
|
|
1230
1198
|
// verify the required parameter 'body' is set
|
|
@@ -1250,7 +1218,6 @@ class TaskManagementApi {
|
|
|
1250
1218
|
* Create a schema
|
|
1251
1219
|
*
|
|
1252
1220
|
* @param {Object} body Schema
|
|
1253
|
-
* postTaskmanagementWorkitemsSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1254
1221
|
*/
|
|
1255
1222
|
postTaskmanagementWorkitemsSchemas(body) {
|
|
1256
1223
|
// verify the required parameter 'body' is set
|
|
@@ -1278,7 +1245,6 @@ class TaskManagementApi {
|
|
|
1278
1245
|
* @param {String} worktypeId Worktype id
|
|
1279
1246
|
* @param {Object} opts Optional parameters
|
|
1280
1247
|
* @param {Object} opts.body body
|
|
1281
|
-
* postTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1282
1248
|
*/
|
|
1283
1249
|
postTaskmanagementWorktypeStatuses(worktypeId, opts) {
|
|
1284
1250
|
opts = opts || {};
|
|
@@ -1307,7 +1273,6 @@ class TaskManagementApi {
|
|
|
1307
1273
|
*
|
|
1308
1274
|
* @param {Object} opts Optional parameters
|
|
1309
1275
|
* @param {Object} opts.body body
|
|
1310
|
-
* postTaskmanagementWorktypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1311
1276
|
*/
|
|
1312
1277
|
postTaskmanagementWorktypes(opts) {
|
|
1313
1278
|
opts = opts || {};
|
|
@@ -1331,7 +1296,6 @@ class TaskManagementApi {
|
|
|
1331
1296
|
* Query for worktypes
|
|
1332
1297
|
*
|
|
1333
1298
|
* @param {Object} body QueryPostRequest
|
|
1334
|
-
* postTaskmanagementWorktypesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1335
1299
|
*/
|
|
1336
1300
|
postTaskmanagementWorktypesQuery(body) {
|
|
1337
1301
|
// verify the required parameter 'body' is set
|
|
@@ -1358,7 +1322,6 @@ class TaskManagementApi {
|
|
|
1358
1322
|
*
|
|
1359
1323
|
* @param {String} schemaId Schema ID
|
|
1360
1324
|
* @param {Object} body Data Schema
|
|
1361
|
-
* putTaskmanagementWorkitemsSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1362
1325
|
*/
|
|
1363
1326
|
putTaskmanagementWorkitemsSchema(schemaId, body) {
|
|
1364
1327
|
// verify the required parameter 'schemaId' is set
|
|
@@ -5,7 +5,7 @@ class TeamsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Teams service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 193.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -197,7 +197,6 @@ class TeamsApi {
|
|
|
197
197
|
* @param {Object} opts Optional parameters
|
|
198
198
|
* @param {Number} opts.pageSize The desired page size
|
|
199
199
|
* @param {Number} opts.pageNumber The desired page number
|
|
200
|
-
* postAnalyticsTeamsActivityQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
201
200
|
*/
|
|
202
201
|
postAnalyticsTeamsActivityQuery(body, opts) {
|
|
203
202
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 193.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1675,7 +1675,6 @@ class UsersApi {
|
|
|
1675
1675
|
* @param {Object} opts Optional parameters
|
|
1676
1676
|
* @param {Number} opts.pageSize The desired page size
|
|
1677
1677
|
* @param {Number} opts.pageNumber The desired page number
|
|
1678
|
-
* postAnalyticsUsersActivityQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1679
1678
|
*/
|
|
1680
1679
|
postAnalyticsUsersActivityQuery(body, opts) {
|
|
1681
1680
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WorkforceManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 193.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2045,6 +2045,7 @@ class WorkforceManagementApi {
|
|
|
2045
2045
|
* @param {String} agentId The agent id
|
|
2046
2046
|
* @param {Object} opts Optional parameters
|
|
2047
2047
|
* @param {Boolean} opts.excludeCapabilities Excludes all capabilities of the agent such as queues, languages, and skills
|
|
2048
|
+
* @param {Array.<String>} opts.expand
|
|
2048
2049
|
*/
|
|
2049
2050
|
getWorkforcemanagementManagementunitAgent(managementUnitId, agentId, opts) {
|
|
2050
2051
|
opts = opts || {};
|
|
@@ -2062,7 +2063,7 @@ class WorkforceManagementApi {
|
|
|
2062
2063
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}',
|
|
2063
2064
|
'GET',
|
|
2064
2065
|
{ 'managementUnitId': managementUnitId,'agentId': agentId },
|
|
2065
|
-
{ 'excludeCapabilities': opts['excludeCapabilities'] },
|
|
2066
|
+
{ 'excludeCapabilities': opts['excludeCapabilities'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2066
2067
|
{ },
|
|
2067
2068
|
{ },
|
|
2068
2069
|
null,
|
|
@@ -2603,6 +2604,7 @@ class WorkforceManagementApi {
|
|
|
2603
2604
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
2604
2605
|
* @param {Object} opts Optional parameters
|
|
2605
2606
|
* @param {Array.<String>} opts.expand Include to access additional data on the work plans
|
|
2607
|
+
* @param {Array.<String>} opts.exclude Exclude specific data on the work plans from the response
|
|
2606
2608
|
*/
|
|
2607
2609
|
getWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
2608
2610
|
opts = opts || {};
|
|
@@ -2616,7 +2618,7 @@ class WorkforceManagementApi {
|
|
|
2616
2618
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
2617
2619
|
'GET',
|
|
2618
2620
|
{ 'managementUnitId': managementUnitId },
|
|
2619
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2621
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'exclude': this.apiClient.buildCollectionParam(opts['exclude'], 'multi') },
|
|
2620
2622
|
{ },
|
|
2621
2623
|
{ },
|
|
2622
2624
|
null,
|