purecloud-platform-client-v2 169.0.0 → 169.1.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 +24865 -20195
- package/dist/web-amd/purecloud-platform-client-v2.js +24865 -20195
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +24865 -20195
- package/dist/web-cjs/purecloud-platform-client-v2.js +24865 -20195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +2314 -2
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1418 -227
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +142 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -3
- 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 +4 -4
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +171 -1
- 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/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 +114 -1
- 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 +114 -4
- 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 +333 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +260 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +198 -21
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +5 -5
- 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/MessagingApi.js +6 -6
- 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/OrganizationApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +53 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +174 -10
- 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 +199 -6
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +80 -2
- 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 +1282 -0
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +33 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +47 -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 +172 -7
- 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 +6 -6
- 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 +6 -6
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -0,0 +1,1282 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class TaskManagementApi {
|
|
5
|
+
/**
|
|
6
|
+
* TaskManagement service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
+
* @version 169.1.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new TaskManagementApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
14
|
+
* @class
|
|
15
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
17
|
+
*/
|
|
18
|
+
constructor(apiClient) {
|
|
19
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Delete a workbin
|
|
25
|
+
*
|
|
26
|
+
* @param {String} workbinId Workbin ID
|
|
27
|
+
* Preview Endpoint
|
|
28
|
+
*/
|
|
29
|
+
deleteTaskmanagementWorkbin(workbinId) {
|
|
30
|
+
// verify the required parameter 'workbinId' is set
|
|
31
|
+
if (workbinId === undefined || workbinId === null) {
|
|
32
|
+
throw 'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return this.apiClient.callApi(
|
|
36
|
+
'/api/v2/taskmanagement/workbins/{workbinId}',
|
|
37
|
+
'DELETE',
|
|
38
|
+
{ 'workbinId': workbinId },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
{ },
|
|
42
|
+
null,
|
|
43
|
+
['PureCloud OAuth'],
|
|
44
|
+
['application/json'],
|
|
45
|
+
['application/json']
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Delete a workitem
|
|
51
|
+
*
|
|
52
|
+
* @param {String} workitemId Workitem ID
|
|
53
|
+
* Preview Endpoint
|
|
54
|
+
*/
|
|
55
|
+
deleteTaskmanagementWorkitem(workitemId) {
|
|
56
|
+
// verify the required parameter 'workitemId' is set
|
|
57
|
+
if (workitemId === undefined || workitemId === null) {
|
|
58
|
+
throw 'Missing the required parameter "workitemId" when calling deleteTaskmanagementWorkitem';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return this.apiClient.callApi(
|
|
62
|
+
'/api/v2/taskmanagement/workitems/{workitemId}',
|
|
63
|
+
'DELETE',
|
|
64
|
+
{ 'workitemId': workitemId },
|
|
65
|
+
{ },
|
|
66
|
+
{ },
|
|
67
|
+
{ },
|
|
68
|
+
null,
|
|
69
|
+
['PureCloud OAuth'],
|
|
70
|
+
['application/json'],
|
|
71
|
+
['application/json']
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Delete a schema
|
|
77
|
+
*
|
|
78
|
+
* @param {String} schemaId Schema ID
|
|
79
|
+
* Preview Endpoint
|
|
80
|
+
*/
|
|
81
|
+
deleteTaskmanagementWorkitemsSchema(schemaId) {
|
|
82
|
+
// verify the required parameter 'schemaId' is set
|
|
83
|
+
if (schemaId === undefined || schemaId === null) {
|
|
84
|
+
throw 'Missing the required parameter "schemaId" when calling deleteTaskmanagementWorkitemsSchema';
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return this.apiClient.callApi(
|
|
88
|
+
'/api/v2/taskmanagement/workitems/schemas/{schemaId}',
|
|
89
|
+
'DELETE',
|
|
90
|
+
{ 'schemaId': schemaId },
|
|
91
|
+
{ },
|
|
92
|
+
{ },
|
|
93
|
+
{ },
|
|
94
|
+
null,
|
|
95
|
+
['PureCloud OAuth'],
|
|
96
|
+
['application/json'],
|
|
97
|
+
['application/json']
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Delete a worktype
|
|
103
|
+
*
|
|
104
|
+
* @param {String} worktypeId Worktype id
|
|
105
|
+
* Preview Endpoint
|
|
106
|
+
*/
|
|
107
|
+
deleteTaskmanagementWorktype(worktypeId) {
|
|
108
|
+
// verify the required parameter 'worktypeId' is set
|
|
109
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
110
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return this.apiClient.callApi(
|
|
114
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}',
|
|
115
|
+
'DELETE',
|
|
116
|
+
{ 'worktypeId': worktypeId },
|
|
117
|
+
{ },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
|
+
null,
|
|
121
|
+
['PureCloud OAuth'],
|
|
122
|
+
['application/json'],
|
|
123
|
+
['application/json']
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Delete a status
|
|
129
|
+
*
|
|
130
|
+
* @param {String} worktypeId Worktype id
|
|
131
|
+
* @param {String} statusId Status id
|
|
132
|
+
* Preview Endpoint
|
|
133
|
+
*/
|
|
134
|
+
deleteTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
135
|
+
// verify the required parameter 'worktypeId' is set
|
|
136
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
137
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeStatus';
|
|
138
|
+
}
|
|
139
|
+
// verify the required parameter 'statusId' is set
|
|
140
|
+
if (statusId === undefined || statusId === null) {
|
|
141
|
+
throw 'Missing the required parameter "statusId" when calling deleteTaskmanagementWorktypeStatus';
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return this.apiClient.callApi(
|
|
145
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}',
|
|
146
|
+
'DELETE',
|
|
147
|
+
{ 'worktypeId': worktypeId,'statusId': statusId },
|
|
148
|
+
{ },
|
|
149
|
+
{ },
|
|
150
|
+
{ },
|
|
151
|
+
null,
|
|
152
|
+
['PureCloud OAuth'],
|
|
153
|
+
['application/json'],
|
|
154
|
+
['application/json']
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Get a workbin
|
|
160
|
+
*
|
|
161
|
+
* @param {String} workbinId Workbin ID
|
|
162
|
+
* Preview Endpoint
|
|
163
|
+
*/
|
|
164
|
+
getTaskmanagementWorkbin(workbinId) {
|
|
165
|
+
// verify the required parameter 'workbinId' is set
|
|
166
|
+
if (workbinId === undefined || workbinId === null) {
|
|
167
|
+
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbin';
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return this.apiClient.callApi(
|
|
171
|
+
'/api/v2/taskmanagement/workbins/{workbinId}',
|
|
172
|
+
'GET',
|
|
173
|
+
{ 'workbinId': workbinId },
|
|
174
|
+
{ },
|
|
175
|
+
{ },
|
|
176
|
+
{ },
|
|
177
|
+
null,
|
|
178
|
+
['PureCloud OAuth'],
|
|
179
|
+
['application/json'],
|
|
180
|
+
['application/json']
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Get a listing of a workbin's attribute change history
|
|
186
|
+
*
|
|
187
|
+
* @param {String} workbinId Workbin ID
|
|
188
|
+
* @param {Object} opts Optional parameters
|
|
189
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
190
|
+
* @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)
|
|
191
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
192
|
+
* Preview Endpoint
|
|
193
|
+
*/
|
|
194
|
+
getTaskmanagementWorkbinHistory(workbinId, opts) {
|
|
195
|
+
opts = opts || {};
|
|
196
|
+
|
|
197
|
+
// verify the required parameter 'workbinId' is set
|
|
198
|
+
if (workbinId === undefined || workbinId === null) {
|
|
199
|
+
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinHistory';
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
return this.apiClient.callApi(
|
|
203
|
+
'/api/v2/taskmanagement/workbins/{workbinId}/history',
|
|
204
|
+
'GET',
|
|
205
|
+
{ 'workbinId': workbinId },
|
|
206
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
207
|
+
{ },
|
|
208
|
+
{ },
|
|
209
|
+
null,
|
|
210
|
+
['PureCloud OAuth'],
|
|
211
|
+
['application/json'],
|
|
212
|
+
['application/json']
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Get a version of a workbin
|
|
218
|
+
*
|
|
219
|
+
* @param {String} workbinId Workbin ID
|
|
220
|
+
* @param {Number} entityVersion Workbin version
|
|
221
|
+
* Preview Endpoint
|
|
222
|
+
*/
|
|
223
|
+
getTaskmanagementWorkbinVersion(workbinId, entityVersion) {
|
|
224
|
+
// verify the required parameter 'workbinId' is set
|
|
225
|
+
if (workbinId === undefined || workbinId === null) {
|
|
226
|
+
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersion';
|
|
227
|
+
}
|
|
228
|
+
// verify the required parameter 'entityVersion' is set
|
|
229
|
+
if (entityVersion === undefined || entityVersion === null) {
|
|
230
|
+
throw 'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkbinVersion';
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
return this.apiClient.callApi(
|
|
234
|
+
'/api/v2/taskmanagement/workbins/{workbinId}/versions/{entityVersion}',
|
|
235
|
+
'GET',
|
|
236
|
+
{ 'workbinId': workbinId,'entityVersion': entityVersion },
|
|
237
|
+
{ },
|
|
238
|
+
{ },
|
|
239
|
+
{ },
|
|
240
|
+
null,
|
|
241
|
+
['PureCloud OAuth'],
|
|
242
|
+
['application/json'],
|
|
243
|
+
['application/json']
|
|
244
|
+
);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Get all versions of a workbin
|
|
249
|
+
*
|
|
250
|
+
* @param {String} workbinId Workbin ID
|
|
251
|
+
* @param {Object} opts Optional parameters
|
|
252
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
253
|
+
* @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)
|
|
254
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
255
|
+
* Preview Endpoint
|
|
256
|
+
*/
|
|
257
|
+
getTaskmanagementWorkbinVersions(workbinId, opts) {
|
|
258
|
+
opts = opts || {};
|
|
259
|
+
|
|
260
|
+
// verify the required parameter 'workbinId' is set
|
|
261
|
+
if (workbinId === undefined || workbinId === null) {
|
|
262
|
+
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersions';
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return this.apiClient.callApi(
|
|
266
|
+
'/api/v2/taskmanagement/workbins/{workbinId}/versions',
|
|
267
|
+
'GET',
|
|
268
|
+
{ 'workbinId': workbinId },
|
|
269
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
270
|
+
{ },
|
|
271
|
+
{ },
|
|
272
|
+
null,
|
|
273
|
+
['PureCloud OAuth'],
|
|
274
|
+
['application/json'],
|
|
275
|
+
['application/json']
|
|
276
|
+
);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Get a workitem
|
|
281
|
+
*
|
|
282
|
+
* @param {String} workitemId Workitem ID
|
|
283
|
+
* Preview Endpoint
|
|
284
|
+
*/
|
|
285
|
+
getTaskmanagementWorkitem(workitemId) {
|
|
286
|
+
// verify the required parameter 'workitemId' is set
|
|
287
|
+
if (workitemId === undefined || workitemId === null) {
|
|
288
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
return this.apiClient.callApi(
|
|
292
|
+
'/api/v2/taskmanagement/workitems/{workitemId}',
|
|
293
|
+
'GET',
|
|
294
|
+
{ 'workitemId': workitemId },
|
|
295
|
+
{ },
|
|
296
|
+
{ },
|
|
297
|
+
{ },
|
|
298
|
+
null,
|
|
299
|
+
['PureCloud OAuth'],
|
|
300
|
+
['application/json'],
|
|
301
|
+
['application/json']
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Get a listing of a workitem's attribute change history
|
|
307
|
+
*
|
|
308
|
+
* @param {String} workitemId Workitem ID
|
|
309
|
+
* @param {Object} opts Optional parameters
|
|
310
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
311
|
+
* @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)
|
|
312
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
313
|
+
* Preview Endpoint
|
|
314
|
+
*/
|
|
315
|
+
getTaskmanagementWorkitemHistory(workitemId, opts) {
|
|
316
|
+
opts = opts || {};
|
|
317
|
+
|
|
318
|
+
// verify the required parameter 'workitemId' is set
|
|
319
|
+
if (workitemId === undefined || workitemId === null) {
|
|
320
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemHistory';
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
return this.apiClient.callApi(
|
|
324
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/history',
|
|
325
|
+
'GET',
|
|
326
|
+
{ 'workitemId': workitemId },
|
|
327
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
328
|
+
{ },
|
|
329
|
+
{ },
|
|
330
|
+
null,
|
|
331
|
+
['PureCloud OAuth'],
|
|
332
|
+
['application/json'],
|
|
333
|
+
['application/json']
|
|
334
|
+
);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Get all wrapup codes added for the given user for a workitem.
|
|
339
|
+
*
|
|
340
|
+
* @param {String} workitemId The ID of the Workitem.
|
|
341
|
+
* @param {String} userId The ID of the user
|
|
342
|
+
* @param {Object} opts Optional parameters
|
|
343
|
+
* @param {Object} opts.expands Which fields, if any, to expand.
|
|
344
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
345
|
+
* @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)
|
|
346
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
347
|
+
* Preview Endpoint
|
|
348
|
+
*/
|
|
349
|
+
getTaskmanagementWorkitemUserWrapups(workitemId, userId, opts) {
|
|
350
|
+
opts = opts || {};
|
|
351
|
+
|
|
352
|
+
// verify the required parameter 'workitemId' is set
|
|
353
|
+
if (workitemId === undefined || workitemId === null) {
|
|
354
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemUserWrapups';
|
|
355
|
+
}
|
|
356
|
+
// verify the required parameter 'userId' is set
|
|
357
|
+
if (userId === undefined || userId === null) {
|
|
358
|
+
throw 'Missing the required parameter "userId" when calling getTaskmanagementWorkitemUserWrapups';
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
return this.apiClient.callApi(
|
|
362
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups',
|
|
363
|
+
'GET',
|
|
364
|
+
{ 'workitemId': workitemId,'userId': userId },
|
|
365
|
+
{ 'expands': opts['expands'],'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
366
|
+
{ },
|
|
367
|
+
{ },
|
|
368
|
+
null,
|
|
369
|
+
['PureCloud OAuth'],
|
|
370
|
+
['application/json'],
|
|
371
|
+
['application/json']
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Get a version of a workitem
|
|
377
|
+
*
|
|
378
|
+
* @param {String} workitemId Workitem ID
|
|
379
|
+
* @param {Number} entityVersion Workitem version
|
|
380
|
+
* Preview Endpoint
|
|
381
|
+
*/
|
|
382
|
+
getTaskmanagementWorkitemVersion(workitemId, entityVersion) {
|
|
383
|
+
// verify the required parameter 'workitemId' is set
|
|
384
|
+
if (workitemId === undefined || workitemId === null) {
|
|
385
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersion';
|
|
386
|
+
}
|
|
387
|
+
// verify the required parameter 'entityVersion' is set
|
|
388
|
+
if (entityVersion === undefined || entityVersion === null) {
|
|
389
|
+
throw 'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkitemVersion';
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
return this.apiClient.callApi(
|
|
393
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/versions/{entityVersion}',
|
|
394
|
+
'GET',
|
|
395
|
+
{ 'workitemId': workitemId,'entityVersion': entityVersion },
|
|
396
|
+
{ },
|
|
397
|
+
{ },
|
|
398
|
+
{ },
|
|
399
|
+
null,
|
|
400
|
+
['PureCloud OAuth'],
|
|
401
|
+
['application/json'],
|
|
402
|
+
['application/json']
|
|
403
|
+
);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Get all versions of a workitem
|
|
408
|
+
*
|
|
409
|
+
* @param {String} workitemId Workitem ID
|
|
410
|
+
* @param {Object} opts Optional parameters
|
|
411
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
412
|
+
* @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)
|
|
413
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
414
|
+
* Preview Endpoint
|
|
415
|
+
*/
|
|
416
|
+
getTaskmanagementWorkitemVersions(workitemId, opts) {
|
|
417
|
+
opts = opts || {};
|
|
418
|
+
|
|
419
|
+
// verify the required parameter 'workitemId' is set
|
|
420
|
+
if (workitemId === undefined || workitemId === null) {
|
|
421
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersions';
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
return this.apiClient.callApi(
|
|
425
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/versions',
|
|
426
|
+
'GET',
|
|
427
|
+
{ 'workitemId': workitemId },
|
|
428
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
429
|
+
{ },
|
|
430
|
+
{ },
|
|
431
|
+
null,
|
|
432
|
+
['PureCloud OAuth'],
|
|
433
|
+
['application/json'],
|
|
434
|
+
['application/json']
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Get all wrapup codes added for all users for a workitem.
|
|
440
|
+
*
|
|
441
|
+
* @param {String} workitemId The ID of the Workitem.
|
|
442
|
+
* @param {Object} opts Optional parameters
|
|
443
|
+
* @param {Object} opts.expands Which fields, if any, to expand.
|
|
444
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
445
|
+
* @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)
|
|
446
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
447
|
+
* Preview Endpoint
|
|
448
|
+
*/
|
|
449
|
+
getTaskmanagementWorkitemWrapups(workitemId, opts) {
|
|
450
|
+
opts = opts || {};
|
|
451
|
+
|
|
452
|
+
// verify the required parameter 'workitemId' is set
|
|
453
|
+
if (workitemId === undefined || workitemId === null) {
|
|
454
|
+
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemWrapups';
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
return this.apiClient.callApi(
|
|
458
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/wrapups',
|
|
459
|
+
'GET',
|
|
460
|
+
{ 'workitemId': workitemId },
|
|
461
|
+
{ 'expands': opts['expands'],'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
462
|
+
{ },
|
|
463
|
+
{ },
|
|
464
|
+
null,
|
|
465
|
+
['PureCloud OAuth'],
|
|
466
|
+
['application/json'],
|
|
467
|
+
['application/json']
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Get a schema
|
|
473
|
+
*
|
|
474
|
+
* @param {String} schemaId Schema ID
|
|
475
|
+
* Preview Endpoint
|
|
476
|
+
*/
|
|
477
|
+
getTaskmanagementWorkitemsSchema(schemaId) {
|
|
478
|
+
// verify the required parameter 'schemaId' is set
|
|
479
|
+
if (schemaId === undefined || schemaId === null) {
|
|
480
|
+
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchema';
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
return this.apiClient.callApi(
|
|
484
|
+
'/api/v2/taskmanagement/workitems/schemas/{schemaId}',
|
|
485
|
+
'GET',
|
|
486
|
+
{ 'schemaId': schemaId },
|
|
487
|
+
{ },
|
|
488
|
+
{ },
|
|
489
|
+
{ },
|
|
490
|
+
null,
|
|
491
|
+
['PureCloud OAuth'],
|
|
492
|
+
['application/json'],
|
|
493
|
+
['application/json']
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Get a specific version of a schema
|
|
499
|
+
*
|
|
500
|
+
* @param {String} schemaId Schema ID
|
|
501
|
+
* @param {String} versionId Schema version
|
|
502
|
+
* Preview Endpoint
|
|
503
|
+
*/
|
|
504
|
+
getTaskmanagementWorkitemsSchemaVersion(schemaId, versionId) {
|
|
505
|
+
// verify the required parameter 'schemaId' is set
|
|
506
|
+
if (schemaId === undefined || schemaId === null) {
|
|
507
|
+
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersion';
|
|
508
|
+
}
|
|
509
|
+
// verify the required parameter 'versionId' is set
|
|
510
|
+
if (versionId === undefined || versionId === null) {
|
|
511
|
+
throw 'Missing the required parameter "versionId" when calling getTaskmanagementWorkitemsSchemaVersion';
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
return this.apiClient.callApi(
|
|
515
|
+
'/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions/{versionId}',
|
|
516
|
+
'GET',
|
|
517
|
+
{ 'schemaId': schemaId,'versionId': versionId },
|
|
518
|
+
{ },
|
|
519
|
+
{ },
|
|
520
|
+
{ },
|
|
521
|
+
null,
|
|
522
|
+
['PureCloud OAuth'],
|
|
523
|
+
['application/json'],
|
|
524
|
+
['application/json']
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Get all versions of a schema
|
|
530
|
+
*
|
|
531
|
+
* @param {String} schemaId Schema ID
|
|
532
|
+
* Preview Endpoint
|
|
533
|
+
*/
|
|
534
|
+
getTaskmanagementWorkitemsSchemaVersions(schemaId) {
|
|
535
|
+
// verify the required parameter 'schemaId' is set
|
|
536
|
+
if (schemaId === undefined || schemaId === null) {
|
|
537
|
+
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersions';
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
return this.apiClient.callApi(
|
|
541
|
+
'/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions',
|
|
542
|
+
'GET',
|
|
543
|
+
{ 'schemaId': schemaId },
|
|
544
|
+
{ },
|
|
545
|
+
{ },
|
|
546
|
+
{ },
|
|
547
|
+
null,
|
|
548
|
+
['PureCloud OAuth'],
|
|
549
|
+
['application/json'],
|
|
550
|
+
['application/json']
|
|
551
|
+
);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Get a list of schemas.
|
|
556
|
+
*
|
|
557
|
+
* Preview Endpoint
|
|
558
|
+
*/
|
|
559
|
+
getTaskmanagementWorkitemsSchemas() {
|
|
560
|
+
|
|
561
|
+
return this.apiClient.callApi(
|
|
562
|
+
'/api/v2/taskmanagement/workitems/schemas',
|
|
563
|
+
'GET',
|
|
564
|
+
{ },
|
|
565
|
+
{ },
|
|
566
|
+
{ },
|
|
567
|
+
{ },
|
|
568
|
+
null,
|
|
569
|
+
['PureCloud OAuth'],
|
|
570
|
+
['application/json'],
|
|
571
|
+
['application/json']
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Get a worktype
|
|
577
|
+
*
|
|
578
|
+
* @param {String} worktypeId Worktype id
|
|
579
|
+
* @param {Object} opts Optional parameters
|
|
580
|
+
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
581
|
+
* Preview Endpoint
|
|
582
|
+
*/
|
|
583
|
+
getTaskmanagementWorktype(worktypeId, opts) {
|
|
584
|
+
opts = opts || {};
|
|
585
|
+
|
|
586
|
+
// verify the required parameter 'worktypeId' is set
|
|
587
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
588
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
return this.apiClient.callApi(
|
|
592
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}',
|
|
593
|
+
'GET',
|
|
594
|
+
{ 'worktypeId': worktypeId },
|
|
595
|
+
{ 'expands': this.apiClient.buildCollectionParam(opts['expands'], 'multi') },
|
|
596
|
+
{ },
|
|
597
|
+
{ },
|
|
598
|
+
null,
|
|
599
|
+
['PureCloud OAuth'],
|
|
600
|
+
['application/json'],
|
|
601
|
+
['application/json']
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Get a listing of a worktype's attribute change history
|
|
607
|
+
*
|
|
608
|
+
* @param {String} worktypeId Worktype id
|
|
609
|
+
* @param {Object} opts Optional parameters
|
|
610
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
611
|
+
* @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)
|
|
612
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
613
|
+
* Preview Endpoint
|
|
614
|
+
*/
|
|
615
|
+
getTaskmanagementWorktypeHistory(worktypeId, opts) {
|
|
616
|
+
opts = opts || {};
|
|
617
|
+
|
|
618
|
+
// verify the required parameter 'worktypeId' is set
|
|
619
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
620
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
return this.apiClient.callApi(
|
|
624
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/history',
|
|
625
|
+
'GET',
|
|
626
|
+
{ 'worktypeId': worktypeId },
|
|
627
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
628
|
+
{ },
|
|
629
|
+
{ },
|
|
630
|
+
null,
|
|
631
|
+
['PureCloud OAuth'],
|
|
632
|
+
['application/json'],
|
|
633
|
+
['application/json']
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Get a status
|
|
639
|
+
*
|
|
640
|
+
* @param {String} worktypeId Worktype id
|
|
641
|
+
* @param {String} statusId Status id
|
|
642
|
+
* Preview Endpoint
|
|
643
|
+
*/
|
|
644
|
+
getTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
645
|
+
// verify the required parameter 'worktypeId' is set
|
|
646
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
647
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';
|
|
648
|
+
}
|
|
649
|
+
// verify the required parameter 'statusId' is set
|
|
650
|
+
if (statusId === undefined || statusId === null) {
|
|
651
|
+
throw 'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
return this.apiClient.callApi(
|
|
655
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}',
|
|
656
|
+
'GET',
|
|
657
|
+
{ 'worktypeId': worktypeId,'statusId': statusId },
|
|
658
|
+
{ },
|
|
659
|
+
{ },
|
|
660
|
+
{ },
|
|
661
|
+
null,
|
|
662
|
+
['PureCloud OAuth'],
|
|
663
|
+
['application/json'],
|
|
664
|
+
['application/json']
|
|
665
|
+
);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Get a version of a worktype
|
|
670
|
+
*
|
|
671
|
+
* @param {String} worktypeId Worktype id
|
|
672
|
+
* @param {Number} entityVersion Worktype version
|
|
673
|
+
* Preview Endpoint
|
|
674
|
+
*/
|
|
675
|
+
getTaskmanagementWorktypeVersion(worktypeId, entityVersion) {
|
|
676
|
+
// verify the required parameter 'worktypeId' is set
|
|
677
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
678
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersion';
|
|
679
|
+
}
|
|
680
|
+
// verify the required parameter 'entityVersion' is set
|
|
681
|
+
if (entityVersion === undefined || entityVersion === null) {
|
|
682
|
+
throw 'Missing the required parameter "entityVersion" when calling getTaskmanagementWorktypeVersion';
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
return this.apiClient.callApi(
|
|
686
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/versions/{entityVersion}',
|
|
687
|
+
'GET',
|
|
688
|
+
{ 'worktypeId': worktypeId,'entityVersion': entityVersion },
|
|
689
|
+
{ },
|
|
690
|
+
{ },
|
|
691
|
+
{ },
|
|
692
|
+
null,
|
|
693
|
+
['PureCloud OAuth'],
|
|
694
|
+
['application/json'],
|
|
695
|
+
['application/json']
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Get all versions of a worktype
|
|
701
|
+
*
|
|
702
|
+
* @param {String} worktypeId Worktype id
|
|
703
|
+
* @param {Object} opts Optional parameters
|
|
704
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
705
|
+
* @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)
|
|
706
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
|
|
707
|
+
* Preview Endpoint
|
|
708
|
+
*/
|
|
709
|
+
getTaskmanagementWorktypeVersions(worktypeId, opts) {
|
|
710
|
+
opts = opts || {};
|
|
711
|
+
|
|
712
|
+
// verify the required parameter 'worktypeId' is set
|
|
713
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
714
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersions';
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
return this.apiClient.callApi(
|
|
718
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/versions',
|
|
719
|
+
'GET',
|
|
720
|
+
{ 'worktypeId': worktypeId },
|
|
721
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'] },
|
|
722
|
+
{ },
|
|
723
|
+
{ },
|
|
724
|
+
null,
|
|
725
|
+
['PureCloud OAuth'],
|
|
726
|
+
['application/json'],
|
|
727
|
+
['application/json']
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Update the attributes of a workbin
|
|
733
|
+
*
|
|
734
|
+
* @param {String} workbinId Workbin ID
|
|
735
|
+
* @param {Object} body Json with attributes and their new values: {description:new description, name:new name}.
|
|
736
|
+
* Preview Endpoint
|
|
737
|
+
*/
|
|
738
|
+
patchTaskmanagementWorkbin(workbinId, body) {
|
|
739
|
+
// verify the required parameter 'workbinId' is set
|
|
740
|
+
if (workbinId === undefined || workbinId === null) {
|
|
741
|
+
throw 'Missing the required parameter "workbinId" when calling patchTaskmanagementWorkbin';
|
|
742
|
+
}
|
|
743
|
+
// verify the required parameter 'body' is set
|
|
744
|
+
if (body === undefined || body === null) {
|
|
745
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorkbin';
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
return this.apiClient.callApi(
|
|
749
|
+
'/api/v2/taskmanagement/workbins/{workbinId}',
|
|
750
|
+
'PATCH',
|
|
751
|
+
{ 'workbinId': workbinId },
|
|
752
|
+
{ },
|
|
753
|
+
{ },
|
|
754
|
+
{ },
|
|
755
|
+
body,
|
|
756
|
+
['PureCloud OAuth'],
|
|
757
|
+
['application/json'],
|
|
758
|
+
['application/json']
|
|
759
|
+
);
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Update the attributes of a workitem
|
|
764
|
+
*
|
|
765
|
+
* @param {String} workitemId Workitem ID
|
|
766
|
+
* @param {Object} body Workitem
|
|
767
|
+
* Preview Endpoint
|
|
768
|
+
*/
|
|
769
|
+
patchTaskmanagementWorkitem(workitemId, body) {
|
|
770
|
+
// verify the required parameter 'workitemId' is set
|
|
771
|
+
if (workitemId === undefined || workitemId === null) {
|
|
772
|
+
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitem';
|
|
773
|
+
}
|
|
774
|
+
// verify the required parameter 'body' is set
|
|
775
|
+
if (body === undefined || body === null) {
|
|
776
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorkitem';
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
return this.apiClient.callApi(
|
|
780
|
+
'/api/v2/taskmanagement/workitems/{workitemId}',
|
|
781
|
+
'PATCH',
|
|
782
|
+
{ 'workitemId': workitemId },
|
|
783
|
+
{ },
|
|
784
|
+
{ },
|
|
785
|
+
{ },
|
|
786
|
+
body,
|
|
787
|
+
['PureCloud OAuth'],
|
|
788
|
+
['application/json'],
|
|
789
|
+
['application/json']
|
|
790
|
+
);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Attempts to manually assign a specified workitem to a specified user. Ignores bullseye ring, PAR score, skills, and languages.
|
|
795
|
+
*
|
|
796
|
+
* @param {String} workitemId Workitem ID
|
|
797
|
+
* @param {Object} body Targeted user
|
|
798
|
+
* Preview Endpoint
|
|
799
|
+
*/
|
|
800
|
+
patchTaskmanagementWorkitemAssignment(workitemId, body) {
|
|
801
|
+
// verify the required parameter 'workitemId' is set
|
|
802
|
+
if (workitemId === undefined || workitemId === null) {
|
|
803
|
+
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemAssignment';
|
|
804
|
+
}
|
|
805
|
+
// verify the required parameter 'body' is set
|
|
806
|
+
if (body === undefined || body === null) {
|
|
807
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorkitemAssignment';
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
return this.apiClient.callApi(
|
|
811
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/assignment',
|
|
812
|
+
'PATCH',
|
|
813
|
+
{ 'workitemId': workitemId },
|
|
814
|
+
{ },
|
|
815
|
+
{ },
|
|
816
|
+
{ },
|
|
817
|
+
body,
|
|
818
|
+
['PureCloud OAuth'],
|
|
819
|
+
['application/json'],
|
|
820
|
+
['application/json']
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Add/Remove a wrapup code for a given user in a workitem.
|
|
826
|
+
*
|
|
827
|
+
* @param {String} workitemId The ID of the Workitem.
|
|
828
|
+
* @param {String} userId The ID of the user
|
|
829
|
+
* @param {Object} body Request body to add/remove a wrapup code for a workitem
|
|
830
|
+
* Preview Endpoint
|
|
831
|
+
*/
|
|
832
|
+
patchTaskmanagementWorkitemUserWrapups(workitemId, userId, body) {
|
|
833
|
+
// verify the required parameter 'workitemId' is set
|
|
834
|
+
if (workitemId === undefined || workitemId === null) {
|
|
835
|
+
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
836
|
+
}
|
|
837
|
+
// verify the required parameter 'userId' is set
|
|
838
|
+
if (userId === undefined || userId === null) {
|
|
839
|
+
throw 'Missing the required parameter "userId" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
840
|
+
}
|
|
841
|
+
// verify the required parameter 'body' is set
|
|
842
|
+
if (body === undefined || body === null) {
|
|
843
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
return this.apiClient.callApi(
|
|
847
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups',
|
|
848
|
+
'PATCH',
|
|
849
|
+
{ 'workitemId': workitemId,'userId': userId },
|
|
850
|
+
{ },
|
|
851
|
+
{ },
|
|
852
|
+
{ },
|
|
853
|
+
body,
|
|
854
|
+
['PureCloud OAuth'],
|
|
855
|
+
['application/json'],
|
|
856
|
+
['application/json']
|
|
857
|
+
);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Add/Remove a wrapup code for the current user in a workitem.
|
|
862
|
+
*
|
|
863
|
+
* @param {String} workitemId The ID of the Workitem.
|
|
864
|
+
* @param {Object} body Request body to add/remove the wrapup code for workitem
|
|
865
|
+
* Preview Endpoint
|
|
866
|
+
*/
|
|
867
|
+
patchTaskmanagementWorkitemUsersMeWrapups(workitemId, body) {
|
|
868
|
+
// verify the required parameter 'workitemId' is set
|
|
869
|
+
if (workitemId === undefined || workitemId === null) {
|
|
870
|
+
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUsersMeWrapups';
|
|
871
|
+
}
|
|
872
|
+
// verify the required parameter 'body' is set
|
|
873
|
+
if (body === undefined || body === null) {
|
|
874
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUsersMeWrapups';
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
return this.apiClient.callApi(
|
|
878
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/users/me/wrapups',
|
|
879
|
+
'PATCH',
|
|
880
|
+
{ 'workitemId': workitemId },
|
|
881
|
+
{ },
|
|
882
|
+
{ },
|
|
883
|
+
{ },
|
|
884
|
+
body,
|
|
885
|
+
['PureCloud OAuth'],
|
|
886
|
+
['application/json'],
|
|
887
|
+
['application/json']
|
|
888
|
+
);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Update the attributes of a worktype
|
|
893
|
+
*
|
|
894
|
+
* @param {String} worktypeId Worktype id
|
|
895
|
+
* @param {Object} opts Optional parameters
|
|
896
|
+
* @param {Object} opts.body body
|
|
897
|
+
* Preview Endpoint
|
|
898
|
+
*/
|
|
899
|
+
patchTaskmanagementWorktype(worktypeId, opts) {
|
|
900
|
+
opts = opts || {};
|
|
901
|
+
|
|
902
|
+
// verify the required parameter 'worktypeId' is set
|
|
903
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
904
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
return this.apiClient.callApi(
|
|
908
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}',
|
|
909
|
+
'PATCH',
|
|
910
|
+
{ 'worktypeId': worktypeId },
|
|
911
|
+
{ },
|
|
912
|
+
{ },
|
|
913
|
+
{ },
|
|
914
|
+
opts['body'],
|
|
915
|
+
['PureCloud OAuth'],
|
|
916
|
+
['application/json'],
|
|
917
|
+
['application/json']
|
|
918
|
+
);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Update the attributes of a status
|
|
923
|
+
*
|
|
924
|
+
* @param {String} worktypeId Worktype id
|
|
925
|
+
* @param {String} statusId Status id
|
|
926
|
+
* @param {Object} opts Optional parameters
|
|
927
|
+
* @param {Object} opts.body body
|
|
928
|
+
* Preview Endpoint
|
|
929
|
+
*/
|
|
930
|
+
patchTaskmanagementWorktypeStatus(worktypeId, statusId, opts) {
|
|
931
|
+
opts = opts || {};
|
|
932
|
+
|
|
933
|
+
// verify the required parameter 'worktypeId' is set
|
|
934
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
935
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';
|
|
936
|
+
}
|
|
937
|
+
// verify the required parameter 'statusId' is set
|
|
938
|
+
if (statusId === undefined || statusId === null) {
|
|
939
|
+
throw 'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
return this.apiClient.callApi(
|
|
943
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}',
|
|
944
|
+
'PATCH',
|
|
945
|
+
{ 'worktypeId': worktypeId,'statusId': statusId },
|
|
946
|
+
{ },
|
|
947
|
+
{ },
|
|
948
|
+
{ },
|
|
949
|
+
opts['body'],
|
|
950
|
+
['PureCloud OAuth'],
|
|
951
|
+
['application/json'],
|
|
952
|
+
['application/json']
|
|
953
|
+
);
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Create a workbin
|
|
958
|
+
*
|
|
959
|
+
* @param {Object} opts Optional parameters
|
|
960
|
+
* @param {Object} opts.body body
|
|
961
|
+
* Preview Endpoint
|
|
962
|
+
*/
|
|
963
|
+
postTaskmanagementWorkbins(opts) {
|
|
964
|
+
opts = opts || {};
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
return this.apiClient.callApi(
|
|
968
|
+
'/api/v2/taskmanagement/workbins',
|
|
969
|
+
'POST',
|
|
970
|
+
{ },
|
|
971
|
+
{ },
|
|
972
|
+
{ },
|
|
973
|
+
{ },
|
|
974
|
+
opts['body'],
|
|
975
|
+
['PureCloud OAuth'],
|
|
976
|
+
['application/json'],
|
|
977
|
+
['application/json']
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Query for workbins
|
|
983
|
+
*
|
|
984
|
+
* @param {Object} body QueryPostRequest
|
|
985
|
+
* Preview Endpoint
|
|
986
|
+
*/
|
|
987
|
+
postTaskmanagementWorkbinsQuery(body) {
|
|
988
|
+
// verify the required parameter 'body' is set
|
|
989
|
+
if (body === undefined || body === null) {
|
|
990
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkbinsQuery';
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
return this.apiClient.callApi(
|
|
994
|
+
'/api/v2/taskmanagement/workbins/query',
|
|
995
|
+
'POST',
|
|
996
|
+
{ },
|
|
997
|
+
{ },
|
|
998
|
+
{ },
|
|
999
|
+
{ },
|
|
1000
|
+
body,
|
|
1001
|
+
['PureCloud OAuth'],
|
|
1002
|
+
['application/json'],
|
|
1003
|
+
['application/json']
|
|
1004
|
+
);
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Cancel the assignment process for a workitem that is currently queued for assignment through ACD.
|
|
1009
|
+
*
|
|
1010
|
+
* @param {String} workitemId Workitem ID
|
|
1011
|
+
* Preview Endpoint
|
|
1012
|
+
*/
|
|
1013
|
+
postTaskmanagementWorkitemAcdCancel(workitemId) {
|
|
1014
|
+
// verify the required parameter 'workitemId' is set
|
|
1015
|
+
if (workitemId === undefined || workitemId === null) {
|
|
1016
|
+
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemAcdCancel';
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
return this.apiClient.callApi(
|
|
1020
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/acd/cancel',
|
|
1021
|
+
'POST',
|
|
1022
|
+
{ 'workitemId': workitemId },
|
|
1023
|
+
{ },
|
|
1024
|
+
{ },
|
|
1025
|
+
{ },
|
|
1026
|
+
null,
|
|
1027
|
+
['PureCloud OAuth'],
|
|
1028
|
+
['application/json'],
|
|
1029
|
+
['application/json']
|
|
1030
|
+
);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Disconnect the assignee of the workitem
|
|
1035
|
+
*
|
|
1036
|
+
* @param {String} workitemId Workitem ID
|
|
1037
|
+
* Preview Endpoint
|
|
1038
|
+
*/
|
|
1039
|
+
postTaskmanagementWorkitemDisconnect(workitemId) {
|
|
1040
|
+
// verify the required parameter 'workitemId' is set
|
|
1041
|
+
if (workitemId === undefined || workitemId === null) {
|
|
1042
|
+
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemDisconnect';
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
return this.apiClient.callApi(
|
|
1046
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/disconnect',
|
|
1047
|
+
'POST',
|
|
1048
|
+
{ 'workitemId': workitemId },
|
|
1049
|
+
{ },
|
|
1050
|
+
{ },
|
|
1051
|
+
{ },
|
|
1052
|
+
null,
|
|
1053
|
+
['PureCloud OAuth'],
|
|
1054
|
+
['application/json'],
|
|
1055
|
+
['application/json']
|
|
1056
|
+
);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Terminate a workitem
|
|
1061
|
+
*
|
|
1062
|
+
* @param {String} workitemId Workitem ID
|
|
1063
|
+
* @param {Object} opts Optional parameters
|
|
1064
|
+
* @param {Object} opts.body Terminated request
|
|
1065
|
+
* Preview Endpoint
|
|
1066
|
+
*/
|
|
1067
|
+
postTaskmanagementWorkitemTerminate(workitemId, opts) {
|
|
1068
|
+
opts = opts || {};
|
|
1069
|
+
|
|
1070
|
+
// verify the required parameter 'workitemId' is set
|
|
1071
|
+
if (workitemId === undefined || workitemId === null) {
|
|
1072
|
+
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemTerminate';
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
return this.apiClient.callApi(
|
|
1076
|
+
'/api/v2/taskmanagement/workitems/{workitemId}/terminate',
|
|
1077
|
+
'POST',
|
|
1078
|
+
{ 'workitemId': workitemId },
|
|
1079
|
+
{ },
|
|
1080
|
+
{ },
|
|
1081
|
+
{ },
|
|
1082
|
+
opts['body'],
|
|
1083
|
+
['PureCloud OAuth'],
|
|
1084
|
+
['application/json'],
|
|
1085
|
+
['application/json']
|
|
1086
|
+
);
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Create a workitem
|
|
1091
|
+
*
|
|
1092
|
+
* @param {Object} body Workitem
|
|
1093
|
+
* Preview Endpoint
|
|
1094
|
+
*/
|
|
1095
|
+
postTaskmanagementWorkitems(body) {
|
|
1096
|
+
// verify the required parameter 'body' is set
|
|
1097
|
+
if (body === undefined || body === null) {
|
|
1098
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitems';
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
return this.apiClient.callApi(
|
|
1102
|
+
'/api/v2/taskmanagement/workitems',
|
|
1103
|
+
'POST',
|
|
1104
|
+
{ },
|
|
1105
|
+
{ },
|
|
1106
|
+
{ },
|
|
1107
|
+
{ },
|
|
1108
|
+
body,
|
|
1109
|
+
['PureCloud OAuth'],
|
|
1110
|
+
['application/json'],
|
|
1111
|
+
['application/json']
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Query for workitems
|
|
1117
|
+
* This query requires at least one EQ filter on the workbinId, assigneeId or typeId attributes.
|
|
1118
|
+
* @param {Object} body WorkitemQueryPostRequest
|
|
1119
|
+
* Preview Endpoint
|
|
1120
|
+
*/
|
|
1121
|
+
postTaskmanagementWorkitemsQuery(body) {
|
|
1122
|
+
// verify the required parameter 'body' is set
|
|
1123
|
+
if (body === undefined || body === null) {
|
|
1124
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
return this.apiClient.callApi(
|
|
1128
|
+
'/api/v2/taskmanagement/workitems/query',
|
|
1129
|
+
'POST',
|
|
1130
|
+
{ },
|
|
1131
|
+
{ },
|
|
1132
|
+
{ },
|
|
1133
|
+
{ },
|
|
1134
|
+
body,
|
|
1135
|
+
['PureCloud OAuth'],
|
|
1136
|
+
['application/json'],
|
|
1137
|
+
['application/json']
|
|
1138
|
+
);
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Create a schema
|
|
1143
|
+
*
|
|
1144
|
+
* @param {Object} body Schema
|
|
1145
|
+
* Preview Endpoint
|
|
1146
|
+
*/
|
|
1147
|
+
postTaskmanagementWorkitemsSchemas(body) {
|
|
1148
|
+
// verify the required parameter 'body' is set
|
|
1149
|
+
if (body === undefined || body === null) {
|
|
1150
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
return this.apiClient.callApi(
|
|
1154
|
+
'/api/v2/taskmanagement/workitems/schemas',
|
|
1155
|
+
'POST',
|
|
1156
|
+
{ },
|
|
1157
|
+
{ },
|
|
1158
|
+
{ },
|
|
1159
|
+
{ },
|
|
1160
|
+
body,
|
|
1161
|
+
['PureCloud OAuth'],
|
|
1162
|
+
['application/json'],
|
|
1163
|
+
['application/json']
|
|
1164
|
+
);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* Add a status to a worktype
|
|
1169
|
+
*
|
|
1170
|
+
* @param {String} worktypeId Worktype id
|
|
1171
|
+
* @param {Object} opts Optional parameters
|
|
1172
|
+
* @param {Object} opts.body body
|
|
1173
|
+
* Preview Endpoint
|
|
1174
|
+
*/
|
|
1175
|
+
postTaskmanagementWorktypeStatuses(worktypeId, opts) {
|
|
1176
|
+
opts = opts || {};
|
|
1177
|
+
|
|
1178
|
+
// verify the required parameter 'worktypeId' is set
|
|
1179
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
1180
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
return this.apiClient.callApi(
|
|
1184
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
|
|
1185
|
+
'POST',
|
|
1186
|
+
{ 'worktypeId': worktypeId },
|
|
1187
|
+
{ },
|
|
1188
|
+
{ },
|
|
1189
|
+
{ },
|
|
1190
|
+
opts['body'],
|
|
1191
|
+
['PureCloud OAuth'],
|
|
1192
|
+
['application/json'],
|
|
1193
|
+
['application/json']
|
|
1194
|
+
);
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Create a worktype
|
|
1199
|
+
*
|
|
1200
|
+
* @param {Object} opts Optional parameters
|
|
1201
|
+
* @param {Object} opts.body body
|
|
1202
|
+
* Preview Endpoint
|
|
1203
|
+
*/
|
|
1204
|
+
postTaskmanagementWorktypes(opts) {
|
|
1205
|
+
opts = opts || {};
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
return this.apiClient.callApi(
|
|
1209
|
+
'/api/v2/taskmanagement/worktypes',
|
|
1210
|
+
'POST',
|
|
1211
|
+
{ },
|
|
1212
|
+
{ },
|
|
1213
|
+
{ },
|
|
1214
|
+
{ },
|
|
1215
|
+
opts['body'],
|
|
1216
|
+
['PureCloud OAuth'],
|
|
1217
|
+
['application/json'],
|
|
1218
|
+
['application/json']
|
|
1219
|
+
);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* Query for worktypes
|
|
1224
|
+
*
|
|
1225
|
+
* @param {Object} body QueryPostRequest
|
|
1226
|
+
* Preview Endpoint
|
|
1227
|
+
*/
|
|
1228
|
+
postTaskmanagementWorktypesQuery(body) {
|
|
1229
|
+
// verify the required parameter 'body' is set
|
|
1230
|
+
if (body === undefined || body === null) {
|
|
1231
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypesQuery';
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
return this.apiClient.callApi(
|
|
1235
|
+
'/api/v2/taskmanagement/worktypes/query',
|
|
1236
|
+
'POST',
|
|
1237
|
+
{ },
|
|
1238
|
+
{ },
|
|
1239
|
+
{ },
|
|
1240
|
+
{ },
|
|
1241
|
+
body,
|
|
1242
|
+
['PureCloud OAuth'],
|
|
1243
|
+
['application/json'],
|
|
1244
|
+
['application/json']
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Update a schema
|
|
1250
|
+
*
|
|
1251
|
+
* @param {String} schemaId Schema ID
|
|
1252
|
+
* @param {Object} body Data Schema
|
|
1253
|
+
* Preview Endpoint
|
|
1254
|
+
*/
|
|
1255
|
+
putTaskmanagementWorkitemsSchema(schemaId, body) {
|
|
1256
|
+
// verify the required parameter 'schemaId' is set
|
|
1257
|
+
if (schemaId === undefined || schemaId === null) {
|
|
1258
|
+
throw 'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';
|
|
1259
|
+
}
|
|
1260
|
+
// verify the required parameter 'body' is set
|
|
1261
|
+
if (body === undefined || body === null) {
|
|
1262
|
+
throw 'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
return this.apiClient.callApi(
|
|
1266
|
+
'/api/v2/taskmanagement/workitems/schemas/{schemaId}',
|
|
1267
|
+
'PUT',
|
|
1268
|
+
{ 'schemaId': schemaId },
|
|
1269
|
+
{ },
|
|
1270
|
+
{ },
|
|
1271
|
+
{ },
|
|
1272
|
+
body,
|
|
1273
|
+
['PureCloud OAuth'],
|
|
1274
|
+
['application/json'],
|
|
1275
|
+
['application/json']
|
|
1276
|
+
);
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
export default TaskManagementApi;
|