purecloud-platform-client-v2 249.0.0 → 250.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 +34 -3
- package/dist/node/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +10600 -2242
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
- package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
- package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
- package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
- package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
- package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
- package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
- package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
- 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 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class TaskManagementApi {
|
|
|
24
24
|
* Delete a workbin
|
|
25
25
|
*
|
|
26
26
|
* @param {String} workbinId Workbin ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteTaskmanagementWorkbin(workbinId) {
|
|
30
|
+
deleteTaskmanagementWorkbin(workbinId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'workbinId' is set
|
|
30
34
|
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
31
35
|
throw 'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';
|
|
@@ -41,7 +45,8 @@ class TaskManagementApi {
|
|
|
41
45
|
null,
|
|
42
46
|
['PureCloud OAuth'],
|
|
43
47
|
['application/json'],
|
|
44
|
-
['application/json']
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
45
50
|
);
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -49,8 +54,12 @@ class TaskManagementApi {
|
|
|
49
54
|
* Delete a workitem
|
|
50
55
|
*
|
|
51
56
|
* @param {String} workitemId Workitem ID
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
deleteTaskmanagementWorkitem(workitemId) {
|
|
60
|
+
deleteTaskmanagementWorkitem(workitemId, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'workitemId' is set
|
|
55
64
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
56
65
|
throw 'Missing the required parameter "workitemId" when calling deleteTaskmanagementWorkitem';
|
|
@@ -66,7 +75,8 @@ class TaskManagementApi {
|
|
|
66
75
|
null,
|
|
67
76
|
['PureCloud OAuth'],
|
|
68
77
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
78
|
+
['application/json'],
|
|
79
|
+
opts['customHeaders']
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
|
|
@@ -74,8 +84,12 @@ class TaskManagementApi {
|
|
|
74
84
|
* Delete a bulk add job
|
|
75
85
|
*
|
|
76
86
|
* @param {String} bulkJobId Bulk job id
|
|
87
|
+
* @param {Object} opts Optional parameters
|
|
88
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
77
89
|
*/
|
|
78
|
-
deleteTaskmanagementWorkitemsBulkAddJob(bulkJobId) {
|
|
90
|
+
deleteTaskmanagementWorkitemsBulkAddJob(bulkJobId, opts) {
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
|
|
79
93
|
// verify the required parameter 'bulkJobId' is set
|
|
80
94
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
81
95
|
throw 'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkAddJob';
|
|
@@ -91,7 +105,8 @@ class TaskManagementApi {
|
|
|
91
105
|
null,
|
|
92
106
|
['PureCloud OAuth'],
|
|
93
107
|
['application/json'],
|
|
94
|
-
['application/json']
|
|
108
|
+
['application/json'],
|
|
109
|
+
opts['customHeaders']
|
|
95
110
|
);
|
|
96
111
|
}
|
|
97
112
|
|
|
@@ -99,8 +114,12 @@ class TaskManagementApi {
|
|
|
99
114
|
* Delete a Bulk job
|
|
100
115
|
*
|
|
101
116
|
* @param {String} bulkJobId Bulk job id
|
|
117
|
+
* @param {Object} opts Optional parameters
|
|
118
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
102
119
|
*/
|
|
103
|
-
deleteTaskmanagementWorkitemsBulkTerminateJob(bulkJobId) {
|
|
120
|
+
deleteTaskmanagementWorkitemsBulkTerminateJob(bulkJobId, opts) {
|
|
121
|
+
opts = opts || {};
|
|
122
|
+
|
|
104
123
|
// verify the required parameter 'bulkJobId' is set
|
|
105
124
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
106
125
|
throw 'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkTerminateJob';
|
|
@@ -116,7 +135,8 @@ class TaskManagementApi {
|
|
|
116
135
|
null,
|
|
117
136
|
['PureCloud OAuth'],
|
|
118
137
|
['application/json'],
|
|
119
|
-
['application/json']
|
|
138
|
+
['application/json'],
|
|
139
|
+
opts['customHeaders']
|
|
120
140
|
);
|
|
121
141
|
}
|
|
122
142
|
|
|
@@ -124,8 +144,12 @@ class TaskManagementApi {
|
|
|
124
144
|
* Delete a schema
|
|
125
145
|
*
|
|
126
146
|
* @param {String} schemaId Schema ID
|
|
147
|
+
* @param {Object} opts Optional parameters
|
|
148
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
127
149
|
*/
|
|
128
|
-
deleteTaskmanagementWorkitemsSchema(schemaId) {
|
|
150
|
+
deleteTaskmanagementWorkitemsSchema(schemaId, opts) {
|
|
151
|
+
opts = opts || {};
|
|
152
|
+
|
|
129
153
|
// verify the required parameter 'schemaId' is set
|
|
130
154
|
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
131
155
|
throw 'Missing the required parameter "schemaId" when calling deleteTaskmanagementWorkitemsSchema';
|
|
@@ -141,7 +165,8 @@ class TaskManagementApi {
|
|
|
141
165
|
null,
|
|
142
166
|
['PureCloud OAuth'],
|
|
143
167
|
['application/json'],
|
|
144
|
-
['application/json']
|
|
168
|
+
['application/json'],
|
|
169
|
+
opts['customHeaders']
|
|
145
170
|
);
|
|
146
171
|
}
|
|
147
172
|
|
|
@@ -149,8 +174,12 @@ class TaskManagementApi {
|
|
|
149
174
|
* Delete a worktype
|
|
150
175
|
*
|
|
151
176
|
* @param {String} worktypeId Worktype id
|
|
177
|
+
* @param {Object} opts Optional parameters
|
|
178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
152
179
|
*/
|
|
153
|
-
deleteTaskmanagementWorktype(worktypeId) {
|
|
180
|
+
deleteTaskmanagementWorktype(worktypeId, opts) {
|
|
181
|
+
opts = opts || {};
|
|
182
|
+
|
|
154
183
|
// verify the required parameter 'worktypeId' is set
|
|
155
184
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
156
185
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';
|
|
@@ -166,7 +195,8 @@ class TaskManagementApi {
|
|
|
166
195
|
null,
|
|
167
196
|
['PureCloud OAuth'],
|
|
168
197
|
['application/json'],
|
|
169
|
-
['application/json']
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
170
200
|
);
|
|
171
201
|
}
|
|
172
202
|
|
|
@@ -175,8 +205,12 @@ class TaskManagementApi {
|
|
|
175
205
|
*
|
|
176
206
|
* @param {String} worktypeId Worktype id
|
|
177
207
|
* @param {String} ruleId ruleId
|
|
208
|
+
* @param {Object} opts Optional parameters
|
|
209
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
178
210
|
*/
|
|
179
|
-
deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
211
|
+
deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, opts) {
|
|
212
|
+
opts = opts || {};
|
|
213
|
+
|
|
180
214
|
// verify the required parameter 'worktypeId' is set
|
|
181
215
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
182
216
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
@@ -196,7 +230,8 @@ class TaskManagementApi {
|
|
|
196
230
|
null,
|
|
197
231
|
['PureCloud OAuth'],
|
|
198
232
|
['application/json'],
|
|
199
|
-
['application/json']
|
|
233
|
+
['application/json'],
|
|
234
|
+
opts['customHeaders']
|
|
200
235
|
);
|
|
201
236
|
}
|
|
202
237
|
|
|
@@ -205,8 +240,12 @@ class TaskManagementApi {
|
|
|
205
240
|
*
|
|
206
241
|
* @param {String} worktypeId Worktype id
|
|
207
242
|
* @param {String} ruleId ruleId
|
|
243
|
+
* @param {Object} opts Optional parameters
|
|
244
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
208
245
|
*/
|
|
209
|
-
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
246
|
+
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, opts) {
|
|
247
|
+
opts = opts || {};
|
|
248
|
+
|
|
210
249
|
// verify the required parameter 'worktypeId' is set
|
|
211
250
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
212
251
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
@@ -226,7 +265,8 @@ class TaskManagementApi {
|
|
|
226
265
|
null,
|
|
227
266
|
['PureCloud OAuth'],
|
|
228
267
|
['application/json'],
|
|
229
|
-
['application/json']
|
|
268
|
+
['application/json'],
|
|
269
|
+
opts['customHeaders']
|
|
230
270
|
);
|
|
231
271
|
}
|
|
232
272
|
|
|
@@ -235,8 +275,12 @@ class TaskManagementApi {
|
|
|
235
275
|
*
|
|
236
276
|
* @param {String} worktypeId Worktype id
|
|
237
277
|
* @param {String} ruleId ruleId
|
|
278
|
+
* @param {Object} opts Optional parameters
|
|
279
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
238
280
|
*/
|
|
239
|
-
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
281
|
+
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, opts) {
|
|
282
|
+
opts = opts || {};
|
|
283
|
+
|
|
240
284
|
// verify the required parameter 'worktypeId' is set
|
|
241
285
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
242
286
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
@@ -256,7 +300,8 @@ class TaskManagementApi {
|
|
|
256
300
|
null,
|
|
257
301
|
['PureCloud OAuth'],
|
|
258
302
|
['application/json'],
|
|
259
|
-
['application/json']
|
|
303
|
+
['application/json'],
|
|
304
|
+
opts['customHeaders']
|
|
260
305
|
);
|
|
261
306
|
}
|
|
262
307
|
|
|
@@ -265,8 +310,12 @@ class TaskManagementApi {
|
|
|
265
310
|
*
|
|
266
311
|
* @param {String} worktypeId Worktype id
|
|
267
312
|
* @param {String} statusId Status id
|
|
313
|
+
* @param {Object} opts Optional parameters
|
|
314
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
268
315
|
*/
|
|
269
|
-
deleteTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
316
|
+
deleteTaskmanagementWorktypeStatus(worktypeId, statusId, opts) {
|
|
317
|
+
opts = opts || {};
|
|
318
|
+
|
|
270
319
|
// verify the required parameter 'worktypeId' is set
|
|
271
320
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
272
321
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeStatus';
|
|
@@ -286,7 +335,8 @@ class TaskManagementApi {
|
|
|
286
335
|
null,
|
|
287
336
|
['PureCloud OAuth'],
|
|
288
337
|
['application/json'],
|
|
289
|
-
['application/json']
|
|
338
|
+
['application/json'],
|
|
339
|
+
opts['customHeaders']
|
|
290
340
|
);
|
|
291
341
|
}
|
|
292
342
|
|
|
@@ -294,8 +344,12 @@ class TaskManagementApi {
|
|
|
294
344
|
* Get a workbin
|
|
295
345
|
*
|
|
296
346
|
* @param {String} workbinId Workbin ID
|
|
347
|
+
* @param {Object} opts Optional parameters
|
|
348
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
297
349
|
*/
|
|
298
|
-
getTaskmanagementWorkbin(workbinId) {
|
|
350
|
+
getTaskmanagementWorkbin(workbinId, opts) {
|
|
351
|
+
opts = opts || {};
|
|
352
|
+
|
|
299
353
|
// verify the required parameter 'workbinId' is set
|
|
300
354
|
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
301
355
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbin';
|
|
@@ -311,7 +365,8 @@ class TaskManagementApi {
|
|
|
311
365
|
null,
|
|
312
366
|
['PureCloud OAuth'],
|
|
313
367
|
['application/json'],
|
|
314
|
-
['application/json']
|
|
368
|
+
['application/json'],
|
|
369
|
+
opts['customHeaders']
|
|
315
370
|
);
|
|
316
371
|
}
|
|
317
372
|
|
|
@@ -323,6 +378,7 @@ class TaskManagementApi {
|
|
|
323
378
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
324
379
|
* @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 200. (default to 25)
|
|
325
380
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
381
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
326
382
|
*/
|
|
327
383
|
getTaskmanagementWorkbinHistory(workbinId, opts) {
|
|
328
384
|
opts = opts || {};
|
|
@@ -342,7 +398,8 @@ class TaskManagementApi {
|
|
|
342
398
|
null,
|
|
343
399
|
['PureCloud OAuth'],
|
|
344
400
|
['application/json'],
|
|
345
|
-
['application/json']
|
|
401
|
+
['application/json'],
|
|
402
|
+
opts['customHeaders']
|
|
346
403
|
);
|
|
347
404
|
}
|
|
348
405
|
|
|
@@ -351,8 +408,12 @@ class TaskManagementApi {
|
|
|
351
408
|
*
|
|
352
409
|
* @param {String} workbinId Workbin ID
|
|
353
410
|
* @param {Number} entityVersion Workbin version
|
|
411
|
+
* @param {Object} opts Optional parameters
|
|
412
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
354
413
|
*/
|
|
355
|
-
getTaskmanagementWorkbinVersion(workbinId, entityVersion) {
|
|
414
|
+
getTaskmanagementWorkbinVersion(workbinId, entityVersion, opts) {
|
|
415
|
+
opts = opts || {};
|
|
416
|
+
|
|
356
417
|
// verify the required parameter 'workbinId' is set
|
|
357
418
|
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
358
419
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersion';
|
|
@@ -372,7 +433,8 @@ class TaskManagementApi {
|
|
|
372
433
|
null,
|
|
373
434
|
['PureCloud OAuth'],
|
|
374
435
|
['application/json'],
|
|
375
|
-
['application/json']
|
|
436
|
+
['application/json'],
|
|
437
|
+
opts['customHeaders']
|
|
376
438
|
);
|
|
377
439
|
}
|
|
378
440
|
|
|
@@ -384,6 +446,7 @@ class TaskManagementApi {
|
|
|
384
446
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
385
447
|
* @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 200. (default to 25)
|
|
386
448
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
449
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
387
450
|
*/
|
|
388
451
|
getTaskmanagementWorkbinVersions(workbinId, opts) {
|
|
389
452
|
opts = opts || {};
|
|
@@ -403,7 +466,8 @@ class TaskManagementApi {
|
|
|
403
466
|
null,
|
|
404
467
|
['PureCloud OAuth'],
|
|
405
468
|
['application/json'],
|
|
406
|
-
['application/json']
|
|
469
|
+
['application/json'],
|
|
470
|
+
opts['customHeaders']
|
|
407
471
|
);
|
|
408
472
|
}
|
|
409
473
|
|
|
@@ -413,6 +477,7 @@ class TaskManagementApi {
|
|
|
413
477
|
* @param {String} workitemId Workitem ID
|
|
414
478
|
* @param {Object} opts Optional parameters
|
|
415
479
|
* @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
|
|
480
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
416
481
|
*/
|
|
417
482
|
getTaskmanagementWorkitem(workitemId, opts) {
|
|
418
483
|
opts = opts || {};
|
|
@@ -432,7 +497,8 @@ class TaskManagementApi {
|
|
|
432
497
|
null,
|
|
433
498
|
['PureCloud OAuth'],
|
|
434
499
|
['application/json'],
|
|
435
|
-
['application/json']
|
|
500
|
+
['application/json'],
|
|
501
|
+
opts['customHeaders']
|
|
436
502
|
);
|
|
437
503
|
}
|
|
438
504
|
|
|
@@ -444,6 +510,7 @@ class TaskManagementApi {
|
|
|
444
510
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
445
511
|
* @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 200. (default to 25)
|
|
446
512
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
513
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
447
514
|
*/
|
|
448
515
|
getTaskmanagementWorkitemHistory(workitemId, opts) {
|
|
449
516
|
opts = opts || {};
|
|
@@ -463,7 +530,8 @@ class TaskManagementApi {
|
|
|
463
530
|
null,
|
|
464
531
|
['PureCloud OAuth'],
|
|
465
532
|
['application/json'],
|
|
466
|
-
['application/json']
|
|
533
|
+
['application/json'],
|
|
534
|
+
opts['customHeaders']
|
|
467
535
|
);
|
|
468
536
|
}
|
|
469
537
|
|
|
@@ -477,6 +545,7 @@ class TaskManagementApi {
|
|
|
477
545
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
478
546
|
* @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)
|
|
479
547
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
548
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
480
549
|
*/
|
|
481
550
|
getTaskmanagementWorkitemUserWrapups(workitemId, userId, opts) {
|
|
482
551
|
opts = opts || {};
|
|
@@ -500,7 +569,8 @@ class TaskManagementApi {
|
|
|
500
569
|
null,
|
|
501
570
|
['PureCloud OAuth'],
|
|
502
571
|
['application/json'],
|
|
503
|
-
['application/json']
|
|
572
|
+
['application/json'],
|
|
573
|
+
opts['customHeaders']
|
|
504
574
|
);
|
|
505
575
|
}
|
|
506
576
|
|
|
@@ -509,8 +579,12 @@ class TaskManagementApi {
|
|
|
509
579
|
*
|
|
510
580
|
* @param {String} workitemId Workitem ID
|
|
511
581
|
* @param {Number} entityVersion Workitem version
|
|
582
|
+
* @param {Object} opts Optional parameters
|
|
583
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
512
584
|
*/
|
|
513
|
-
getTaskmanagementWorkitemVersion(workitemId, entityVersion) {
|
|
585
|
+
getTaskmanagementWorkitemVersion(workitemId, entityVersion, opts) {
|
|
586
|
+
opts = opts || {};
|
|
587
|
+
|
|
514
588
|
// verify the required parameter 'workitemId' is set
|
|
515
589
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
516
590
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersion';
|
|
@@ -530,7 +604,8 @@ class TaskManagementApi {
|
|
|
530
604
|
null,
|
|
531
605
|
['PureCloud OAuth'],
|
|
532
606
|
['application/json'],
|
|
533
|
-
['application/json']
|
|
607
|
+
['application/json'],
|
|
608
|
+
opts['customHeaders']
|
|
534
609
|
);
|
|
535
610
|
}
|
|
536
611
|
|
|
@@ -542,6 +617,7 @@ class TaskManagementApi {
|
|
|
542
617
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
543
618
|
* @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 200. (default to 25)
|
|
544
619
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
620
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
545
621
|
*/
|
|
546
622
|
getTaskmanagementWorkitemVersions(workitemId, opts) {
|
|
547
623
|
opts = opts || {};
|
|
@@ -561,7 +637,8 @@ class TaskManagementApi {
|
|
|
561
637
|
null,
|
|
562
638
|
['PureCloud OAuth'],
|
|
563
639
|
['application/json'],
|
|
564
|
-
['application/json']
|
|
640
|
+
['application/json'],
|
|
641
|
+
opts['customHeaders']
|
|
565
642
|
);
|
|
566
643
|
}
|
|
567
644
|
|
|
@@ -574,6 +651,7 @@ class TaskManagementApi {
|
|
|
574
651
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
575
652
|
* @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)
|
|
576
653
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
654
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
577
655
|
*/
|
|
578
656
|
getTaskmanagementWorkitemWrapups(workitemId, opts) {
|
|
579
657
|
opts = opts || {};
|
|
@@ -593,7 +671,8 @@ class TaskManagementApi {
|
|
|
593
671
|
null,
|
|
594
672
|
['PureCloud OAuth'],
|
|
595
673
|
['application/json'],
|
|
596
|
-
['application/json']
|
|
674
|
+
['application/json'],
|
|
675
|
+
opts['customHeaders']
|
|
597
676
|
);
|
|
598
677
|
}
|
|
599
678
|
|
|
@@ -601,8 +680,12 @@ class TaskManagementApi {
|
|
|
601
680
|
* Get the bulk add job associated with the job id.
|
|
602
681
|
*
|
|
603
682
|
* @param {String} bulkJobId Bulk job id
|
|
683
|
+
* @param {Object} opts Optional parameters
|
|
684
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
604
685
|
*/
|
|
605
|
-
getTaskmanagementWorkitemsBulkAddJob(bulkJobId) {
|
|
686
|
+
getTaskmanagementWorkitemsBulkAddJob(bulkJobId, opts) {
|
|
687
|
+
opts = opts || {};
|
|
688
|
+
|
|
606
689
|
// verify the required parameter 'bulkJobId' is set
|
|
607
690
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
608
691
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJob';
|
|
@@ -618,7 +701,8 @@ class TaskManagementApi {
|
|
|
618
701
|
null,
|
|
619
702
|
['PureCloud OAuth'],
|
|
620
703
|
['application/json'],
|
|
621
|
-
['application/json']
|
|
704
|
+
['application/json'],
|
|
705
|
+
opts['customHeaders']
|
|
622
706
|
);
|
|
623
707
|
}
|
|
624
708
|
|
|
@@ -626,8 +710,12 @@ class TaskManagementApi {
|
|
|
626
710
|
* Get bulk add job results.
|
|
627
711
|
*
|
|
628
712
|
* @param {String} bulkJobId Bulk job id
|
|
713
|
+
* @param {Object} opts Optional parameters
|
|
714
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
629
715
|
*/
|
|
630
|
-
getTaskmanagementWorkitemsBulkAddJobResults(bulkJobId) {
|
|
716
|
+
getTaskmanagementWorkitemsBulkAddJobResults(bulkJobId, opts) {
|
|
717
|
+
opts = opts || {};
|
|
718
|
+
|
|
631
719
|
// verify the required parameter 'bulkJobId' is set
|
|
632
720
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
633
721
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJobResults';
|
|
@@ -643,7 +731,8 @@ class TaskManagementApi {
|
|
|
643
731
|
null,
|
|
644
732
|
['PureCloud OAuth'],
|
|
645
733
|
['application/json'],
|
|
646
|
-
['application/json']
|
|
734
|
+
['application/json'],
|
|
735
|
+
opts['customHeaders']
|
|
647
736
|
);
|
|
648
737
|
}
|
|
649
738
|
|
|
@@ -655,6 +744,7 @@ class TaskManagementApi {
|
|
|
655
744
|
* @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 200. (default to 25)
|
|
656
745
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
657
746
|
* @param {Object} opts.action The bulk job action.
|
|
747
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
658
748
|
*/
|
|
659
749
|
getTaskmanagementWorkitemsBulkJobsUsersMe(opts) {
|
|
660
750
|
opts = opts || {};
|
|
@@ -670,7 +760,8 @@ class TaskManagementApi {
|
|
|
670
760
|
null,
|
|
671
761
|
['PureCloud OAuth'],
|
|
672
762
|
['application/json'],
|
|
673
|
-
['application/json']
|
|
763
|
+
['application/json'],
|
|
764
|
+
opts['customHeaders']
|
|
674
765
|
);
|
|
675
766
|
}
|
|
676
767
|
|
|
@@ -678,8 +769,12 @@ class TaskManagementApi {
|
|
|
678
769
|
* Get the bulk job associated with the job id.
|
|
679
770
|
*
|
|
680
771
|
* @param {String} bulkJobId Bulk job id
|
|
772
|
+
* @param {Object} opts Optional parameters
|
|
773
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
681
774
|
*/
|
|
682
|
-
getTaskmanagementWorkitemsBulkTerminateJob(bulkJobId) {
|
|
775
|
+
getTaskmanagementWorkitemsBulkTerminateJob(bulkJobId, opts) {
|
|
776
|
+
opts = opts || {};
|
|
777
|
+
|
|
683
778
|
// verify the required parameter 'bulkJobId' is set
|
|
684
779
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
685
780
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJob';
|
|
@@ -695,7 +790,8 @@ class TaskManagementApi {
|
|
|
695
790
|
null,
|
|
696
791
|
['PureCloud OAuth'],
|
|
697
792
|
['application/json'],
|
|
698
|
-
['application/json']
|
|
793
|
+
['application/json'],
|
|
794
|
+
opts['customHeaders']
|
|
699
795
|
);
|
|
700
796
|
}
|
|
701
797
|
|
|
@@ -703,8 +799,12 @@ class TaskManagementApi {
|
|
|
703
799
|
* Get bulk terminate job results.
|
|
704
800
|
*
|
|
705
801
|
* @param {String} bulkJobId Bulk job id
|
|
802
|
+
* @param {Object} opts Optional parameters
|
|
803
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
706
804
|
*/
|
|
707
|
-
getTaskmanagementWorkitemsBulkTerminateJobResults(bulkJobId) {
|
|
805
|
+
getTaskmanagementWorkitemsBulkTerminateJobResults(bulkJobId, opts) {
|
|
806
|
+
opts = opts || {};
|
|
807
|
+
|
|
708
808
|
// verify the required parameter 'bulkJobId' is set
|
|
709
809
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
710
810
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJobResults';
|
|
@@ -720,7 +820,8 @@ class TaskManagementApi {
|
|
|
720
820
|
null,
|
|
721
821
|
['PureCloud OAuth'],
|
|
722
822
|
['application/json'],
|
|
723
|
-
['application/json']
|
|
823
|
+
['application/json'],
|
|
824
|
+
opts['customHeaders']
|
|
724
825
|
);
|
|
725
826
|
}
|
|
726
827
|
|
|
@@ -728,8 +829,12 @@ class TaskManagementApi {
|
|
|
728
829
|
* Get the workitem query job associated with the job id.
|
|
729
830
|
*
|
|
730
831
|
* @param {String} jobId jobId
|
|
832
|
+
* @param {Object} opts Optional parameters
|
|
833
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
731
834
|
*/
|
|
732
|
-
getTaskmanagementWorkitemsQueryJob(jobId) {
|
|
835
|
+
getTaskmanagementWorkitemsQueryJob(jobId, opts) {
|
|
836
|
+
opts = opts || {};
|
|
837
|
+
|
|
733
838
|
// verify the required parameter 'jobId' is set
|
|
734
839
|
if (jobId === undefined || jobId === null || jobId === '') {
|
|
735
840
|
throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';
|
|
@@ -745,7 +850,8 @@ class TaskManagementApi {
|
|
|
745
850
|
null,
|
|
746
851
|
['PureCloud OAuth'],
|
|
747
852
|
['application/json'],
|
|
748
|
-
['application/json']
|
|
853
|
+
['application/json'],
|
|
854
|
+
opts['customHeaders']
|
|
749
855
|
);
|
|
750
856
|
}
|
|
751
857
|
|
|
@@ -753,8 +859,12 @@ class TaskManagementApi {
|
|
|
753
859
|
* Get results from for workitem query job
|
|
754
860
|
*
|
|
755
861
|
* @param {String} jobId jobId
|
|
862
|
+
* @param {Object} opts Optional parameters
|
|
863
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
756
864
|
*/
|
|
757
|
-
getTaskmanagementWorkitemsQueryJobResults(jobId) {
|
|
865
|
+
getTaskmanagementWorkitemsQueryJobResults(jobId, opts) {
|
|
866
|
+
opts = opts || {};
|
|
867
|
+
|
|
758
868
|
// verify the required parameter 'jobId' is set
|
|
759
869
|
if (jobId === undefined || jobId === null || jobId === '') {
|
|
760
870
|
throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';
|
|
@@ -770,7 +880,8 @@ class TaskManagementApi {
|
|
|
770
880
|
null,
|
|
771
881
|
['PureCloud OAuth'],
|
|
772
882
|
['application/json'],
|
|
773
|
-
['application/json']
|
|
883
|
+
['application/json'],
|
|
884
|
+
opts['customHeaders']
|
|
774
885
|
);
|
|
775
886
|
}
|
|
776
887
|
|
|
@@ -778,8 +889,12 @@ class TaskManagementApi {
|
|
|
778
889
|
* Get a schema
|
|
779
890
|
*
|
|
780
891
|
* @param {String} schemaId Schema ID
|
|
892
|
+
* @param {Object} opts Optional parameters
|
|
893
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
781
894
|
*/
|
|
782
|
-
getTaskmanagementWorkitemsSchema(schemaId) {
|
|
895
|
+
getTaskmanagementWorkitemsSchema(schemaId, opts) {
|
|
896
|
+
opts = opts || {};
|
|
897
|
+
|
|
783
898
|
// verify the required parameter 'schemaId' is set
|
|
784
899
|
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
785
900
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchema';
|
|
@@ -795,7 +910,8 @@ class TaskManagementApi {
|
|
|
795
910
|
null,
|
|
796
911
|
['PureCloud OAuth'],
|
|
797
912
|
['application/json'],
|
|
798
|
-
['application/json']
|
|
913
|
+
['application/json'],
|
|
914
|
+
opts['customHeaders']
|
|
799
915
|
);
|
|
800
916
|
}
|
|
801
917
|
|
|
@@ -804,8 +920,12 @@ class TaskManagementApi {
|
|
|
804
920
|
*
|
|
805
921
|
* @param {String} schemaId Schema ID
|
|
806
922
|
* @param {String} versionId Schema version
|
|
923
|
+
* @param {Object} opts Optional parameters
|
|
924
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
807
925
|
*/
|
|
808
|
-
getTaskmanagementWorkitemsSchemaVersion(schemaId, versionId) {
|
|
926
|
+
getTaskmanagementWorkitemsSchemaVersion(schemaId, versionId, opts) {
|
|
927
|
+
opts = opts || {};
|
|
928
|
+
|
|
809
929
|
// verify the required parameter 'schemaId' is set
|
|
810
930
|
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
811
931
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersion';
|
|
@@ -825,7 +945,8 @@ class TaskManagementApi {
|
|
|
825
945
|
null,
|
|
826
946
|
['PureCloud OAuth'],
|
|
827
947
|
['application/json'],
|
|
828
|
-
['application/json']
|
|
948
|
+
['application/json'],
|
|
949
|
+
opts['customHeaders']
|
|
829
950
|
);
|
|
830
951
|
}
|
|
831
952
|
|
|
@@ -833,8 +954,12 @@ class TaskManagementApi {
|
|
|
833
954
|
* Get all versions of a schema
|
|
834
955
|
*
|
|
835
956
|
* @param {String} schemaId Schema ID
|
|
957
|
+
* @param {Object} opts Optional parameters
|
|
958
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
836
959
|
*/
|
|
837
|
-
getTaskmanagementWorkitemsSchemaVersions(schemaId) {
|
|
960
|
+
getTaskmanagementWorkitemsSchemaVersions(schemaId, opts) {
|
|
961
|
+
opts = opts || {};
|
|
962
|
+
|
|
838
963
|
// verify the required parameter 'schemaId' is set
|
|
839
964
|
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
840
965
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersions';
|
|
@@ -850,15 +975,20 @@ class TaskManagementApi {
|
|
|
850
975
|
null,
|
|
851
976
|
['PureCloud OAuth'],
|
|
852
977
|
['application/json'],
|
|
853
|
-
['application/json']
|
|
978
|
+
['application/json'],
|
|
979
|
+
opts['customHeaders']
|
|
854
980
|
);
|
|
855
981
|
}
|
|
856
982
|
|
|
857
983
|
/**
|
|
858
984
|
* Get a list of schemas.
|
|
859
985
|
*
|
|
986
|
+
* @param {Object} opts Optional parameters
|
|
987
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
860
988
|
*/
|
|
861
|
-
getTaskmanagementWorkitemsSchemas() {
|
|
989
|
+
getTaskmanagementWorkitemsSchemas(opts) {
|
|
990
|
+
opts = opts || {};
|
|
991
|
+
|
|
862
992
|
|
|
863
993
|
return this.apiClient.callApi(
|
|
864
994
|
'/api/v2/taskmanagement/workitems/schemas',
|
|
@@ -870,7 +1000,8 @@ class TaskManagementApi {
|
|
|
870
1000
|
null,
|
|
871
1001
|
['PureCloud OAuth'],
|
|
872
1002
|
['application/json'],
|
|
873
|
-
['application/json']
|
|
1003
|
+
['application/json'],
|
|
1004
|
+
opts['customHeaders']
|
|
874
1005
|
);
|
|
875
1006
|
}
|
|
876
1007
|
|
|
@@ -878,8 +1009,12 @@ class TaskManagementApi {
|
|
|
878
1009
|
* Get a specific named core type.
|
|
879
1010
|
*
|
|
880
1011
|
* @param {String} coreTypeName Name of the core type
|
|
1012
|
+
* @param {Object} opts Optional parameters
|
|
1013
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
881
1014
|
*/
|
|
882
|
-
getTaskmanagementWorkitemsSchemasCoretype(coreTypeName) {
|
|
1015
|
+
getTaskmanagementWorkitemsSchemasCoretype(coreTypeName, opts) {
|
|
1016
|
+
opts = opts || {};
|
|
1017
|
+
|
|
883
1018
|
// verify the required parameter 'coreTypeName' is set
|
|
884
1019
|
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
885
1020
|
throw 'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';
|
|
@@ -895,15 +1030,20 @@ class TaskManagementApi {
|
|
|
895
1030
|
null,
|
|
896
1031
|
['PureCloud OAuth'],
|
|
897
1032
|
['application/json'],
|
|
898
|
-
['application/json']
|
|
1033
|
+
['application/json'],
|
|
1034
|
+
opts['customHeaders']
|
|
899
1035
|
);
|
|
900
1036
|
}
|
|
901
1037
|
|
|
902
1038
|
/**
|
|
903
1039
|
* Get the core types from which all schemas are built.
|
|
904
1040
|
*
|
|
1041
|
+
* @param {Object} opts Optional parameters
|
|
1042
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
905
1043
|
*/
|
|
906
|
-
getTaskmanagementWorkitemsSchemasCoretypes() {
|
|
1044
|
+
getTaskmanagementWorkitemsSchemasCoretypes(opts) {
|
|
1045
|
+
opts = opts || {};
|
|
1046
|
+
|
|
907
1047
|
|
|
908
1048
|
return this.apiClient.callApi(
|
|
909
1049
|
'/api/v2/taskmanagement/workitems/schemas/coretypes',
|
|
@@ -915,15 +1055,20 @@ class TaskManagementApi {
|
|
|
915
1055
|
null,
|
|
916
1056
|
['PureCloud OAuth'],
|
|
917
1057
|
['application/json'],
|
|
918
|
-
['application/json']
|
|
1058
|
+
['application/json'],
|
|
1059
|
+
opts['customHeaders']
|
|
919
1060
|
);
|
|
920
1061
|
}
|
|
921
1062
|
|
|
922
1063
|
/**
|
|
923
1064
|
* Get quantitative limits on schemas
|
|
924
1065
|
*
|
|
1066
|
+
* @param {Object} opts Optional parameters
|
|
1067
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
925
1068
|
*/
|
|
926
|
-
getTaskmanagementWorkitemsSchemasLimits() {
|
|
1069
|
+
getTaskmanagementWorkitemsSchemasLimits(opts) {
|
|
1070
|
+
opts = opts || {};
|
|
1071
|
+
|
|
927
1072
|
|
|
928
1073
|
return this.apiClient.callApi(
|
|
929
1074
|
'/api/v2/taskmanagement/workitems/schemas/limits',
|
|
@@ -935,7 +1080,8 @@ class TaskManagementApi {
|
|
|
935
1080
|
null,
|
|
936
1081
|
['PureCloud OAuth'],
|
|
937
1082
|
['application/json'],
|
|
938
|
-
['application/json']
|
|
1083
|
+
['application/json'],
|
|
1084
|
+
opts['customHeaders']
|
|
939
1085
|
);
|
|
940
1086
|
}
|
|
941
1087
|
|
|
@@ -945,6 +1091,7 @@ class TaskManagementApi {
|
|
|
945
1091
|
* @param {String} worktypeId Worktype id
|
|
946
1092
|
* @param {Object} opts Optional parameters
|
|
947
1093
|
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
1094
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
948
1095
|
*/
|
|
949
1096
|
getTaskmanagementWorktype(worktypeId, opts) {
|
|
950
1097
|
opts = opts || {};
|
|
@@ -964,7 +1111,8 @@ class TaskManagementApi {
|
|
|
964
1111
|
null,
|
|
965
1112
|
['PureCloud OAuth'],
|
|
966
1113
|
['application/json'],
|
|
967
|
-
['application/json']
|
|
1114
|
+
['application/json'],
|
|
1115
|
+
opts['customHeaders']
|
|
968
1116
|
);
|
|
969
1117
|
}
|
|
970
1118
|
|
|
@@ -973,8 +1121,12 @@ class TaskManagementApi {
|
|
|
973
1121
|
*
|
|
974
1122
|
* @param {String} worktypeId Worktype id
|
|
975
1123
|
* @param {String} ruleId ruleId
|
|
1124
|
+
* @param {Object} opts Optional parameters
|
|
1125
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
976
1126
|
*/
|
|
977
|
-
getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
1127
|
+
getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, opts) {
|
|
1128
|
+
opts = opts || {};
|
|
1129
|
+
|
|
978
1130
|
// verify the required parameter 'worktypeId' is set
|
|
979
1131
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
980
1132
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
@@ -994,7 +1146,8 @@ class TaskManagementApi {
|
|
|
994
1146
|
null,
|
|
995
1147
|
['PureCloud OAuth'],
|
|
996
1148
|
['application/json'],
|
|
997
|
-
['application/json']
|
|
1149
|
+
['application/json'],
|
|
1150
|
+
opts['customHeaders']
|
|
998
1151
|
);
|
|
999
1152
|
}
|
|
1000
1153
|
|
|
@@ -1005,6 +1158,7 @@ class TaskManagementApi {
|
|
|
1005
1158
|
* @param {Object} opts Optional parameters
|
|
1006
1159
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1007
1160
|
* @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 200. (default to 25)
|
|
1161
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1008
1162
|
*/
|
|
1009
1163
|
getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, opts) {
|
|
1010
1164
|
opts = opts || {};
|
|
@@ -1024,7 +1178,8 @@ class TaskManagementApi {
|
|
|
1024
1178
|
null,
|
|
1025
1179
|
['PureCloud OAuth'],
|
|
1026
1180
|
['application/json'],
|
|
1027
|
-
['application/json']
|
|
1181
|
+
['application/json'],
|
|
1182
|
+
opts['customHeaders']
|
|
1028
1183
|
);
|
|
1029
1184
|
}
|
|
1030
1185
|
|
|
@@ -1033,8 +1188,12 @@ class TaskManagementApi {
|
|
|
1033
1188
|
*
|
|
1034
1189
|
* @param {String} worktypeId Worktype id
|
|
1035
1190
|
* @param {String} ruleId ruleId
|
|
1191
|
+
* @param {Object} opts Optional parameters
|
|
1192
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1036
1193
|
*/
|
|
1037
|
-
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
1194
|
+
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, opts) {
|
|
1195
|
+
opts = opts || {};
|
|
1196
|
+
|
|
1038
1197
|
// verify the required parameter 'worktypeId' is set
|
|
1039
1198
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1040
1199
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
@@ -1054,7 +1213,8 @@ class TaskManagementApi {
|
|
|
1054
1213
|
null,
|
|
1055
1214
|
['PureCloud OAuth'],
|
|
1056
1215
|
['application/json'],
|
|
1057
|
-
['application/json']
|
|
1216
|
+
['application/json'],
|
|
1217
|
+
opts['customHeaders']
|
|
1058
1218
|
);
|
|
1059
1219
|
}
|
|
1060
1220
|
|
|
@@ -1065,6 +1225,7 @@ class TaskManagementApi {
|
|
|
1065
1225
|
* @param {Object} opts Optional parameters
|
|
1066
1226
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1067
1227
|
* @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 200. (default to 25)
|
|
1228
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1068
1229
|
*/
|
|
1069
1230
|
getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, opts) {
|
|
1070
1231
|
opts = opts || {};
|
|
@@ -1084,7 +1245,8 @@ class TaskManagementApi {
|
|
|
1084
1245
|
null,
|
|
1085
1246
|
['PureCloud OAuth'],
|
|
1086
1247
|
['application/json'],
|
|
1087
|
-
['application/json']
|
|
1248
|
+
['application/json'],
|
|
1249
|
+
opts['customHeaders']
|
|
1088
1250
|
);
|
|
1089
1251
|
}
|
|
1090
1252
|
|
|
@@ -1093,8 +1255,12 @@ class TaskManagementApi {
|
|
|
1093
1255
|
*
|
|
1094
1256
|
* @param {String} worktypeId Worktype id
|
|
1095
1257
|
* @param {String} ruleId ruleId
|
|
1258
|
+
* @param {Object} opts Optional parameters
|
|
1259
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1096
1260
|
*/
|
|
1097
|
-
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
1261
|
+
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, opts) {
|
|
1262
|
+
opts = opts || {};
|
|
1263
|
+
|
|
1098
1264
|
// verify the required parameter 'worktypeId' is set
|
|
1099
1265
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1100
1266
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
@@ -1114,7 +1280,8 @@ class TaskManagementApi {
|
|
|
1114
1280
|
null,
|
|
1115
1281
|
['PureCloud OAuth'],
|
|
1116
1282
|
['application/json'],
|
|
1117
|
-
['application/json']
|
|
1283
|
+
['application/json'],
|
|
1284
|
+
opts['customHeaders']
|
|
1118
1285
|
);
|
|
1119
1286
|
}
|
|
1120
1287
|
|
|
@@ -1125,6 +1292,7 @@ class TaskManagementApi {
|
|
|
1125
1292
|
* @param {Object} opts Optional parameters
|
|
1126
1293
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1127
1294
|
* @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 200. (default to 25)
|
|
1295
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1128
1296
|
*/
|
|
1129
1297
|
getTaskmanagementWorktypeFlowsOncreateRules(worktypeId, opts) {
|
|
1130
1298
|
opts = opts || {};
|
|
@@ -1144,7 +1312,8 @@ class TaskManagementApi {
|
|
|
1144
1312
|
null,
|
|
1145
1313
|
['PureCloud OAuth'],
|
|
1146
1314
|
['application/json'],
|
|
1147
|
-
['application/json']
|
|
1315
|
+
['application/json'],
|
|
1316
|
+
opts['customHeaders']
|
|
1148
1317
|
);
|
|
1149
1318
|
}
|
|
1150
1319
|
|
|
@@ -1157,6 +1326,7 @@ class TaskManagementApi {
|
|
|
1157
1326
|
* @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 200. (default to 25)
|
|
1158
1327
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
1159
1328
|
* @param {Array.<String>} opts.fields Comma-separated list of fields. The response will contain only versions created as a result of changes to these fields.
|
|
1329
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1160
1330
|
*/
|
|
1161
1331
|
getTaskmanagementWorktypeHistory(worktypeId, opts) {
|
|
1162
1332
|
opts = opts || {};
|
|
@@ -1176,7 +1346,8 @@ class TaskManagementApi {
|
|
|
1176
1346
|
null,
|
|
1177
1347
|
['PureCloud OAuth'],
|
|
1178
1348
|
['application/json'],
|
|
1179
|
-
['application/json']
|
|
1349
|
+
['application/json'],
|
|
1350
|
+
opts['customHeaders']
|
|
1180
1351
|
);
|
|
1181
1352
|
}
|
|
1182
1353
|
|
|
@@ -1185,8 +1356,12 @@ class TaskManagementApi {
|
|
|
1185
1356
|
*
|
|
1186
1357
|
* @param {String} worktypeId Worktype id
|
|
1187
1358
|
* @param {String} statusId Status id
|
|
1359
|
+
* @param {Object} opts Optional parameters
|
|
1360
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1188
1361
|
*/
|
|
1189
|
-
getTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
1362
|
+
getTaskmanagementWorktypeStatus(worktypeId, statusId, opts) {
|
|
1363
|
+
opts = opts || {};
|
|
1364
|
+
|
|
1190
1365
|
// verify the required parameter 'worktypeId' is set
|
|
1191
1366
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1192
1367
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';
|
|
@@ -1206,7 +1381,8 @@ class TaskManagementApi {
|
|
|
1206
1381
|
null,
|
|
1207
1382
|
['PureCloud OAuth'],
|
|
1208
1383
|
['application/json'],
|
|
1209
|
-
['application/json']
|
|
1384
|
+
['application/json'],
|
|
1385
|
+
opts['customHeaders']
|
|
1210
1386
|
);
|
|
1211
1387
|
}
|
|
1212
1388
|
|
|
@@ -1214,8 +1390,12 @@ class TaskManagementApi {
|
|
|
1214
1390
|
* Get list of statuses for this worktype.
|
|
1215
1391
|
*
|
|
1216
1392
|
* @param {String} worktypeId Worktype id
|
|
1393
|
+
* @param {Object} opts Optional parameters
|
|
1394
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1217
1395
|
*/
|
|
1218
|
-
getTaskmanagementWorktypeStatuses(worktypeId) {
|
|
1396
|
+
getTaskmanagementWorktypeStatuses(worktypeId, opts) {
|
|
1397
|
+
opts = opts || {};
|
|
1398
|
+
|
|
1219
1399
|
// verify the required parameter 'worktypeId' is set
|
|
1220
1400
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1221
1401
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
|
|
@@ -1231,7 +1411,8 @@ class TaskManagementApi {
|
|
|
1231
1411
|
null,
|
|
1232
1412
|
['PureCloud OAuth'],
|
|
1233
1413
|
['application/json'],
|
|
1234
|
-
['application/json']
|
|
1414
|
+
['application/json'],
|
|
1415
|
+
opts['customHeaders']
|
|
1235
1416
|
);
|
|
1236
1417
|
}
|
|
1237
1418
|
|
|
@@ -1240,8 +1421,12 @@ class TaskManagementApi {
|
|
|
1240
1421
|
*
|
|
1241
1422
|
* @param {String} worktypeId Worktype id
|
|
1242
1423
|
* @param {Number} entityVersion Worktype version
|
|
1424
|
+
* @param {Object} opts Optional parameters
|
|
1425
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1243
1426
|
*/
|
|
1244
|
-
getTaskmanagementWorktypeVersion(worktypeId, entityVersion) {
|
|
1427
|
+
getTaskmanagementWorktypeVersion(worktypeId, entityVersion, opts) {
|
|
1428
|
+
opts = opts || {};
|
|
1429
|
+
|
|
1245
1430
|
// verify the required parameter 'worktypeId' is set
|
|
1246
1431
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1247
1432
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersion';
|
|
@@ -1261,7 +1446,8 @@ class TaskManagementApi {
|
|
|
1261
1446
|
null,
|
|
1262
1447
|
['PureCloud OAuth'],
|
|
1263
1448
|
['application/json'],
|
|
1264
|
-
['application/json']
|
|
1449
|
+
['application/json'],
|
|
1450
|
+
opts['customHeaders']
|
|
1265
1451
|
);
|
|
1266
1452
|
}
|
|
1267
1453
|
|
|
@@ -1273,6 +1459,7 @@ class TaskManagementApi {
|
|
|
1273
1459
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1274
1460
|
* @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 200. (default to 25)
|
|
1275
1461
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
1462
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1276
1463
|
*/
|
|
1277
1464
|
getTaskmanagementWorktypeVersions(worktypeId, opts) {
|
|
1278
1465
|
opts = opts || {};
|
|
@@ -1292,7 +1479,8 @@ class TaskManagementApi {
|
|
|
1292
1479
|
null,
|
|
1293
1480
|
['PureCloud OAuth'],
|
|
1294
1481
|
['application/json'],
|
|
1295
|
-
['application/json']
|
|
1482
|
+
['application/json'],
|
|
1483
|
+
opts['customHeaders']
|
|
1296
1484
|
);
|
|
1297
1485
|
}
|
|
1298
1486
|
|
|
@@ -1301,8 +1489,12 @@ class TaskManagementApi {
|
|
|
1301
1489
|
*
|
|
1302
1490
|
* @param {String} workbinId Workbin ID
|
|
1303
1491
|
* @param {Object} body Json with attributes and their new values: {description:new description, name:new name}.
|
|
1492
|
+
* @param {Object} opts Optional parameters
|
|
1493
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1304
1494
|
*/
|
|
1305
|
-
patchTaskmanagementWorkbin(workbinId, body) {
|
|
1495
|
+
patchTaskmanagementWorkbin(workbinId, body, opts) {
|
|
1496
|
+
opts = opts || {};
|
|
1497
|
+
|
|
1306
1498
|
// verify the required parameter 'workbinId' is set
|
|
1307
1499
|
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
1308
1500
|
throw 'Missing the required parameter "workbinId" when calling patchTaskmanagementWorkbin';
|
|
@@ -1322,7 +1514,8 @@ class TaskManagementApi {
|
|
|
1322
1514
|
body,
|
|
1323
1515
|
['PureCloud OAuth'],
|
|
1324
1516
|
['application/json'],
|
|
1325
|
-
['application/json']
|
|
1517
|
+
['application/json'],
|
|
1518
|
+
opts['customHeaders']
|
|
1326
1519
|
);
|
|
1327
1520
|
}
|
|
1328
1521
|
|
|
@@ -1331,8 +1524,12 @@ class TaskManagementApi {
|
|
|
1331
1524
|
*
|
|
1332
1525
|
* @param {String} workitemId Workitem ID
|
|
1333
1526
|
* @param {Object} body Workitem
|
|
1527
|
+
* @param {Object} opts Optional parameters
|
|
1528
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1334
1529
|
*/
|
|
1335
|
-
patchTaskmanagementWorkitem(workitemId, body) {
|
|
1530
|
+
patchTaskmanagementWorkitem(workitemId, body, opts) {
|
|
1531
|
+
opts = opts || {};
|
|
1532
|
+
|
|
1336
1533
|
// verify the required parameter 'workitemId' is set
|
|
1337
1534
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1338
1535
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitem';
|
|
@@ -1352,7 +1549,8 @@ class TaskManagementApi {
|
|
|
1352
1549
|
body,
|
|
1353
1550
|
['PureCloud OAuth'],
|
|
1354
1551
|
['application/json'],
|
|
1355
|
-
['application/json']
|
|
1552
|
+
['application/json'],
|
|
1553
|
+
opts['customHeaders']
|
|
1356
1554
|
);
|
|
1357
1555
|
}
|
|
1358
1556
|
|
|
@@ -1361,8 +1559,12 @@ class TaskManagementApi {
|
|
|
1361
1559
|
*
|
|
1362
1560
|
* @param {String} workitemId Workitem ID
|
|
1363
1561
|
* @param {Object} body Targeted user
|
|
1562
|
+
* @param {Object} opts Optional parameters
|
|
1563
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1364
1564
|
*/
|
|
1365
|
-
patchTaskmanagementWorkitemAssignment(workitemId, body) {
|
|
1565
|
+
patchTaskmanagementWorkitemAssignment(workitemId, body, opts) {
|
|
1566
|
+
opts = opts || {};
|
|
1567
|
+
|
|
1366
1568
|
// verify the required parameter 'workitemId' is set
|
|
1367
1569
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1368
1570
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemAssignment';
|
|
@@ -1382,7 +1584,8 @@ class TaskManagementApi {
|
|
|
1382
1584
|
body,
|
|
1383
1585
|
['PureCloud OAuth'],
|
|
1384
1586
|
['application/json'],
|
|
1385
|
-
['application/json']
|
|
1587
|
+
['application/json'],
|
|
1588
|
+
opts['customHeaders']
|
|
1386
1589
|
);
|
|
1387
1590
|
}
|
|
1388
1591
|
|
|
@@ -1392,8 +1595,12 @@ class TaskManagementApi {
|
|
|
1392
1595
|
* @param {String} workitemId The ID of the Workitem.
|
|
1393
1596
|
* @param {String} userId The ID of the user
|
|
1394
1597
|
* @param {Object} body Request body to add/remove a wrapup code for a workitem
|
|
1598
|
+
* @param {Object} opts Optional parameters
|
|
1599
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1395
1600
|
*/
|
|
1396
|
-
patchTaskmanagementWorkitemUserWrapups(workitemId, userId, body) {
|
|
1601
|
+
patchTaskmanagementWorkitemUserWrapups(workitemId, userId, body, opts) {
|
|
1602
|
+
opts = opts || {};
|
|
1603
|
+
|
|
1397
1604
|
// verify the required parameter 'workitemId' is set
|
|
1398
1605
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1399
1606
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
@@ -1417,7 +1624,8 @@ class TaskManagementApi {
|
|
|
1417
1624
|
body,
|
|
1418
1625
|
['PureCloud OAuth'],
|
|
1419
1626
|
['application/json'],
|
|
1420
|
-
['application/json']
|
|
1627
|
+
['application/json'],
|
|
1628
|
+
opts['customHeaders']
|
|
1421
1629
|
);
|
|
1422
1630
|
}
|
|
1423
1631
|
|
|
@@ -1426,8 +1634,12 @@ class TaskManagementApi {
|
|
|
1426
1634
|
*
|
|
1427
1635
|
* @param {String} workitemId The ID of the Workitem.
|
|
1428
1636
|
* @param {Object} body Request body to add/remove the wrapup code for workitem
|
|
1637
|
+
* @param {Object} opts Optional parameters
|
|
1638
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1429
1639
|
*/
|
|
1430
|
-
patchTaskmanagementWorkitemUsersMeWrapups(workitemId, body) {
|
|
1640
|
+
patchTaskmanagementWorkitemUsersMeWrapups(workitemId, body, opts) {
|
|
1641
|
+
opts = opts || {};
|
|
1642
|
+
|
|
1431
1643
|
// verify the required parameter 'workitemId' is set
|
|
1432
1644
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1433
1645
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUsersMeWrapups';
|
|
@@ -1447,7 +1659,8 @@ class TaskManagementApi {
|
|
|
1447
1659
|
body,
|
|
1448
1660
|
['PureCloud OAuth'],
|
|
1449
1661
|
['application/json'],
|
|
1450
|
-
['application/json']
|
|
1662
|
+
['application/json'],
|
|
1663
|
+
opts['customHeaders']
|
|
1451
1664
|
);
|
|
1452
1665
|
}
|
|
1453
1666
|
|
|
@@ -1456,8 +1669,12 @@ class TaskManagementApi {
|
|
|
1456
1669
|
*
|
|
1457
1670
|
* @param {String} bulkJobId Bulk job id
|
|
1458
1671
|
* @param {Object} body Bulk add job update request
|
|
1672
|
+
* @param {Object} opts Optional parameters
|
|
1673
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1459
1674
|
*/
|
|
1460
|
-
patchTaskmanagementWorkitemsBulkAddJob(bulkJobId, body) {
|
|
1675
|
+
patchTaskmanagementWorkitemsBulkAddJob(bulkJobId, body, opts) {
|
|
1676
|
+
opts = opts || {};
|
|
1677
|
+
|
|
1461
1678
|
// verify the required parameter 'bulkJobId' is set
|
|
1462
1679
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
1463
1680
|
throw 'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkAddJob';
|
|
@@ -1477,7 +1694,8 @@ class TaskManagementApi {
|
|
|
1477
1694
|
body,
|
|
1478
1695
|
['PureCloud OAuth'],
|
|
1479
1696
|
['application/json'],
|
|
1480
|
-
['application/json']
|
|
1697
|
+
['application/json'],
|
|
1698
|
+
opts['customHeaders']
|
|
1481
1699
|
);
|
|
1482
1700
|
}
|
|
1483
1701
|
|
|
@@ -1486,8 +1704,12 @@ class TaskManagementApi {
|
|
|
1486
1704
|
*
|
|
1487
1705
|
* @param {String} bulkJobId Bulk job id
|
|
1488
1706
|
* @param {Object} body Bulk job update request
|
|
1707
|
+
* @param {Object} opts Optional parameters
|
|
1708
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1489
1709
|
*/
|
|
1490
|
-
patchTaskmanagementWorkitemsBulkTerminateJob(bulkJobId, body) {
|
|
1710
|
+
patchTaskmanagementWorkitemsBulkTerminateJob(bulkJobId, body, opts) {
|
|
1711
|
+
opts = opts || {};
|
|
1712
|
+
|
|
1491
1713
|
// verify the required parameter 'bulkJobId' is set
|
|
1492
1714
|
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
1493
1715
|
throw 'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkTerminateJob';
|
|
@@ -1507,7 +1729,8 @@ class TaskManagementApi {
|
|
|
1507
1729
|
body,
|
|
1508
1730
|
['PureCloud OAuth'],
|
|
1509
1731
|
['application/json'],
|
|
1510
|
-
['application/json']
|
|
1732
|
+
['application/json'],
|
|
1733
|
+
opts['customHeaders']
|
|
1511
1734
|
);
|
|
1512
1735
|
}
|
|
1513
1736
|
|
|
@@ -1516,8 +1739,12 @@ class TaskManagementApi {
|
|
|
1516
1739
|
*
|
|
1517
1740
|
* @param {String} worktypeId Worktype id
|
|
1518
1741
|
* @param {Object} body Worktype
|
|
1742
|
+
* @param {Object} opts Optional parameters
|
|
1743
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1519
1744
|
*/
|
|
1520
|
-
patchTaskmanagementWorktype(worktypeId, body) {
|
|
1745
|
+
patchTaskmanagementWorktype(worktypeId, body, opts) {
|
|
1746
|
+
opts = opts || {};
|
|
1747
|
+
|
|
1521
1748
|
// verify the required parameter 'worktypeId' is set
|
|
1522
1749
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1523
1750
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';
|
|
@@ -1537,7 +1764,8 @@ class TaskManagementApi {
|
|
|
1537
1764
|
body,
|
|
1538
1765
|
['PureCloud OAuth'],
|
|
1539
1766
|
['application/json'],
|
|
1540
|
-
['application/json']
|
|
1767
|
+
['application/json'],
|
|
1768
|
+
opts['customHeaders']
|
|
1541
1769
|
);
|
|
1542
1770
|
}
|
|
1543
1771
|
|
|
@@ -1547,8 +1775,12 @@ class TaskManagementApi {
|
|
|
1547
1775
|
* @param {String} worktypeId Worktype id
|
|
1548
1776
|
* @param {String} ruleId ruleId
|
|
1549
1777
|
* @param {Object} body Rule
|
|
1778
|
+
* @param {Object} opts Optional parameters
|
|
1779
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1550
1780
|
*/
|
|
1551
|
-
patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body) {
|
|
1781
|
+
patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body, opts) {
|
|
1782
|
+
opts = opts || {};
|
|
1783
|
+
|
|
1552
1784
|
// verify the required parameter 'worktypeId' is set
|
|
1553
1785
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1554
1786
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
@@ -1572,7 +1804,8 @@ class TaskManagementApi {
|
|
|
1572
1804
|
body,
|
|
1573
1805
|
['PureCloud OAuth'],
|
|
1574
1806
|
['application/json'],
|
|
1575
|
-
['application/json']
|
|
1807
|
+
['application/json'],
|
|
1808
|
+
opts['customHeaders']
|
|
1576
1809
|
);
|
|
1577
1810
|
}
|
|
1578
1811
|
|
|
@@ -1582,8 +1815,12 @@ class TaskManagementApi {
|
|
|
1582
1815
|
* @param {String} worktypeId Worktype id
|
|
1583
1816
|
* @param {String} ruleId ruleId
|
|
1584
1817
|
* @param {Object} body Rule
|
|
1818
|
+
* @param {Object} opts Optional parameters
|
|
1819
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1585
1820
|
*/
|
|
1586
|
-
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
|
|
1821
|
+
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body, opts) {
|
|
1822
|
+
opts = opts || {};
|
|
1823
|
+
|
|
1587
1824
|
// verify the required parameter 'worktypeId' is set
|
|
1588
1825
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1589
1826
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
@@ -1607,7 +1844,8 @@ class TaskManagementApi {
|
|
|
1607
1844
|
body,
|
|
1608
1845
|
['PureCloud OAuth'],
|
|
1609
1846
|
['application/json'],
|
|
1610
|
-
['application/json']
|
|
1847
|
+
['application/json'],
|
|
1848
|
+
opts['customHeaders']
|
|
1611
1849
|
);
|
|
1612
1850
|
}
|
|
1613
1851
|
|
|
@@ -1617,8 +1855,12 @@ class TaskManagementApi {
|
|
|
1617
1855
|
* @param {String} worktypeId Worktype id
|
|
1618
1856
|
* @param {String} ruleId ruleId
|
|
1619
1857
|
* @param {Object} body Rule
|
|
1858
|
+
* @param {Object} opts Optional parameters
|
|
1859
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1620
1860
|
*/
|
|
1621
|
-
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
|
|
1861
|
+
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body, opts) {
|
|
1862
|
+
opts = opts || {};
|
|
1863
|
+
|
|
1622
1864
|
// verify the required parameter 'worktypeId' is set
|
|
1623
1865
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1624
1866
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
@@ -1642,7 +1884,8 @@ class TaskManagementApi {
|
|
|
1642
1884
|
body,
|
|
1643
1885
|
['PureCloud OAuth'],
|
|
1644
1886
|
['application/json'],
|
|
1645
|
-
['application/json']
|
|
1887
|
+
['application/json'],
|
|
1888
|
+
opts['customHeaders']
|
|
1646
1889
|
);
|
|
1647
1890
|
}
|
|
1648
1891
|
|
|
@@ -1652,8 +1895,12 @@ class TaskManagementApi {
|
|
|
1652
1895
|
* @param {String} worktypeId Worktype id
|
|
1653
1896
|
* @param {String} statusId Status id
|
|
1654
1897
|
* @param {Object} body Status
|
|
1898
|
+
* @param {Object} opts Optional parameters
|
|
1899
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1655
1900
|
*/
|
|
1656
|
-
patchTaskmanagementWorktypeStatus(worktypeId, statusId, body) {
|
|
1901
|
+
patchTaskmanagementWorktypeStatus(worktypeId, statusId, body, opts) {
|
|
1902
|
+
opts = opts || {};
|
|
1903
|
+
|
|
1657
1904
|
// verify the required parameter 'worktypeId' is set
|
|
1658
1905
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1659
1906
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';
|
|
@@ -1677,7 +1924,8 @@ class TaskManagementApi {
|
|
|
1677
1924
|
body,
|
|
1678
1925
|
['PureCloud OAuth'],
|
|
1679
1926
|
['application/json'],
|
|
1680
|
-
['application/json']
|
|
1927
|
+
['application/json'],
|
|
1928
|
+
opts['customHeaders']
|
|
1681
1929
|
);
|
|
1682
1930
|
}
|
|
1683
1931
|
|
|
@@ -1685,8 +1933,12 @@ class TaskManagementApi {
|
|
|
1685
1933
|
* Create a workbin
|
|
1686
1934
|
*
|
|
1687
1935
|
* @param {Object} body Workbin
|
|
1936
|
+
* @param {Object} opts Optional parameters
|
|
1937
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1688
1938
|
*/
|
|
1689
|
-
postTaskmanagementWorkbins(body) {
|
|
1939
|
+
postTaskmanagementWorkbins(body, opts) {
|
|
1940
|
+
opts = opts || {};
|
|
1941
|
+
|
|
1690
1942
|
// verify the required parameter 'body' is set
|
|
1691
1943
|
if (body === undefined || body === null) {
|
|
1692
1944
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkbins';
|
|
@@ -1702,7 +1954,8 @@ class TaskManagementApi {
|
|
|
1702
1954
|
body,
|
|
1703
1955
|
['PureCloud OAuth'],
|
|
1704
1956
|
['application/json'],
|
|
1705
|
-
['application/json']
|
|
1957
|
+
['application/json'],
|
|
1958
|
+
opts['customHeaders']
|
|
1706
1959
|
);
|
|
1707
1960
|
}
|
|
1708
1961
|
|
|
@@ -1710,8 +1963,12 @@ class TaskManagementApi {
|
|
|
1710
1963
|
* Query for workbins
|
|
1711
1964
|
*
|
|
1712
1965
|
* @param {Object} body QueryPostRequest
|
|
1966
|
+
* @param {Object} opts Optional parameters
|
|
1967
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1713
1968
|
*/
|
|
1714
|
-
postTaskmanagementWorkbinsQuery(body) {
|
|
1969
|
+
postTaskmanagementWorkbinsQuery(body, opts) {
|
|
1970
|
+
opts = opts || {};
|
|
1971
|
+
|
|
1715
1972
|
// verify the required parameter 'body' is set
|
|
1716
1973
|
if (body === undefined || body === null) {
|
|
1717
1974
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkbinsQuery';
|
|
@@ -1727,7 +1984,8 @@ class TaskManagementApi {
|
|
|
1727
1984
|
body,
|
|
1728
1985
|
['PureCloud OAuth'],
|
|
1729
1986
|
['application/json'],
|
|
1730
|
-
['application/json']
|
|
1987
|
+
['application/json'],
|
|
1988
|
+
opts['customHeaders']
|
|
1731
1989
|
);
|
|
1732
1990
|
}
|
|
1733
1991
|
|
|
@@ -1735,8 +1993,12 @@ class TaskManagementApi {
|
|
|
1735
1993
|
* Cancel the assignment process for a workitem that is currently queued for assignment through ACD.
|
|
1736
1994
|
*
|
|
1737
1995
|
* @param {String} workitemId Workitem ID
|
|
1996
|
+
* @param {Object} opts Optional parameters
|
|
1997
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1738
1998
|
*/
|
|
1739
|
-
postTaskmanagementWorkitemAcdCancel(workitemId) {
|
|
1999
|
+
postTaskmanagementWorkitemAcdCancel(workitemId, opts) {
|
|
2000
|
+
opts = opts || {};
|
|
2001
|
+
|
|
1740
2002
|
// verify the required parameter 'workitemId' is set
|
|
1741
2003
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1742
2004
|
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemAcdCancel';
|
|
@@ -1752,7 +2014,8 @@ class TaskManagementApi {
|
|
|
1752
2014
|
null,
|
|
1753
2015
|
['PureCloud OAuth'],
|
|
1754
2016
|
['application/json'],
|
|
1755
|
-
['application/json']
|
|
2017
|
+
['application/json'],
|
|
2018
|
+
opts['customHeaders']
|
|
1756
2019
|
);
|
|
1757
2020
|
}
|
|
1758
2021
|
|
|
@@ -1760,8 +2023,12 @@ class TaskManagementApi {
|
|
|
1760
2023
|
* Disconnect the assignee of the workitem
|
|
1761
2024
|
*
|
|
1762
2025
|
* @param {String} workitemId Workitem ID
|
|
2026
|
+
* @param {Object} opts Optional parameters
|
|
2027
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1763
2028
|
*/
|
|
1764
|
-
postTaskmanagementWorkitemDisconnect(workitemId) {
|
|
2029
|
+
postTaskmanagementWorkitemDisconnect(workitemId, opts) {
|
|
2030
|
+
opts = opts || {};
|
|
2031
|
+
|
|
1765
2032
|
// verify the required parameter 'workitemId' is set
|
|
1766
2033
|
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1767
2034
|
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemDisconnect';
|
|
@@ -1777,7 +2044,8 @@ class TaskManagementApi {
|
|
|
1777
2044
|
null,
|
|
1778
2045
|
['PureCloud OAuth'],
|
|
1779
2046
|
['application/json'],
|
|
1780
|
-
['application/json']
|
|
2047
|
+
['application/json'],
|
|
2048
|
+
opts['customHeaders']
|
|
1781
2049
|
);
|
|
1782
2050
|
}
|
|
1783
2051
|
|
|
@@ -1787,6 +2055,7 @@ class TaskManagementApi {
|
|
|
1787
2055
|
* @param {String} workitemId Workitem ID
|
|
1788
2056
|
* @param {Object} opts Optional parameters
|
|
1789
2057
|
* @param {Object} opts.body Terminated request
|
|
2058
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1790
2059
|
*/
|
|
1791
2060
|
postTaskmanagementWorkitemTerminate(workitemId, opts) {
|
|
1792
2061
|
opts = opts || {};
|
|
@@ -1806,7 +2075,8 @@ class TaskManagementApi {
|
|
|
1806
2075
|
opts['body'],
|
|
1807
2076
|
['PureCloud OAuth'],
|
|
1808
2077
|
['application/json'],
|
|
1809
|
-
['application/json']
|
|
2078
|
+
['application/json'],
|
|
2079
|
+
opts['customHeaders']
|
|
1810
2080
|
);
|
|
1811
2081
|
}
|
|
1812
2082
|
|
|
@@ -1814,8 +2084,12 @@ class TaskManagementApi {
|
|
|
1814
2084
|
* Create a workitem
|
|
1815
2085
|
*
|
|
1816
2086
|
* @param {Object} body Workitem
|
|
2087
|
+
* @param {Object} opts Optional parameters
|
|
2088
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1817
2089
|
*/
|
|
1818
|
-
postTaskmanagementWorkitems(body) {
|
|
2090
|
+
postTaskmanagementWorkitems(body, opts) {
|
|
2091
|
+
opts = opts || {};
|
|
2092
|
+
|
|
1819
2093
|
// verify the required parameter 'body' is set
|
|
1820
2094
|
if (body === undefined || body === null) {
|
|
1821
2095
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitems';
|
|
@@ -1831,7 +2105,8 @@ class TaskManagementApi {
|
|
|
1831
2105
|
body,
|
|
1832
2106
|
['PureCloud OAuth'],
|
|
1833
2107
|
['application/json'],
|
|
1834
|
-
['application/json']
|
|
2108
|
+
['application/json'],
|
|
2109
|
+
opts['customHeaders']
|
|
1835
2110
|
);
|
|
1836
2111
|
}
|
|
1837
2112
|
|
|
@@ -1839,8 +2114,12 @@ class TaskManagementApi {
|
|
|
1839
2114
|
* Create a workitem bulk add job.
|
|
1840
2115
|
*
|
|
1841
2116
|
* @param {Object} body Bulk job definition.
|
|
2117
|
+
* @param {Object} opts Optional parameters
|
|
2118
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1842
2119
|
*/
|
|
1843
|
-
postTaskmanagementWorkitemsBulkAddJobs(body) {
|
|
2120
|
+
postTaskmanagementWorkitemsBulkAddJobs(body, opts) {
|
|
2121
|
+
opts = opts || {};
|
|
2122
|
+
|
|
1844
2123
|
// verify the required parameter 'body' is set
|
|
1845
2124
|
if (body === undefined || body === null) {
|
|
1846
2125
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkAddJobs';
|
|
@@ -1856,7 +2135,8 @@ class TaskManagementApi {
|
|
|
1856
2135
|
body,
|
|
1857
2136
|
['PureCloud OAuth'],
|
|
1858
2137
|
['application/json'],
|
|
1859
|
-
['application/json']
|
|
2138
|
+
['application/json'],
|
|
2139
|
+
opts['customHeaders']
|
|
1860
2140
|
);
|
|
1861
2141
|
}
|
|
1862
2142
|
|
|
@@ -1864,8 +2144,12 @@ class TaskManagementApi {
|
|
|
1864
2144
|
* Create a workitem bulk terminate job.
|
|
1865
2145
|
*
|
|
1866
2146
|
* @param {Object} body Bulk job definition.
|
|
2147
|
+
* @param {Object} opts Optional parameters
|
|
2148
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1867
2149
|
*/
|
|
1868
|
-
postTaskmanagementWorkitemsBulkTerminateJobs(body) {
|
|
2150
|
+
postTaskmanagementWorkitemsBulkTerminateJobs(body, opts) {
|
|
2151
|
+
opts = opts || {};
|
|
2152
|
+
|
|
1869
2153
|
// verify the required parameter 'body' is set
|
|
1870
2154
|
if (body === undefined || body === null) {
|
|
1871
2155
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';
|
|
@@ -1881,7 +2165,8 @@ class TaskManagementApi {
|
|
|
1881
2165
|
body,
|
|
1882
2166
|
['PureCloud OAuth'],
|
|
1883
2167
|
['application/json'],
|
|
1884
|
-
['application/json']
|
|
2168
|
+
['application/json'],
|
|
2169
|
+
opts['customHeaders']
|
|
1885
2170
|
);
|
|
1886
2171
|
}
|
|
1887
2172
|
|
|
@@ -1889,8 +2174,12 @@ class TaskManagementApi {
|
|
|
1889
2174
|
* Query for workitems
|
|
1890
2175
|
* This query requires at least one EQ filter on the workbinId, assigneeId, queueId or typeId attributes. A maximum of three filters are allowed.
|
|
1891
2176
|
* @param {Object} body WorkitemQueryPostRequest
|
|
2177
|
+
* @param {Object} opts Optional parameters
|
|
2178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1892
2179
|
*/
|
|
1893
|
-
postTaskmanagementWorkitemsQuery(body) {
|
|
2180
|
+
postTaskmanagementWorkitemsQuery(body, opts) {
|
|
2181
|
+
opts = opts || {};
|
|
2182
|
+
|
|
1894
2183
|
// verify the required parameter 'body' is set
|
|
1895
2184
|
if (body === undefined || body === null) {
|
|
1896
2185
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';
|
|
@@ -1906,7 +2195,8 @@ class TaskManagementApi {
|
|
|
1906
2195
|
body,
|
|
1907
2196
|
['PureCloud OAuth'],
|
|
1908
2197
|
['application/json'],
|
|
1909
|
-
['application/json']
|
|
2198
|
+
['application/json'],
|
|
2199
|
+
opts['customHeaders']
|
|
1910
2200
|
);
|
|
1911
2201
|
}
|
|
1912
2202
|
|
|
@@ -1914,8 +2204,12 @@ class TaskManagementApi {
|
|
|
1914
2204
|
* Create a workitem query job
|
|
1915
2205
|
*
|
|
1916
2206
|
* @param {Object} body WorkitemQueryJobCreate
|
|
2207
|
+
* @param {Object} opts Optional parameters
|
|
2208
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1917
2209
|
*/
|
|
1918
|
-
postTaskmanagementWorkitemsQueryJobs(body) {
|
|
2210
|
+
postTaskmanagementWorkitemsQueryJobs(body, opts) {
|
|
2211
|
+
opts = opts || {};
|
|
2212
|
+
|
|
1919
2213
|
// verify the required parameter 'body' is set
|
|
1920
2214
|
if (body === undefined || body === null) {
|
|
1921
2215
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQueryJobs';
|
|
@@ -1931,7 +2225,8 @@ class TaskManagementApi {
|
|
|
1931
2225
|
body,
|
|
1932
2226
|
['PureCloud OAuth'],
|
|
1933
2227
|
['application/json'],
|
|
1934
|
-
['application/json']
|
|
2228
|
+
['application/json'],
|
|
2229
|
+
opts['customHeaders']
|
|
1935
2230
|
);
|
|
1936
2231
|
}
|
|
1937
2232
|
|
|
@@ -1939,8 +2234,12 @@ class TaskManagementApi {
|
|
|
1939
2234
|
* Create a schema
|
|
1940
2235
|
*
|
|
1941
2236
|
* @param {Object} body Schema
|
|
2237
|
+
* @param {Object} opts Optional parameters
|
|
2238
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1942
2239
|
*/
|
|
1943
|
-
postTaskmanagementWorkitemsSchemas(body) {
|
|
2240
|
+
postTaskmanagementWorkitemsSchemas(body, opts) {
|
|
2241
|
+
opts = opts || {};
|
|
2242
|
+
|
|
1944
2243
|
// verify the required parameter 'body' is set
|
|
1945
2244
|
if (body === undefined || body === null) {
|
|
1946
2245
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';
|
|
@@ -1956,7 +2255,8 @@ class TaskManagementApi {
|
|
|
1956
2255
|
body,
|
|
1957
2256
|
['PureCloud OAuth'],
|
|
1958
2257
|
['application/json'],
|
|
1959
|
-
['application/json']
|
|
2258
|
+
['application/json'],
|
|
2259
|
+
opts['customHeaders']
|
|
1960
2260
|
);
|
|
1961
2261
|
}
|
|
1962
2262
|
|
|
@@ -1965,8 +2265,12 @@ class TaskManagementApi {
|
|
|
1965
2265
|
*
|
|
1966
2266
|
* @param {String} worktypeId Worktype id
|
|
1967
2267
|
* @param {Object} body Rule
|
|
2268
|
+
* @param {Object} opts Optional parameters
|
|
2269
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1968
2270
|
*/
|
|
1969
|
-
postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body) {
|
|
2271
|
+
postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body, opts) {
|
|
2272
|
+
opts = opts || {};
|
|
2273
|
+
|
|
1970
2274
|
// verify the required parameter 'worktypeId' is set
|
|
1971
2275
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1972
2276
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
@@ -1986,7 +2290,8 @@ class TaskManagementApi {
|
|
|
1986
2290
|
body,
|
|
1987
2291
|
['PureCloud OAuth'],
|
|
1988
2292
|
['application/json'],
|
|
1989
|
-
['application/json']
|
|
2293
|
+
['application/json'],
|
|
2294
|
+
opts['customHeaders']
|
|
1990
2295
|
);
|
|
1991
2296
|
}
|
|
1992
2297
|
|
|
@@ -1995,8 +2300,12 @@ class TaskManagementApi {
|
|
|
1995
2300
|
*
|
|
1996
2301
|
* @param {String} worktypeId Worktype id
|
|
1997
2302
|
* @param {Object} body Rule
|
|
2303
|
+
* @param {Object} opts Optional parameters
|
|
2304
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1998
2305
|
*/
|
|
1999
|
-
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
|
|
2306
|
+
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body, opts) {
|
|
2307
|
+
opts = opts || {};
|
|
2308
|
+
|
|
2000
2309
|
// verify the required parameter 'worktypeId' is set
|
|
2001
2310
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2002
2311
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
@@ -2016,7 +2325,8 @@ class TaskManagementApi {
|
|
|
2016
2325
|
body,
|
|
2017
2326
|
['PureCloud OAuth'],
|
|
2018
2327
|
['application/json'],
|
|
2019
|
-
['application/json']
|
|
2328
|
+
['application/json'],
|
|
2329
|
+
opts['customHeaders']
|
|
2020
2330
|
);
|
|
2021
2331
|
}
|
|
2022
2332
|
|
|
@@ -2025,8 +2335,12 @@ class TaskManagementApi {
|
|
|
2025
2335
|
*
|
|
2026
2336
|
* @param {String} worktypeId Worktype id
|
|
2027
2337
|
* @param {Object} body Rule
|
|
2338
|
+
* @param {Object} opts Optional parameters
|
|
2339
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2028
2340
|
*/
|
|
2029
|
-
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
|
|
2341
|
+
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body, opts) {
|
|
2342
|
+
opts = opts || {};
|
|
2343
|
+
|
|
2030
2344
|
// verify the required parameter 'worktypeId' is set
|
|
2031
2345
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2032
2346
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
@@ -2046,7 +2360,8 @@ class TaskManagementApi {
|
|
|
2046
2360
|
body,
|
|
2047
2361
|
['PureCloud OAuth'],
|
|
2048
2362
|
['application/json'],
|
|
2049
|
-
['application/json']
|
|
2363
|
+
['application/json'],
|
|
2364
|
+
opts['customHeaders']
|
|
2050
2365
|
);
|
|
2051
2366
|
}
|
|
2052
2367
|
|
|
@@ -2055,8 +2370,12 @@ class TaskManagementApi {
|
|
|
2055
2370
|
*
|
|
2056
2371
|
* @param {String} worktypeId Worktype id
|
|
2057
2372
|
* @param {Object} body Status
|
|
2373
|
+
* @param {Object} opts Optional parameters
|
|
2374
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2058
2375
|
*/
|
|
2059
|
-
postTaskmanagementWorktypeStatuses(worktypeId, body) {
|
|
2376
|
+
postTaskmanagementWorktypeStatuses(worktypeId, body, opts) {
|
|
2377
|
+
opts = opts || {};
|
|
2378
|
+
|
|
2060
2379
|
// verify the required parameter 'worktypeId' is set
|
|
2061
2380
|
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2062
2381
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';
|
|
@@ -2076,7 +2395,8 @@ class TaskManagementApi {
|
|
|
2076
2395
|
body,
|
|
2077
2396
|
['PureCloud OAuth'],
|
|
2078
2397
|
['application/json'],
|
|
2079
|
-
['application/json']
|
|
2398
|
+
['application/json'],
|
|
2399
|
+
opts['customHeaders']
|
|
2080
2400
|
);
|
|
2081
2401
|
}
|
|
2082
2402
|
|
|
@@ -2084,8 +2404,12 @@ class TaskManagementApi {
|
|
|
2084
2404
|
* Create a worktype
|
|
2085
2405
|
*
|
|
2086
2406
|
* @param {Object} body Worktype
|
|
2407
|
+
* @param {Object} opts Optional parameters
|
|
2408
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2087
2409
|
*/
|
|
2088
|
-
postTaskmanagementWorktypes(body) {
|
|
2410
|
+
postTaskmanagementWorktypes(body, opts) {
|
|
2411
|
+
opts = opts || {};
|
|
2412
|
+
|
|
2089
2413
|
// verify the required parameter 'body' is set
|
|
2090
2414
|
if (body === undefined || body === null) {
|
|
2091
2415
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypes';
|
|
@@ -2101,7 +2425,8 @@ class TaskManagementApi {
|
|
|
2101
2425
|
body,
|
|
2102
2426
|
['PureCloud OAuth'],
|
|
2103
2427
|
['application/json'],
|
|
2104
|
-
['application/json']
|
|
2428
|
+
['application/json'],
|
|
2429
|
+
opts['customHeaders']
|
|
2105
2430
|
);
|
|
2106
2431
|
}
|
|
2107
2432
|
|
|
@@ -2109,8 +2434,12 @@ class TaskManagementApi {
|
|
|
2109
2434
|
* Query for worktypes
|
|
2110
2435
|
*
|
|
2111
2436
|
* @param {Object} body QueryPostRequest
|
|
2437
|
+
* @param {Object} opts Optional parameters
|
|
2438
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2112
2439
|
*/
|
|
2113
|
-
postTaskmanagementWorktypesQuery(body) {
|
|
2440
|
+
postTaskmanagementWorktypesQuery(body, opts) {
|
|
2441
|
+
opts = opts || {};
|
|
2442
|
+
|
|
2114
2443
|
// verify the required parameter 'body' is set
|
|
2115
2444
|
if (body === undefined || body === null) {
|
|
2116
2445
|
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypesQuery';
|
|
@@ -2126,7 +2455,8 @@ class TaskManagementApi {
|
|
|
2126
2455
|
body,
|
|
2127
2456
|
['PureCloud OAuth'],
|
|
2128
2457
|
['application/json'],
|
|
2129
|
-
['application/json']
|
|
2458
|
+
['application/json'],
|
|
2459
|
+
opts['customHeaders']
|
|
2130
2460
|
);
|
|
2131
2461
|
}
|
|
2132
2462
|
|
|
@@ -2135,8 +2465,12 @@ class TaskManagementApi {
|
|
|
2135
2465
|
*
|
|
2136
2466
|
* @param {String} schemaId Schema ID
|
|
2137
2467
|
* @param {Object} body Data Schema
|
|
2468
|
+
* @param {Object} opts Optional parameters
|
|
2469
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2138
2470
|
*/
|
|
2139
|
-
putTaskmanagementWorkitemsSchema(schemaId, body) {
|
|
2471
|
+
putTaskmanagementWorkitemsSchema(schemaId, body, opts) {
|
|
2472
|
+
opts = opts || {};
|
|
2473
|
+
|
|
2140
2474
|
// verify the required parameter 'schemaId' is set
|
|
2141
2475
|
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
2142
2476
|
throw 'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';
|
|
@@ -2156,7 +2490,8 @@ class TaskManagementApi {
|
|
|
2156
2490
|
body,
|
|
2157
2491
|
['PureCloud OAuth'],
|
|
2158
2492
|
['application/json'],
|
|
2159
|
-
['application/json']
|
|
2493
|
+
['application/json'],
|
|
2494
|
+
opts['customHeaders']
|
|
2160
2495
|
);
|
|
2161
2496
|
}
|
|
2162
2497
|
|