purecloud-platform-client-v2 188.1.0 → 189.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +709 -106
- package/dist/web-amd/purecloud-platform-client-v2.js +709 -106
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +250 -107
- package/dist/web-cjs/purecloud-platform-client-v2.js +269 -114
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +527 -6
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +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 +13 -9
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +240 -11
- 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 +7 -3
- 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 +4 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -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 +48 -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 +27 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +4 -3
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -408,6 +408,32 @@ class ArchitectApi {
|
|
|
408
408
|
);
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
+
/**
|
|
412
|
+
* Deletes a log level for a flow by flow id.
|
|
413
|
+
* Deletes the associated log level for a flow by flow id
|
|
414
|
+
* @param {String} flowId The flow id to delete the loglevel for
|
|
415
|
+
* deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
416
|
+
*/
|
|
417
|
+
deleteFlowInstancesSettingsLoglevels(flowId) {
|
|
418
|
+
// verify the required parameter 'flowId' is set
|
|
419
|
+
if (flowId === undefined || flowId === null) {
|
|
420
|
+
throw 'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
return this.apiClient.callApi(
|
|
424
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
425
|
+
'DELETE',
|
|
426
|
+
{ 'flowId': flowId },
|
|
427
|
+
{ },
|
|
428
|
+
{ },
|
|
429
|
+
{ },
|
|
430
|
+
null,
|
|
431
|
+
['PureCloud OAuth'],
|
|
432
|
+
['application/json'],
|
|
433
|
+
['application/json']
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
|
|
411
437
|
/**
|
|
412
438
|
* Batch-delete a list of flows
|
|
413
439
|
* Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
|
|
@@ -492,6 +518,27 @@ class ArchitectApi {
|
|
|
492
518
|
);
|
|
493
519
|
}
|
|
494
520
|
|
|
521
|
+
/**
|
|
522
|
+
* Resets the org log level to default, base
|
|
523
|
+
* Resets the org log level to default, base
|
|
524
|
+
* deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
525
|
+
*/
|
|
526
|
+
deleteFlowsInstancesSettingsLoglevelsDefault() {
|
|
527
|
+
|
|
528
|
+
return this.apiClient.callApi(
|
|
529
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
530
|
+
'DELETE',
|
|
531
|
+
{ },
|
|
532
|
+
{ },
|
|
533
|
+
{ },
|
|
534
|
+
{ },
|
|
535
|
+
null,
|
|
536
|
+
['PureCloud OAuth'],
|
|
537
|
+
['application/json'],
|
|
538
|
+
['application/json']
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
|
|
495
542
|
/**
|
|
496
543
|
* Delete a flow milestone.
|
|
497
544
|
*
|
|
@@ -1619,6 +1666,36 @@ class ArchitectApi {
|
|
|
1619
1666
|
);
|
|
1620
1667
|
}
|
|
1621
1668
|
|
|
1669
|
+
/**
|
|
1670
|
+
* Retrieves the log level for a flow by flow id.
|
|
1671
|
+
* Retrieves the log level for a flow by flow id.
|
|
1672
|
+
* @param {String} flowId The flow id to get the loglevel for
|
|
1673
|
+
* @param {Object} opts Optional parameters
|
|
1674
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
1675
|
+
* getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1676
|
+
*/
|
|
1677
|
+
getFlowInstancesSettingsLoglevels(flowId, opts) {
|
|
1678
|
+
opts = opts || {};
|
|
1679
|
+
|
|
1680
|
+
// verify the required parameter 'flowId' is set
|
|
1681
|
+
if (flowId === undefined || flowId === null) {
|
|
1682
|
+
throw 'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
return this.apiClient.callApi(
|
|
1686
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
1687
|
+
'GET',
|
|
1688
|
+
{ 'flowId': flowId },
|
|
1689
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
1690
|
+
{ },
|
|
1691
|
+
{ },
|
|
1692
|
+
null,
|
|
1693
|
+
['PureCloud OAuth'],
|
|
1694
|
+
['application/json'],
|
|
1695
|
+
['application/json']
|
|
1696
|
+
);
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1622
1699
|
/**
|
|
1623
1700
|
* Get the latest configuration for flow
|
|
1624
1701
|
*
|
|
@@ -2248,7 +2325,6 @@ class ArchitectApi {
|
|
|
2248
2325
|
* @param {String} instanceId Instance ID
|
|
2249
2326
|
* @param {Object} opts Optional parameters
|
|
2250
2327
|
* @param {Object} opts.expand Expand various details.
|
|
2251
|
-
* getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2252
2328
|
*/
|
|
2253
2329
|
getFlowsInstance(instanceId, opts) {
|
|
2254
2330
|
opts = opts || {};
|
|
@@ -2276,7 +2352,6 @@ class ArchitectApi {
|
|
|
2276
2352
|
* Get the status and/or results of an asynchronous flow execution data retrieval job
|
|
2277
2353
|
*
|
|
2278
2354
|
* @param {String} jobId The asynchronous job ID
|
|
2279
|
-
* getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2280
2355
|
*/
|
|
2281
2356
|
getFlowsInstancesJob(jobId) {
|
|
2282
2357
|
// verify the required parameter 'jobId' is set
|
|
@@ -2303,7 +2378,6 @@ class ArchitectApi {
|
|
|
2303
2378
|
* Returns the queryable parameters that can be used to build a query for execution data.
|
|
2304
2379
|
* @param {Object} opts Optional parameters
|
|
2305
2380
|
* @param {Object} opts.expand Expand various query types.
|
|
2306
|
-
* getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2307
2381
|
*/
|
|
2308
2382
|
getFlowsInstancesQuerycapabilities(opts) {
|
|
2309
2383
|
opts = opts || {};
|
|
@@ -2323,6 +2397,100 @@ class ArchitectApi {
|
|
|
2323
2397
|
);
|
|
2324
2398
|
}
|
|
2325
2399
|
|
|
2400
|
+
/**
|
|
2401
|
+
* Get the execution history enabled setting.
|
|
2402
|
+
* Get the execution history enabled setting.
|
|
2403
|
+
* getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2404
|
+
*/
|
|
2405
|
+
getFlowsInstancesSettingsExecutiondata() {
|
|
2406
|
+
|
|
2407
|
+
return this.apiClient.callApi(
|
|
2408
|
+
'/api/v2/flows/instances/settings/executiondata',
|
|
2409
|
+
'GET',
|
|
2410
|
+
{ },
|
|
2411
|
+
{ },
|
|
2412
|
+
{ },
|
|
2413
|
+
{ },
|
|
2414
|
+
null,
|
|
2415
|
+
['PureCloud OAuth'],
|
|
2416
|
+
['application/json'],
|
|
2417
|
+
['application/json']
|
|
2418
|
+
);
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Retrieve a list of LogLevels for the organization.
|
|
2423
|
+
* Returns a paged set of LogLevels per flow id
|
|
2424
|
+
* @param {Object} opts Optional parameters
|
|
2425
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
2426
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2427
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
2428
|
+
* getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2429
|
+
*/
|
|
2430
|
+
getFlowsInstancesSettingsLoglevels(opts) {
|
|
2431
|
+
opts = opts || {};
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
return this.apiClient.callApi(
|
|
2435
|
+
'/api/v2/flows/instances/settings/loglevels',
|
|
2436
|
+
'GET',
|
|
2437
|
+
{ },
|
|
2438
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
2439
|
+
{ },
|
|
2440
|
+
{ },
|
|
2441
|
+
null,
|
|
2442
|
+
['PureCloud OAuth'],
|
|
2443
|
+
['application/json'],
|
|
2444
|
+
['application/json']
|
|
2445
|
+
);
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* Gets the available flow log level characteristics for this organization.
|
|
2450
|
+
* Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
|
|
2451
|
+
* getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2452
|
+
*/
|
|
2453
|
+
getFlowsInstancesSettingsLoglevelsCharacteristics() {
|
|
2454
|
+
|
|
2455
|
+
return this.apiClient.callApi(
|
|
2456
|
+
'/api/v2/flows/instances/settings/loglevels/characteristics',
|
|
2457
|
+
'GET',
|
|
2458
|
+
{ },
|
|
2459
|
+
{ },
|
|
2460
|
+
{ },
|
|
2461
|
+
{ },
|
|
2462
|
+
null,
|
|
2463
|
+
['PureCloud OAuth'],
|
|
2464
|
+
['application/json'],
|
|
2465
|
+
['application/json']
|
|
2466
|
+
);
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* Returns the flow default log level.
|
|
2471
|
+
* Returns the flow default log level which will be used if no specific flow id log level is found.
|
|
2472
|
+
* @param {Object} opts Optional parameters
|
|
2473
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
2474
|
+
* getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2475
|
+
*/
|
|
2476
|
+
getFlowsInstancesSettingsLoglevelsDefault(opts) {
|
|
2477
|
+
opts = opts || {};
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
return this.apiClient.callApi(
|
|
2481
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
2482
|
+
'GET',
|
|
2483
|
+
{ },
|
|
2484
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2485
|
+
{ },
|
|
2486
|
+
{ },
|
|
2487
|
+
null,
|
|
2488
|
+
['PureCloud OAuth'],
|
|
2489
|
+
['application/json'],
|
|
2490
|
+
['application/json']
|
|
2491
|
+
);
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2326
2494
|
/**
|
|
2327
2495
|
* Fetch Architect Job Status
|
|
2328
2496
|
*
|
|
@@ -2591,6 +2759,32 @@ class ArchitectApi {
|
|
|
2591
2759
|
);
|
|
2592
2760
|
}
|
|
2593
2761
|
|
|
2762
|
+
/**
|
|
2763
|
+
* Edit the execution history enabled setting.
|
|
2764
|
+
* Edit the execution history enabled setting.
|
|
2765
|
+
* @param {Object} body New Execution Data Setting
|
|
2766
|
+
* patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2767
|
+
*/
|
|
2768
|
+
patchFlowsInstancesSettingsExecutiondata(body) {
|
|
2769
|
+
// verify the required parameter 'body' is set
|
|
2770
|
+
if (body === undefined || body === null) {
|
|
2771
|
+
throw 'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
return this.apiClient.callApi(
|
|
2775
|
+
'/api/v2/flows/instances/settings/executiondata',
|
|
2776
|
+
'PATCH',
|
|
2777
|
+
{ },
|
|
2778
|
+
{ },
|
|
2779
|
+
{ },
|
|
2780
|
+
{ },
|
|
2781
|
+
body,
|
|
2782
|
+
['PureCloud OAuth'],
|
|
2783
|
+
['application/json'],
|
|
2784
|
+
['application/json']
|
|
2785
|
+
);
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2594
2788
|
/**
|
|
2595
2789
|
* Rebuild Dependency Tracking data for an organization
|
|
2596
2790
|
* Asynchronous. Notification topic: v2.architect.dependencytracking.build
|
|
@@ -3000,6 +3194,41 @@ class ArchitectApi {
|
|
|
3000
3194
|
);
|
|
3001
3195
|
}
|
|
3002
3196
|
|
|
3197
|
+
/**
|
|
3198
|
+
* Set the logLevel for a particular flow id
|
|
3199
|
+
* Assigns a new loglevel to a flow id
|
|
3200
|
+
* @param {String} flowId The flow id to set the loglevel for
|
|
3201
|
+
* @param {Object} body New LogLevel settings
|
|
3202
|
+
* @param {Object} opts Optional parameters
|
|
3203
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
3204
|
+
* postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3205
|
+
*/
|
|
3206
|
+
postFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
3207
|
+
opts = opts || {};
|
|
3208
|
+
|
|
3209
|
+
// verify the required parameter 'flowId' is set
|
|
3210
|
+
if (flowId === undefined || flowId === null) {
|
|
3211
|
+
throw 'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';
|
|
3212
|
+
}
|
|
3213
|
+
// verify the required parameter 'body' is set
|
|
3214
|
+
if (body === undefined || body === null) {
|
|
3215
|
+
throw 'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
return this.apiClient.callApi(
|
|
3219
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
3220
|
+
'POST',
|
|
3221
|
+
{ 'flowId': flowId },
|
|
3222
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3223
|
+
{ },
|
|
3224
|
+
{ },
|
|
3225
|
+
body,
|
|
3226
|
+
['PureCloud OAuth'],
|
|
3227
|
+
['application/json'],
|
|
3228
|
+
['application/json']
|
|
3229
|
+
);
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3003
3232
|
/**
|
|
3004
3233
|
* Create flow version
|
|
3005
3234
|
*
|
|
@@ -3354,7 +3583,6 @@ class ArchitectApi {
|
|
|
3354
3583
|
* @param {Object} body Requested Flow Ids
|
|
3355
3584
|
* @param {Object} opts Optional parameters
|
|
3356
3585
|
* @param {Object} opts.expand Expand various query types.
|
|
3357
|
-
* postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3358
3586
|
*/
|
|
3359
3587
|
postFlowsInstancesJobs(body, opts) {
|
|
3360
3588
|
opts = opts || {};
|
|
@@ -3385,7 +3613,6 @@ class ArchitectApi {
|
|
|
3385
3613
|
* @param {Object} opts Optional parameters
|
|
3386
3614
|
* @param {Boolean} opts.indexOnly indexes only
|
|
3387
3615
|
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
3388
|
-
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3389
3616
|
*/
|
|
3390
3617
|
postFlowsInstancesQuery(body, opts) {
|
|
3391
3618
|
opts = opts || {};
|
|
@@ -3727,6 +3954,41 @@ class ArchitectApi {
|
|
|
3727
3954
|
);
|
|
3728
3955
|
}
|
|
3729
3956
|
|
|
3957
|
+
/**
|
|
3958
|
+
* Edit the logLevel for a particular flow id
|
|
3959
|
+
* Updates the loglevel for a flow id
|
|
3960
|
+
* @param {String} flowId The flow id to edit the loglevel for
|
|
3961
|
+
* @param {Object} body New LogLevel settings
|
|
3962
|
+
* @param {Object} opts Optional parameters
|
|
3963
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
3964
|
+
* putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3965
|
+
*/
|
|
3966
|
+
putFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
3967
|
+
opts = opts || {};
|
|
3968
|
+
|
|
3969
|
+
// verify the required parameter 'flowId' is set
|
|
3970
|
+
if (flowId === undefined || flowId === null) {
|
|
3971
|
+
throw 'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';
|
|
3972
|
+
}
|
|
3973
|
+
// verify the required parameter 'body' is set
|
|
3974
|
+
if (body === undefined || body === null) {
|
|
3975
|
+
throw 'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
return this.apiClient.callApi(
|
|
3979
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
3980
|
+
'PUT',
|
|
3981
|
+
{ 'flowId': flowId },
|
|
3982
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3983
|
+
{ },
|
|
3984
|
+
{ },
|
|
3985
|
+
body,
|
|
3986
|
+
['PureCloud OAuth'],
|
|
3987
|
+
['application/json'],
|
|
3988
|
+
['application/json']
|
|
3989
|
+
);
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3730
3992
|
/**
|
|
3731
3993
|
* Updates a specific datatable by id
|
|
3732
3994
|
* Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
|
|
@@ -3795,6 +4057,36 @@ class ArchitectApi {
|
|
|
3795
4057
|
);
|
|
3796
4058
|
}
|
|
3797
4059
|
|
|
4060
|
+
/**
|
|
4061
|
+
* Edit the flow default log level.
|
|
4062
|
+
* Edit the flow default log level.
|
|
4063
|
+
* @param {Object} body New LogLevel settings
|
|
4064
|
+
* @param {Object} opts Optional parameters
|
|
4065
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
4066
|
+
* putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4067
|
+
*/
|
|
4068
|
+
putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
|
|
4069
|
+
opts = opts || {};
|
|
4070
|
+
|
|
4071
|
+
// verify the required parameter 'body' is set
|
|
4072
|
+
if (body === undefined || body === null) {
|
|
4073
|
+
throw 'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';
|
|
4074
|
+
}
|
|
4075
|
+
|
|
4076
|
+
return this.apiClient.callApi(
|
|
4077
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
4078
|
+
'PUT',
|
|
4079
|
+
{ },
|
|
4080
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
4081
|
+
{ },
|
|
4082
|
+
{ },
|
|
4083
|
+
body,
|
|
4084
|
+
['PureCloud OAuth'],
|
|
4085
|
+
['application/json'],
|
|
4086
|
+
['application/json']
|
|
4087
|
+
);
|
|
4088
|
+
}
|
|
4089
|
+
|
|
3798
4090
|
/**
|
|
3799
4091
|
* Updates a flow milestone
|
|
3800
4092
|
*
|
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -246,9 +246,10 @@ class ConversationsApi {
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Delete a LINE messenger integration
|
|
250
|
-
*
|
|
249
|
+
* Delete a LINE messenger integration (Deprecated)
|
|
250
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
251
251
|
* @param {String} integrationId Integration ID
|
|
252
|
+
* @deprecated
|
|
252
253
|
*/
|
|
253
254
|
deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId) {
|
|
254
255
|
// verify the required parameter 'integrationId' is set
|
|
@@ -2257,14 +2258,15 @@ class ConversationsApi {
|
|
|
2257
2258
|
}
|
|
2258
2259
|
|
|
2259
2260
|
/**
|
|
2260
|
-
* Get a list of LINE messenger Integrations
|
|
2261
|
-
*
|
|
2261
|
+
* Get a list of LINE messenger Integrations (Deprecated)
|
|
2262
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
2262
2263
|
* @param {Object} opts Optional parameters
|
|
2263
2264
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2264
2265
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2265
2266
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
2266
2267
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
2267
2268
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
2269
|
+
* @deprecated
|
|
2268
2270
|
*/
|
|
2269
2271
|
getConversationsMessagingIntegrationsLine(opts) {
|
|
2270
2272
|
opts = opts || {};
|
|
@@ -2285,11 +2287,12 @@ class ConversationsApi {
|
|
|
2285
2287
|
}
|
|
2286
2288
|
|
|
2287
2289
|
/**
|
|
2288
|
-
* Get a LINE messenger integration
|
|
2289
|
-
*
|
|
2290
|
+
* Get a LINE messenger integration (Deprecated)
|
|
2291
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
2290
2292
|
* @param {String} integrationId Integration ID
|
|
2291
2293
|
* @param {Object} opts Optional parameters
|
|
2292
2294
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
2295
|
+
* @deprecated
|
|
2293
2296
|
*/
|
|
2294
2297
|
getConversationsMessagingIntegrationsLineIntegrationId(integrationId, opts) {
|
|
2295
2298
|
opts = opts || {};
|
|
@@ -6973,10 +6976,11 @@ class ConversationsApi {
|
|
|
6973
6976
|
}
|
|
6974
6977
|
|
|
6975
6978
|
/**
|
|
6976
|
-
* Update a LINE messenger integration
|
|
6977
|
-
*
|
|
6979
|
+
* Update a LINE messenger integration (Deprecated)
|
|
6980
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
6978
6981
|
* @param {String} integrationId Integration ID
|
|
6979
6982
|
* @param {Object} body LineIntegrationRequest
|
|
6983
|
+
* @deprecated
|
|
6980
6984
|
*/
|
|
6981
6985
|
putConversationsMessagingIntegrationsLineIntegrationId(integrationId, body) {
|
|
6982
6986
|
// verify the required parameter 'integrationId' is set
|