purecloud-platform-client-v2 223.0.0 → 224.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1046 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +1046 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +378 -120
- package/dist/web-cjs/purecloud-platform-client-v2.js +378 -120
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +730 -249
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +4 -2
- 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/BusinessRulesApi.js +49 -4
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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 +292 -16
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -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 +89 -2
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +27 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +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/ProcessAutomationApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +43 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +2 -2
- 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 +16 -10
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -690,7 +690,7 @@ class Configuration {
|
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
693
|
-
* @version
|
|
693
|
+
* @version 224.0.0
|
|
694
694
|
*/
|
|
695
695
|
class ApiClient {
|
|
696
696
|
/**
|
|
@@ -2230,11 +2230,393 @@ class ApiClient {
|
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
2232
|
|
|
2233
|
+
class AIStudioApi {
|
|
2234
|
+
/**
|
|
2235
|
+
* AIStudio service.
|
|
2236
|
+
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
2237
|
+
* @version 224.0.0
|
|
2238
|
+
*/
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* Constructs a new AIStudioApi.
|
|
2242
|
+
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
2243
|
+
* @class
|
|
2244
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
2245
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
2246
|
+
*/
|
|
2247
|
+
constructor(apiClient) {
|
|
2248
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Start the deletion of a guide.
|
|
2254
|
+
*
|
|
2255
|
+
* @param {String} guideId Guide ID
|
|
2256
|
+
* deleteGuideJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2257
|
+
*/
|
|
2258
|
+
deleteGuideJobs(guideId) {
|
|
2259
|
+
// verify the required parameter 'guideId' is set
|
|
2260
|
+
if (guideId === undefined || guideId === null) {
|
|
2261
|
+
throw 'Missing the required parameter "guideId" when calling deleteGuideJobs';
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
return this.apiClient.callApi(
|
|
2265
|
+
'/api/v2/guides/{guideId}/jobs',
|
|
2266
|
+
'DELETE',
|
|
2267
|
+
{ 'guideId': guideId },
|
|
2268
|
+
{ },
|
|
2269
|
+
{ },
|
|
2270
|
+
{ },
|
|
2271
|
+
null,
|
|
2272
|
+
['PureCloud OAuth'],
|
|
2273
|
+
['application/json'],
|
|
2274
|
+
['application/json']
|
|
2275
|
+
);
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* Get guide.
|
|
2280
|
+
*
|
|
2281
|
+
* @param {String} guideId Guide ID
|
|
2282
|
+
* getGuide is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2283
|
+
*/
|
|
2284
|
+
getGuide(guideId) {
|
|
2285
|
+
// verify the required parameter 'guideId' is set
|
|
2286
|
+
if (guideId === undefined || guideId === null) {
|
|
2287
|
+
throw 'Missing the required parameter "guideId" when calling getGuide';
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
return this.apiClient.callApi(
|
|
2291
|
+
'/api/v2/guides/{guideId}',
|
|
2292
|
+
'GET',
|
|
2293
|
+
{ 'guideId': guideId },
|
|
2294
|
+
{ },
|
|
2295
|
+
{ },
|
|
2296
|
+
{ },
|
|
2297
|
+
null,
|
|
2298
|
+
['PureCloud OAuth'],
|
|
2299
|
+
['application/json'],
|
|
2300
|
+
['application/json']
|
|
2301
|
+
);
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Get the specified guide deletion job.
|
|
2306
|
+
*
|
|
2307
|
+
* @param {String} guideId Guide ID
|
|
2308
|
+
* @param {String} jobId jobId
|
|
2309
|
+
* getGuideJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2310
|
+
*/
|
|
2311
|
+
getGuideJob(guideId, jobId) {
|
|
2312
|
+
// verify the required parameter 'guideId' is set
|
|
2313
|
+
if (guideId === undefined || guideId === null) {
|
|
2314
|
+
throw 'Missing the required parameter "guideId" when calling getGuideJob';
|
|
2315
|
+
}
|
|
2316
|
+
// verify the required parameter 'jobId' is set
|
|
2317
|
+
if (jobId === undefined || jobId === null) {
|
|
2318
|
+
throw 'Missing the required parameter "jobId" when calling getGuideJob';
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
return this.apiClient.callApi(
|
|
2322
|
+
'/api/v2/guides/{guideId}/jobs/{jobId}',
|
|
2323
|
+
'GET',
|
|
2324
|
+
{ 'guideId': guideId,'jobId': jobId },
|
|
2325
|
+
{ },
|
|
2326
|
+
{ },
|
|
2327
|
+
{ },
|
|
2328
|
+
null,
|
|
2329
|
+
['PureCloud OAuth'],
|
|
2330
|
+
['application/json'],
|
|
2331
|
+
['application/json']
|
|
2332
|
+
);
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* Get a guide version.
|
|
2337
|
+
*
|
|
2338
|
+
* @param {String} guideId Guide ID
|
|
2339
|
+
* @param {String} versionId Version ID
|
|
2340
|
+
* getGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2341
|
+
*/
|
|
2342
|
+
getGuideVersion(guideId, versionId) {
|
|
2343
|
+
// verify the required parameter 'guideId' is set
|
|
2344
|
+
if (guideId === undefined || guideId === null) {
|
|
2345
|
+
throw 'Missing the required parameter "guideId" when calling getGuideVersion';
|
|
2346
|
+
}
|
|
2347
|
+
// verify the required parameter 'versionId' is set
|
|
2348
|
+
if (versionId === undefined || versionId === null) {
|
|
2349
|
+
throw 'Missing the required parameter "versionId" when calling getGuideVersion';
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
return this.apiClient.callApi(
|
|
2353
|
+
'/api/v2/guides/{guideId}/versions/{versionId}',
|
|
2354
|
+
'GET',
|
|
2355
|
+
{ 'guideId': guideId,'versionId': versionId },
|
|
2356
|
+
{ },
|
|
2357
|
+
{ },
|
|
2358
|
+
{ },
|
|
2359
|
+
null,
|
|
2360
|
+
['PureCloud OAuth'],
|
|
2361
|
+
['application/json'],
|
|
2362
|
+
['application/json']
|
|
2363
|
+
);
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* Get the status of the publishing job for this guide version.
|
|
2368
|
+
*
|
|
2369
|
+
* @param {String} guideId Guide ID
|
|
2370
|
+
* @param {String} versionId Version ID
|
|
2371
|
+
* @param {String} jobId jobId
|
|
2372
|
+
* getGuideVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2373
|
+
*/
|
|
2374
|
+
getGuideVersionJob(guideId, versionId, jobId) {
|
|
2375
|
+
// verify the required parameter 'guideId' is set
|
|
2376
|
+
if (guideId === undefined || guideId === null) {
|
|
2377
|
+
throw 'Missing the required parameter "guideId" when calling getGuideVersionJob';
|
|
2378
|
+
}
|
|
2379
|
+
// verify the required parameter 'versionId' is set
|
|
2380
|
+
if (versionId === undefined || versionId === null) {
|
|
2381
|
+
throw 'Missing the required parameter "versionId" when calling getGuideVersionJob';
|
|
2382
|
+
}
|
|
2383
|
+
// verify the required parameter 'jobId' is set
|
|
2384
|
+
if (jobId === undefined || jobId === null) {
|
|
2385
|
+
throw 'Missing the required parameter "jobId" when calling getGuideVersionJob';
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
return this.apiClient.callApi(
|
|
2389
|
+
'/api/v2/guides/{guideId}/versions/{versionId}/jobs/{jobId}',
|
|
2390
|
+
'GET',
|
|
2391
|
+
{ 'guideId': guideId,'versionId': versionId,'jobId': jobId },
|
|
2392
|
+
{ },
|
|
2393
|
+
{ },
|
|
2394
|
+
{ },
|
|
2395
|
+
null,
|
|
2396
|
+
['PureCloud OAuth'],
|
|
2397
|
+
['application/json'],
|
|
2398
|
+
['application/json']
|
|
2399
|
+
);
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* Get all guides.
|
|
2404
|
+
*
|
|
2405
|
+
* @param {Object} opts Optional parameters
|
|
2406
|
+
* @param {String} opts.name Filter by matching name - case insensitive.
|
|
2407
|
+
* @param {String} opts.nameContains Filter by name contains - case insensitive.
|
|
2408
|
+
* @param {Object} opts.status Filter by status.
|
|
2409
|
+
* @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
|
|
2410
|
+
* @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
|
|
2411
|
+
* @param {Number} opts.pageNumber Page number. (default to 1)
|
|
2412
|
+
* @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
|
|
2413
|
+
* getGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2414
|
+
*/
|
|
2415
|
+
getGuides(opts) {
|
|
2416
|
+
opts = opts || {};
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
return this.apiClient.callApi(
|
|
2420
|
+
'/api/v2/guides',
|
|
2421
|
+
'GET',
|
|
2422
|
+
{ },
|
|
2423
|
+
{ 'name': opts['name'],'nameContains': opts['nameContains'],'status': opts['status'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
2424
|
+
{ },
|
|
2425
|
+
{ },
|
|
2426
|
+
null,
|
|
2427
|
+
['PureCloud OAuth'],
|
|
2428
|
+
['application/json'],
|
|
2429
|
+
['application/json']
|
|
2430
|
+
);
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* Get the status of the guide content generation job.
|
|
2435
|
+
*
|
|
2436
|
+
* @param {String} jobId jobId
|
|
2437
|
+
* getGuidesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2438
|
+
*/
|
|
2439
|
+
getGuidesJob(jobId) {
|
|
2440
|
+
// verify the required parameter 'jobId' is set
|
|
2441
|
+
if (jobId === undefined || jobId === null) {
|
|
2442
|
+
throw 'Missing the required parameter "jobId" when calling getGuidesJob';
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
return this.apiClient.callApi(
|
|
2446
|
+
'/api/v2/guides/jobs/{jobId}',
|
|
2447
|
+
'GET',
|
|
2448
|
+
{ 'jobId': jobId },
|
|
2449
|
+
{ },
|
|
2450
|
+
{ },
|
|
2451
|
+
{ },
|
|
2452
|
+
null,
|
|
2453
|
+
['PureCloud OAuth'],
|
|
2454
|
+
['application/json'],
|
|
2455
|
+
['application/json']
|
|
2456
|
+
);
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
/**
|
|
2460
|
+
* Update a guide version.
|
|
2461
|
+
*
|
|
2462
|
+
* @param {String} guideId Guide ID
|
|
2463
|
+
* @param {String} versionId Version ID
|
|
2464
|
+
* @param {Object} body
|
|
2465
|
+
* patchGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2466
|
+
*/
|
|
2467
|
+
patchGuideVersion(guideId, versionId, body) {
|
|
2468
|
+
// verify the required parameter 'guideId' is set
|
|
2469
|
+
if (guideId === undefined || guideId === null) {
|
|
2470
|
+
throw 'Missing the required parameter "guideId" when calling patchGuideVersion';
|
|
2471
|
+
}
|
|
2472
|
+
// verify the required parameter 'versionId' is set
|
|
2473
|
+
if (versionId === undefined || versionId === null) {
|
|
2474
|
+
throw 'Missing the required parameter "versionId" when calling patchGuideVersion';
|
|
2475
|
+
}
|
|
2476
|
+
// verify the required parameter 'body' is set
|
|
2477
|
+
if (body === undefined || body === null) {
|
|
2478
|
+
throw 'Missing the required parameter "body" when calling patchGuideVersion';
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
return this.apiClient.callApi(
|
|
2482
|
+
'/api/v2/guides/{guideId}/versions/{versionId}',
|
|
2483
|
+
'PATCH',
|
|
2484
|
+
{ 'guideId': guideId,'versionId': versionId },
|
|
2485
|
+
{ },
|
|
2486
|
+
{ },
|
|
2487
|
+
{ },
|
|
2488
|
+
body,
|
|
2489
|
+
['PureCloud OAuth'],
|
|
2490
|
+
['application/json'],
|
|
2491
|
+
['application/json']
|
|
2492
|
+
);
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* Start the publishing of a guide version.
|
|
2497
|
+
*
|
|
2498
|
+
* @param {String} guideId Guide ID
|
|
2499
|
+
* @param {String} versionId Version ID
|
|
2500
|
+
* @param {Object} body
|
|
2501
|
+
* postGuideVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2502
|
+
*/
|
|
2503
|
+
postGuideVersionJobs(guideId, versionId, body) {
|
|
2504
|
+
// verify the required parameter 'guideId' is set
|
|
2505
|
+
if (guideId === undefined || guideId === null) {
|
|
2506
|
+
throw 'Missing the required parameter "guideId" when calling postGuideVersionJobs';
|
|
2507
|
+
}
|
|
2508
|
+
// verify the required parameter 'versionId' is set
|
|
2509
|
+
if (versionId === undefined || versionId === null) {
|
|
2510
|
+
throw 'Missing the required parameter "versionId" when calling postGuideVersionJobs';
|
|
2511
|
+
}
|
|
2512
|
+
// verify the required parameter 'body' is set
|
|
2513
|
+
if (body === undefined || body === null) {
|
|
2514
|
+
throw 'Missing the required parameter "body" when calling postGuideVersionJobs';
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
return this.apiClient.callApi(
|
|
2518
|
+
'/api/v2/guides/{guideId}/versions/{versionId}/jobs',
|
|
2519
|
+
'POST',
|
|
2520
|
+
{ 'guideId': guideId,'versionId': versionId },
|
|
2521
|
+
{ },
|
|
2522
|
+
{ },
|
|
2523
|
+
{ },
|
|
2524
|
+
body,
|
|
2525
|
+
['PureCloud OAuth'],
|
|
2526
|
+
['application/json'],
|
|
2527
|
+
['application/json']
|
|
2528
|
+
);
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* Create a guide version.
|
|
2533
|
+
*
|
|
2534
|
+
* @param {String} guideId Guide ID
|
|
2535
|
+
* @param {Object} opts Optional parameters
|
|
2536
|
+
* @param {Object} opts.body
|
|
2537
|
+
* postGuideVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2538
|
+
*/
|
|
2539
|
+
postGuideVersions(guideId, opts) {
|
|
2540
|
+
opts = opts || {};
|
|
2541
|
+
|
|
2542
|
+
// verify the required parameter 'guideId' is set
|
|
2543
|
+
if (guideId === undefined || guideId === null) {
|
|
2544
|
+
throw 'Missing the required parameter "guideId" when calling postGuideVersions';
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
return this.apiClient.callApi(
|
|
2548
|
+
'/api/v2/guides/{guideId}/versions',
|
|
2549
|
+
'POST',
|
|
2550
|
+
{ 'guideId': guideId },
|
|
2551
|
+
{ },
|
|
2552
|
+
{ },
|
|
2553
|
+
{ },
|
|
2554
|
+
opts['body'],
|
|
2555
|
+
['PureCloud OAuth'],
|
|
2556
|
+
['application/json'],
|
|
2557
|
+
['application/json']
|
|
2558
|
+
);
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* Create a guide.
|
|
2563
|
+
*
|
|
2564
|
+
* @param {Object} body
|
|
2565
|
+
* postGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2566
|
+
*/
|
|
2567
|
+
postGuides(body) {
|
|
2568
|
+
// verify the required parameter 'body' is set
|
|
2569
|
+
if (body === undefined || body === null) {
|
|
2570
|
+
throw 'Missing the required parameter "body" when calling postGuides';
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
return this.apiClient.callApi(
|
|
2574
|
+
'/api/v2/guides',
|
|
2575
|
+
'POST',
|
|
2576
|
+
{ },
|
|
2577
|
+
{ },
|
|
2578
|
+
{ },
|
|
2579
|
+
{ },
|
|
2580
|
+
body,
|
|
2581
|
+
['PureCloud OAuth'],
|
|
2582
|
+
['application/json'],
|
|
2583
|
+
['application/json']
|
|
2584
|
+
);
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Start a guide content generation job.
|
|
2589
|
+
*
|
|
2590
|
+
* @param {Object} body
|
|
2591
|
+
* postGuidesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2592
|
+
*/
|
|
2593
|
+
postGuidesJobs(body) {
|
|
2594
|
+
// verify the required parameter 'body' is set
|
|
2595
|
+
if (body === undefined || body === null) {
|
|
2596
|
+
throw 'Missing the required parameter "body" when calling postGuidesJobs';
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
return this.apiClient.callApi(
|
|
2600
|
+
'/api/v2/guides/jobs',
|
|
2601
|
+
'POST',
|
|
2602
|
+
{ },
|
|
2603
|
+
{ },
|
|
2604
|
+
{ },
|
|
2605
|
+
{ },
|
|
2606
|
+
body,
|
|
2607
|
+
['PureCloud OAuth'],
|
|
2608
|
+
['application/json'],
|
|
2609
|
+
['application/json']
|
|
2610
|
+
);
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2233
2615
|
class AgentAssistantsApi {
|
|
2234
2616
|
/**
|
|
2235
2617
|
* AgentAssistants service.
|
|
2236
2618
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2237
|
-
* @version
|
|
2619
|
+
* @version 224.0.0
|
|
2238
2620
|
*/
|
|
2239
2621
|
|
|
2240
2622
|
/**
|
|
@@ -2611,7 +2993,7 @@ class AgentCopilotApi {
|
|
|
2611
2993
|
/**
|
|
2612
2994
|
* AgentCopilot service.
|
|
2613
2995
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2614
|
-
* @version
|
|
2996
|
+
* @version 224.0.0
|
|
2615
2997
|
*/
|
|
2616
2998
|
|
|
2617
2999
|
/**
|
|
@@ -2687,7 +3069,7 @@ class AgentUIApi {
|
|
|
2687
3069
|
/**
|
|
2688
3070
|
* AgentUI service.
|
|
2689
3071
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2690
|
-
* @version
|
|
3072
|
+
* @version 224.0.0
|
|
2691
3073
|
*/
|
|
2692
3074
|
|
|
2693
3075
|
/**
|
|
@@ -2818,7 +3200,7 @@ class AlertingApi {
|
|
|
2818
3200
|
/**
|
|
2819
3201
|
* Alerting service.
|
|
2820
3202
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2821
|
-
* @version
|
|
3203
|
+
* @version 224.0.0
|
|
2822
3204
|
*/
|
|
2823
3205
|
|
|
2824
3206
|
/**
|
|
@@ -3219,7 +3601,7 @@ class AnalyticsApi {
|
|
|
3219
3601
|
/**
|
|
3220
3602
|
* Analytics service.
|
|
3221
3603
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3222
|
-
* @version
|
|
3604
|
+
* @version 224.0.0
|
|
3223
3605
|
*/
|
|
3224
3606
|
|
|
3225
3607
|
/**
|
|
@@ -4792,7 +5174,7 @@ class AnalyticsApi {
|
|
|
4792
5174
|
}
|
|
4793
5175
|
|
|
4794
5176
|
/**
|
|
4795
|
-
* Count agents by
|
|
5177
|
+
* Count agents by different groupings
|
|
4796
5178
|
*
|
|
4797
5179
|
* @param {Object} body query
|
|
4798
5180
|
*/
|
|
@@ -6040,7 +6422,7 @@ class ArchitectApi {
|
|
|
6040
6422
|
/**
|
|
6041
6423
|
* Architect service.
|
|
6042
6424
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6043
|
-
* @version
|
|
6425
|
+
* @version 224.0.0
|
|
6044
6426
|
*/
|
|
6045
6427
|
|
|
6046
6428
|
/**
|
|
@@ -6926,7 +7308,7 @@ class ArchitectApi {
|
|
|
6926
7308
|
|
|
6927
7309
|
/**
|
|
6928
7310
|
* Get a pageable list of basic emergency group objects filterable by query parameters.
|
|
6929
|
-
* This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch
|
|
7311
|
+
* This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch emergency groups that match the given ID(s) and not use any additional supplied query parameters in the search.
|
|
6930
7312
|
* @param {Object} opts Optional parameters
|
|
6931
7313
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
6932
7314
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -9084,6 +9466,7 @@ class ArchitectApi {
|
|
|
9084
9466
|
*
|
|
9085
9467
|
* @param {String} promptId Prompt ID
|
|
9086
9468
|
* @param {String} languageCode Language
|
|
9469
|
+
* postArchitectPromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9087
9470
|
*/
|
|
9088
9471
|
postArchitectPromptResourceUploads(promptId, languageCode) {
|
|
9089
9472
|
// verify the required parameter 'promptId' is set
|
|
@@ -9244,6 +9627,7 @@ class ArchitectApi {
|
|
|
9244
9627
|
*
|
|
9245
9628
|
* @param {String} promptId Prompt ID
|
|
9246
9629
|
* @param {String} languageCode Language
|
|
9630
|
+
* postArchitectSystempromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9247
9631
|
*/
|
|
9248
9632
|
postArchitectSystempromptResourceUploads(promptId, languageCode) {
|
|
9249
9633
|
// verify the required parameter 'promptId' is set
|
|
@@ -10333,7 +10717,7 @@ class AuditApi {
|
|
|
10333
10717
|
/**
|
|
10334
10718
|
* Audit service.
|
|
10335
10719
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10336
|
-
* @version
|
|
10720
|
+
* @version 224.0.0
|
|
10337
10721
|
*/
|
|
10338
10722
|
|
|
10339
10723
|
/**
|
|
@@ -10534,7 +10918,7 @@ class AuthorizationApi {
|
|
|
10534
10918
|
/**
|
|
10535
10919
|
* Authorization service.
|
|
10536
10920
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10537
|
-
* @version
|
|
10921
|
+
* @version 224.0.0
|
|
10538
10922
|
*/
|
|
10539
10923
|
|
|
10540
10924
|
/**
|
|
@@ -12249,7 +12633,7 @@ class BillingApi {
|
|
|
12249
12633
|
/**
|
|
12250
12634
|
* Billing service.
|
|
12251
12635
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
12252
|
-
* @version
|
|
12636
|
+
* @version 224.0.0
|
|
12253
12637
|
*/
|
|
12254
12638
|
|
|
12255
12639
|
/**
|
|
@@ -12505,7 +12889,7 @@ class BusinessRulesApi {
|
|
|
12505
12889
|
/**
|
|
12506
12890
|
* BusinessRules service.
|
|
12507
12891
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
12508
|
-
* @version
|
|
12892
|
+
* @version 224.0.0
|
|
12509
12893
|
*/
|
|
12510
12894
|
|
|
12511
12895
|
/**
|
|
@@ -12839,6 +13223,9 @@ class BusinessRulesApi {
|
|
|
12839
13223
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12840
13224
|
* @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
|
|
12841
13225
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used.
|
|
13226
|
+
* @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
|
|
13227
|
+
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
13228
|
+
* @param {Array.<String>} opts.ids Decision table IDs to search for
|
|
12842
13229
|
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12843
13230
|
*/
|
|
12844
13231
|
getBusinessrulesDecisiontablesSearch(opts) {
|
|
@@ -12849,7 +13236,7 @@ class BusinessRulesApi {
|
|
|
12849
13236
|
'/api/v2/businessrules/decisiontables/search',
|
|
12850
13237
|
'GET',
|
|
12851
13238
|
{ },
|
|
12852
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
|
|
13239
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'],'withPublishedVersion': opts['withPublishedVersion'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi') },
|
|
12853
13240
|
{ },
|
|
12854
13241
|
{ },
|
|
12855
13242
|
null,
|
|
@@ -13021,12 +13408,13 @@ class BusinessRulesApi {
|
|
|
13021
13408
|
}
|
|
13022
13409
|
|
|
13023
13410
|
/**
|
|
13024
|
-
*
|
|
13411
|
+
* Partially update a decision table row. Will be deprecated, we should use PUT request.
|
|
13025
13412
|
*
|
|
13026
13413
|
* @param {String} tableId Table ID
|
|
13027
13414
|
* @param {Number} tableVersion Table Version
|
|
13028
13415
|
* @param {String} rowId Row ID
|
|
13029
|
-
* @param {Object} body
|
|
13416
|
+
* @param {Object} body Partially update decision table row request
|
|
13417
|
+
* @deprecated
|
|
13030
13418
|
* patchBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13031
13419
|
*/
|
|
13032
13420
|
patchBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
@@ -13381,6 +13769,47 @@ class BusinessRulesApi {
|
|
|
13381
13769
|
);
|
|
13382
13770
|
}
|
|
13383
13771
|
|
|
13772
|
+
/**
|
|
13773
|
+
* Full update a decision table row
|
|
13774
|
+
*
|
|
13775
|
+
* @param {String} tableId Table ID
|
|
13776
|
+
* @param {Number} tableVersion Table Version
|
|
13777
|
+
* @param {String} rowId Row ID
|
|
13778
|
+
* @param {Object} body Full update decision table row request
|
|
13779
|
+
* putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13780
|
+
*/
|
|
13781
|
+
putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
13782
|
+
// verify the required parameter 'tableId' is set
|
|
13783
|
+
if (tableId === undefined || tableId === null) {
|
|
13784
|
+
throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';
|
|
13785
|
+
}
|
|
13786
|
+
// verify the required parameter 'tableVersion' is set
|
|
13787
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13788
|
+
throw 'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';
|
|
13789
|
+
}
|
|
13790
|
+
// verify the required parameter 'rowId' is set
|
|
13791
|
+
if (rowId === undefined || rowId === null) {
|
|
13792
|
+
throw 'Missing the required parameter "rowId" when calling putBusinessrulesDecisiontableVersionRow';
|
|
13793
|
+
}
|
|
13794
|
+
// verify the required parameter 'body' is set
|
|
13795
|
+
if (body === undefined || body === null) {
|
|
13796
|
+
throw 'Missing the required parameter "body" when calling putBusinessrulesDecisiontableVersionRow';
|
|
13797
|
+
}
|
|
13798
|
+
|
|
13799
|
+
return this.apiClient.callApi(
|
|
13800
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
|
|
13801
|
+
'PUT',
|
|
13802
|
+
{ 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
|
|
13803
|
+
{ },
|
|
13804
|
+
{ },
|
|
13805
|
+
{ },
|
|
13806
|
+
body,
|
|
13807
|
+
['PureCloud OAuth'],
|
|
13808
|
+
['application/json'],
|
|
13809
|
+
['application/json']
|
|
13810
|
+
);
|
|
13811
|
+
}
|
|
13812
|
+
|
|
13384
13813
|
/**
|
|
13385
13814
|
* Update a schema
|
|
13386
13815
|
*
|
|
@@ -13418,7 +13847,7 @@ class CarrierServicesApi {
|
|
|
13418
13847
|
/**
|
|
13419
13848
|
* CarrierServices service.
|
|
13420
13849
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
13421
|
-
* @version
|
|
13850
|
+
* @version 224.0.0
|
|
13422
13851
|
*/
|
|
13423
13852
|
|
|
13424
13853
|
/**
|
|
@@ -13488,7 +13917,7 @@ class ChatApi {
|
|
|
13488
13917
|
/**
|
|
13489
13918
|
* Chat service.
|
|
13490
13919
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
13491
|
-
* @version
|
|
13920
|
+
* @version 224.0.0
|
|
13492
13921
|
*/
|
|
13493
13922
|
|
|
13494
13923
|
/**
|
|
@@ -14421,7 +14850,7 @@ class CoachingApi {
|
|
|
14421
14850
|
/**
|
|
14422
14851
|
* Coaching service.
|
|
14423
14852
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
14424
|
-
* @version
|
|
14853
|
+
* @version 224.0.0
|
|
14425
14854
|
*/
|
|
14426
14855
|
|
|
14427
14856
|
/**
|
|
@@ -14998,7 +15427,7 @@ class ContentManagementApi {
|
|
|
14998
15427
|
/**
|
|
14999
15428
|
* ContentManagement service.
|
|
15000
15429
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
15001
|
-
* @version
|
|
15430
|
+
* @version 224.0.0
|
|
15002
15431
|
*/
|
|
15003
15432
|
|
|
15004
15433
|
/**
|
|
@@ -16079,7 +16508,7 @@ class ConversationsApi {
|
|
|
16079
16508
|
/**
|
|
16080
16509
|
* Conversations service.
|
|
16081
16510
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
16082
|
-
* @version
|
|
16511
|
+
* @version 224.0.0
|
|
16083
16512
|
*/
|
|
16084
16513
|
|
|
16085
16514
|
/**
|
|
@@ -16669,6 +17098,78 @@ class ConversationsApi {
|
|
|
16669
17098
|
);
|
|
16670
17099
|
}
|
|
16671
17100
|
|
|
17101
|
+
/**
|
|
17102
|
+
* Get message
|
|
17103
|
+
*
|
|
17104
|
+
* @param {String} conversationId conversationId
|
|
17105
|
+
* @param {String} communicationId communicationId
|
|
17106
|
+
* @param {String} messageId messageId
|
|
17107
|
+
* getConversationCommunicationInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17108
|
+
*/
|
|
17109
|
+
getConversationCommunicationInternalmessage(conversationId, communicationId, messageId) {
|
|
17110
|
+
// verify the required parameter 'conversationId' is set
|
|
17111
|
+
if (conversationId === undefined || conversationId === null) {
|
|
17112
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';
|
|
17113
|
+
}
|
|
17114
|
+
// verify the required parameter 'communicationId' is set
|
|
17115
|
+
if (communicationId === undefined || communicationId === null) {
|
|
17116
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';
|
|
17117
|
+
}
|
|
17118
|
+
// verify the required parameter 'messageId' is set
|
|
17119
|
+
if (messageId === undefined || messageId === null) {
|
|
17120
|
+
throw 'Missing the required parameter "messageId" when calling getConversationCommunicationInternalmessage';
|
|
17121
|
+
}
|
|
17122
|
+
|
|
17123
|
+
return this.apiClient.callApi(
|
|
17124
|
+
'/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages/{messageId}',
|
|
17125
|
+
'GET',
|
|
17126
|
+
{ 'conversationId': conversationId,'communicationId': communicationId,'messageId': messageId },
|
|
17127
|
+
{ },
|
|
17128
|
+
{ },
|
|
17129
|
+
{ },
|
|
17130
|
+
null,
|
|
17131
|
+
['PureCloud OAuth'],
|
|
17132
|
+
['application/json'],
|
|
17133
|
+
['application/json']
|
|
17134
|
+
);
|
|
17135
|
+
}
|
|
17136
|
+
|
|
17137
|
+
/**
|
|
17138
|
+
* Get messages for communication
|
|
17139
|
+
*
|
|
17140
|
+
* @param {String} conversationId conversationId
|
|
17141
|
+
* @param {String} communicationId communicationId
|
|
17142
|
+
* @param {Object} opts Optional parameters
|
|
17143
|
+
* @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 200. (default to 25)
|
|
17144
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17145
|
+
* getConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17146
|
+
*/
|
|
17147
|
+
getConversationCommunicationInternalmessages(conversationId, communicationId, opts) {
|
|
17148
|
+
opts = opts || {};
|
|
17149
|
+
|
|
17150
|
+
// verify the required parameter 'conversationId' is set
|
|
17151
|
+
if (conversationId === undefined || conversationId === null) {
|
|
17152
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';
|
|
17153
|
+
}
|
|
17154
|
+
// verify the required parameter 'communicationId' is set
|
|
17155
|
+
if (communicationId === undefined || communicationId === null) {
|
|
17156
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';
|
|
17157
|
+
}
|
|
17158
|
+
|
|
17159
|
+
return this.apiClient.callApi(
|
|
17160
|
+
'/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages',
|
|
17161
|
+
'GET',
|
|
17162
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
17163
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
17164
|
+
{ },
|
|
17165
|
+
{ },
|
|
17166
|
+
null,
|
|
17167
|
+
['PureCloud OAuth'],
|
|
17168
|
+
['application/json'],
|
|
17169
|
+
['application/json']
|
|
17170
|
+
);
|
|
17171
|
+
}
|
|
17172
|
+
|
|
16672
17173
|
/**
|
|
16673
17174
|
* Fetch info on a secure session
|
|
16674
17175
|
*
|
|
@@ -16967,7 +17468,7 @@ class ConversationsApi {
|
|
|
16967
17468
|
* @param {String} participantId participantId
|
|
16968
17469
|
* @param {String} communicationId communicationId
|
|
16969
17470
|
* @param {Object} opts Optional parameters
|
|
16970
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17471
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
16971
17472
|
*/
|
|
16972
17473
|
getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
16973
17474
|
opts = opts || {};
|
|
@@ -17005,7 +17506,7 @@ class ConversationsApi {
|
|
|
17005
17506
|
* @param {String} conversationId conversationId
|
|
17006
17507
|
* @param {String} participantId participantId
|
|
17007
17508
|
* @param {Object} opts Optional parameters
|
|
17008
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17509
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17009
17510
|
*/
|
|
17010
17511
|
getConversationsCallParticipantWrapup(conversationId, participantId, opts) {
|
|
17011
17512
|
opts = opts || {};
|
|
@@ -17095,7 +17596,7 @@ class ConversationsApi {
|
|
|
17095
17596
|
* @param {String} participantId participantId
|
|
17096
17597
|
* @param {String} communicationId communicationId
|
|
17097
17598
|
* @param {Object} opts Optional parameters
|
|
17098
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17599
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17099
17600
|
*/
|
|
17100
17601
|
getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
17101
17602
|
opts = opts || {};
|
|
@@ -17133,7 +17634,7 @@ class ConversationsApi {
|
|
|
17133
17634
|
* @param {String} conversationId conversationId
|
|
17134
17635
|
* @param {String} participantId participantId
|
|
17135
17636
|
* @param {Object} opts Optional parameters
|
|
17136
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17637
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17137
17638
|
*/
|
|
17138
17639
|
getConversationsCallbackParticipantWrapup(conversationId, participantId, opts) {
|
|
17139
17640
|
opts = opts || {};
|
|
@@ -17375,7 +17876,7 @@ class ConversationsApi {
|
|
|
17375
17876
|
* @param {String} participantId participantId
|
|
17376
17877
|
* @param {String} communicationId communicationId
|
|
17377
17878
|
* @param {Object} opts Optional parameters
|
|
17378
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17879
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17379
17880
|
* @deprecated
|
|
17380
17881
|
*/
|
|
17381
17882
|
getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
@@ -17414,7 +17915,7 @@ class ConversationsApi {
|
|
|
17414
17915
|
* @param {String} conversationId conversationId
|
|
17415
17916
|
* @param {String} participantId participantId
|
|
17416
17917
|
* @param {Object} opts Optional parameters
|
|
17417
|
-
* @param {Boolean} opts.provisional Indicates
|
|
17918
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17418
17919
|
* @deprecated
|
|
17419
17920
|
*/
|
|
17420
17921
|
getConversationsChatParticipantWrapup(conversationId, participantId, opts) {
|
|
@@ -17527,7 +18028,7 @@ class ConversationsApi {
|
|
|
17527
18028
|
* @param {String} participantId participantId
|
|
17528
18029
|
* @param {String} communicationId communicationId
|
|
17529
18030
|
* @param {Object} opts Optional parameters
|
|
17530
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18031
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17531
18032
|
* @deprecated
|
|
17532
18033
|
*/
|
|
17533
18034
|
getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
@@ -17566,7 +18067,7 @@ class ConversationsApi {
|
|
|
17566
18067
|
* @param {String} conversationId conversationId
|
|
17567
18068
|
* @param {String} participantId participantId
|
|
17568
18069
|
* @param {Object} opts Optional parameters
|
|
17569
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18070
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17570
18071
|
* @deprecated
|
|
17571
18072
|
*/
|
|
17572
18073
|
getConversationsCobrowsesessionParticipantWrapup(conversationId, participantId, opts) {
|
|
@@ -17758,7 +18259,7 @@ class ConversationsApi {
|
|
|
17758
18259
|
* @param {String} participantId participantId
|
|
17759
18260
|
* @param {String} communicationId communicationId
|
|
17760
18261
|
* @param {Object} opts Optional parameters
|
|
17761
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18262
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17762
18263
|
*/
|
|
17763
18264
|
getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
17764
18265
|
opts = opts || {};
|
|
@@ -17796,7 +18297,7 @@ class ConversationsApi {
|
|
|
17796
18297
|
* @param {String} conversationId conversationId
|
|
17797
18298
|
* @param {String} participantId participantId
|
|
17798
18299
|
* @param {Object} opts Optional parameters
|
|
17799
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18300
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
17800
18301
|
*/
|
|
17801
18302
|
getConversationsEmailParticipantWrapup(conversationId, participantId, opts) {
|
|
17802
18303
|
opts = opts || {};
|
|
@@ -17899,6 +18400,53 @@ class ConversationsApi {
|
|
|
17899
18400
|
);
|
|
17900
18401
|
}
|
|
17901
18402
|
|
|
18403
|
+
/**
|
|
18404
|
+
* Get internal message conversation
|
|
18405
|
+
*
|
|
18406
|
+
* @param {String} conversationId conversationId
|
|
18407
|
+
* getConversationsInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18408
|
+
*/
|
|
18409
|
+
getConversationsInternalmessage(conversationId) {
|
|
18410
|
+
// verify the required parameter 'conversationId' is set
|
|
18411
|
+
if (conversationId === undefined || conversationId === null) {
|
|
18412
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';
|
|
18413
|
+
}
|
|
18414
|
+
|
|
18415
|
+
return this.apiClient.callApi(
|
|
18416
|
+
'/api/v2/conversations/internalmessages/{conversationId}',
|
|
18417
|
+
'GET',
|
|
18418
|
+
{ 'conversationId': conversationId },
|
|
18419
|
+
{ },
|
|
18420
|
+
{ },
|
|
18421
|
+
{ },
|
|
18422
|
+
null,
|
|
18423
|
+
['PureCloud OAuth'],
|
|
18424
|
+
['application/json'],
|
|
18425
|
+
['application/json']
|
|
18426
|
+
);
|
|
18427
|
+
}
|
|
18428
|
+
|
|
18429
|
+
/**
|
|
18430
|
+
* Get active internal message conversations for the logged in user
|
|
18431
|
+
*
|
|
18432
|
+
* getConversationsInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18433
|
+
*/
|
|
18434
|
+
getConversationsInternalmessages() {
|
|
18435
|
+
|
|
18436
|
+
return this.apiClient.callApi(
|
|
18437
|
+
'/api/v2/conversations/internalmessages',
|
|
18438
|
+
'GET',
|
|
18439
|
+
{ },
|
|
18440
|
+
{ },
|
|
18441
|
+
{ },
|
|
18442
|
+
{ },
|
|
18443
|
+
null,
|
|
18444
|
+
['PureCloud OAuth'],
|
|
18445
|
+
['application/json'],
|
|
18446
|
+
['application/json']
|
|
18447
|
+
);
|
|
18448
|
+
}
|
|
18449
|
+
|
|
17902
18450
|
/**
|
|
17903
18451
|
* Get the encryption key configurations
|
|
17904
18452
|
*
|
|
@@ -18074,7 +18622,7 @@ class ConversationsApi {
|
|
|
18074
18622
|
* @param {String} participantId participantId
|
|
18075
18623
|
* @param {String} communicationId communicationId
|
|
18076
18624
|
* @param {Object} opts Optional parameters
|
|
18077
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18625
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
18078
18626
|
*/
|
|
18079
18627
|
getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
18080
18628
|
opts = opts || {};
|
|
@@ -18112,7 +18660,7 @@ class ConversationsApi {
|
|
|
18112
18660
|
* @param {String} conversationId conversationId
|
|
18113
18661
|
* @param {String} participantId participantId
|
|
18114
18662
|
* @param {Object} opts Optional parameters
|
|
18115
|
-
* @param {Boolean} opts.provisional Indicates
|
|
18663
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
18116
18664
|
*/
|
|
18117
18665
|
getConversationsMessageParticipantWrapup(conversationId, participantId, opts) {
|
|
18118
18666
|
opts = opts || {};
|
|
@@ -18382,6 +18930,31 @@ class ConversationsApi {
|
|
|
18382
18930
|
);
|
|
18383
18931
|
}
|
|
18384
18932
|
|
|
18933
|
+
/**
|
|
18934
|
+
* Get X (Formally Twitter) messaging integration identity resolution settings
|
|
18935
|
+
*
|
|
18936
|
+
* @param {String} integrationId Integration Id
|
|
18937
|
+
*/
|
|
18938
|
+
getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId) {
|
|
18939
|
+
// verify the required parameter 'integrationId' is set
|
|
18940
|
+
if (integrationId === undefined || integrationId === null) {
|
|
18941
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
|
|
18942
|
+
}
|
|
18943
|
+
|
|
18944
|
+
return this.apiClient.callApi(
|
|
18945
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}',
|
|
18946
|
+
'GET',
|
|
18947
|
+
{ 'integrationId': integrationId },
|
|
18948
|
+
{ },
|
|
18949
|
+
{ },
|
|
18950
|
+
{ },
|
|
18951
|
+
null,
|
|
18952
|
+
['PureCloud OAuth'],
|
|
18953
|
+
['application/json'],
|
|
18954
|
+
['application/json']
|
|
18955
|
+
);
|
|
18956
|
+
}
|
|
18957
|
+
|
|
18385
18958
|
/**
|
|
18386
18959
|
* Get a whatsApp integration Identity Resolution settings
|
|
18387
18960
|
*
|
|
@@ -18932,7 +19505,7 @@ class ConversationsApi {
|
|
|
18932
19505
|
* @param {String} participantId participantId
|
|
18933
19506
|
* @param {String} communicationId communicationId
|
|
18934
19507
|
* @param {Object} opts Optional parameters
|
|
18935
|
-
* @param {Boolean} opts.provisional Indicates
|
|
19508
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
18936
19509
|
* @deprecated
|
|
18937
19510
|
*/
|
|
18938
19511
|
getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
@@ -18992,7 +19565,7 @@ class ConversationsApi {
|
|
|
18992
19565
|
* @param {String} participantId participantId
|
|
18993
19566
|
* @param {String} communicationId communicationId
|
|
18994
19567
|
* @param {Object} opts Optional parameters
|
|
18995
|
-
* @param {Boolean} opts.provisional Indicates
|
|
19568
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
18996
19569
|
*/
|
|
18997
19570
|
getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
18998
19571
|
opts = opts || {};
|
|
@@ -19057,7 +19630,7 @@ class ConversationsApi {
|
|
|
19057
19630
|
* @param {String} participantId participantId
|
|
19058
19631
|
* @param {String} communicationId communicationId
|
|
19059
19632
|
* @param {Object} opts Optional parameters
|
|
19060
|
-
* @param {Boolean} opts.provisional Indicates
|
|
19633
|
+
* @param {Boolean} opts.provisional Indicates whether or not to fetch provisional wrap-up code. (default to false)
|
|
19061
19634
|
*/
|
|
19062
19635
|
getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
19063
19636
|
opts = opts || {};
|
|
@@ -20829,6 +21402,42 @@ class ConversationsApi {
|
|
|
20829
21402
|
);
|
|
20830
21403
|
}
|
|
20831
21404
|
|
|
21405
|
+
/**
|
|
21406
|
+
* Send internal message
|
|
21407
|
+
* Send a new internal message for an existing communication.
|
|
21408
|
+
* @param {String} conversationId conversationId
|
|
21409
|
+
* @param {String} communicationId communicationId
|
|
21410
|
+
* @param {Object} body Message
|
|
21411
|
+
* postConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21412
|
+
*/
|
|
21413
|
+
postConversationCommunicationInternalmessages(conversationId, communicationId, body) {
|
|
21414
|
+
// verify the required parameter 'conversationId' is set
|
|
21415
|
+
if (conversationId === undefined || conversationId === null) {
|
|
21416
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';
|
|
21417
|
+
}
|
|
21418
|
+
// verify the required parameter 'communicationId' is set
|
|
21419
|
+
if (communicationId === undefined || communicationId === null) {
|
|
21420
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';
|
|
21421
|
+
}
|
|
21422
|
+
// verify the required parameter 'body' is set
|
|
21423
|
+
if (body === undefined || body === null) {
|
|
21424
|
+
throw 'Missing the required parameter "body" when calling postConversationCommunicationInternalmessages';
|
|
21425
|
+
}
|
|
21426
|
+
|
|
21427
|
+
return this.apiClient.callApi(
|
|
21428
|
+
'/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages',
|
|
21429
|
+
'POST',
|
|
21430
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
21431
|
+
{ },
|
|
21432
|
+
{ },
|
|
21433
|
+
{ },
|
|
21434
|
+
body,
|
|
21435
|
+
['PureCloud OAuth'],
|
|
21436
|
+
['application/json'],
|
|
21437
|
+
['application/json']
|
|
21438
|
+
);
|
|
21439
|
+
}
|
|
21440
|
+
|
|
20832
21441
|
/**
|
|
20833
21442
|
* Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
|
|
20834
21443
|
*
|
|
@@ -20922,6 +21531,42 @@ class ConversationsApi {
|
|
|
20922
21531
|
);
|
|
20923
21532
|
}
|
|
20924
21533
|
|
|
21534
|
+
/**
|
|
21535
|
+
* Setup internal message communication with user
|
|
21536
|
+
* The target user of the digital consultation must have the `conversation:internalMessaging:accept` permission.
|
|
21537
|
+
* @param {String} conversationId conversation ID
|
|
21538
|
+
* @param {String} participantId participant ID
|
|
21539
|
+
* @param {Object} body Confer request
|
|
21540
|
+
* postConversationParticipantInternalmessagesUsersCommunications is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21541
|
+
*/
|
|
21542
|
+
postConversationParticipantInternalmessagesUsersCommunications(conversationId, participantId, body) {
|
|
21543
|
+
// verify the required parameter 'conversationId' is set
|
|
21544
|
+
if (conversationId === undefined || conversationId === null) {
|
|
21545
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';
|
|
21546
|
+
}
|
|
21547
|
+
// verify the required parameter 'participantId' is set
|
|
21548
|
+
if (participantId === undefined || participantId === null) {
|
|
21549
|
+
throw 'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';
|
|
21550
|
+
}
|
|
21551
|
+
// verify the required parameter 'body' is set
|
|
21552
|
+
if (body === undefined || body === null) {
|
|
21553
|
+
throw 'Missing the required parameter "body" when calling postConversationParticipantInternalmessagesUsersCommunications';
|
|
21554
|
+
}
|
|
21555
|
+
|
|
21556
|
+
return this.apiClient.callApi(
|
|
21557
|
+
'/api/v2/conversations/{conversationId}/participants/{participantId}/internalmessages/users/communications',
|
|
21558
|
+
'POST',
|
|
21559
|
+
{ 'conversationId': conversationId,'participantId': participantId },
|
|
21560
|
+
{ },
|
|
21561
|
+
{ },
|
|
21562
|
+
{ },
|
|
21563
|
+
body,
|
|
21564
|
+
['PureCloud OAuth'],
|
|
21565
|
+
['application/json'],
|
|
21566
|
+
['application/json']
|
|
21567
|
+
);
|
|
21568
|
+
}
|
|
21569
|
+
|
|
20925
21570
|
/**
|
|
20926
21571
|
* Replace this participant with the specified user and/or address
|
|
20927
21572
|
*
|
|
@@ -22561,6 +23206,36 @@ class ConversationsApi {
|
|
|
22561
23206
|
);
|
|
22562
23207
|
}
|
|
22563
23208
|
|
|
23209
|
+
/**
|
|
23210
|
+
* Send inbound Open Response
|
|
23211
|
+
* Send an inbound response for a structured message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
23212
|
+
* @param {String} integrationId integrationId
|
|
23213
|
+
* @param {Object} body OpenInboundStructuredResponseMessage
|
|
23214
|
+
*/
|
|
23215
|
+
postConversationsMessageInboundOpenStructuredResponse(integrationId, body) {
|
|
23216
|
+
// verify the required parameter 'integrationId' is set
|
|
23217
|
+
if (integrationId === undefined || integrationId === null) {
|
|
23218
|
+
throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';
|
|
23219
|
+
}
|
|
23220
|
+
// verify the required parameter 'body' is set
|
|
23221
|
+
if (body === undefined || body === null) {
|
|
23222
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessageInboundOpenStructuredResponse';
|
|
23223
|
+
}
|
|
23224
|
+
|
|
23225
|
+
return this.apiClient.callApi(
|
|
23226
|
+
'/api/v2/conversations/messages/{integrationId}/inbound/open/structured/response',
|
|
23227
|
+
'POST',
|
|
23228
|
+
{ 'integrationId': integrationId },
|
|
23229
|
+
{ },
|
|
23230
|
+
{ },
|
|
23231
|
+
{ },
|
|
23232
|
+
body,
|
|
23233
|
+
['PureCloud OAuth'],
|
|
23234
|
+
['application/json'],
|
|
23235
|
+
['application/json']
|
|
23236
|
+
);
|
|
23237
|
+
}
|
|
23238
|
+
|
|
22564
23239
|
/**
|
|
22565
23240
|
* Get messages in batch
|
|
22566
23241
|
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
|
|
@@ -23669,6 +24344,36 @@ class ConversationsApi {
|
|
|
23669
24344
|
);
|
|
23670
24345
|
}
|
|
23671
24346
|
|
|
24347
|
+
/**
|
|
24348
|
+
* Create an identity resolution settings for an X (Formally Twitter) messaging integration
|
|
24349
|
+
*
|
|
24350
|
+
* @param {String} integrationId Integration Id
|
|
24351
|
+
* @param {Object} body IdentityResolutionConfig
|
|
24352
|
+
*/
|
|
24353
|
+
putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId, body) {
|
|
24354
|
+
// verify the required parameter 'integrationId' is set
|
|
24355
|
+
if (integrationId === undefined || integrationId === null) {
|
|
24356
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
|
|
24357
|
+
}
|
|
24358
|
+
// verify the required parameter 'body' is set
|
|
24359
|
+
if (body === undefined || body === null) {
|
|
24360
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
|
|
24361
|
+
}
|
|
24362
|
+
|
|
24363
|
+
return this.apiClient.callApi(
|
|
24364
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}',
|
|
24365
|
+
'PUT',
|
|
24366
|
+
{ 'integrationId': integrationId },
|
|
24367
|
+
{ },
|
|
24368
|
+
{ },
|
|
24369
|
+
{ },
|
|
24370
|
+
body,
|
|
24371
|
+
['PureCloud OAuth'],
|
|
24372
|
+
['application/json'],
|
|
24373
|
+
['application/json']
|
|
24374
|
+
);
|
|
24375
|
+
}
|
|
24376
|
+
|
|
23672
24377
|
/**
|
|
23673
24378
|
* Update a whatsApp integration Identity Resolution settings
|
|
23674
24379
|
*
|
|
@@ -23871,7 +24576,7 @@ class DataExtensionsApi {
|
|
|
23871
24576
|
/**
|
|
23872
24577
|
* DataExtensions service.
|
|
23873
24578
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23874
|
-
* @version
|
|
24579
|
+
* @version 224.0.0
|
|
23875
24580
|
*/
|
|
23876
24581
|
|
|
23877
24582
|
/**
|
|
@@ -23957,7 +24662,7 @@ class DataPrivacyApi {
|
|
|
23957
24662
|
/**
|
|
23958
24663
|
* DataPrivacy service.
|
|
23959
24664
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
23960
|
-
* @version
|
|
24665
|
+
* @version 224.0.0
|
|
23961
24666
|
*/
|
|
23962
24667
|
|
|
23963
24668
|
/**
|
|
@@ -24127,7 +24832,7 @@ class DownloadsApi {
|
|
|
24127
24832
|
/**
|
|
24128
24833
|
* Downloads service.
|
|
24129
24834
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
24130
|
-
* @version
|
|
24835
|
+
* @version 224.0.0
|
|
24131
24836
|
*/
|
|
24132
24837
|
|
|
24133
24838
|
/**
|
|
@@ -24179,7 +24884,7 @@ class EmailsApi {
|
|
|
24179
24884
|
/**
|
|
24180
24885
|
* Emails service.
|
|
24181
24886
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
24182
|
-
* @version
|
|
24887
|
+
* @version 224.0.0
|
|
24183
24888
|
*/
|
|
24184
24889
|
|
|
24185
24890
|
/**
|
|
@@ -24308,7 +25013,7 @@ class EmployeeEngagementApi {
|
|
|
24308
25013
|
/**
|
|
24309
25014
|
* EmployeeEngagement service.
|
|
24310
25015
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
24311
|
-
* @version
|
|
25016
|
+
* @version 224.0.0
|
|
24312
25017
|
*/
|
|
24313
25018
|
|
|
24314
25019
|
/**
|
|
@@ -24459,7 +25164,7 @@ class EventsApi {
|
|
|
24459
25164
|
/**
|
|
24460
25165
|
* Events service.
|
|
24461
25166
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
24462
|
-
* @version
|
|
25167
|
+
* @version 224.0.0
|
|
24463
25168
|
*/
|
|
24464
25169
|
|
|
24465
25170
|
/**
|
|
@@ -24555,7 +25260,7 @@ class ExternalContactsApi {
|
|
|
24555
25260
|
/**
|
|
24556
25261
|
* ExternalContacts service.
|
|
24557
25262
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
24558
|
-
* @version
|
|
25263
|
+
* @version 224.0.0
|
|
24559
25264
|
*/
|
|
24560
25265
|
|
|
24561
25266
|
/**
|
|
@@ -27743,7 +28448,7 @@ class FaxApi {
|
|
|
27743
28448
|
/**
|
|
27744
28449
|
* Fax service.
|
|
27745
28450
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
27746
|
-
* @version
|
|
28451
|
+
* @version 224.0.0
|
|
27747
28452
|
*/
|
|
27748
28453
|
|
|
27749
28454
|
/**
|
|
@@ -27958,7 +28663,7 @@ class FlowsApi {
|
|
|
27958
28663
|
/**
|
|
27959
28664
|
* Flows service.
|
|
27960
28665
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
27961
|
-
* @version
|
|
28666
|
+
* @version 224.0.0
|
|
27962
28667
|
*/
|
|
27963
28668
|
|
|
27964
28669
|
/**
|
|
@@ -28141,7 +28846,7 @@ class GamificationApi {
|
|
|
28141
28846
|
/**
|
|
28142
28847
|
* Gamification service.
|
|
28143
28848
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
28144
|
-
* @version
|
|
28849
|
+
* @version 224.0.0
|
|
28145
28850
|
*/
|
|
28146
28851
|
|
|
28147
28852
|
/**
|
|
@@ -30648,7 +31353,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
30648
31353
|
/**
|
|
30649
31354
|
* GeneralDataProtectionRegulation service.
|
|
30650
31355
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
30651
|
-
* @version
|
|
31356
|
+
* @version 224.0.0
|
|
30652
31357
|
*/
|
|
30653
31358
|
|
|
30654
31359
|
/**
|
|
@@ -30778,7 +31483,7 @@ class GeolocationApi {
|
|
|
30778
31483
|
/**
|
|
30779
31484
|
* Geolocation service.
|
|
30780
31485
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
30781
|
-
* @version
|
|
31486
|
+
* @version 224.0.0
|
|
30782
31487
|
*/
|
|
30783
31488
|
|
|
30784
31489
|
/**
|
|
@@ -30909,7 +31614,7 @@ class GreetingsApi {
|
|
|
30909
31614
|
/**
|
|
30910
31615
|
* Greetings service.
|
|
30911
31616
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
30912
|
-
* @version
|
|
31617
|
+
* @version 224.0.0
|
|
30913
31618
|
*/
|
|
30914
31619
|
|
|
30915
31620
|
/**
|
|
@@ -30975,12 +31680,70 @@ class GreetingsApi {
|
|
|
30975
31680
|
}
|
|
30976
31681
|
|
|
30977
31682
|
/**
|
|
30978
|
-
*
|
|
31683
|
+
* Download a organization greeting recording
|
|
30979
31684
|
*
|
|
30980
31685
|
* @param {String} greetingId Greeting ID
|
|
30981
31686
|
* @param {Object} opts Optional parameters
|
|
30982
31687
|
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
30983
31688
|
*/
|
|
31689
|
+
getGreetingDownloads(greetingId, opts) {
|
|
31690
|
+
opts = opts || {};
|
|
31691
|
+
|
|
31692
|
+
// verify the required parameter 'greetingId' is set
|
|
31693
|
+
if (greetingId === undefined || greetingId === null) {
|
|
31694
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingDownloads';
|
|
31695
|
+
}
|
|
31696
|
+
|
|
31697
|
+
return this.apiClient.callApi(
|
|
31698
|
+
'/api/v2/greetings/{greetingId}/downloads',
|
|
31699
|
+
'GET',
|
|
31700
|
+
{ 'greetingId': greetingId },
|
|
31701
|
+
{ 'formatId': opts['formatId'] },
|
|
31702
|
+
{ },
|
|
31703
|
+
{ },
|
|
31704
|
+
null,
|
|
31705
|
+
['PureCloud OAuth'],
|
|
31706
|
+
['application/json'],
|
|
31707
|
+
['application/json']
|
|
31708
|
+
);
|
|
31709
|
+
}
|
|
31710
|
+
|
|
31711
|
+
/**
|
|
31712
|
+
* Download a group greeting recording
|
|
31713
|
+
*
|
|
31714
|
+
* @param {String} greetingId Greeting ID
|
|
31715
|
+
* @param {Object} opts Optional parameters
|
|
31716
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
31717
|
+
*/
|
|
31718
|
+
getGreetingGroupsDownloads(greetingId, opts) {
|
|
31719
|
+
opts = opts || {};
|
|
31720
|
+
|
|
31721
|
+
// verify the required parameter 'greetingId' is set
|
|
31722
|
+
if (greetingId === undefined || greetingId === null) {
|
|
31723
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';
|
|
31724
|
+
}
|
|
31725
|
+
|
|
31726
|
+
return this.apiClient.callApi(
|
|
31727
|
+
'/api/v2/greetings/{greetingId}/groups/downloads',
|
|
31728
|
+
'GET',
|
|
31729
|
+
{ 'greetingId': greetingId },
|
|
31730
|
+
{ 'formatId': opts['formatId'] },
|
|
31731
|
+
{ },
|
|
31732
|
+
{ },
|
|
31733
|
+
null,
|
|
31734
|
+
['PureCloud OAuth'],
|
|
31735
|
+
['application/json'],
|
|
31736
|
+
['application/json']
|
|
31737
|
+
);
|
|
31738
|
+
}
|
|
31739
|
+
|
|
31740
|
+
/**
|
|
31741
|
+
* Get media playback URI for this greeting
|
|
31742
|
+
* API should migrate to use GET api/v2/greetings/{greetingId}/downloads
|
|
31743
|
+
* @param {String} greetingId Greeting ID
|
|
31744
|
+
* @param {Object} opts Optional parameters
|
|
31745
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
31746
|
+
*/
|
|
30984
31747
|
getGreetingMedia(greetingId, opts) {
|
|
30985
31748
|
opts = opts || {};
|
|
30986
31749
|
|
|
@@ -31003,6 +31766,35 @@ class GreetingsApi {
|
|
|
31003
31766
|
);
|
|
31004
31767
|
}
|
|
31005
31768
|
|
|
31769
|
+
/**
|
|
31770
|
+
* Download a user greeting recording
|
|
31771
|
+
*
|
|
31772
|
+
* @param {String} greetingId Greeting ID
|
|
31773
|
+
* @param {Object} opts Optional parameters
|
|
31774
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
31775
|
+
*/
|
|
31776
|
+
getGreetingUsersDownloads(greetingId, opts) {
|
|
31777
|
+
opts = opts || {};
|
|
31778
|
+
|
|
31779
|
+
// verify the required parameter 'greetingId' is set
|
|
31780
|
+
if (greetingId === undefined || greetingId === null) {
|
|
31781
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';
|
|
31782
|
+
}
|
|
31783
|
+
|
|
31784
|
+
return this.apiClient.callApi(
|
|
31785
|
+
'/api/v2/greetings/{greetingId}/users/downloads',
|
|
31786
|
+
'GET',
|
|
31787
|
+
{ 'greetingId': greetingId },
|
|
31788
|
+
{ 'formatId': opts['formatId'] },
|
|
31789
|
+
{ },
|
|
31790
|
+
{ },
|
|
31791
|
+
null,
|
|
31792
|
+
['PureCloud OAuth'],
|
|
31793
|
+
['application/json'],
|
|
31794
|
+
['application/json']
|
|
31795
|
+
);
|
|
31796
|
+
}
|
|
31797
|
+
|
|
31006
31798
|
/**
|
|
31007
31799
|
* Gets an Organization's Greetings
|
|
31008
31800
|
*
|
|
@@ -31364,7 +32156,7 @@ class GroupsApi {
|
|
|
31364
32156
|
/**
|
|
31365
32157
|
* Groups service.
|
|
31366
32158
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
31367
|
-
* @version
|
|
32159
|
+
* @version 224.0.0
|
|
31368
32160
|
*/
|
|
31369
32161
|
|
|
31370
32162
|
/**
|
|
@@ -31883,7 +32675,7 @@ class IdentityProviderApi {
|
|
|
31883
32675
|
/**
|
|
31884
32676
|
* IdentityProvider service.
|
|
31885
32677
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
31886
|
-
* @version
|
|
32678
|
+
* @version 224.0.0
|
|
31887
32679
|
*/
|
|
31888
32680
|
|
|
31889
32681
|
/**
|
|
@@ -32744,7 +33536,7 @@ class InfrastructureAsCodeApi {
|
|
|
32744
33536
|
/**
|
|
32745
33537
|
* InfrastructureAsCode service.
|
|
32746
33538
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
32747
|
-
* @version
|
|
33539
|
+
* @version 224.0.0
|
|
32748
33540
|
*/
|
|
32749
33541
|
|
|
32750
33542
|
/**
|
|
@@ -32911,7 +33703,7 @@ class IntegrationsApi {
|
|
|
32911
33703
|
/**
|
|
32912
33704
|
* Integrations service.
|
|
32913
33705
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
32914
|
-
* @version
|
|
33706
|
+
* @version 224.0.0
|
|
32915
33707
|
*/
|
|
32916
33708
|
|
|
32917
33709
|
/**
|
|
@@ -33872,6 +34664,32 @@ class IntegrationsApi {
|
|
|
33872
34664
|
);
|
|
33873
34665
|
}
|
|
33874
34666
|
|
|
34667
|
+
/**
|
|
34668
|
+
* List multiple sets of credentials using cursor-based paging
|
|
34669
|
+
*
|
|
34670
|
+
* @param {Object} opts Optional parameters
|
|
34671
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
34672
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
34673
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
34674
|
+
*/
|
|
34675
|
+
getIntegrationsCredentialsListing(opts) {
|
|
34676
|
+
opts = opts || {};
|
|
34677
|
+
|
|
34678
|
+
|
|
34679
|
+
return this.apiClient.callApi(
|
|
34680
|
+
'/api/v2/integrations/credentials/listing',
|
|
34681
|
+
'GET',
|
|
34682
|
+
{ },
|
|
34683
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
34684
|
+
{ },
|
|
34685
|
+
{ },
|
|
34686
|
+
null,
|
|
34687
|
+
['PureCloud OAuth'],
|
|
34688
|
+
['application/json'],
|
|
34689
|
+
['application/json']
|
|
34690
|
+
);
|
|
34691
|
+
}
|
|
34692
|
+
|
|
33875
34693
|
/**
|
|
33876
34694
|
* List all credential types
|
|
33877
34695
|
*
|
|
@@ -35529,7 +36347,7 @@ class JourneyApi {
|
|
|
35529
36347
|
/**
|
|
35530
36348
|
* Journey service.
|
|
35531
36349
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
35532
|
-
* @version
|
|
36350
|
+
* @version 224.0.0
|
|
35533
36351
|
*/
|
|
35534
36352
|
|
|
35535
36353
|
/**
|
|
@@ -37514,7 +38332,7 @@ class KnowledgeApi {
|
|
|
37514
38332
|
/**
|
|
37515
38333
|
* Knowledge service.
|
|
37516
38334
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
37517
|
-
* @version
|
|
38335
|
+
* @version 224.0.0
|
|
37518
38336
|
*/
|
|
37519
38337
|
|
|
37520
38338
|
/**
|
|
@@ -41387,7 +42205,7 @@ class LanguageUnderstandingApi {
|
|
|
41387
42205
|
/**
|
|
41388
42206
|
* LanguageUnderstanding service.
|
|
41389
42207
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41390
|
-
* @version
|
|
42208
|
+
* @version 224.0.0
|
|
41391
42209
|
*/
|
|
41392
42210
|
|
|
41393
42211
|
/**
|
|
@@ -42420,7 +43238,7 @@ class LanguagesApi {
|
|
|
42420
43238
|
/**
|
|
42421
43239
|
* Languages service.
|
|
42422
43240
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42423
|
-
* @version
|
|
43241
|
+
* @version 224.0.0
|
|
42424
43242
|
*/
|
|
42425
43243
|
|
|
42426
43244
|
/**
|
|
@@ -42642,7 +43460,7 @@ class LearningApi {
|
|
|
42642
43460
|
/**
|
|
42643
43461
|
* Learning service.
|
|
42644
43462
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42645
|
-
* @version
|
|
43463
|
+
* @version 224.0.0
|
|
42646
43464
|
*/
|
|
42647
43465
|
|
|
42648
43466
|
/**
|
|
@@ -43671,7 +44489,7 @@ class LicenseApi {
|
|
|
43671
44489
|
/**
|
|
43672
44490
|
* License service.
|
|
43673
44491
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43674
|
-
* @version
|
|
44492
|
+
* @version 224.0.0
|
|
43675
44493
|
*/
|
|
43676
44494
|
|
|
43677
44495
|
/**
|
|
@@ -43909,7 +44727,7 @@ class LocationsApi {
|
|
|
43909
44727
|
/**
|
|
43910
44728
|
* Locations service.
|
|
43911
44729
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43912
|
-
* @version
|
|
44730
|
+
* @version 224.0.0
|
|
43913
44731
|
*/
|
|
43914
44732
|
|
|
43915
44733
|
/**
|
|
@@ -44145,7 +44963,7 @@ class LogCaptureApi {
|
|
|
44145
44963
|
/**
|
|
44146
44964
|
* LogCapture service.
|
|
44147
44965
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
44148
|
-
* @version
|
|
44966
|
+
* @version 224.0.0
|
|
44149
44967
|
*/
|
|
44150
44968
|
|
|
44151
44969
|
/**
|
|
@@ -44344,7 +45162,7 @@ class MessagingApi {
|
|
|
44344
45162
|
/**
|
|
44345
45163
|
* Messaging service.
|
|
44346
45164
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
44347
|
-
* @version
|
|
45165
|
+
* @version 224.0.0
|
|
44348
45166
|
*/
|
|
44349
45167
|
|
|
44350
45168
|
/**
|
|
@@ -44703,7 +45521,7 @@ class MobileDevicesApi {
|
|
|
44703
45521
|
/**
|
|
44704
45522
|
* MobileDevices service.
|
|
44705
45523
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44706
|
-
* @version
|
|
45524
|
+
* @version 224.0.0
|
|
44707
45525
|
*/
|
|
44708
45526
|
|
|
44709
45527
|
/**
|
|
@@ -44854,7 +45672,7 @@ class NotificationsApi {
|
|
|
44854
45672
|
/**
|
|
44855
45673
|
* Notifications service.
|
|
44856
45674
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44857
|
-
* @version
|
|
45675
|
+
* @version 224.0.0
|
|
44858
45676
|
*/
|
|
44859
45677
|
|
|
44860
45678
|
/**
|
|
@@ -45087,7 +45905,7 @@ class OAuthApi {
|
|
|
45087
45905
|
/**
|
|
45088
45906
|
* OAuth service.
|
|
45089
45907
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
45090
|
-
* @version
|
|
45908
|
+
* @version 224.0.0
|
|
45091
45909
|
*/
|
|
45092
45910
|
|
|
45093
45911
|
/**
|
|
@@ -45453,7 +46271,7 @@ class ObjectsApi {
|
|
|
45453
46271
|
/**
|
|
45454
46272
|
* Objects service.
|
|
45455
46273
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
45456
|
-
* @version
|
|
46274
|
+
* @version 224.0.0
|
|
45457
46275
|
*/
|
|
45458
46276
|
|
|
45459
46277
|
/**
|
|
@@ -45777,7 +46595,7 @@ class OperationalEventsApi {
|
|
|
45777
46595
|
/**
|
|
45778
46596
|
* OperationalEvents service.
|
|
45779
46597
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
45780
|
-
* @version
|
|
46598
|
+
* @version 224.0.0
|
|
45781
46599
|
*/
|
|
45782
46600
|
|
|
45783
46601
|
/**
|
|
@@ -45894,7 +46712,7 @@ class OrganizationApi {
|
|
|
45894
46712
|
/**
|
|
45895
46713
|
* Organization service.
|
|
45896
46714
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45897
|
-
* @version
|
|
46715
|
+
* @version 224.0.0
|
|
45898
46716
|
*/
|
|
45899
46717
|
|
|
45900
46718
|
/**
|
|
@@ -46369,7 +47187,7 @@ class OrganizationAuthorizationApi {
|
|
|
46369
47187
|
/**
|
|
46370
47188
|
* OrganizationAuthorization service.
|
|
46371
47189
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
46372
|
-
* @version
|
|
47190
|
+
* @version 224.0.0
|
|
46373
47191
|
*/
|
|
46374
47192
|
|
|
46375
47193
|
/**
|
|
@@ -47763,7 +48581,7 @@ class OutboundApi {
|
|
|
47763
48581
|
/**
|
|
47764
48582
|
* Outbound service.
|
|
47765
48583
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
47766
|
-
* @version
|
|
48584
|
+
* @version 224.0.0
|
|
47767
48585
|
*/
|
|
47768
48586
|
|
|
47769
48587
|
/**
|
|
@@ -52385,7 +53203,7 @@ class PresenceApi {
|
|
|
52385
53203
|
/**
|
|
52386
53204
|
* Presence service.
|
|
52387
53205
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
52388
|
-
* @version
|
|
53206
|
+
* @version 224.0.0
|
|
52389
53207
|
*/
|
|
52390
53208
|
|
|
52391
53209
|
/**
|
|
@@ -53129,7 +53947,7 @@ class ProcessAutomationApi {
|
|
|
53129
53947
|
/**
|
|
53130
53948
|
* ProcessAutomation service.
|
|
53131
53949
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
53132
|
-
* @version
|
|
53950
|
+
* @version 224.0.0
|
|
53133
53951
|
*/
|
|
53134
53952
|
|
|
53135
53953
|
/**
|
|
@@ -53368,7 +54186,7 @@ class QualityApi {
|
|
|
53368
54186
|
/**
|
|
53369
54187
|
* Quality service.
|
|
53370
54188
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
53371
|
-
* @version
|
|
54189
|
+
* @version 224.0.0
|
|
53372
54190
|
*/
|
|
53373
54191
|
|
|
53374
54192
|
/**
|
|
@@ -55155,7 +55973,7 @@ class RecordingApi {
|
|
|
55155
55973
|
/**
|
|
55156
55974
|
* Recording service.
|
|
55157
55975
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
55158
|
-
* @version
|
|
55976
|
+
* @version 224.0.0
|
|
55159
55977
|
*/
|
|
55160
55978
|
|
|
55161
55979
|
/**
|
|
@@ -56760,7 +57578,7 @@ class ResponseManagementApi {
|
|
|
56760
57578
|
/**
|
|
56761
57579
|
* ResponseManagement service.
|
|
56762
57580
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
56763
|
-
* @version
|
|
57581
|
+
* @version 224.0.0
|
|
56764
57582
|
*/
|
|
56765
57583
|
|
|
56766
57584
|
/**
|
|
@@ -57270,7 +58088,7 @@ class RoutingApi {
|
|
|
57270
58088
|
/**
|
|
57271
58089
|
* Routing service.
|
|
57272
58090
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
57273
|
-
* @version
|
|
58091
|
+
* @version 224.0.0
|
|
57274
58092
|
*/
|
|
57275
58093
|
|
|
57276
58094
|
/**
|
|
@@ -60184,6 +61002,36 @@ class RoutingApi {
|
|
|
60184
61002
|
);
|
|
60185
61003
|
}
|
|
60186
61004
|
|
|
61005
|
+
/**
|
|
61006
|
+
* Update a phone number provisioned for SMS.
|
|
61007
|
+
*
|
|
61008
|
+
* @param {String} phoneNumberId phone number
|
|
61009
|
+
* @param {Object} body SmsPhoneNumberPatchRequest
|
|
61010
|
+
*/
|
|
61011
|
+
patchRoutingSmsPhonenumber(phoneNumberId, body) {
|
|
61012
|
+
// verify the required parameter 'phoneNumberId' is set
|
|
61013
|
+
if (phoneNumberId === undefined || phoneNumberId === null) {
|
|
61014
|
+
throw 'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';
|
|
61015
|
+
}
|
|
61016
|
+
// verify the required parameter 'body' is set
|
|
61017
|
+
if (body === undefined || body === null) {
|
|
61018
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSmsPhonenumber';
|
|
61019
|
+
}
|
|
61020
|
+
|
|
61021
|
+
return this.apiClient.callApi(
|
|
61022
|
+
'/api/v2/routing/sms/phonenumbers/{phoneNumberId}',
|
|
61023
|
+
'PATCH',
|
|
61024
|
+
{ 'phoneNumberId': phoneNumberId },
|
|
61025
|
+
{ },
|
|
61026
|
+
{ },
|
|
61027
|
+
{ },
|
|
61028
|
+
body,
|
|
61029
|
+
['PureCloud OAuth'],
|
|
61030
|
+
['application/json'],
|
|
61031
|
+
['application/json']
|
|
61032
|
+
);
|
|
61033
|
+
}
|
|
61034
|
+
|
|
60187
61035
|
/**
|
|
60188
61036
|
* Join or unjoin a queue for a user
|
|
60189
61037
|
*
|
|
@@ -61580,7 +62428,7 @@ class SCIMApi {
|
|
|
61580
62428
|
/**
|
|
61581
62429
|
* SCIM service.
|
|
61582
62430
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
61583
|
-
* @version
|
|
62431
|
+
* @version 224.0.0
|
|
61584
62432
|
*/
|
|
61585
62433
|
|
|
61586
62434
|
/**
|
|
@@ -62457,7 +63305,7 @@ class ScreenRecordingApi {
|
|
|
62457
63305
|
/**
|
|
62458
63306
|
* ScreenRecording service.
|
|
62459
63307
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
62460
|
-
* @version
|
|
63308
|
+
* @version 224.0.0
|
|
62461
63309
|
*/
|
|
62462
63310
|
|
|
62463
63311
|
/**
|
|
@@ -62502,7 +63350,7 @@ class ScriptsApi {
|
|
|
62502
63350
|
/**
|
|
62503
63351
|
* Scripts service.
|
|
62504
63352
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
62505
|
-
* @version
|
|
63353
|
+
* @version 224.0.0
|
|
62506
63354
|
*/
|
|
62507
63355
|
|
|
62508
63356
|
/**
|
|
@@ -62978,7 +63826,7 @@ class SearchApi {
|
|
|
62978
63826
|
/**
|
|
62979
63827
|
* Search service.
|
|
62980
63828
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
62981
|
-
* @version
|
|
63829
|
+
* @version 224.0.0
|
|
62982
63830
|
*/
|
|
62983
63831
|
|
|
62984
63832
|
/**
|
|
@@ -63721,7 +64569,7 @@ class SettingsApi {
|
|
|
63721
64569
|
/**
|
|
63722
64570
|
* Settings service.
|
|
63723
64571
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
63724
|
-
* @version
|
|
64572
|
+
* @version 224.0.0
|
|
63725
64573
|
*/
|
|
63726
64574
|
|
|
63727
64575
|
/**
|
|
@@ -64069,7 +64917,7 @@ class SocialMediaApi {
|
|
|
64069
64917
|
/**
|
|
64070
64918
|
* SocialMedia service.
|
|
64071
64919
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
64072
|
-
* @version
|
|
64920
|
+
* @version 224.0.0
|
|
64073
64921
|
*/
|
|
64074
64922
|
|
|
64075
64923
|
/**
|
|
@@ -65420,7 +66268,7 @@ class SpeechTextAnalyticsApi {
|
|
|
65420
66268
|
/**
|
|
65421
66269
|
* SpeechTextAnalytics service.
|
|
65422
66270
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
65423
|
-
* @version
|
|
66271
|
+
* @version 224.0.0
|
|
65424
66272
|
*/
|
|
65425
66273
|
|
|
65426
66274
|
/**
|
|
@@ -66909,7 +67757,7 @@ class StationsApi {
|
|
|
66909
67757
|
/**
|
|
66910
67758
|
* Stations service.
|
|
66911
67759
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
66912
|
-
* @version
|
|
67760
|
+
* @version 224.0.0
|
|
66913
67761
|
*/
|
|
66914
67762
|
|
|
66915
67763
|
/**
|
|
@@ -67011,7 +67859,7 @@ class SuggestApi {
|
|
|
67011
67859
|
/**
|
|
67012
67860
|
* Suggest service.
|
|
67013
67861
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
67014
|
-
* @version
|
|
67862
|
+
* @version 224.0.0
|
|
67015
67863
|
*/
|
|
67016
67864
|
|
|
67017
67865
|
/**
|
|
@@ -67150,7 +67998,7 @@ class TaskManagementApi {
|
|
|
67150
67998
|
/**
|
|
67151
67999
|
* TaskManagement service.
|
|
67152
68000
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
67153
|
-
* @version
|
|
68001
|
+
* @version 224.0.0
|
|
67154
68002
|
*/
|
|
67155
68003
|
|
|
67156
68004
|
/**
|
|
@@ -69312,7 +70160,7 @@ class TeamsApi {
|
|
|
69312
70160
|
/**
|
|
69313
70161
|
* Teams service.
|
|
69314
70162
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
69315
|
-
* @version
|
|
70163
|
+
* @version 224.0.0
|
|
69316
70164
|
*/
|
|
69317
70165
|
|
|
69318
70166
|
/**
|
|
@@ -69451,7 +70299,7 @@ class TeamsApi {
|
|
|
69451
70299
|
* @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
|
|
69452
70300
|
* @param {String} opts.after The cursor that points to the next item in the complete list of teams
|
|
69453
70301
|
* @param {String} opts.before The cursor that points to the previous item in the complete list of teams
|
|
69454
|
-
* @param {Object} opts.expand Expand the
|
|
70302
|
+
* @param {Object} opts.expand Expand the division on each team
|
|
69455
70303
|
*/
|
|
69456
70304
|
getTeams(opts) {
|
|
69457
70305
|
opts = opts || {};
|
|
@@ -69617,7 +70465,7 @@ class TelephonyApi {
|
|
|
69617
70465
|
/**
|
|
69618
70466
|
* Telephony service.
|
|
69619
70467
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
69620
|
-
* @version
|
|
70468
|
+
* @version 224.0.0
|
|
69621
70469
|
*/
|
|
69622
70470
|
|
|
69623
70471
|
/**
|
|
@@ -69799,7 +70647,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
69799
70647
|
/**
|
|
69800
70648
|
* TelephonyProvidersEdge service.
|
|
69801
70649
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
69802
|
-
* @version
|
|
70650
|
+
* @version 224.0.0
|
|
69803
70651
|
*/
|
|
69804
70652
|
|
|
69805
70653
|
/**
|
|
@@ -71003,7 +71851,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
71003
71851
|
|
|
71004
71852
|
/**
|
|
71005
71853
|
* Get a pageable list of basic extension pool objects filterable by query parameters.
|
|
71006
|
-
* This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch
|
|
71854
|
+
* This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch extension pools that match the given ID(s) and not use any additional supplied query parameters in the search.
|
|
71007
71855
|
* @param {Object} opts Optional parameters
|
|
71008
71856
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
71009
71857
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -72580,6 +73428,47 @@ class TelephonyProvidersEdgeApi {
|
|
|
72580
73428
|
);
|
|
72581
73429
|
}
|
|
72582
73430
|
|
|
73431
|
+
/**
|
|
73432
|
+
* Post media endpoint statistics event.
|
|
73433
|
+
*
|
|
73434
|
+
* @param {String} conversationId Identifier of the conversation
|
|
73435
|
+
* @param {String} communicationId Identifier of the media session
|
|
73436
|
+
* @param {String} mediaResourceId Identifier of the media resource of the endpoint
|
|
73437
|
+
* @param {Object} body MediaStatisticsPostRequest
|
|
73438
|
+
* postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
73439
|
+
*/
|
|
73440
|
+
postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body) {
|
|
73441
|
+
// verify the required parameter 'conversationId' is set
|
|
73442
|
+
if (conversationId === undefined || conversationId === null) {
|
|
73443
|
+
throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
73444
|
+
}
|
|
73445
|
+
// verify the required parameter 'communicationId' is set
|
|
73446
|
+
if (communicationId === undefined || communicationId === null) {
|
|
73447
|
+
throw 'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
73448
|
+
}
|
|
73449
|
+
// verify the required parameter 'mediaResourceId' is set
|
|
73450
|
+
if (mediaResourceId === undefined || mediaResourceId === null) {
|
|
73451
|
+
throw 'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
73452
|
+
}
|
|
73453
|
+
// verify the required parameter 'body' is set
|
|
73454
|
+
if (body === undefined || body === null) {
|
|
73455
|
+
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
73456
|
+
}
|
|
73457
|
+
|
|
73458
|
+
return this.apiClient.callApi(
|
|
73459
|
+
'/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}',
|
|
73460
|
+
'POST',
|
|
73461
|
+
{ 'conversationId': conversationId,'communicationId': communicationId,'mediaResourceId': mediaResourceId },
|
|
73462
|
+
{ },
|
|
73463
|
+
{ },
|
|
73464
|
+
{ },
|
|
73465
|
+
body,
|
|
73466
|
+
['PureCloud OAuth'],
|
|
73467
|
+
['application/json'],
|
|
73468
|
+
['application/json']
|
|
73469
|
+
);
|
|
73470
|
+
}
|
|
73471
|
+
|
|
72583
73472
|
/**
|
|
72584
73473
|
* Reboot a Phone
|
|
72585
73474
|
*
|
|
@@ -73251,7 +74140,7 @@ class TextbotsApi {
|
|
|
73251
74140
|
/**
|
|
73252
74141
|
* Textbots service.
|
|
73253
74142
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
73254
|
-
* @version
|
|
74143
|
+
* @version 224.0.0
|
|
73255
74144
|
*/
|
|
73256
74145
|
|
|
73257
74146
|
/**
|
|
@@ -73380,7 +74269,7 @@ class TokensApi {
|
|
|
73380
74269
|
/**
|
|
73381
74270
|
* Tokens service.
|
|
73382
74271
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
73383
|
-
* @version
|
|
74272
|
+
* @version 224.0.0
|
|
73384
74273
|
*/
|
|
73385
74274
|
|
|
73386
74275
|
/**
|
|
@@ -73534,7 +74423,7 @@ class UploadsApi {
|
|
|
73534
74423
|
/**
|
|
73535
74424
|
* Uploads service.
|
|
73536
74425
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
73537
|
-
* @version
|
|
74426
|
+
* @version 224.0.0
|
|
73538
74427
|
*/
|
|
73539
74428
|
|
|
73540
74429
|
/**
|
|
@@ -73825,7 +74714,7 @@ class UsageApi {
|
|
|
73825
74714
|
/**
|
|
73826
74715
|
* Usage service.
|
|
73827
74716
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
73828
|
-
* @version
|
|
74717
|
+
* @version 224.0.0
|
|
73829
74718
|
*/
|
|
73830
74719
|
|
|
73831
74720
|
/**
|
|
@@ -74040,7 +74929,7 @@ class UserRecordingsApi {
|
|
|
74040
74929
|
/**
|
|
74041
74930
|
* UserRecordings service.
|
|
74042
74931
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
74043
|
-
* @version
|
|
74932
|
+
* @version 224.0.0
|
|
74044
74933
|
*/
|
|
74045
74934
|
|
|
74046
74935
|
/**
|
|
@@ -74255,7 +75144,7 @@ class UsersApi {
|
|
|
74255
75144
|
/**
|
|
74256
75145
|
* Users service.
|
|
74257
75146
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
74258
|
-
* @version
|
|
75147
|
+
* @version 224.0.0
|
|
74259
75148
|
*/
|
|
74260
75149
|
|
|
74261
75150
|
/**
|
|
@@ -75844,6 +76733,36 @@ class UsersApi {
|
|
|
75844
76733
|
);
|
|
75845
76734
|
}
|
|
75846
76735
|
|
|
76736
|
+
/**
|
|
76737
|
+
* Get list of available users, paged by cursor token, No division filtering available so directory:user:view permission for all divisions is required
|
|
76738
|
+
*
|
|
76739
|
+
* @param {Object} opts Optional parameters
|
|
76740
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
76741
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
76742
|
+
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
76743
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
|
|
76744
|
+
* @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
|
|
76745
|
+
* @param {Object} opts.state Only list users of this state (default to active)
|
|
76746
|
+
* getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
76747
|
+
*/
|
|
76748
|
+
getUsersQuery(opts) {
|
|
76749
|
+
opts = opts || {};
|
|
76750
|
+
|
|
76751
|
+
|
|
76752
|
+
return this.apiClient.callApi(
|
|
76753
|
+
'/api/v2/users/query',
|
|
76754
|
+
'GET',
|
|
76755
|
+
{ },
|
|
76756
|
+
{ 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
|
|
76757
|
+
{ },
|
|
76758
|
+
{ },
|
|
76759
|
+
null,
|
|
76760
|
+
['PureCloud OAuth'],
|
|
76761
|
+
['application/json'],
|
|
76762
|
+
['application/json']
|
|
76763
|
+
);
|
|
76764
|
+
}
|
|
76765
|
+
|
|
75847
76766
|
/**
|
|
75848
76767
|
* Search users using the q64 value returned from a previous search
|
|
75849
76768
|
*
|
|
@@ -77208,7 +78127,7 @@ class UtilitiesApi {
|
|
|
77208
78127
|
/**
|
|
77209
78128
|
* Utilities service.
|
|
77210
78129
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
77211
|
-
* @version
|
|
78130
|
+
* @version 224.0.0
|
|
77212
78131
|
*/
|
|
77213
78132
|
|
|
77214
78133
|
/**
|
|
@@ -77319,7 +78238,7 @@ class VoicemailApi {
|
|
|
77319
78238
|
/**
|
|
77320
78239
|
* Voicemail service.
|
|
77321
78240
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
77322
|
-
* @version
|
|
78241
|
+
* @version 224.0.0
|
|
77323
78242
|
*/
|
|
77324
78243
|
|
|
77325
78244
|
/**
|
|
@@ -77575,7 +78494,7 @@ class VoicemailApi {
|
|
|
77575
78494
|
|
|
77576
78495
|
/**
|
|
77577
78496
|
* Get media playback URI for this voicemail message
|
|
77578
|
-
*
|
|
78497
|
+
* API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloads
|
|
77579
78498
|
* @param {String} messageId Message ID
|
|
77580
78499
|
* @param {Object} opts Optional parameters
|
|
77581
78500
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
@@ -78041,7 +78960,7 @@ class WebChatApi {
|
|
|
78041
78960
|
/**
|
|
78042
78961
|
* WebChat service.
|
|
78043
78962
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
78044
|
-
* @version
|
|
78963
|
+
* @version 224.0.0
|
|
78045
78964
|
*/
|
|
78046
78965
|
|
|
78047
78966
|
/**
|
|
@@ -78601,7 +79520,7 @@ class WebDeploymentsApi {
|
|
|
78601
79520
|
/**
|
|
78602
79521
|
* WebDeployments service.
|
|
78603
79522
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
78604
|
-
* @version
|
|
79523
|
+
* @version 224.0.0
|
|
78605
79524
|
*/
|
|
78606
79525
|
|
|
78607
79526
|
/**
|
|
@@ -79183,7 +80102,7 @@ class WebMessagingApi {
|
|
|
79183
80102
|
/**
|
|
79184
80103
|
* WebMessaging service.
|
|
79185
80104
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
79186
|
-
* @version
|
|
80105
|
+
* @version 224.0.0
|
|
79187
80106
|
*/
|
|
79188
80107
|
|
|
79189
80108
|
/**
|
|
@@ -79229,7 +80148,7 @@ class WidgetsApi {
|
|
|
79229
80148
|
/**
|
|
79230
80149
|
* Widgets service.
|
|
79231
80150
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
79232
|
-
* @version
|
|
80151
|
+
* @version 224.0.0
|
|
79233
80152
|
*/
|
|
79234
80153
|
|
|
79235
80154
|
/**
|
|
@@ -79380,7 +80299,7 @@ class WorkforceManagementApi {
|
|
|
79380
80299
|
/**
|
|
79381
80300
|
* WorkforceManagement service.
|
|
79382
80301
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
79383
|
-
* @version
|
|
80302
|
+
* @version 224.0.0
|
|
79384
80303
|
*/
|
|
79385
80304
|
|
|
79386
80305
|
/**
|
|
@@ -80993,6 +81912,7 @@ class WorkforceManagementApi {
|
|
|
80993
81912
|
* @param {String} businessUnitId The ID of the business unit
|
|
80994
81913
|
* @param {Object} opts Optional parameters
|
|
80995
81914
|
* @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
|
|
81915
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
80996
81916
|
*/
|
|
80997
81917
|
getWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, opts) {
|
|
80998
81918
|
opts = opts || {};
|
|
@@ -81006,7 +81926,7 @@ class WorkforceManagementApi {
|
|
|
81006
81926
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups',
|
|
81007
81927
|
'GET',
|
|
81008
81928
|
{ 'businessUnitId': businessUnitId },
|
|
81009
|
-
{ 'managementUnitId': opts['managementUnitId'] },
|
|
81929
|
+
{ 'managementUnitId': opts['managementUnitId'],'forceDownloadService': opts['forceDownloadService'] },
|
|
81010
81930
|
{ },
|
|
81011
81931
|
{ },
|
|
81012
81932
|
null,
|
|
@@ -84710,8 +85630,12 @@ class WorkforceManagementApi {
|
|
|
84710
85630
|
*
|
|
84711
85631
|
* @param {String} businessUnitId The ID of the business unit
|
|
84712
85632
|
* @param {Object} body body
|
|
85633
|
+
* @param {Object} opts Optional parameters
|
|
85634
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service
|
|
84713
85635
|
*/
|
|
84714
|
-
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body) {
|
|
85636
|
+
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body, opts) {
|
|
85637
|
+
opts = opts || {};
|
|
85638
|
+
|
|
84715
85639
|
// verify the required parameter 'businessUnitId' is set
|
|
84716
85640
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84717
85641
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
@@ -84725,7 +85649,7 @@ class WorkforceManagementApi {
|
|
|
84725
85649
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query',
|
|
84726
85650
|
'POST',
|
|
84727
85651
|
{ 'businessUnitId': businessUnitId },
|
|
84728
|
-
{
|
|
85652
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
84729
85653
|
{ },
|
|
84730
85654
|
{ },
|
|
84731
85655
|
body,
|
|
@@ -85408,12 +86332,9 @@ class WorkforceManagementApi {
|
|
|
85408
86332
|
*
|
|
85409
86333
|
* @param {String} businessUnitId The ID of the business unit
|
|
85410
86334
|
* @param {String} bidId The ID of the work plan bid to copy
|
|
85411
|
-
* @param {Object}
|
|
85412
|
-
* @param {Object} opts.body body
|
|
86335
|
+
* @param {Object} body body
|
|
85413
86336
|
*/
|
|
85414
|
-
postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId,
|
|
85415
|
-
opts = opts || {};
|
|
85416
|
-
|
|
86337
|
+
postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, body) {
|
|
85417
86338
|
// verify the required parameter 'businessUnitId' is set
|
|
85418
86339
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
85419
86340
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
@@ -85422,6 +86343,10 @@ class WorkforceManagementApi {
|
|
|
85422
86343
|
if (bidId === undefined || bidId === null) {
|
|
85423
86344
|
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
85424
86345
|
}
|
|
86346
|
+
// verify the required parameter 'body' is set
|
|
86347
|
+
if (body === undefined || body === null) {
|
|
86348
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
86349
|
+
}
|
|
85425
86350
|
|
|
85426
86351
|
return this.apiClient.callApi(
|
|
85427
86352
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy',
|
|
@@ -85430,7 +86355,7 @@ class WorkforceManagementApi {
|
|
|
85430
86355
|
{ },
|
|
85431
86356
|
{ },
|
|
85432
86357
|
{ },
|
|
85433
|
-
|
|
86358
|
+
body,
|
|
85434
86359
|
['PureCloud OAuth'],
|
|
85435
86360
|
['application/json'],
|
|
85436
86361
|
['application/json']
|
|
@@ -86873,7 +87798,7 @@ class WorkforceManagementApi {
|
|
|
86873
87798
|
* </pre>
|
|
86874
87799
|
* </p>
|
|
86875
87800
|
* @module purecloud-platform-client-v2/index
|
|
86876
|
-
* @version
|
|
87801
|
+
* @version 224.0.0
|
|
86877
87802
|
*/
|
|
86878
87803
|
class platformClient {
|
|
86879
87804
|
constructor() {
|
|
@@ -86887,6 +87812,11 @@ class platformClient {
|
|
|
86887
87812
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
86888
87813
|
*/
|
|
86889
87814
|
this.ApiClientClass = ApiClient;
|
|
87815
|
+
/**
|
|
87816
|
+
* The AIStudioApi service constructor.
|
|
87817
|
+
* @property {module:purecloud-platform-client-v2/api/AIStudioApi}
|
|
87818
|
+
*/
|
|
87819
|
+
this.AIStudioApi = AIStudioApi;
|
|
86890
87820
|
/**
|
|
86891
87821
|
* The AgentAssistantsApi service constructor.
|
|
86892
87822
|
* @property {module:purecloud-platform-client-v2/api/AgentAssistantsApi}
|