purecloud-platform-client-v2 133.0.2 → 134.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +532 -95
- package/dist/web-amd/purecloud-platform-client-v2.js +532 -95
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +532 -95
- package/dist/web-cjs/purecloud-platform-client-v2.js +544 -99
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +662 -11
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +14 -6
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +221 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class ResponseManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ResponseManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 134.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -70,6 +70,31 @@ class ResponseManagementApi {
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Delete response asset
|
|
75
|
+
*
|
|
76
|
+
* @param {String} responseAssetId Asset Id
|
|
77
|
+
*/
|
|
78
|
+
deleteResponsemanagementResponseasset(responseAssetId) {
|
|
79
|
+
// verify the required parameter 'responseAssetId' is set
|
|
80
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
81
|
+
throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return this.apiClient.callApi(
|
|
85
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
86
|
+
'DELETE',
|
|
87
|
+
{ 'responseAssetId': responseAssetId },
|
|
88
|
+
{ },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
null,
|
|
92
|
+
['PureCloud OAuth'],
|
|
93
|
+
['application/json'],
|
|
94
|
+
['application/json']
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
73
98
|
/**
|
|
74
99
|
* Gets a list of existing response libraries.
|
|
75
100
|
*
|
|
@@ -150,6 +175,56 @@ class ResponseManagementApi {
|
|
|
150
175
|
);
|
|
151
176
|
}
|
|
152
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Get response asset information
|
|
180
|
+
*
|
|
181
|
+
* @param {String} responseAssetId Asset Id
|
|
182
|
+
*/
|
|
183
|
+
getResponsemanagementResponseasset(responseAssetId) {
|
|
184
|
+
// verify the required parameter 'responseAssetId' is set
|
|
185
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
186
|
+
throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return this.apiClient.callApi(
|
|
190
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
191
|
+
'GET',
|
|
192
|
+
{ 'responseAssetId': responseAssetId },
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
|
+
{ },
|
|
196
|
+
null,
|
|
197
|
+
['PureCloud OAuth'],
|
|
198
|
+
['application/json'],
|
|
199
|
+
['application/json']
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Get response asset upload status
|
|
205
|
+
*
|
|
206
|
+
* @param {String} statusId Status Id
|
|
207
|
+
*/
|
|
208
|
+
getResponsemanagementResponseassetsStatusStatusId(statusId) {
|
|
209
|
+
// verify the required parameter 'statusId' is set
|
|
210
|
+
if (statusId === undefined || statusId === null) {
|
|
211
|
+
throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return this.apiClient.callApi(
|
|
215
|
+
'/api/v2/responsemanagement/responseassets/status/{statusId}',
|
|
216
|
+
'GET',
|
|
217
|
+
{ 'statusId': statusId },
|
|
218
|
+
{ },
|
|
219
|
+
{ },
|
|
220
|
+
{ },
|
|
221
|
+
null,
|
|
222
|
+
['PureCloud OAuth'],
|
|
223
|
+
['application/json'],
|
|
224
|
+
['application/json']
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
|
|
153
228
|
/**
|
|
154
229
|
* Gets a list of existing responses.
|
|
155
230
|
*
|
|
@@ -206,6 +281,60 @@ class ResponseManagementApi {
|
|
|
206
281
|
);
|
|
207
282
|
}
|
|
208
283
|
|
|
284
|
+
/**
|
|
285
|
+
* Search response assets
|
|
286
|
+
*
|
|
287
|
+
* @param {Object} body request
|
|
288
|
+
* @param {Object} opts Optional parameters
|
|
289
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
290
|
+
*/
|
|
291
|
+
postResponsemanagementResponseassetsSearch(body, opts) {
|
|
292
|
+
opts = opts || {};
|
|
293
|
+
|
|
294
|
+
// verify the required parameter 'body' is set
|
|
295
|
+
if (body === undefined || body === null) {
|
|
296
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
return this.apiClient.callApi(
|
|
300
|
+
'/api/v2/responsemanagement/responseassets/search',
|
|
301
|
+
'POST',
|
|
302
|
+
{ },
|
|
303
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
304
|
+
{ },
|
|
305
|
+
{ },
|
|
306
|
+
body,
|
|
307
|
+
['PureCloud OAuth'],
|
|
308
|
+
['application/json'],
|
|
309
|
+
['application/json']
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Creates pre-signed url for uploading response asset
|
|
315
|
+
*
|
|
316
|
+
* @param {Object} body request
|
|
317
|
+
*/
|
|
318
|
+
postResponsemanagementResponseassetsUploads(body) {
|
|
319
|
+
// verify the required parameter 'body' is set
|
|
320
|
+
if (body === undefined || body === null) {
|
|
321
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
return this.apiClient.callApi(
|
|
325
|
+
'/api/v2/responsemanagement/responseassets/uploads',
|
|
326
|
+
'POST',
|
|
327
|
+
{ },
|
|
328
|
+
{ },
|
|
329
|
+
{ },
|
|
330
|
+
{ },
|
|
331
|
+
body,
|
|
332
|
+
['PureCloud OAuth'],
|
|
333
|
+
['application/json'],
|
|
334
|
+
['application/json']
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
209
338
|
/**
|
|
210
339
|
* Create a response.
|
|
211
340
|
*
|
|
@@ -324,6 +453,36 @@ class ResponseManagementApi {
|
|
|
324
453
|
);
|
|
325
454
|
}
|
|
326
455
|
|
|
456
|
+
/**
|
|
457
|
+
* Update response asset
|
|
458
|
+
*
|
|
459
|
+
* @param {String} responseAssetId Asset Id
|
|
460
|
+
* @param {Object} body request
|
|
461
|
+
*/
|
|
462
|
+
putResponsemanagementResponseasset(responseAssetId, body) {
|
|
463
|
+
// verify the required parameter 'responseAssetId' is set
|
|
464
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
465
|
+
throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
|
|
466
|
+
}
|
|
467
|
+
// verify the required parameter 'body' is set
|
|
468
|
+
if (body === undefined || body === null) {
|
|
469
|
+
throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
return this.apiClient.callApi(
|
|
473
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
474
|
+
'PUT',
|
|
475
|
+
{ 'responseAssetId': responseAssetId },
|
|
476
|
+
{ },
|
|
477
|
+
{ },
|
|
478
|
+
{ },
|
|
479
|
+
body,
|
|
480
|
+
['PureCloud OAuth'],
|
|
481
|
+
['application/json'],
|
|
482
|
+
['application/json']
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
|
|
327
486
|
}
|
|
328
487
|
|
|
329
488
|
|
|
@@ -5,7 +5,7 @@ class UploadsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Uploads service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 134.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -150,31 +150,6 @@ class UploadsApi {
|
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* Creates presigned url for uploading WFM historical data file. Requires data in json format.
|
|
155
|
-
*
|
|
156
|
-
* @param {Object} body query
|
|
157
|
-
*/
|
|
158
|
-
postUploadsWorkforcemanagementHistoricaldataJson(body) {
|
|
159
|
-
// verify the required parameter 'body' is set
|
|
160
|
-
if (body === undefined || body === null) {
|
|
161
|
-
throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
return this.apiClient.callApi(
|
|
165
|
-
'/api/v2/uploads/workforcemanagement/historicaldata/json',
|
|
166
|
-
'POST',
|
|
167
|
-
{ },
|
|
168
|
-
{ },
|
|
169
|
-
{ },
|
|
170
|
-
{ },
|
|
171
|
-
body,
|
|
172
|
-
['PureCloud OAuth'],
|
|
173
|
-
['application/json'],
|
|
174
|
-
['application/json']
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
153
|
}
|
|
179
154
|
|
|
180
155
|
|