purecloud-platform-client-v2 188.1.0 → 189.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +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 +353 -143
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +529 -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
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 189.1.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1821,7 +1821,7 @@ class AlertingApi {
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Alerting service.
|
|
1823
1823
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1824
|
-
* @version
|
|
1824
|
+
* @version 189.1.0
|
|
1825
1825
|
*/
|
|
1826
1826
|
|
|
1827
1827
|
/**
|
|
@@ -2482,7 +2482,7 @@ class AnalyticsApi {
|
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Analytics service.
|
|
2484
2484
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2485
|
-
* @version
|
|
2485
|
+
* @version 189.1.0
|
|
2486
2486
|
*/
|
|
2487
2487
|
|
|
2488
2488
|
/**
|
|
@@ -5095,7 +5095,7 @@ class ArchitectApi {
|
|
|
5095
5095
|
/**
|
|
5096
5096
|
* Architect service.
|
|
5097
5097
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5098
|
-
* @version
|
|
5098
|
+
* @version 189.1.0
|
|
5099
5099
|
*/
|
|
5100
5100
|
|
|
5101
5101
|
/**
|
|
@@ -5498,6 +5498,32 @@ class ArchitectApi {
|
|
|
5498
5498
|
);
|
|
5499
5499
|
}
|
|
5500
5500
|
|
|
5501
|
+
/**
|
|
5502
|
+
* Deletes a log level for a flow by flow id.
|
|
5503
|
+
* Deletes the associated log level for a flow by flow id
|
|
5504
|
+
* @param {String} flowId The flow id to delete the loglevel for
|
|
5505
|
+
* deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5506
|
+
*/
|
|
5507
|
+
deleteFlowInstancesSettingsLoglevels(flowId) {
|
|
5508
|
+
// verify the required parameter 'flowId' is set
|
|
5509
|
+
if (flowId === undefined || flowId === null) {
|
|
5510
|
+
throw 'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5513
|
+
return this.apiClient.callApi(
|
|
5514
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
5515
|
+
'DELETE',
|
|
5516
|
+
{ 'flowId': flowId },
|
|
5517
|
+
{ },
|
|
5518
|
+
{ },
|
|
5519
|
+
{ },
|
|
5520
|
+
null,
|
|
5521
|
+
['PureCloud OAuth'],
|
|
5522
|
+
['application/json'],
|
|
5523
|
+
['application/json']
|
|
5524
|
+
);
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5501
5527
|
/**
|
|
5502
5528
|
* Batch-delete a list of flows
|
|
5503
5529
|
* Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
|
|
@@ -5582,6 +5608,27 @@ class ArchitectApi {
|
|
|
5582
5608
|
);
|
|
5583
5609
|
}
|
|
5584
5610
|
|
|
5611
|
+
/**
|
|
5612
|
+
* Resets the org log level to default, base
|
|
5613
|
+
* Resets the org log level to default, base
|
|
5614
|
+
* deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5615
|
+
*/
|
|
5616
|
+
deleteFlowsInstancesSettingsLoglevelsDefault() {
|
|
5617
|
+
|
|
5618
|
+
return this.apiClient.callApi(
|
|
5619
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
5620
|
+
'DELETE',
|
|
5621
|
+
{ },
|
|
5622
|
+
{ },
|
|
5623
|
+
{ },
|
|
5624
|
+
{ },
|
|
5625
|
+
null,
|
|
5626
|
+
['PureCloud OAuth'],
|
|
5627
|
+
['application/json'],
|
|
5628
|
+
['application/json']
|
|
5629
|
+
);
|
|
5630
|
+
}
|
|
5631
|
+
|
|
5585
5632
|
/**
|
|
5586
5633
|
* Delete a flow milestone.
|
|
5587
5634
|
*
|
|
@@ -6709,6 +6756,36 @@ class ArchitectApi {
|
|
|
6709
6756
|
);
|
|
6710
6757
|
}
|
|
6711
6758
|
|
|
6759
|
+
/**
|
|
6760
|
+
* Retrieves the log level for a flow by flow id.
|
|
6761
|
+
* Retrieves the log level for a flow by flow id.
|
|
6762
|
+
* @param {String} flowId The flow id to get the loglevel for
|
|
6763
|
+
* @param {Object} opts Optional parameters
|
|
6764
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
6765
|
+
* getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6766
|
+
*/
|
|
6767
|
+
getFlowInstancesSettingsLoglevels(flowId, opts) {
|
|
6768
|
+
opts = opts || {};
|
|
6769
|
+
|
|
6770
|
+
// verify the required parameter 'flowId' is set
|
|
6771
|
+
if (flowId === undefined || flowId === null) {
|
|
6772
|
+
throw 'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6775
|
+
return this.apiClient.callApi(
|
|
6776
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
6777
|
+
'GET',
|
|
6778
|
+
{ 'flowId': flowId },
|
|
6779
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
6780
|
+
{ },
|
|
6781
|
+
{ },
|
|
6782
|
+
null,
|
|
6783
|
+
['PureCloud OAuth'],
|
|
6784
|
+
['application/json'],
|
|
6785
|
+
['application/json']
|
|
6786
|
+
);
|
|
6787
|
+
}
|
|
6788
|
+
|
|
6712
6789
|
/**
|
|
6713
6790
|
* Get the latest configuration for flow
|
|
6714
6791
|
*
|
|
@@ -7338,7 +7415,6 @@ class ArchitectApi {
|
|
|
7338
7415
|
* @param {String} instanceId Instance ID
|
|
7339
7416
|
* @param {Object} opts Optional parameters
|
|
7340
7417
|
* @param {Object} opts.expand Expand various details.
|
|
7341
|
-
* getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7342
7418
|
*/
|
|
7343
7419
|
getFlowsInstance(instanceId, opts) {
|
|
7344
7420
|
opts = opts || {};
|
|
@@ -7366,7 +7442,6 @@ class ArchitectApi {
|
|
|
7366
7442
|
* Get the status and/or results of an asynchronous flow execution data retrieval job
|
|
7367
7443
|
*
|
|
7368
7444
|
* @param {String} jobId The asynchronous job ID
|
|
7369
|
-
* getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7370
7445
|
*/
|
|
7371
7446
|
getFlowsInstancesJob(jobId) {
|
|
7372
7447
|
// verify the required parameter 'jobId' is set
|
|
@@ -7393,7 +7468,6 @@ class ArchitectApi {
|
|
|
7393
7468
|
* Returns the queryable parameters that can be used to build a query for execution data.
|
|
7394
7469
|
* @param {Object} opts Optional parameters
|
|
7395
7470
|
* @param {Object} opts.expand Expand various query types.
|
|
7396
|
-
* getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7397
7471
|
*/
|
|
7398
7472
|
getFlowsInstancesQuerycapabilities(opts) {
|
|
7399
7473
|
opts = opts || {};
|
|
@@ -7413,6 +7487,100 @@ class ArchitectApi {
|
|
|
7413
7487
|
);
|
|
7414
7488
|
}
|
|
7415
7489
|
|
|
7490
|
+
/**
|
|
7491
|
+
* Get the execution history enabled setting.
|
|
7492
|
+
* Get the execution history enabled setting.
|
|
7493
|
+
* getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7494
|
+
*/
|
|
7495
|
+
getFlowsInstancesSettingsExecutiondata() {
|
|
7496
|
+
|
|
7497
|
+
return this.apiClient.callApi(
|
|
7498
|
+
'/api/v2/flows/instances/settings/executiondata',
|
|
7499
|
+
'GET',
|
|
7500
|
+
{ },
|
|
7501
|
+
{ },
|
|
7502
|
+
{ },
|
|
7503
|
+
{ },
|
|
7504
|
+
null,
|
|
7505
|
+
['PureCloud OAuth'],
|
|
7506
|
+
['application/json'],
|
|
7507
|
+
['application/json']
|
|
7508
|
+
);
|
|
7509
|
+
}
|
|
7510
|
+
|
|
7511
|
+
/**
|
|
7512
|
+
* Retrieve a list of LogLevels for the organization.
|
|
7513
|
+
* Returns a paged set of LogLevels per flow id
|
|
7514
|
+
* @param {Object} opts Optional parameters
|
|
7515
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7516
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
7517
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
7518
|
+
* getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7519
|
+
*/
|
|
7520
|
+
getFlowsInstancesSettingsLoglevels(opts) {
|
|
7521
|
+
opts = opts || {};
|
|
7522
|
+
|
|
7523
|
+
|
|
7524
|
+
return this.apiClient.callApi(
|
|
7525
|
+
'/api/v2/flows/instances/settings/loglevels',
|
|
7526
|
+
'GET',
|
|
7527
|
+
{ },
|
|
7528
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
7529
|
+
{ },
|
|
7530
|
+
{ },
|
|
7531
|
+
null,
|
|
7532
|
+
['PureCloud OAuth'],
|
|
7533
|
+
['application/json'],
|
|
7534
|
+
['application/json']
|
|
7535
|
+
);
|
|
7536
|
+
}
|
|
7537
|
+
|
|
7538
|
+
/**
|
|
7539
|
+
* Gets the available flow log level characteristics for this organization.
|
|
7540
|
+
* Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
|
|
7541
|
+
* getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7542
|
+
*/
|
|
7543
|
+
getFlowsInstancesSettingsLoglevelsCharacteristics() {
|
|
7544
|
+
|
|
7545
|
+
return this.apiClient.callApi(
|
|
7546
|
+
'/api/v2/flows/instances/settings/loglevels/characteristics',
|
|
7547
|
+
'GET',
|
|
7548
|
+
{ },
|
|
7549
|
+
{ },
|
|
7550
|
+
{ },
|
|
7551
|
+
{ },
|
|
7552
|
+
null,
|
|
7553
|
+
['PureCloud OAuth'],
|
|
7554
|
+
['application/json'],
|
|
7555
|
+
['application/json']
|
|
7556
|
+
);
|
|
7557
|
+
}
|
|
7558
|
+
|
|
7559
|
+
/**
|
|
7560
|
+
* Returns the flow default log level.
|
|
7561
|
+
* Returns the flow default log level which will be used if no specific flow id log level is found.
|
|
7562
|
+
* @param {Object} opts Optional parameters
|
|
7563
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7564
|
+
* getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7565
|
+
*/
|
|
7566
|
+
getFlowsInstancesSettingsLoglevelsDefault(opts) {
|
|
7567
|
+
opts = opts || {};
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
return this.apiClient.callApi(
|
|
7571
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
7572
|
+
'GET',
|
|
7573
|
+
{ },
|
|
7574
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
7575
|
+
{ },
|
|
7576
|
+
{ },
|
|
7577
|
+
null,
|
|
7578
|
+
['PureCloud OAuth'],
|
|
7579
|
+
['application/json'],
|
|
7580
|
+
['application/json']
|
|
7581
|
+
);
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7416
7584
|
/**
|
|
7417
7585
|
* Fetch Architect Job Status
|
|
7418
7586
|
*
|
|
@@ -7681,6 +7849,32 @@ class ArchitectApi {
|
|
|
7681
7849
|
);
|
|
7682
7850
|
}
|
|
7683
7851
|
|
|
7852
|
+
/**
|
|
7853
|
+
* Edit the execution history enabled setting.
|
|
7854
|
+
* Edit the execution history enabled setting.
|
|
7855
|
+
* @param {Object} body New Execution Data Setting
|
|
7856
|
+
* patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7857
|
+
*/
|
|
7858
|
+
patchFlowsInstancesSettingsExecutiondata(body) {
|
|
7859
|
+
// verify the required parameter 'body' is set
|
|
7860
|
+
if (body === undefined || body === null) {
|
|
7861
|
+
throw 'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';
|
|
7862
|
+
}
|
|
7863
|
+
|
|
7864
|
+
return this.apiClient.callApi(
|
|
7865
|
+
'/api/v2/flows/instances/settings/executiondata',
|
|
7866
|
+
'PATCH',
|
|
7867
|
+
{ },
|
|
7868
|
+
{ },
|
|
7869
|
+
{ },
|
|
7870
|
+
{ },
|
|
7871
|
+
body,
|
|
7872
|
+
['PureCloud OAuth'],
|
|
7873
|
+
['application/json'],
|
|
7874
|
+
['application/json']
|
|
7875
|
+
);
|
|
7876
|
+
}
|
|
7877
|
+
|
|
7684
7878
|
/**
|
|
7685
7879
|
* Rebuild Dependency Tracking data for an organization
|
|
7686
7880
|
* Asynchronous. Notification topic: v2.architect.dependencytracking.build
|
|
@@ -8090,6 +8284,41 @@ class ArchitectApi {
|
|
|
8090
8284
|
);
|
|
8091
8285
|
}
|
|
8092
8286
|
|
|
8287
|
+
/**
|
|
8288
|
+
* Set the logLevel for a particular flow id
|
|
8289
|
+
* Assigns a new loglevel to a flow id
|
|
8290
|
+
* @param {String} flowId The flow id to set the loglevel for
|
|
8291
|
+
* @param {Object} body New LogLevel settings
|
|
8292
|
+
* @param {Object} opts Optional parameters
|
|
8293
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
8294
|
+
* postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8295
|
+
*/
|
|
8296
|
+
postFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
8297
|
+
opts = opts || {};
|
|
8298
|
+
|
|
8299
|
+
// verify the required parameter 'flowId' is set
|
|
8300
|
+
if (flowId === undefined || flowId === null) {
|
|
8301
|
+
throw 'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';
|
|
8302
|
+
}
|
|
8303
|
+
// verify the required parameter 'body' is set
|
|
8304
|
+
if (body === undefined || body === null) {
|
|
8305
|
+
throw 'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8308
|
+
return this.apiClient.callApi(
|
|
8309
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
8310
|
+
'POST',
|
|
8311
|
+
{ 'flowId': flowId },
|
|
8312
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
8313
|
+
{ },
|
|
8314
|
+
{ },
|
|
8315
|
+
body,
|
|
8316
|
+
['PureCloud OAuth'],
|
|
8317
|
+
['application/json'],
|
|
8318
|
+
['application/json']
|
|
8319
|
+
);
|
|
8320
|
+
}
|
|
8321
|
+
|
|
8093
8322
|
/**
|
|
8094
8323
|
* Create flow version
|
|
8095
8324
|
*
|
|
@@ -8444,7 +8673,6 @@ class ArchitectApi {
|
|
|
8444
8673
|
* @param {Object} body Requested Flow Ids
|
|
8445
8674
|
* @param {Object} opts Optional parameters
|
|
8446
8675
|
* @param {Object} opts.expand Expand various query types.
|
|
8447
|
-
* postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8448
8676
|
*/
|
|
8449
8677
|
postFlowsInstancesJobs(body, opts) {
|
|
8450
8678
|
opts = opts || {};
|
|
@@ -8475,7 +8703,6 @@ class ArchitectApi {
|
|
|
8475
8703
|
* @param {Object} opts Optional parameters
|
|
8476
8704
|
* @param {Boolean} opts.indexOnly indexes only
|
|
8477
8705
|
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
8478
|
-
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8479
8706
|
*/
|
|
8480
8707
|
postFlowsInstancesQuery(body, opts) {
|
|
8481
8708
|
opts = opts || {};
|
|
@@ -8817,6 +9044,41 @@ class ArchitectApi {
|
|
|
8817
9044
|
);
|
|
8818
9045
|
}
|
|
8819
9046
|
|
|
9047
|
+
/**
|
|
9048
|
+
* Edit the logLevel for a particular flow id
|
|
9049
|
+
* Updates the loglevel for a flow id
|
|
9050
|
+
* @param {String} flowId The flow id to edit the loglevel for
|
|
9051
|
+
* @param {Object} body New LogLevel settings
|
|
9052
|
+
* @param {Object} opts Optional parameters
|
|
9053
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
9054
|
+
* putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9055
|
+
*/
|
|
9056
|
+
putFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
9057
|
+
opts = opts || {};
|
|
9058
|
+
|
|
9059
|
+
// verify the required parameter 'flowId' is set
|
|
9060
|
+
if (flowId === undefined || flowId === null) {
|
|
9061
|
+
throw 'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';
|
|
9062
|
+
}
|
|
9063
|
+
// verify the required parameter 'body' is set
|
|
9064
|
+
if (body === undefined || body === null) {
|
|
9065
|
+
throw 'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';
|
|
9066
|
+
}
|
|
9067
|
+
|
|
9068
|
+
return this.apiClient.callApi(
|
|
9069
|
+
'/api/v2/flows/{flowId}/instances/settings/loglevels',
|
|
9070
|
+
'PUT',
|
|
9071
|
+
{ 'flowId': flowId },
|
|
9072
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
9073
|
+
{ },
|
|
9074
|
+
{ },
|
|
9075
|
+
body,
|
|
9076
|
+
['PureCloud OAuth'],
|
|
9077
|
+
['application/json'],
|
|
9078
|
+
['application/json']
|
|
9079
|
+
);
|
|
9080
|
+
}
|
|
9081
|
+
|
|
8820
9082
|
/**
|
|
8821
9083
|
* Updates a specific datatable by id
|
|
8822
9084
|
* 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.
|
|
@@ -8885,6 +9147,36 @@ class ArchitectApi {
|
|
|
8885
9147
|
);
|
|
8886
9148
|
}
|
|
8887
9149
|
|
|
9150
|
+
/**
|
|
9151
|
+
* Edit the flow default log level.
|
|
9152
|
+
* Edit the flow default log level.
|
|
9153
|
+
* @param {Object} body New LogLevel settings
|
|
9154
|
+
* @param {Object} opts Optional parameters
|
|
9155
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
9156
|
+
* putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9157
|
+
*/
|
|
9158
|
+
putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
|
|
9159
|
+
opts = opts || {};
|
|
9160
|
+
|
|
9161
|
+
// verify the required parameter 'body' is set
|
|
9162
|
+
if (body === undefined || body === null) {
|
|
9163
|
+
throw 'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';
|
|
9164
|
+
}
|
|
9165
|
+
|
|
9166
|
+
return this.apiClient.callApi(
|
|
9167
|
+
'/api/v2/flows/instances/settings/loglevels/default',
|
|
9168
|
+
'PUT',
|
|
9169
|
+
{ },
|
|
9170
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
9171
|
+
{ },
|
|
9172
|
+
{ },
|
|
9173
|
+
body,
|
|
9174
|
+
['PureCloud OAuth'],
|
|
9175
|
+
['application/json'],
|
|
9176
|
+
['application/json']
|
|
9177
|
+
);
|
|
9178
|
+
}
|
|
9179
|
+
|
|
8888
9180
|
/**
|
|
8889
9181
|
* Updates a flow milestone
|
|
8890
9182
|
*
|
|
@@ -8949,7 +9241,7 @@ class AuditApi {
|
|
|
8949
9241
|
/**
|
|
8950
9242
|
* Audit service.
|
|
8951
9243
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8952
|
-
* @version
|
|
9244
|
+
* @version 189.1.0
|
|
8953
9245
|
*/
|
|
8954
9246
|
|
|
8955
9247
|
/**
|
|
@@ -9120,7 +9412,7 @@ class AuthorizationApi {
|
|
|
9120
9412
|
/**
|
|
9121
9413
|
* Authorization service.
|
|
9122
9414
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9123
|
-
* @version
|
|
9415
|
+
* @version 189.1.0
|
|
9124
9416
|
*/
|
|
9125
9417
|
|
|
9126
9418
|
/**
|
|
@@ -10350,7 +10642,7 @@ class BillingApi {
|
|
|
10350
10642
|
/**
|
|
10351
10643
|
* Billing service.
|
|
10352
10644
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10353
|
-
* @version
|
|
10645
|
+
* @version 189.1.0
|
|
10354
10646
|
*/
|
|
10355
10647
|
|
|
10356
10648
|
/**
|
|
@@ -10430,7 +10722,7 @@ class CarrierServicesApi {
|
|
|
10430
10722
|
/**
|
|
10431
10723
|
* CarrierServices service.
|
|
10432
10724
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10433
|
-
* @version
|
|
10725
|
+
* @version 189.1.0
|
|
10434
10726
|
*/
|
|
10435
10727
|
|
|
10436
10728
|
/**
|
|
@@ -10500,7 +10792,7 @@ class ChatApi {
|
|
|
10500
10792
|
/**
|
|
10501
10793
|
* Chat service.
|
|
10502
10794
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10503
|
-
* @version
|
|
10795
|
+
* @version 189.1.0
|
|
10504
10796
|
*/
|
|
10505
10797
|
|
|
10506
10798
|
/**
|
|
@@ -11235,7 +11527,7 @@ class CoachingApi {
|
|
|
11235
11527
|
/**
|
|
11236
11528
|
* Coaching service.
|
|
11237
11529
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
11238
|
-
* @version
|
|
11530
|
+
* @version 189.1.0
|
|
11239
11531
|
*/
|
|
11240
11532
|
|
|
11241
11533
|
/**
|
|
@@ -11812,7 +12104,7 @@ class ContentManagementApi {
|
|
|
11812
12104
|
/**
|
|
11813
12105
|
* ContentManagement service.
|
|
11814
12106
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
11815
|
-
* @version
|
|
12107
|
+
* @version 189.1.0
|
|
11816
12108
|
*/
|
|
11817
12109
|
|
|
11818
12110
|
/**
|
|
@@ -12894,7 +13186,7 @@ class ConversationsApi {
|
|
|
12894
13186
|
/**
|
|
12895
13187
|
* Conversations service.
|
|
12896
13188
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
12897
|
-
* @version
|
|
13189
|
+
* @version 189.1.0
|
|
12898
13190
|
*/
|
|
12899
13191
|
|
|
12900
13192
|
/**
|
|
@@ -13135,9 +13427,10 @@ class ConversationsApi {
|
|
|
13135
13427
|
}
|
|
13136
13428
|
|
|
13137
13429
|
/**
|
|
13138
|
-
* Delete a LINE messenger integration
|
|
13139
|
-
*
|
|
13430
|
+
* Delete a LINE messenger integration (Deprecated)
|
|
13431
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
13140
13432
|
* @param {String} integrationId Integration ID
|
|
13433
|
+
* @deprecated
|
|
13141
13434
|
*/
|
|
13142
13435
|
deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId) {
|
|
13143
13436
|
// verify the required parameter 'integrationId' is set
|
|
@@ -15146,14 +15439,15 @@ class ConversationsApi {
|
|
|
15146
15439
|
}
|
|
15147
15440
|
|
|
15148
15441
|
/**
|
|
15149
|
-
* Get a list of LINE messenger Integrations
|
|
15150
|
-
*
|
|
15442
|
+
* Get a list of LINE messenger Integrations (Deprecated)
|
|
15443
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
15151
15444
|
* @param {Object} opts Optional parameters
|
|
15152
15445
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15153
15446
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15154
15447
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
15155
15448
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
15156
15449
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
15450
|
+
* @deprecated
|
|
15157
15451
|
*/
|
|
15158
15452
|
getConversationsMessagingIntegrationsLine(opts) {
|
|
15159
15453
|
opts = opts || {};
|
|
@@ -15174,11 +15468,12 @@ class ConversationsApi {
|
|
|
15174
15468
|
}
|
|
15175
15469
|
|
|
15176
15470
|
/**
|
|
15177
|
-
* Get a LINE messenger integration
|
|
15178
|
-
*
|
|
15471
|
+
* Get a LINE messenger integration (Deprecated)
|
|
15472
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
15179
15473
|
* @param {String} integrationId Integration ID
|
|
15180
15474
|
* @param {Object} opts Optional parameters
|
|
15181
15475
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
15476
|
+
* @deprecated
|
|
15182
15477
|
*/
|
|
15183
15478
|
getConversationsMessagingIntegrationsLineIntegrationId(integrationId, opts) {
|
|
15184
15479
|
opts = opts || {};
|
|
@@ -19862,10 +20157,11 @@ class ConversationsApi {
|
|
|
19862
20157
|
}
|
|
19863
20158
|
|
|
19864
20159
|
/**
|
|
19865
|
-
* Update a LINE messenger integration
|
|
19866
|
-
*
|
|
20160
|
+
* Update a LINE messenger integration (Deprecated)
|
|
20161
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
19867
20162
|
* @param {String} integrationId Integration ID
|
|
19868
20163
|
* @param {Object} body LineIntegrationRequest
|
|
20164
|
+
* @deprecated
|
|
19869
20165
|
*/
|
|
19870
20166
|
putConversationsMessagingIntegrationsLineIntegrationId(integrationId, body) {
|
|
19871
20167
|
// verify the required parameter 'integrationId' is set
|
|
@@ -20062,7 +20358,7 @@ class DataExtensionsApi {
|
|
|
20062
20358
|
/**
|
|
20063
20359
|
* DataExtensions service.
|
|
20064
20360
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20065
|
-
* @version
|
|
20361
|
+
* @version 189.1.0
|
|
20066
20362
|
*/
|
|
20067
20363
|
|
|
20068
20364
|
/**
|
|
@@ -20148,7 +20444,7 @@ class DownloadsApi {
|
|
|
20148
20444
|
/**
|
|
20149
20445
|
* Downloads service.
|
|
20150
20446
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
20151
|
-
* @version
|
|
20447
|
+
* @version 189.1.0
|
|
20152
20448
|
*/
|
|
20153
20449
|
|
|
20154
20450
|
/**
|
|
@@ -20200,7 +20496,7 @@ class EmailsApi {
|
|
|
20200
20496
|
/**
|
|
20201
20497
|
* Emails service.
|
|
20202
20498
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
20203
|
-
* @version
|
|
20499
|
+
* @version 189.1.0
|
|
20204
20500
|
*/
|
|
20205
20501
|
|
|
20206
20502
|
/**
|
|
@@ -20265,7 +20561,7 @@ class EventsApi {
|
|
|
20265
20561
|
/**
|
|
20266
20562
|
* Events service.
|
|
20267
20563
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
20268
|
-
* @version
|
|
20564
|
+
* @version 189.1.0
|
|
20269
20565
|
*/
|
|
20270
20566
|
|
|
20271
20567
|
/**
|
|
@@ -20361,7 +20657,7 @@ class ExternalContactsApi {
|
|
|
20361
20657
|
/**
|
|
20362
20658
|
* ExternalContacts service.
|
|
20363
20659
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20364
|
-
* @version
|
|
20660
|
+
* @version 189.1.0
|
|
20365
20661
|
*/
|
|
20366
20662
|
|
|
20367
20663
|
/**
|
|
@@ -22319,7 +22615,7 @@ class FaxApi {
|
|
|
22319
22615
|
/**
|
|
22320
22616
|
* Fax service.
|
|
22321
22617
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
22322
|
-
* @version
|
|
22618
|
+
* @version 189.1.0
|
|
22323
22619
|
*/
|
|
22324
22620
|
|
|
22325
22621
|
/**
|
|
@@ -22490,7 +22786,7 @@ class FlowsApi {
|
|
|
22490
22786
|
/**
|
|
22491
22787
|
* Flows service.
|
|
22492
22788
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
22493
|
-
* @version
|
|
22789
|
+
* @version 189.1.0
|
|
22494
22790
|
*/
|
|
22495
22791
|
|
|
22496
22792
|
/**
|
|
@@ -22674,7 +22970,7 @@ class GamificationApi {
|
|
|
22674
22970
|
/**
|
|
22675
22971
|
* Gamification service.
|
|
22676
22972
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
22677
|
-
* @version
|
|
22973
|
+
* @version 189.1.0
|
|
22678
22974
|
*/
|
|
22679
22975
|
|
|
22680
22976
|
/**
|
|
@@ -24760,7 +25056,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
24760
25056
|
/**
|
|
24761
25057
|
* GeneralDataProtectionRegulation service.
|
|
24762
25058
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
24763
|
-
* @version
|
|
25059
|
+
* @version 189.1.0
|
|
24764
25060
|
*/
|
|
24765
25061
|
|
|
24766
25062
|
/**
|
|
@@ -24890,7 +25186,7 @@ class GeolocationApi {
|
|
|
24890
25186
|
/**
|
|
24891
25187
|
* Geolocation service.
|
|
24892
25188
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
24893
|
-
* @version
|
|
25189
|
+
* @version 189.1.0
|
|
24894
25190
|
*/
|
|
24895
25191
|
|
|
24896
25192
|
/**
|
|
@@ -25021,7 +25317,7 @@ class GreetingsApi {
|
|
|
25021
25317
|
/**
|
|
25022
25318
|
* Greetings service.
|
|
25023
25319
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
25024
|
-
* @version
|
|
25320
|
+
* @version 189.1.0
|
|
25025
25321
|
*/
|
|
25026
25322
|
|
|
25027
25323
|
/**
|
|
@@ -25476,7 +25772,7 @@ class GroupsApi {
|
|
|
25476
25772
|
/**
|
|
25477
25773
|
* Groups service.
|
|
25478
25774
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
25479
|
-
* @version
|
|
25775
|
+
* @version 189.1.0
|
|
25480
25776
|
*/
|
|
25481
25777
|
|
|
25482
25778
|
/**
|
|
@@ -25995,7 +26291,7 @@ class IdentityProviderApi {
|
|
|
25995
26291
|
/**
|
|
25996
26292
|
* IdentityProvider service.
|
|
25997
26293
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
25998
|
-
* @version
|
|
26294
|
+
* @version 189.1.0
|
|
25999
26295
|
*/
|
|
26000
26296
|
|
|
26001
26297
|
/**
|
|
@@ -26856,7 +27152,7 @@ class InfrastructureAsCodeApi {
|
|
|
26856
27152
|
/**
|
|
26857
27153
|
* InfrastructureAsCode service.
|
|
26858
27154
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
26859
|
-
* @version
|
|
27155
|
+
* @version 189.1.0
|
|
26860
27156
|
*/
|
|
26861
27157
|
|
|
26862
27158
|
/**
|
|
@@ -27023,7 +27319,7 @@ class IntegrationsApi {
|
|
|
27023
27319
|
/**
|
|
27024
27320
|
* Integrations service.
|
|
27025
27321
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
27026
|
-
* @version
|
|
27322
|
+
* @version 189.1.0
|
|
27027
27323
|
*/
|
|
27028
27324
|
|
|
27029
27325
|
/**
|
|
@@ -27930,6 +28226,57 @@ class IntegrationsApi {
|
|
|
27930
28226
|
);
|
|
27931
28227
|
}
|
|
27932
28228
|
|
|
28229
|
+
/**
|
|
28230
|
+
* Get details about a Dialogflow CX agent
|
|
28231
|
+
*
|
|
28232
|
+
* @param {String} agentId The agent ID
|
|
28233
|
+
*/
|
|
28234
|
+
getIntegrationsSpeechDialogflowcxAgent(agentId) {
|
|
28235
|
+
// verify the required parameter 'agentId' is set
|
|
28236
|
+
if (agentId === undefined || agentId === null) {
|
|
28237
|
+
throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';
|
|
28238
|
+
}
|
|
28239
|
+
|
|
28240
|
+
return this.apiClient.callApi(
|
|
28241
|
+
'/api/v2/integrations/speech/dialogflowcx/agents/{agentId}',
|
|
28242
|
+
'GET',
|
|
28243
|
+
{ 'agentId': agentId },
|
|
28244
|
+
{ },
|
|
28245
|
+
{ },
|
|
28246
|
+
{ },
|
|
28247
|
+
null,
|
|
28248
|
+
['PureCloud OAuth'],
|
|
28249
|
+
['application/json'],
|
|
28250
|
+
['application/json']
|
|
28251
|
+
);
|
|
28252
|
+
}
|
|
28253
|
+
|
|
28254
|
+
/**
|
|
28255
|
+
* Get a list of Dialogflow CX agents in the customers' Google accounts
|
|
28256
|
+
*
|
|
28257
|
+
* @param {Object} opts Optional parameters
|
|
28258
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28259
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28260
|
+
* @param {String} opts.name Filter on agent name
|
|
28261
|
+
*/
|
|
28262
|
+
getIntegrationsSpeechDialogflowcxAgents(opts) {
|
|
28263
|
+
opts = opts || {};
|
|
28264
|
+
|
|
28265
|
+
|
|
28266
|
+
return this.apiClient.callApi(
|
|
28267
|
+
'/api/v2/integrations/speech/dialogflowcx/agents',
|
|
28268
|
+
'GET',
|
|
28269
|
+
{ },
|
|
28270
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
28271
|
+
{ },
|
|
28272
|
+
{ },
|
|
28273
|
+
null,
|
|
28274
|
+
['PureCloud OAuth'],
|
|
28275
|
+
['application/json'],
|
|
28276
|
+
['application/json']
|
|
28277
|
+
);
|
|
28278
|
+
}
|
|
28279
|
+
|
|
27933
28280
|
/**
|
|
27934
28281
|
* Get details about a Lex bot alias
|
|
27935
28282
|
*
|
|
@@ -28013,6 +28360,89 @@ class IntegrationsApi {
|
|
|
28013
28360
|
);
|
|
28014
28361
|
}
|
|
28015
28362
|
|
|
28363
|
+
/**
|
|
28364
|
+
* Get details about a Lex V2 bot alias
|
|
28365
|
+
*
|
|
28366
|
+
* @param {String} aliasId The Alias ID
|
|
28367
|
+
*/
|
|
28368
|
+
getIntegrationsSpeechLexv2BotAlias(aliasId) {
|
|
28369
|
+
// verify the required parameter 'aliasId' is set
|
|
28370
|
+
if (aliasId === undefined || aliasId === null) {
|
|
28371
|
+
throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';
|
|
28372
|
+
}
|
|
28373
|
+
|
|
28374
|
+
return this.apiClient.callApi(
|
|
28375
|
+
'/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}',
|
|
28376
|
+
'GET',
|
|
28377
|
+
{ 'aliasId': aliasId },
|
|
28378
|
+
{ },
|
|
28379
|
+
{ },
|
|
28380
|
+
{ },
|
|
28381
|
+
null,
|
|
28382
|
+
['PureCloud OAuth'],
|
|
28383
|
+
['application/json'],
|
|
28384
|
+
['application/json']
|
|
28385
|
+
);
|
|
28386
|
+
}
|
|
28387
|
+
|
|
28388
|
+
/**
|
|
28389
|
+
* Get a list of aliases for a Lex V2 bot
|
|
28390
|
+
*
|
|
28391
|
+
* @param {String} botId The Bot ID
|
|
28392
|
+
* @param {Object} opts Optional parameters
|
|
28393
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28394
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28395
|
+
* @param {Object} opts.status Filter on alias status
|
|
28396
|
+
* @param {String} opts.name Filter on alias name
|
|
28397
|
+
*/
|
|
28398
|
+
getIntegrationsSpeechLexv2BotBotIdAliases(botId, opts) {
|
|
28399
|
+
opts = opts || {};
|
|
28400
|
+
|
|
28401
|
+
// verify the required parameter 'botId' is set
|
|
28402
|
+
if (botId === undefined || botId === null) {
|
|
28403
|
+
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';
|
|
28404
|
+
}
|
|
28405
|
+
|
|
28406
|
+
return this.apiClient.callApi(
|
|
28407
|
+
'/api/v2/integrations/speech/lexv2/bot/{botId}/aliases',
|
|
28408
|
+
'GET',
|
|
28409
|
+
{ 'botId': botId },
|
|
28410
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
|
|
28411
|
+
{ },
|
|
28412
|
+
{ },
|
|
28413
|
+
null,
|
|
28414
|
+
['PureCloud OAuth'],
|
|
28415
|
+
['application/json'],
|
|
28416
|
+
['application/json']
|
|
28417
|
+
);
|
|
28418
|
+
}
|
|
28419
|
+
|
|
28420
|
+
/**
|
|
28421
|
+
* Get a list of Lex V2 bots
|
|
28422
|
+
*
|
|
28423
|
+
* @param {Object} opts Optional parameters
|
|
28424
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28425
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28426
|
+
* @param {String} opts.name Filter on bot name
|
|
28427
|
+
*/
|
|
28428
|
+
getIntegrationsSpeechLexv2Bots(opts) {
|
|
28429
|
+
opts = opts || {};
|
|
28430
|
+
|
|
28431
|
+
|
|
28432
|
+
return this.apiClient.callApi(
|
|
28433
|
+
'/api/v2/integrations/speech/lexv2/bots',
|
|
28434
|
+
'GET',
|
|
28435
|
+
{ },
|
|
28436
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
28437
|
+
{ },
|
|
28438
|
+
{ },
|
|
28439
|
+
null,
|
|
28440
|
+
['PureCloud OAuth'],
|
|
28441
|
+
['application/json'],
|
|
28442
|
+
['application/json']
|
|
28443
|
+
);
|
|
28444
|
+
}
|
|
28445
|
+
|
|
28016
28446
|
/**
|
|
28017
28447
|
* Get a Nuance bot in the specified Integration
|
|
28018
28448
|
*
|
|
@@ -28021,7 +28451,6 @@ class IntegrationsApi {
|
|
|
28021
28451
|
* @param {Object} opts Optional parameters
|
|
28022
28452
|
* @param {Array.<String>} opts.expand expand
|
|
28023
28453
|
* @param {Object} opts.targetChannel targetChannel
|
|
28024
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28025
28454
|
*/
|
|
28026
28455
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId, botId, opts) {
|
|
28027
28456
|
opts = opts || {};
|
|
@@ -28055,7 +28484,6 @@ class IntegrationsApi {
|
|
|
28055
28484
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
28056
28485
|
* @param {String} botId The Nuance bot ID
|
|
28057
28486
|
* @param {String} jobId The asynchronous job ID
|
|
28058
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28059
28487
|
*/
|
|
28060
28488
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId) {
|
|
28061
28489
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -28091,7 +28519,6 @@ class IntegrationsApi {
|
|
|
28091
28519
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
28092
28520
|
* @param {String} botId The Nuance bot ID
|
|
28093
28521
|
* @param {String} jobId The asynchronous job ID
|
|
28094
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28095
28522
|
*/
|
|
28096
28523
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId) {
|
|
28097
28524
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -28129,7 +28556,6 @@ class IntegrationsApi {
|
|
|
28129
28556
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28130
28557
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28131
28558
|
* @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
|
|
28132
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28133
28559
|
*/
|
|
28134
28560
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId, opts) {
|
|
28135
28561
|
opts = opts || {};
|
|
@@ -28158,7 +28584,6 @@ class IntegrationsApi {
|
|
|
28158
28584
|
*
|
|
28159
28585
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
28160
28586
|
* @param {String} jobId The asynchronous job ID
|
|
28161
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28162
28587
|
*/
|
|
28163
28588
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId) {
|
|
28164
28589
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -28189,7 +28614,6 @@ class IntegrationsApi {
|
|
|
28189
28614
|
*
|
|
28190
28615
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
28191
28616
|
* @param {String} jobId The asynchronous job ID
|
|
28192
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28193
28617
|
*/
|
|
28194
28618
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId) {
|
|
28195
28619
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -28215,6 +28639,57 @@ class IntegrationsApi {
|
|
|
28215
28639
|
);
|
|
28216
28640
|
}
|
|
28217
28641
|
|
|
28642
|
+
/**
|
|
28643
|
+
* Get details about a STT engine
|
|
28644
|
+
*
|
|
28645
|
+
* @param {String} engineId The engine ID
|
|
28646
|
+
*/
|
|
28647
|
+
getIntegrationsSpeechSttEngine(engineId) {
|
|
28648
|
+
// verify the required parameter 'engineId' is set
|
|
28649
|
+
if (engineId === undefined || engineId === null) {
|
|
28650
|
+
throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';
|
|
28651
|
+
}
|
|
28652
|
+
|
|
28653
|
+
return this.apiClient.callApi(
|
|
28654
|
+
'/api/v2/integrations/speech/stt/engines/{engineId}',
|
|
28655
|
+
'GET',
|
|
28656
|
+
{ 'engineId': engineId },
|
|
28657
|
+
{ },
|
|
28658
|
+
{ },
|
|
28659
|
+
{ },
|
|
28660
|
+
null,
|
|
28661
|
+
['PureCloud OAuth'],
|
|
28662
|
+
['application/json'],
|
|
28663
|
+
['application/json']
|
|
28664
|
+
);
|
|
28665
|
+
}
|
|
28666
|
+
|
|
28667
|
+
/**
|
|
28668
|
+
* Get a list of STT engines enabled for org
|
|
28669
|
+
*
|
|
28670
|
+
* @param {Object} opts Optional parameters
|
|
28671
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28672
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28673
|
+
* @param {String} opts.name Filter on engine name
|
|
28674
|
+
*/
|
|
28675
|
+
getIntegrationsSpeechSttEngines(opts) {
|
|
28676
|
+
opts = opts || {};
|
|
28677
|
+
|
|
28678
|
+
|
|
28679
|
+
return this.apiClient.callApi(
|
|
28680
|
+
'/api/v2/integrations/speech/stt/engines',
|
|
28681
|
+
'GET',
|
|
28682
|
+
{ },
|
|
28683
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
28684
|
+
{ },
|
|
28685
|
+
{ },
|
|
28686
|
+
null,
|
|
28687
|
+
['PureCloud OAuth'],
|
|
28688
|
+
['application/json'],
|
|
28689
|
+
['application/json']
|
|
28690
|
+
);
|
|
28691
|
+
}
|
|
28692
|
+
|
|
28218
28693
|
/**
|
|
28219
28694
|
* Get details about a TTS engine
|
|
28220
28695
|
*
|
|
@@ -28436,6 +28911,60 @@ class IntegrationsApi {
|
|
|
28436
28911
|
);
|
|
28437
28912
|
}
|
|
28438
28913
|
|
|
28914
|
+
/**
|
|
28915
|
+
* UC integration client application configuration.
|
|
28916
|
+
* This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
|
|
28917
|
+
* @param {String} ucIntegrationId 3rd Party Service Type
|
|
28918
|
+
*/
|
|
28919
|
+
getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId) {
|
|
28920
|
+
// verify the required parameter 'ucIntegrationId' is set
|
|
28921
|
+
if (ucIntegrationId === undefined || ucIntegrationId === null) {
|
|
28922
|
+
throw 'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';
|
|
28923
|
+
}
|
|
28924
|
+
|
|
28925
|
+
return this.apiClient.callApi(
|
|
28926
|
+
'/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}',
|
|
28927
|
+
'GET',
|
|
28928
|
+
{ 'ucIntegrationId': ucIntegrationId },
|
|
28929
|
+
{ },
|
|
28930
|
+
{ },
|
|
28931
|
+
{ },
|
|
28932
|
+
null,
|
|
28933
|
+
['PureCloud OAuth'],
|
|
28934
|
+
['application/json'],
|
|
28935
|
+
['application/json']
|
|
28936
|
+
);
|
|
28937
|
+
}
|
|
28938
|
+
|
|
28939
|
+
/**
|
|
28940
|
+
* List UC integration client application configurations.
|
|
28941
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
|
|
28942
|
+
* @param {Object} opts Optional parameters
|
|
28943
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
28944
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
28945
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
28946
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
28947
|
+
* @param {String} opts.nextPage next page token
|
|
28948
|
+
* @param {String} opts.previousPage Previous page token
|
|
28949
|
+
*/
|
|
28950
|
+
getIntegrationsUnifiedcommunicationsClientapps(opts) {
|
|
28951
|
+
opts = opts || {};
|
|
28952
|
+
|
|
28953
|
+
|
|
28954
|
+
return this.apiClient.callApi(
|
|
28955
|
+
'/api/v2/integrations/unifiedcommunications/clientapps',
|
|
28956
|
+
'GET',
|
|
28957
|
+
{ },
|
|
28958
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
28959
|
+
{ },
|
|
28960
|
+
{ },
|
|
28961
|
+
null,
|
|
28962
|
+
['PureCloud OAuth'],
|
|
28963
|
+
['application/json'],
|
|
28964
|
+
['application/json']
|
|
28965
|
+
);
|
|
28966
|
+
}
|
|
28967
|
+
|
|
28439
28968
|
/**
|
|
28440
28969
|
* List permitted user app integrations for the logged in user
|
|
28441
28970
|
*
|
|
@@ -28843,7 +29372,6 @@ class IntegrationsApi {
|
|
|
28843
29372
|
* @param {Object} opts Optional parameters
|
|
28844
29373
|
* @param {Array.<String>} opts.expand expand
|
|
28845
29374
|
* @param {String} opts.body targetChannel
|
|
28846
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28847
29375
|
*/
|
|
28848
29376
|
postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId, botId, opts) {
|
|
28849
29377
|
opts = opts || {};
|
|
@@ -28879,7 +29407,6 @@ class IntegrationsApi {
|
|
|
28879
29407
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28880
29408
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28881
29409
|
* @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
|
|
28882
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28883
29410
|
*/
|
|
28884
29411
|
postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId, opts) {
|
|
28885
29412
|
opts = opts || {};
|
|
@@ -28908,7 +29435,6 @@ class IntegrationsApi {
|
|
|
28908
29435
|
*
|
|
28909
29436
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
28910
29437
|
* @param {Object} settings
|
|
28911
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28912
29438
|
*/
|
|
28913
29439
|
postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings) {
|
|
28914
29440
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -29058,7 +29584,6 @@ class IntegrationsApi {
|
|
|
29058
29584
|
*
|
|
29059
29585
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
29060
29586
|
* @param {Object} settings
|
|
29061
|
-
* putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
29062
29587
|
*/
|
|
29063
29588
|
putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings) {
|
|
29064
29589
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
@@ -29145,7 +29670,7 @@ class JourneyApi {
|
|
|
29145
29670
|
/**
|
|
29146
29671
|
* Journey service.
|
|
29147
29672
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
29148
|
-
* @version
|
|
29673
|
+
* @version 189.1.0
|
|
29149
29674
|
*/
|
|
29150
29675
|
|
|
29151
29676
|
/**
|
|
@@ -30529,7 +31054,7 @@ class KnowledgeApi {
|
|
|
30529
31054
|
/**
|
|
30530
31055
|
* Knowledge service.
|
|
30531
31056
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
30532
|
-
* @version
|
|
31057
|
+
* @version 189.1.0
|
|
30533
31058
|
*/
|
|
30534
31059
|
|
|
30535
31060
|
/**
|
|
@@ -33772,7 +34297,7 @@ class LanguageUnderstandingApi {
|
|
|
33772
34297
|
/**
|
|
33773
34298
|
* LanguageUnderstanding service.
|
|
33774
34299
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
33775
|
-
* @version
|
|
34300
|
+
* @version 189.1.0
|
|
33776
34301
|
*/
|
|
33777
34302
|
|
|
33778
34303
|
/**
|
|
@@ -34785,7 +35310,7 @@ class LanguagesApi {
|
|
|
34785
35310
|
/**
|
|
34786
35311
|
* Languages service.
|
|
34787
35312
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
34788
|
-
* @version
|
|
35313
|
+
* @version 189.1.0
|
|
34789
35314
|
*/
|
|
34790
35315
|
|
|
34791
35316
|
/**
|
|
@@ -35007,7 +35532,7 @@ class LearningApi {
|
|
|
35007
35532
|
/**
|
|
35008
35533
|
* Learning service.
|
|
35009
35534
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35010
|
-
* @version
|
|
35535
|
+
* @version 189.1.0
|
|
35011
35536
|
*/
|
|
35012
35537
|
|
|
35013
35538
|
/**
|
|
@@ -35863,7 +36388,7 @@ class LicenseApi {
|
|
|
35863
36388
|
/**
|
|
35864
36389
|
* License service.
|
|
35865
36390
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
35866
|
-
* @version
|
|
36391
|
+
* @version 189.1.0
|
|
35867
36392
|
*/
|
|
35868
36393
|
|
|
35869
36394
|
/**
|
|
@@ -36101,7 +36626,7 @@ class LocationsApi {
|
|
|
36101
36626
|
/**
|
|
36102
36627
|
* Locations service.
|
|
36103
36628
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36104
|
-
* @version
|
|
36629
|
+
* @version 189.1.0
|
|
36105
36630
|
*/
|
|
36106
36631
|
|
|
36107
36632
|
/**
|
|
@@ -36337,7 +36862,7 @@ class LogCaptureApi {
|
|
|
36337
36862
|
/**
|
|
36338
36863
|
* LogCapture service.
|
|
36339
36864
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
36340
|
-
* @version
|
|
36865
|
+
* @version 189.1.0
|
|
36341
36866
|
*/
|
|
36342
36867
|
|
|
36343
36868
|
/**
|
|
@@ -36537,7 +37062,7 @@ class MessagingApi {
|
|
|
36537
37062
|
/**
|
|
36538
37063
|
* Messaging service.
|
|
36539
37064
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36540
|
-
* @version
|
|
37065
|
+
* @version 189.1.0
|
|
36541
37066
|
*/
|
|
36542
37067
|
|
|
36543
37068
|
/**
|
|
@@ -36896,7 +37421,7 @@ class MobileDevicesApi {
|
|
|
36896
37421
|
/**
|
|
36897
37422
|
* MobileDevices service.
|
|
36898
37423
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36899
|
-
* @version
|
|
37424
|
+
* @version 189.1.0
|
|
36900
37425
|
*/
|
|
36901
37426
|
|
|
36902
37427
|
/**
|
|
@@ -37047,7 +37572,7 @@ class NotificationsApi {
|
|
|
37047
37572
|
/**
|
|
37048
37573
|
* Notifications service.
|
|
37049
37574
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
37050
|
-
* @version
|
|
37575
|
+
* @version 189.1.0
|
|
37051
37576
|
*/
|
|
37052
37577
|
|
|
37053
37578
|
/**
|
|
@@ -37280,7 +37805,7 @@ class OAuthApi {
|
|
|
37280
37805
|
/**
|
|
37281
37806
|
* OAuth service.
|
|
37282
37807
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
37283
|
-
* @version
|
|
37808
|
+
* @version 189.1.0
|
|
37284
37809
|
*/
|
|
37285
37810
|
|
|
37286
37811
|
/**
|
|
@@ -37646,7 +38171,7 @@ class ObjectsApi {
|
|
|
37646
38171
|
/**
|
|
37647
38172
|
* Objects service.
|
|
37648
38173
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37649
|
-
* @version
|
|
38174
|
+
* @version 189.1.0
|
|
37650
38175
|
*/
|
|
37651
38176
|
|
|
37652
38177
|
/**
|
|
@@ -37916,7 +38441,7 @@ class OperationalEventsApi {
|
|
|
37916
38441
|
/**
|
|
37917
38442
|
* OperationalEvents service.
|
|
37918
38443
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
37919
|
-
* @version
|
|
38444
|
+
* @version 189.1.0
|
|
37920
38445
|
*/
|
|
37921
38446
|
|
|
37922
38447
|
/**
|
|
@@ -37982,7 +38507,7 @@ class OrganizationApi {
|
|
|
37982
38507
|
/**
|
|
37983
38508
|
* Organization service.
|
|
37984
38509
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37985
|
-
* @version
|
|
38510
|
+
* @version 189.1.0
|
|
37986
38511
|
*/
|
|
37987
38512
|
|
|
37988
38513
|
/**
|
|
@@ -38437,7 +38962,7 @@ class OrganizationAuthorizationApi {
|
|
|
38437
38962
|
/**
|
|
38438
38963
|
* OrganizationAuthorization service.
|
|
38439
38964
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
38440
|
-
* @version
|
|
38965
|
+
* @version 189.1.0
|
|
38441
38966
|
*/
|
|
38442
38967
|
|
|
38443
38968
|
/**
|
|
@@ -39784,7 +40309,7 @@ class OutboundApi {
|
|
|
39784
40309
|
/**
|
|
39785
40310
|
* Outbound service.
|
|
39786
40311
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39787
|
-
* @version
|
|
40312
|
+
* @version 189.1.0
|
|
39788
40313
|
*/
|
|
39789
40314
|
|
|
39790
40315
|
/**
|
|
@@ -42815,8 +43340,12 @@ class OutboundApi {
|
|
|
42815
43340
|
* Initiate the export of a contact list.
|
|
42816
43341
|
* Returns 200 if received OK.
|
|
42817
43342
|
* @param {String} contactListId ContactList ID
|
|
43343
|
+
* @param {Object} opts Optional parameters
|
|
43344
|
+
* @param {Object} opts.body Export information to get
|
|
42818
43345
|
*/
|
|
42819
|
-
postOutboundContactlistExport(contactListId) {
|
|
43346
|
+
postOutboundContactlistExport(contactListId, opts) {
|
|
43347
|
+
opts = opts || {};
|
|
43348
|
+
|
|
42820
43349
|
// verify the required parameter 'contactListId' is set
|
|
42821
43350
|
if (contactListId === undefined || contactListId === null) {
|
|
42822
43351
|
throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';
|
|
@@ -42829,7 +43358,7 @@ class OutboundApi {
|
|
|
42829
43358
|
{ },
|
|
42830
43359
|
{ },
|
|
42831
43360
|
{ },
|
|
42832
|
-
|
|
43361
|
+
opts['body'],
|
|
42833
43362
|
['PureCloud OAuth'],
|
|
42834
43363
|
['application/json'],
|
|
42835
43364
|
['application/json']
|
|
@@ -44021,7 +44550,7 @@ class PresenceApi {
|
|
|
44021
44550
|
/**
|
|
44022
44551
|
* Presence service.
|
|
44023
44552
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
44024
|
-
* @version
|
|
44553
|
+
* @version 189.1.0
|
|
44025
44554
|
*/
|
|
44026
44555
|
|
|
44027
44556
|
/**
|
|
@@ -44765,7 +45294,7 @@ class ProcessAutomationApi {
|
|
|
44765
45294
|
/**
|
|
44766
45295
|
* ProcessAutomation service.
|
|
44767
45296
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
44768
|
-
* @version
|
|
45297
|
+
* @version 189.1.0
|
|
44769
45298
|
*/
|
|
44770
45299
|
|
|
44771
45300
|
/**
|
|
@@ -45004,7 +45533,7 @@ class QualityApi {
|
|
|
45004
45533
|
/**
|
|
45005
45534
|
* Quality service.
|
|
45006
45535
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
45007
|
-
* @version
|
|
45536
|
+
* @version 189.1.0
|
|
45008
45537
|
*/
|
|
45009
45538
|
|
|
45010
45539
|
/**
|
|
@@ -45627,7 +46156,7 @@ class QualityApi {
|
|
|
45627
46156
|
}
|
|
45628
46157
|
|
|
45629
46158
|
/**
|
|
45630
|
-
* Get the list of evaluation forms
|
|
46159
|
+
* Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
|
|
45631
46160
|
*
|
|
45632
46161
|
* @param {Object} opts Optional parameters
|
|
45633
46162
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -45716,7 +46245,7 @@ class QualityApi {
|
|
|
45716
46245
|
|
|
45717
46246
|
/**
|
|
45718
46247
|
* Get the list of evaluation forms
|
|
45719
|
-
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned
|
|
46248
|
+
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
|
|
45720
46249
|
* @param {Object} opts Optional parameters
|
|
45721
46250
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
45722
46251
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -45826,7 +46355,7 @@ class QualityApi {
|
|
|
45826
46355
|
}
|
|
45827
46356
|
|
|
45828
46357
|
/**
|
|
45829
|
-
* Get the list of survey forms
|
|
46358
|
+
* Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
|
|
45830
46359
|
*
|
|
45831
46360
|
* @param {Object} opts Optional parameters
|
|
45832
46361
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -46761,7 +47290,7 @@ class RecordingApi {
|
|
|
46761
47290
|
/**
|
|
46762
47291
|
* Recording service.
|
|
46763
47292
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
46764
|
-
* @version
|
|
47293
|
+
* @version 189.1.0
|
|
46765
47294
|
*/
|
|
46766
47295
|
|
|
46767
47296
|
/**
|
|
@@ -48398,7 +48927,7 @@ class ResponseManagementApi {
|
|
|
48398
48927
|
/**
|
|
48399
48928
|
* ResponseManagement service.
|
|
48400
48929
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
48401
|
-
* @version
|
|
48930
|
+
* @version 189.1.0
|
|
48402
48931
|
*/
|
|
48403
48932
|
|
|
48404
48933
|
/**
|
|
@@ -48883,7 +49412,7 @@ class RoutingApi {
|
|
|
48883
49412
|
/**
|
|
48884
49413
|
* Routing service.
|
|
48885
49414
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
48886
|
-
* @version
|
|
49415
|
+
* @version 189.1.0
|
|
48887
49416
|
*/
|
|
48888
49417
|
|
|
48889
49418
|
/**
|
|
@@ -52836,7 +53365,7 @@ class SCIMApi {
|
|
|
52836
53365
|
/**
|
|
52837
53366
|
* SCIM service.
|
|
52838
53367
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
52839
|
-
* @version
|
|
53368
|
+
* @version 189.1.0
|
|
52840
53369
|
*/
|
|
52841
53370
|
|
|
52842
53371
|
/**
|
|
@@ -53713,7 +54242,7 @@ class ScreenRecordingApi {
|
|
|
53713
54242
|
/**
|
|
53714
54243
|
* ScreenRecording service.
|
|
53715
54244
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
53716
|
-
* @version
|
|
54245
|
+
* @version 189.1.0
|
|
53717
54246
|
*/
|
|
53718
54247
|
|
|
53719
54248
|
/**
|
|
@@ -53758,7 +54287,7 @@ class ScriptsApi {
|
|
|
53758
54287
|
/**
|
|
53759
54288
|
* Scripts service.
|
|
53760
54289
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
53761
|
-
* @version
|
|
54290
|
+
* @version 189.1.0
|
|
53762
54291
|
*/
|
|
53763
54292
|
|
|
53764
54293
|
/**
|
|
@@ -54202,7 +54731,7 @@ class SearchApi {
|
|
|
54202
54731
|
/**
|
|
54203
54732
|
* Search service.
|
|
54204
54733
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
54205
|
-
* @version
|
|
54734
|
+
* @version 189.1.0
|
|
54206
54735
|
*/
|
|
54207
54736
|
|
|
54208
54737
|
/**
|
|
@@ -54891,7 +55420,7 @@ class SettingsApi {
|
|
|
54891
55420
|
/**
|
|
54892
55421
|
* Settings service.
|
|
54893
55422
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
54894
|
-
* @version
|
|
55423
|
+
* @version 189.1.0
|
|
54895
55424
|
*/
|
|
54896
55425
|
|
|
54897
55426
|
/**
|
|
@@ -54926,6 +55455,27 @@ class SettingsApi {
|
|
|
54926
55455
|
);
|
|
54927
55456
|
}
|
|
54928
55457
|
|
|
55458
|
+
/**
|
|
55459
|
+
* Get the execution history enabled setting.
|
|
55460
|
+
* Get the execution history enabled setting.
|
|
55461
|
+
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
55462
|
+
*/
|
|
55463
|
+
getSettingsExecutiondata() {
|
|
55464
|
+
|
|
55465
|
+
return this.apiClient.callApi(
|
|
55466
|
+
'/api/v2/settings/executiondata',
|
|
55467
|
+
'GET',
|
|
55468
|
+
{ },
|
|
55469
|
+
{ },
|
|
55470
|
+
{ },
|
|
55471
|
+
{ },
|
|
55472
|
+
null,
|
|
55473
|
+
['PureCloud OAuth'],
|
|
55474
|
+
['application/json'],
|
|
55475
|
+
['application/json']
|
|
55476
|
+
);
|
|
55477
|
+
}
|
|
55478
|
+
|
|
54929
55479
|
/**
|
|
54930
55480
|
* Patch email Contact Center settings
|
|
54931
55481
|
*
|
|
@@ -54950,13 +55500,39 @@ class SettingsApi {
|
|
|
54950
55500
|
);
|
|
54951
55501
|
}
|
|
54952
55502
|
|
|
55503
|
+
/**
|
|
55504
|
+
* Edit the execution history on off setting.
|
|
55505
|
+
* Edit the execution history on off setting.
|
|
55506
|
+
* @param {Object} body New Execution Data Setting
|
|
55507
|
+
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
55508
|
+
*/
|
|
55509
|
+
patchSettingsExecutiondata(body) {
|
|
55510
|
+
// verify the required parameter 'body' is set
|
|
55511
|
+
if (body === undefined || body === null) {
|
|
55512
|
+
throw 'Missing the required parameter "body" when calling patchSettingsExecutiondata';
|
|
55513
|
+
}
|
|
55514
|
+
|
|
55515
|
+
return this.apiClient.callApi(
|
|
55516
|
+
'/api/v2/settings/executiondata',
|
|
55517
|
+
'PATCH',
|
|
55518
|
+
{ },
|
|
55519
|
+
{ },
|
|
55520
|
+
{ },
|
|
55521
|
+
{ },
|
|
55522
|
+
body,
|
|
55523
|
+
['PureCloud OAuth'],
|
|
55524
|
+
['application/json'],
|
|
55525
|
+
['application/json']
|
|
55526
|
+
);
|
|
55527
|
+
}
|
|
55528
|
+
|
|
54953
55529
|
}
|
|
54954
55530
|
|
|
54955
55531
|
class SpeechTextAnalyticsApi {
|
|
54956
55532
|
/**
|
|
54957
55533
|
* SpeechTextAnalytics service.
|
|
54958
55534
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
54959
|
-
* @version
|
|
55535
|
+
* @version 189.1.0
|
|
54960
55536
|
*/
|
|
54961
55537
|
|
|
54962
55538
|
/**
|
|
@@ -56070,7 +56646,7 @@ class StationsApi {
|
|
|
56070
56646
|
/**
|
|
56071
56647
|
* Stations service.
|
|
56072
56648
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
56073
|
-
* @version
|
|
56649
|
+
* @version 189.1.0
|
|
56074
56650
|
*/
|
|
56075
56651
|
|
|
56076
56652
|
/**
|
|
@@ -56172,7 +56748,7 @@ class SuggestApi {
|
|
|
56172
56748
|
/**
|
|
56173
56749
|
* Suggest service.
|
|
56174
56750
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
56175
|
-
* @version
|
|
56751
|
+
* @version 189.1.0
|
|
56176
56752
|
*/
|
|
56177
56753
|
|
|
56178
56754
|
/**
|
|
@@ -56311,7 +56887,7 @@ class TaskManagementApi {
|
|
|
56311
56887
|
/**
|
|
56312
56888
|
* TaskManagement service.
|
|
56313
56889
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
56314
|
-
* @version
|
|
56890
|
+
* @version 189.1.0
|
|
56315
56891
|
*/
|
|
56316
56892
|
|
|
56317
56893
|
/**
|
|
@@ -56975,6 +57551,32 @@ class TaskManagementApi {
|
|
|
56975
57551
|
);
|
|
56976
57552
|
}
|
|
56977
57553
|
|
|
57554
|
+
/**
|
|
57555
|
+
* Get list of statuses for this worktype.
|
|
57556
|
+
*
|
|
57557
|
+
* @param {String} worktypeId Worktype id
|
|
57558
|
+
* getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
57559
|
+
*/
|
|
57560
|
+
getTaskmanagementWorktypeStatuses(worktypeId) {
|
|
57561
|
+
// verify the required parameter 'worktypeId' is set
|
|
57562
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
57563
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
|
|
57564
|
+
}
|
|
57565
|
+
|
|
57566
|
+
return this.apiClient.callApi(
|
|
57567
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
|
|
57568
|
+
'GET',
|
|
57569
|
+
{ 'worktypeId': worktypeId },
|
|
57570
|
+
{ },
|
|
57571
|
+
{ },
|
|
57572
|
+
{ },
|
|
57573
|
+
null,
|
|
57574
|
+
['PureCloud OAuth'],
|
|
57575
|
+
['application/json'],
|
|
57576
|
+
['application/json']
|
|
57577
|
+
);
|
|
57578
|
+
}
|
|
57579
|
+
|
|
56978
57580
|
/**
|
|
56979
57581
|
* Get a version of a worktype
|
|
56980
57582
|
*
|
|
@@ -57592,7 +58194,7 @@ class TeamsApi {
|
|
|
57592
58194
|
/**
|
|
57593
58195
|
* Teams service.
|
|
57594
58196
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
57595
|
-
* @version
|
|
58197
|
+
* @version 189.1.0
|
|
57596
58198
|
*/
|
|
57597
58199
|
|
|
57598
58200
|
/**
|
|
@@ -57894,7 +58496,7 @@ class TelephonyApi {
|
|
|
57894
58496
|
/**
|
|
57895
58497
|
* Telephony service.
|
|
57896
58498
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
57897
|
-
* @version
|
|
58499
|
+
* @version 189.1.0
|
|
57898
58500
|
*/
|
|
57899
58501
|
|
|
57900
58502
|
/**
|
|
@@ -58076,7 +58678,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
58076
58678
|
/**
|
|
58077
58679
|
* TelephonyProvidersEdge service.
|
|
58078
58680
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
58079
|
-
* @version
|
|
58681
|
+
* @version 189.1.0
|
|
58080
58682
|
*/
|
|
58081
58683
|
|
|
58082
58684
|
/**
|
|
@@ -61425,7 +62027,7 @@ class TextbotsApi {
|
|
|
61425
62027
|
/**
|
|
61426
62028
|
* Textbots service.
|
|
61427
62029
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
61428
|
-
* @version
|
|
62030
|
+
* @version 189.1.0
|
|
61429
62031
|
*/
|
|
61430
62032
|
|
|
61431
62033
|
/**
|
|
@@ -61553,7 +62155,7 @@ class TokensApi {
|
|
|
61553
62155
|
/**
|
|
61554
62156
|
* Tokens service.
|
|
61555
62157
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
61556
|
-
* @version
|
|
62158
|
+
* @version 189.1.0
|
|
61557
62159
|
*/
|
|
61558
62160
|
|
|
61559
62161
|
/**
|
|
@@ -61707,7 +62309,7 @@ class UploadsApi {
|
|
|
61707
62309
|
/**
|
|
61708
62310
|
* Uploads service.
|
|
61709
62311
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
61710
|
-
* @version
|
|
62312
|
+
* @version 189.1.0
|
|
61711
62313
|
*/
|
|
61712
62314
|
|
|
61713
62315
|
/**
|
|
@@ -61976,7 +62578,7 @@ class UsageApi {
|
|
|
61976
62578
|
/**
|
|
61977
62579
|
* Usage service.
|
|
61978
62580
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
61979
|
-
* @version
|
|
62581
|
+
* @version 189.1.0
|
|
61980
62582
|
*/
|
|
61981
62583
|
|
|
61982
62584
|
/**
|
|
@@ -62186,7 +62788,7 @@ class UserRecordingsApi {
|
|
|
62186
62788
|
/**
|
|
62187
62789
|
* UserRecordings service.
|
|
62188
62790
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
62189
|
-
* @version
|
|
62791
|
+
* @version 189.1.0
|
|
62190
62792
|
*/
|
|
62191
62793
|
|
|
62192
62794
|
/**
|
|
@@ -62371,7 +62973,7 @@ class UsersApi {
|
|
|
62371
62973
|
/**
|
|
62372
62974
|
* Users service.
|
|
62373
62975
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
62374
|
-
* @version
|
|
62976
|
+
* @version 189.1.0
|
|
62375
62977
|
*/
|
|
62376
62978
|
|
|
62377
62979
|
/**
|
|
@@ -65022,7 +65624,7 @@ class UtilitiesApi {
|
|
|
65022
65624
|
/**
|
|
65023
65625
|
* Utilities service.
|
|
65024
65626
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
65025
|
-
* @version
|
|
65627
|
+
* @version 189.1.0
|
|
65026
65628
|
*/
|
|
65027
65629
|
|
|
65028
65630
|
/**
|
|
@@ -65133,7 +65735,7 @@ class VoicemailApi {
|
|
|
65133
65735
|
/**
|
|
65134
65736
|
* Voicemail service.
|
|
65135
65737
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
65136
|
-
* @version
|
|
65738
|
+
* @version 189.1.0
|
|
65137
65739
|
*/
|
|
65138
65740
|
|
|
65139
65741
|
/**
|
|
@@ -65800,7 +66402,7 @@ class WebChatApi {
|
|
|
65800
66402
|
/**
|
|
65801
66403
|
* WebChat service.
|
|
65802
66404
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
65803
|
-
* @version
|
|
66405
|
+
* @version 189.1.0
|
|
65804
66406
|
*/
|
|
65805
66407
|
|
|
65806
66408
|
/**
|
|
@@ -66349,7 +66951,7 @@ class WebDeploymentsApi {
|
|
|
66349
66951
|
/**
|
|
66350
66952
|
* WebDeployments service.
|
|
66351
66953
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
66352
|
-
* @version
|
|
66954
|
+
* @version 189.1.0
|
|
66353
66955
|
*/
|
|
66354
66956
|
|
|
66355
66957
|
/**
|
|
@@ -66876,7 +67478,7 @@ class WebMessagingApi {
|
|
|
66876
67478
|
/**
|
|
66877
67479
|
* WebMessaging service.
|
|
66878
67480
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
66879
|
-
* @version
|
|
67481
|
+
* @version 189.1.0
|
|
66880
67482
|
*/
|
|
66881
67483
|
|
|
66882
67484
|
/**
|
|
@@ -66922,7 +67524,7 @@ class WidgetsApi {
|
|
|
66922
67524
|
/**
|
|
66923
67525
|
* Widgets service.
|
|
66924
67526
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
66925
|
-
* @version
|
|
67527
|
+
* @version 189.1.0
|
|
66926
67528
|
*/
|
|
66927
67529
|
|
|
66928
67530
|
/**
|
|
@@ -67068,7 +67670,7 @@ class WorkforceManagementApi {
|
|
|
67068
67670
|
/**
|
|
67069
67671
|
* WorkforceManagement service.
|
|
67070
67672
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
67071
|
-
* @version
|
|
67673
|
+
* @version 189.1.0
|
|
67072
67674
|
*/
|
|
67073
67675
|
|
|
67074
67676
|
/**
|
|
@@ -67589,9 +68191,10 @@ class WorkforceManagementApi {
|
|
|
67589
68191
|
}
|
|
67590
68192
|
|
|
67591
68193
|
/**
|
|
67592
|
-
*
|
|
67593
|
-
*
|
|
68194
|
+
* To get status of the modeling job.
|
|
68195
|
+
* This Endpoint is Deprecated, and not recommended to be used.
|
|
67594
68196
|
* @param {String} jobId The id of the modeling job
|
|
68197
|
+
* @deprecated
|
|
67595
68198
|
*/
|
|
67596
68199
|
getWorkforcemanagementAdhocmodelingjob(jobId) {
|
|
67597
68200
|
// verify the required parameter 'jobId' is set
|
|
@@ -72463,7 +73066,7 @@ class WorkforceManagementApi {
|
|
|
72463
73066
|
* </pre>
|
|
72464
73067
|
* </p>
|
|
72465
73068
|
* @module purecloud-platform-client-v2/index
|
|
72466
|
-
* @version
|
|
73069
|
+
* @version 189.1.0
|
|
72467
73070
|
*/
|
|
72468
73071
|
class platformClient {
|
|
72469
73072
|
constructor() {
|