purecloud-platform-client-v2 211.0.0 → 212.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +433 -88
- package/dist/web-amd/purecloud-platform-client-v2.js +433 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +172 -88
- package/dist/web-cjs/purecloud-platform-client-v2.js +173 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +230 -10
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +187 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +7 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +156 -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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -622,7 +622,7 @@ class DefaultHttpClient extends AbstractHttpClient{
|
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
624
|
* @module purecloud-platform-client-v2/ApiClient
|
|
625
|
-
* @version
|
|
625
|
+
* @version 212.0.0
|
|
626
626
|
*/
|
|
627
627
|
class ApiClient {
|
|
628
628
|
/**
|
|
@@ -1595,7 +1595,7 @@ class ApiClient {
|
|
|
1595
1595
|
'Authorization': 'Basic ' + encodedData,
|
|
1596
1596
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
1597
1597
|
};
|
|
1598
|
-
var requestOptions = new HttpRequestOptions(loginBasePath
|
|
1598
|
+
var requestOptions = new HttpRequestOptions(`${loginBasePath}/oauth/token`, `POST`, headers, null, qs__default["default"].stringify(data), this.timeout);
|
|
1599
1599
|
const httpClient = this.getHttpClient();
|
|
1600
1600
|
return httpClient.request(requestOptions);
|
|
1601
1601
|
}
|
|
@@ -2142,7 +2142,7 @@ class AgentAssistantsApi {
|
|
|
2142
2142
|
/**
|
|
2143
2143
|
* AgentAssistants service.
|
|
2144
2144
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2145
|
-
* @version
|
|
2145
|
+
* @version 212.0.0
|
|
2146
2146
|
*/
|
|
2147
2147
|
|
|
2148
2148
|
/**
|
|
@@ -2518,7 +2518,7 @@ class AgentCopilotApi {
|
|
|
2518
2518
|
/**
|
|
2519
2519
|
* AgentCopilot service.
|
|
2520
2520
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2521
|
-
* @version
|
|
2521
|
+
* @version 212.0.0
|
|
2522
2522
|
*/
|
|
2523
2523
|
|
|
2524
2524
|
/**
|
|
@@ -2594,7 +2594,7 @@ class AgentUIApi {
|
|
|
2594
2594
|
/**
|
|
2595
2595
|
* AgentUI service.
|
|
2596
2596
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2597
|
-
* @version
|
|
2597
|
+
* @version 212.0.0
|
|
2598
2598
|
*/
|
|
2599
2599
|
|
|
2600
2600
|
/**
|
|
@@ -2725,7 +2725,7 @@ class AlertingApi {
|
|
|
2725
2725
|
/**
|
|
2726
2726
|
* Alerting service.
|
|
2727
2727
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2728
|
-
* @version
|
|
2728
|
+
* @version 212.0.0
|
|
2729
2729
|
*/
|
|
2730
2730
|
|
|
2731
2731
|
/**
|
|
@@ -3386,7 +3386,7 @@ class AnalyticsApi {
|
|
|
3386
3386
|
/**
|
|
3387
3387
|
* Analytics service.
|
|
3388
3388
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3389
|
-
* @version
|
|
3389
|
+
* @version 212.0.0
|
|
3390
3390
|
*/
|
|
3391
3391
|
|
|
3392
3392
|
/**
|
|
@@ -3507,6 +3507,32 @@ class AnalyticsApi {
|
|
|
3507
3507
|
);
|
|
3508
3508
|
}
|
|
3509
3509
|
|
|
3510
|
+
/**
|
|
3511
|
+
* Get an agent and their active sessions by user ID
|
|
3512
|
+
*
|
|
3513
|
+
* @param {String} userId userId
|
|
3514
|
+
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3515
|
+
*/
|
|
3516
|
+
getAnalyticsAgentStatus(userId) {
|
|
3517
|
+
// verify the required parameter 'userId' is set
|
|
3518
|
+
if (userId === undefined || userId === null) {
|
|
3519
|
+
throw 'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
return this.apiClient.callApi(
|
|
3523
|
+
'/api/v2/analytics/agents/{userId}/status',
|
|
3524
|
+
'GET',
|
|
3525
|
+
{ 'userId': userId },
|
|
3526
|
+
{ },
|
|
3527
|
+
{ },
|
|
3528
|
+
{ },
|
|
3529
|
+
null,
|
|
3530
|
+
['PureCloud OAuth'],
|
|
3531
|
+
['application/json'],
|
|
3532
|
+
['application/json']
|
|
3533
|
+
);
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3510
3536
|
/**
|
|
3511
3537
|
* Get status for async query for agent copilot aggregates
|
|
3512
3538
|
*
|
|
@@ -4450,6 +4476,62 @@ class AnalyticsApi {
|
|
|
4450
4476
|
);
|
|
4451
4477
|
}
|
|
4452
4478
|
|
|
4479
|
+
/**
|
|
4480
|
+
* Get status for async query for summary aggregates
|
|
4481
|
+
*
|
|
4482
|
+
* @param {String} jobId jobId
|
|
4483
|
+
* getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4484
|
+
*/
|
|
4485
|
+
getAnalyticsSummariesAggregatesJob(jobId) {
|
|
4486
|
+
// verify the required parameter 'jobId' is set
|
|
4487
|
+
if (jobId === undefined || jobId === null) {
|
|
4488
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';
|
|
4489
|
+
}
|
|
4490
|
+
|
|
4491
|
+
return this.apiClient.callApi(
|
|
4492
|
+
'/api/v2/analytics/summaries/aggregates/jobs/{jobId}',
|
|
4493
|
+
'GET',
|
|
4494
|
+
{ 'jobId': jobId },
|
|
4495
|
+
{ },
|
|
4496
|
+
{ },
|
|
4497
|
+
{ },
|
|
4498
|
+
null,
|
|
4499
|
+
['PureCloud OAuth'],
|
|
4500
|
+
['application/json'],
|
|
4501
|
+
['application/json']
|
|
4502
|
+
);
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
/**
|
|
4506
|
+
* Fetch a page of results for an async aggregates query
|
|
4507
|
+
*
|
|
4508
|
+
* @param {String} jobId jobId
|
|
4509
|
+
* @param {Object} opts Optional parameters
|
|
4510
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
4511
|
+
* getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4512
|
+
*/
|
|
4513
|
+
getAnalyticsSummariesAggregatesJobResults(jobId, opts) {
|
|
4514
|
+
opts = opts || {};
|
|
4515
|
+
|
|
4516
|
+
// verify the required parameter 'jobId' is set
|
|
4517
|
+
if (jobId === undefined || jobId === null) {
|
|
4518
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
return this.apiClient.callApi(
|
|
4522
|
+
'/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results',
|
|
4523
|
+
'GET',
|
|
4524
|
+
{ 'jobId': jobId },
|
|
4525
|
+
{ 'cursor': opts['cursor'] },
|
|
4526
|
+
{ },
|
|
4527
|
+
{ },
|
|
4528
|
+
null,
|
|
4529
|
+
['PureCloud OAuth'],
|
|
4530
|
+
['application/json'],
|
|
4531
|
+
['application/json']
|
|
4532
|
+
);
|
|
4533
|
+
}
|
|
4534
|
+
|
|
4453
4535
|
/**
|
|
4454
4536
|
* Get status for async query for survey aggregates
|
|
4455
4537
|
*
|
|
@@ -4876,6 +4958,58 @@ class AnalyticsApi {
|
|
|
4876
4958
|
);
|
|
4877
4959
|
}
|
|
4878
4960
|
|
|
4961
|
+
/**
|
|
4962
|
+
* Count agents by segment type
|
|
4963
|
+
*
|
|
4964
|
+
* @param {Object} body query
|
|
4965
|
+
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4966
|
+
*/
|
|
4967
|
+
postAnalyticsAgentsStatusCounts(body) {
|
|
4968
|
+
// verify the required parameter 'body' is set
|
|
4969
|
+
if (body === undefined || body === null) {
|
|
4970
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
return this.apiClient.callApi(
|
|
4974
|
+
'/api/v2/analytics/agents/status/counts',
|
|
4975
|
+
'POST',
|
|
4976
|
+
{ },
|
|
4977
|
+
{ },
|
|
4978
|
+
{ },
|
|
4979
|
+
{ },
|
|
4980
|
+
body,
|
|
4981
|
+
['PureCloud OAuth'],
|
|
4982
|
+
['application/json'],
|
|
4983
|
+
['application/json']
|
|
4984
|
+
);
|
|
4985
|
+
}
|
|
4986
|
+
|
|
4987
|
+
/**
|
|
4988
|
+
* Retrieve the top 50 agents matching the query filters
|
|
4989
|
+
*
|
|
4990
|
+
* @param {Object} body query
|
|
4991
|
+
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4992
|
+
*/
|
|
4993
|
+
postAnalyticsAgentsStatusQuery(body) {
|
|
4994
|
+
// verify the required parameter 'body' is set
|
|
4995
|
+
if (body === undefined || body === null) {
|
|
4996
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4999
|
+
return this.apiClient.callApi(
|
|
5000
|
+
'/api/v2/analytics/agents/status/query',
|
|
5001
|
+
'POST',
|
|
5002
|
+
{ },
|
|
5003
|
+
{ },
|
|
5004
|
+
{ },
|
|
5005
|
+
{ },
|
|
5006
|
+
body,
|
|
5007
|
+
['PureCloud OAuth'],
|
|
5008
|
+
['application/json'],
|
|
5009
|
+
['application/json']
|
|
5010
|
+
);
|
|
5011
|
+
}
|
|
5012
|
+
|
|
4879
5013
|
/**
|
|
4880
5014
|
* Query for bot aggregates asynchronously
|
|
4881
5015
|
*
|
|
@@ -5629,6 +5763,58 @@ class AnalyticsApi {
|
|
|
5629
5763
|
);
|
|
5630
5764
|
}
|
|
5631
5765
|
|
|
5766
|
+
/**
|
|
5767
|
+
* Query for summary aggregates asynchronously
|
|
5768
|
+
*
|
|
5769
|
+
* @param {Object} body query
|
|
5770
|
+
* postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5771
|
+
*/
|
|
5772
|
+
postAnalyticsSummariesAggregatesJobs(body) {
|
|
5773
|
+
// verify the required parameter 'body' is set
|
|
5774
|
+
if (body === undefined || body === null) {
|
|
5775
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
return this.apiClient.callApi(
|
|
5779
|
+
'/api/v2/analytics/summaries/aggregates/jobs',
|
|
5780
|
+
'POST',
|
|
5781
|
+
{ },
|
|
5782
|
+
{ },
|
|
5783
|
+
{ },
|
|
5784
|
+
{ },
|
|
5785
|
+
body,
|
|
5786
|
+
['PureCloud OAuth'],
|
|
5787
|
+
['application/json'],
|
|
5788
|
+
['application/json']
|
|
5789
|
+
);
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
/**
|
|
5793
|
+
* Query for summary aggregates
|
|
5794
|
+
*
|
|
5795
|
+
* @param {Object} body query
|
|
5796
|
+
* postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5797
|
+
*/
|
|
5798
|
+
postAnalyticsSummariesAggregatesQuery(body) {
|
|
5799
|
+
// verify the required parameter 'body' is set
|
|
5800
|
+
if (body === undefined || body === null) {
|
|
5801
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesQuery';
|
|
5802
|
+
}
|
|
5803
|
+
|
|
5804
|
+
return this.apiClient.callApi(
|
|
5805
|
+
'/api/v2/analytics/summaries/aggregates/query',
|
|
5806
|
+
'POST',
|
|
5807
|
+
{ },
|
|
5808
|
+
{ },
|
|
5809
|
+
{ },
|
|
5810
|
+
{ },
|
|
5811
|
+
body,
|
|
5812
|
+
['PureCloud OAuth'],
|
|
5813
|
+
['application/json'],
|
|
5814
|
+
['application/json']
|
|
5815
|
+
);
|
|
5816
|
+
}
|
|
5817
|
+
|
|
5632
5818
|
/**
|
|
5633
5819
|
* Query for survey aggregates asynchronously
|
|
5634
5820
|
*
|
|
@@ -5999,7 +6185,7 @@ class ArchitectApi {
|
|
|
5999
6185
|
/**
|
|
6000
6186
|
* Architect service.
|
|
6001
6187
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6002
|
-
* @version
|
|
6188
|
+
* @version 212.0.0
|
|
6003
6189
|
*/
|
|
6004
6190
|
|
|
6005
6191
|
/**
|
|
@@ -10121,7 +10307,7 @@ class AuditApi {
|
|
|
10121
10307
|
/**
|
|
10122
10308
|
* Audit service.
|
|
10123
10309
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10124
|
-
* @version
|
|
10310
|
+
* @version 212.0.0
|
|
10125
10311
|
*/
|
|
10126
10312
|
|
|
10127
10313
|
/**
|
|
@@ -10322,7 +10508,7 @@ class AuthorizationApi {
|
|
|
10322
10508
|
/**
|
|
10323
10509
|
* Authorization service.
|
|
10324
10510
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10325
|
-
* @version
|
|
10511
|
+
* @version 212.0.0
|
|
10326
10512
|
*/
|
|
10327
10513
|
|
|
10328
10514
|
/**
|
|
@@ -11605,7 +11791,7 @@ class BillingApi {
|
|
|
11605
11791
|
/**
|
|
11606
11792
|
* Billing service.
|
|
11607
11793
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11608
|
-
* @version
|
|
11794
|
+
* @version 212.0.0
|
|
11609
11795
|
*/
|
|
11610
11796
|
|
|
11611
11797
|
/**
|
|
@@ -11685,7 +11871,7 @@ class CarrierServicesApi {
|
|
|
11685
11871
|
/**
|
|
11686
11872
|
* CarrierServices service.
|
|
11687
11873
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11688
|
-
* @version
|
|
11874
|
+
* @version 212.0.0
|
|
11689
11875
|
*/
|
|
11690
11876
|
|
|
11691
11877
|
/**
|
|
@@ -11755,7 +11941,7 @@ class ChatApi {
|
|
|
11755
11941
|
/**
|
|
11756
11942
|
* Chat service.
|
|
11757
11943
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11758
|
-
* @version
|
|
11944
|
+
* @version 212.0.0
|
|
11759
11945
|
*/
|
|
11760
11946
|
|
|
11761
11947
|
/**
|
|
@@ -12691,7 +12877,7 @@ class CoachingApi {
|
|
|
12691
12877
|
/**
|
|
12692
12878
|
* Coaching service.
|
|
12693
12879
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12694
|
-
* @version
|
|
12880
|
+
* @version 212.0.0
|
|
12695
12881
|
*/
|
|
12696
12882
|
|
|
12697
12883
|
/**
|
|
@@ -13268,7 +13454,7 @@ class ContentManagementApi {
|
|
|
13268
13454
|
/**
|
|
13269
13455
|
* ContentManagement service.
|
|
13270
13456
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13271
|
-
* @version
|
|
13457
|
+
* @version 212.0.0
|
|
13272
13458
|
*/
|
|
13273
13459
|
|
|
13274
13460
|
/**
|
|
@@ -14349,7 +14535,7 @@ class ConversationsApi {
|
|
|
14349
14535
|
/**
|
|
14350
14536
|
* Conversations service.
|
|
14351
14537
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14352
|
-
* @version
|
|
14538
|
+
* @version 212.0.0
|
|
14353
14539
|
*/
|
|
14354
14540
|
|
|
14355
14541
|
/**
|
|
@@ -20556,8 +20742,12 @@ class ConversationsApi {
|
|
|
20556
20742
|
* Send an agentless outbound message
|
|
20557
20743
|
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and toAddress specified, the useExistingActiveConversation param can be used to barge in to the ongoing conversation.
|
|
20558
20744
|
* @param {Object} body Create agentless outbound messaging request
|
|
20745
|
+
* @param {Object} opts Optional parameters
|
|
20746
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
|
|
20559
20747
|
*/
|
|
20560
|
-
postConversationsMessagesAgentless(body) {
|
|
20748
|
+
postConversationsMessagesAgentless(body, opts) {
|
|
20749
|
+
opts = opts || {};
|
|
20750
|
+
|
|
20561
20751
|
// verify the required parameter 'body' is set
|
|
20562
20752
|
if (body === undefined || body === null) {
|
|
20563
20753
|
throw 'Missing the required parameter "body" when calling postConversationsMessagesAgentless';
|
|
@@ -20567,7 +20757,7 @@ class ConversationsApi {
|
|
|
20567
20757
|
'/api/v2/conversations/messages/agentless',
|
|
20568
20758
|
'POST',
|
|
20569
20759
|
{ },
|
|
20570
|
-
{
|
|
20760
|
+
{ 'useNormalizedMessage': opts['useNormalizedMessage'] },
|
|
20571
20761
|
{ },
|
|
20572
20762
|
{ },
|
|
20573
20763
|
body,
|
|
@@ -21490,7 +21680,7 @@ class DataExtensionsApi {
|
|
|
21490
21680
|
/**
|
|
21491
21681
|
* DataExtensions service.
|
|
21492
21682
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21493
|
-
* @version
|
|
21683
|
+
* @version 212.0.0
|
|
21494
21684
|
*/
|
|
21495
21685
|
|
|
21496
21686
|
/**
|
|
@@ -21576,7 +21766,7 @@ class DataPrivacyApi {
|
|
|
21576
21766
|
/**
|
|
21577
21767
|
* DataPrivacy service.
|
|
21578
21768
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21579
|
-
* @version
|
|
21769
|
+
* @version 212.0.0
|
|
21580
21770
|
*/
|
|
21581
21771
|
|
|
21582
21772
|
/**
|
|
@@ -21746,7 +21936,7 @@ class DownloadsApi {
|
|
|
21746
21936
|
/**
|
|
21747
21937
|
* Downloads service.
|
|
21748
21938
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21749
|
-
* @version
|
|
21939
|
+
* @version 212.0.0
|
|
21750
21940
|
*/
|
|
21751
21941
|
|
|
21752
21942
|
/**
|
|
@@ -21798,7 +21988,7 @@ class EmailsApi {
|
|
|
21798
21988
|
/**
|
|
21799
21989
|
* Emails service.
|
|
21800
21990
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
21801
|
-
* @version
|
|
21991
|
+
* @version 212.0.0
|
|
21802
21992
|
*/
|
|
21803
21993
|
|
|
21804
21994
|
/**
|
|
@@ -21863,7 +22053,7 @@ class EmployeeEngagementApi {
|
|
|
21863
22053
|
/**
|
|
21864
22054
|
* EmployeeEngagement service.
|
|
21865
22055
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
21866
|
-
* @version
|
|
22056
|
+
* @version 212.0.0
|
|
21867
22057
|
*/
|
|
21868
22058
|
|
|
21869
22059
|
/**
|
|
@@ -22014,7 +22204,7 @@ class EventsApi {
|
|
|
22014
22204
|
/**
|
|
22015
22205
|
* Events service.
|
|
22016
22206
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
22017
|
-
* @version
|
|
22207
|
+
* @version 212.0.0
|
|
22018
22208
|
*/
|
|
22019
22209
|
|
|
22020
22210
|
/**
|
|
@@ -22110,7 +22300,7 @@ class ExternalContactsApi {
|
|
|
22110
22300
|
/**
|
|
22111
22301
|
* ExternalContacts service.
|
|
22112
22302
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
22113
|
-
* @version
|
|
22303
|
+
* @version 212.0.0
|
|
22114
22304
|
*/
|
|
22115
22305
|
|
|
22116
22306
|
/**
|
|
@@ -23986,10 +24176,11 @@ class ExternalContactsApi {
|
|
|
23986
24176
|
|
|
23987
24177
|
/**
|
|
23988
24178
|
* Fetch a contact using an identifier type and value.
|
|
23989
|
-
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
24179
|
+
* NOTE: Deprecated. Please use /api/v2/externalcontacts/identifierlookup/contacts as an alternative endpoint instead. Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
23990
24180
|
* @param {Object} identifier
|
|
23991
24181
|
* @param {Object} opts Optional parameters
|
|
23992
24182
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
24183
|
+
* @deprecated
|
|
23993
24184
|
*/
|
|
23994
24185
|
postExternalcontactsIdentifierlookup(identifier, opts) {
|
|
23995
24186
|
opts = opts || {};
|
|
@@ -24674,7 +24865,7 @@ class FaxApi {
|
|
|
24674
24865
|
/**
|
|
24675
24866
|
* Fax service.
|
|
24676
24867
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
24677
|
-
* @version
|
|
24868
|
+
* @version 212.0.0
|
|
24678
24869
|
*/
|
|
24679
24870
|
|
|
24680
24871
|
/**
|
|
@@ -24889,7 +25080,7 @@ class FlowsApi {
|
|
|
24889
25080
|
/**
|
|
24890
25081
|
* Flows service.
|
|
24891
25082
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
24892
|
-
* @version
|
|
25083
|
+
* @version 212.0.0
|
|
24893
25084
|
*/
|
|
24894
25085
|
|
|
24895
25086
|
/**
|
|
@@ -25072,7 +25263,7 @@ class GamificationApi {
|
|
|
25072
25263
|
/**
|
|
25073
25264
|
* Gamification service.
|
|
25074
25265
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25075
|
-
* @version
|
|
25266
|
+
* @version 212.0.0
|
|
25076
25267
|
*/
|
|
25077
25268
|
|
|
25078
25269
|
/**
|
|
@@ -27158,7 +27349,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27158
27349
|
/**
|
|
27159
27350
|
* GeneralDataProtectionRegulation service.
|
|
27160
27351
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27161
|
-
* @version
|
|
27352
|
+
* @version 212.0.0
|
|
27162
27353
|
*/
|
|
27163
27354
|
|
|
27164
27355
|
/**
|
|
@@ -27288,7 +27479,7 @@ class GeolocationApi {
|
|
|
27288
27479
|
/**
|
|
27289
27480
|
* Geolocation service.
|
|
27290
27481
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27291
|
-
* @version
|
|
27482
|
+
* @version 212.0.0
|
|
27292
27483
|
*/
|
|
27293
27484
|
|
|
27294
27485
|
/**
|
|
@@ -27419,7 +27610,7 @@ class GreetingsApi {
|
|
|
27419
27610
|
/**
|
|
27420
27611
|
* Greetings service.
|
|
27421
27612
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27422
|
-
* @version
|
|
27613
|
+
* @version 212.0.0
|
|
27423
27614
|
*/
|
|
27424
27615
|
|
|
27425
27616
|
/**
|
|
@@ -27874,7 +28065,7 @@ class GroupsApi {
|
|
|
27874
28065
|
/**
|
|
27875
28066
|
* Groups service.
|
|
27876
28067
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27877
|
-
* @version
|
|
28068
|
+
* @version 212.0.0
|
|
27878
28069
|
*/
|
|
27879
28070
|
|
|
27880
28071
|
/**
|
|
@@ -28393,7 +28584,7 @@ class IdentityProviderApi {
|
|
|
28393
28584
|
/**
|
|
28394
28585
|
* IdentityProvider service.
|
|
28395
28586
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28396
|
-
* @version
|
|
28587
|
+
* @version 212.0.0
|
|
28397
28588
|
*/
|
|
28398
28589
|
|
|
28399
28590
|
/**
|
|
@@ -29254,7 +29445,7 @@ class InfrastructureAsCodeApi {
|
|
|
29254
29445
|
/**
|
|
29255
29446
|
* InfrastructureAsCode service.
|
|
29256
29447
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
29257
|
-
* @version
|
|
29448
|
+
* @version 212.0.0
|
|
29258
29449
|
*/
|
|
29259
29450
|
|
|
29260
29451
|
/**
|
|
@@ -29421,7 +29612,7 @@ class IntegrationsApi {
|
|
|
29421
29612
|
/**
|
|
29422
29613
|
* Integrations service.
|
|
29423
29614
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29424
|
-
* @version
|
|
29615
|
+
* @version 212.0.0
|
|
29425
29616
|
*/
|
|
29426
29617
|
|
|
29427
29618
|
/**
|
|
@@ -31863,7 +32054,7 @@ class JourneyApi {
|
|
|
31863
32054
|
/**
|
|
31864
32055
|
* Journey service.
|
|
31865
32056
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31866
|
-
* @version
|
|
32057
|
+
* @version 212.0.0
|
|
31867
32058
|
*/
|
|
31868
32059
|
|
|
31869
32060
|
/**
|
|
@@ -33828,7 +34019,7 @@ class KnowledgeApi {
|
|
|
33828
34019
|
/**
|
|
33829
34020
|
* Knowledge service.
|
|
33830
34021
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
33831
|
-
* @version
|
|
34022
|
+
* @version 212.0.0
|
|
33832
34023
|
*/
|
|
33833
34024
|
|
|
33834
34025
|
/**
|
|
@@ -37704,7 +37895,7 @@ class LanguageUnderstandingApi {
|
|
|
37704
37895
|
/**
|
|
37705
37896
|
* LanguageUnderstanding service.
|
|
37706
37897
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
37707
|
-
* @version
|
|
37898
|
+
* @version 212.0.0
|
|
37708
37899
|
*/
|
|
37709
37900
|
|
|
37710
37901
|
/**
|
|
@@ -38347,7 +38538,6 @@ class LanguageUnderstandingApi {
|
|
|
38347
38538
|
/**
|
|
38348
38539
|
* Get Organization Configuration
|
|
38349
38540
|
*
|
|
38350
|
-
* getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
38351
38541
|
*/
|
|
38352
38542
|
getLanguageunderstandingSettings() {
|
|
38353
38543
|
|
|
@@ -38738,7 +38928,7 @@ class LanguagesApi {
|
|
|
38738
38928
|
/**
|
|
38739
38929
|
* Languages service.
|
|
38740
38930
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
38741
|
-
* @version
|
|
38931
|
+
* @version 212.0.0
|
|
38742
38932
|
*/
|
|
38743
38933
|
|
|
38744
38934
|
/**
|
|
@@ -38960,7 +39150,7 @@ class LearningApi {
|
|
|
38960
39150
|
/**
|
|
38961
39151
|
* Learning service.
|
|
38962
39152
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
38963
|
-
* @version
|
|
39153
|
+
* @version 212.0.0
|
|
38964
39154
|
*/
|
|
38965
39155
|
|
|
38966
39156
|
/**
|
|
@@ -39989,7 +40179,7 @@ class LicenseApi {
|
|
|
39989
40179
|
/**
|
|
39990
40180
|
* License service.
|
|
39991
40181
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
39992
|
-
* @version
|
|
40182
|
+
* @version 212.0.0
|
|
39993
40183
|
*/
|
|
39994
40184
|
|
|
39995
40185
|
/**
|
|
@@ -40227,7 +40417,7 @@ class LocationsApi {
|
|
|
40227
40417
|
/**
|
|
40228
40418
|
* Locations service.
|
|
40229
40419
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
40230
|
-
* @version
|
|
40420
|
+
* @version 212.0.0
|
|
40231
40421
|
*/
|
|
40232
40422
|
|
|
40233
40423
|
/**
|
|
@@ -40463,7 +40653,7 @@ class LogCaptureApi {
|
|
|
40463
40653
|
/**
|
|
40464
40654
|
* LogCapture service.
|
|
40465
40655
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
40466
|
-
* @version
|
|
40656
|
+
* @version 212.0.0
|
|
40467
40657
|
*/
|
|
40468
40658
|
|
|
40469
40659
|
/**
|
|
@@ -40663,7 +40853,7 @@ class MessagingApi {
|
|
|
40663
40853
|
/**
|
|
40664
40854
|
* Messaging service.
|
|
40665
40855
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
40666
|
-
* @version
|
|
40856
|
+
* @version 212.0.0
|
|
40667
40857
|
*/
|
|
40668
40858
|
|
|
40669
40859
|
/**
|
|
@@ -41022,7 +41212,7 @@ class MobileDevicesApi {
|
|
|
41022
41212
|
/**
|
|
41023
41213
|
* MobileDevices service.
|
|
41024
41214
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
41025
|
-
* @version
|
|
41215
|
+
* @version 212.0.0
|
|
41026
41216
|
*/
|
|
41027
41217
|
|
|
41028
41218
|
/**
|
|
@@ -41173,7 +41363,7 @@ class NotificationsApi {
|
|
|
41173
41363
|
/**
|
|
41174
41364
|
* Notifications service.
|
|
41175
41365
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
41176
|
-
* @version
|
|
41366
|
+
* @version 212.0.0
|
|
41177
41367
|
*/
|
|
41178
41368
|
|
|
41179
41369
|
/**
|
|
@@ -41406,7 +41596,7 @@ class OAuthApi {
|
|
|
41406
41596
|
/**
|
|
41407
41597
|
* OAuth service.
|
|
41408
41598
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
41409
|
-
* @version
|
|
41599
|
+
* @version 212.0.0
|
|
41410
41600
|
*/
|
|
41411
41601
|
|
|
41412
41602
|
/**
|
|
@@ -41772,7 +41962,7 @@ class ObjectsApi {
|
|
|
41772
41962
|
/**
|
|
41773
41963
|
* Objects service.
|
|
41774
41964
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
41775
|
-
* @version
|
|
41965
|
+
* @version 212.0.0
|
|
41776
41966
|
*/
|
|
41777
41967
|
|
|
41778
41968
|
/**
|
|
@@ -42042,7 +42232,7 @@ class OperationalEventsApi {
|
|
|
42042
42232
|
/**
|
|
42043
42233
|
* OperationalEvents service.
|
|
42044
42234
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
42045
|
-
* @version
|
|
42235
|
+
* @version 212.0.0
|
|
42046
42236
|
*/
|
|
42047
42237
|
|
|
42048
42238
|
/**
|
|
@@ -42159,7 +42349,7 @@ class OrganizationApi {
|
|
|
42159
42349
|
/**
|
|
42160
42350
|
* Organization service.
|
|
42161
42351
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
42162
|
-
* @version
|
|
42352
|
+
* @version 212.0.0
|
|
42163
42353
|
*/
|
|
42164
42354
|
|
|
42165
42355
|
/**
|
|
@@ -42701,7 +42891,7 @@ class OrganizationAuthorizationApi {
|
|
|
42701
42891
|
/**
|
|
42702
42892
|
* OrganizationAuthorization service.
|
|
42703
42893
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
42704
|
-
* @version
|
|
42894
|
+
* @version 212.0.0
|
|
42705
42895
|
*/
|
|
42706
42896
|
|
|
42707
42897
|
/**
|
|
@@ -44095,7 +44285,7 @@ class OutboundApi {
|
|
|
44095
44285
|
/**
|
|
44096
44286
|
* Outbound service.
|
|
44097
44287
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
44098
|
-
* @version
|
|
44288
|
+
* @version 212.0.0
|
|
44099
44289
|
*/
|
|
44100
44290
|
|
|
44101
44291
|
/**
|
|
@@ -48642,7 +48832,7 @@ class PresenceApi {
|
|
|
48642
48832
|
/**
|
|
48643
48833
|
* Presence service.
|
|
48644
48834
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
48645
|
-
* @version
|
|
48835
|
+
* @version 212.0.0
|
|
48646
48836
|
*/
|
|
48647
48837
|
|
|
48648
48838
|
/**
|
|
@@ -49386,7 +49576,7 @@ class ProcessAutomationApi {
|
|
|
49386
49576
|
/**
|
|
49387
49577
|
* ProcessAutomation service.
|
|
49388
49578
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
49389
|
-
* @version
|
|
49579
|
+
* @version 212.0.0
|
|
49390
49580
|
*/
|
|
49391
49581
|
|
|
49392
49582
|
/**
|
|
@@ -49625,7 +49815,7 @@ class QualityApi {
|
|
|
49625
49815
|
/**
|
|
49626
49816
|
* Quality service.
|
|
49627
49817
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
49628
|
-
* @version
|
|
49818
|
+
* @version 212.0.0
|
|
49629
49819
|
*/
|
|
49630
49820
|
|
|
49631
49821
|
/**
|
|
@@ -51413,7 +51603,7 @@ class RecordingApi {
|
|
|
51413
51603
|
/**
|
|
51414
51604
|
* Recording service.
|
|
51415
51605
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
51416
|
-
* @version
|
|
51606
|
+
* @version 212.0.0
|
|
51417
51607
|
*/
|
|
51418
51608
|
|
|
51419
51609
|
/**
|
|
@@ -53072,7 +53262,7 @@ class ResponseManagementApi {
|
|
|
53072
53262
|
/**
|
|
53073
53263
|
* ResponseManagement service.
|
|
53074
53264
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
53075
|
-
* @version
|
|
53265
|
+
* @version 212.0.0
|
|
53076
53266
|
*/
|
|
53077
53267
|
|
|
53078
53268
|
/**
|
|
@@ -53582,7 +53772,7 @@ class RoutingApi {
|
|
|
53582
53772
|
/**
|
|
53583
53773
|
* Routing service.
|
|
53584
53774
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
53585
|
-
* @version
|
|
53775
|
+
* @version 212.0.0
|
|
53586
53776
|
*/
|
|
53587
53777
|
|
|
53588
53778
|
/**
|
|
@@ -56227,7 +56417,7 @@ class RoutingApi {
|
|
|
56227
56417
|
}
|
|
56228
56418
|
|
|
56229
56419
|
/**
|
|
56230
|
-
* Join or unjoin a set of users for a queue
|
|
56420
|
+
* Join or unjoin a set of up to 100 users for a queue
|
|
56231
56421
|
*
|
|
56232
56422
|
* @param {String} queueId Queue ID
|
|
56233
56423
|
* @param {Array.<Object>} body Queue Members
|
|
@@ -57734,7 +57924,7 @@ class SCIMApi {
|
|
|
57734
57924
|
/**
|
|
57735
57925
|
* SCIM service.
|
|
57736
57926
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
57737
|
-
* @version
|
|
57927
|
+
* @version 212.0.0
|
|
57738
57928
|
*/
|
|
57739
57929
|
|
|
57740
57930
|
/**
|
|
@@ -58611,7 +58801,7 @@ class ScreenRecordingApi {
|
|
|
58611
58801
|
/**
|
|
58612
58802
|
* ScreenRecording service.
|
|
58613
58803
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
58614
|
-
* @version
|
|
58804
|
+
* @version 212.0.0
|
|
58615
58805
|
*/
|
|
58616
58806
|
|
|
58617
58807
|
/**
|
|
@@ -58656,7 +58846,7 @@ class ScriptsApi {
|
|
|
58656
58846
|
/**
|
|
58657
58847
|
* Scripts service.
|
|
58658
58848
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
58659
|
-
* @version
|
|
58849
|
+
* @version 212.0.0
|
|
58660
58850
|
*/
|
|
58661
58851
|
|
|
58662
58852
|
/**
|
|
@@ -59100,7 +59290,7 @@ class SearchApi {
|
|
|
59100
59290
|
/**
|
|
59101
59291
|
* Search service.
|
|
59102
59292
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
59103
|
-
* @version
|
|
59293
|
+
* @version 212.0.0
|
|
59104
59294
|
*/
|
|
59105
59295
|
|
|
59106
59296
|
/**
|
|
@@ -59843,7 +60033,7 @@ class SettingsApi {
|
|
|
59843
60033
|
/**
|
|
59844
60034
|
* Settings service.
|
|
59845
60035
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
59846
|
-
* @version
|
|
60036
|
+
* @version 212.0.0
|
|
59847
60037
|
*/
|
|
59848
60038
|
|
|
59849
60039
|
/**
|
|
@@ -60063,7 +60253,7 @@ class SocialMediaApi {
|
|
|
60063
60253
|
/**
|
|
60064
60254
|
* SocialMedia service.
|
|
60065
60255
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
60066
|
-
* @version
|
|
60256
|
+
* @version 212.0.0
|
|
60067
60257
|
*/
|
|
60068
60258
|
|
|
60069
60259
|
/**
|
|
@@ -60968,7 +61158,7 @@ class SpeechTextAnalyticsApi {
|
|
|
60968
61158
|
/**
|
|
60969
61159
|
* SpeechTextAnalytics service.
|
|
60970
61160
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
60971
|
-
* @version
|
|
61161
|
+
* @version 212.0.0
|
|
60972
61162
|
*/
|
|
60973
61163
|
|
|
60974
61164
|
/**
|
|
@@ -62303,7 +62493,7 @@ class StationsApi {
|
|
|
62303
62493
|
/**
|
|
62304
62494
|
* Stations service.
|
|
62305
62495
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62306
|
-
* @version
|
|
62496
|
+
* @version 212.0.0
|
|
62307
62497
|
*/
|
|
62308
62498
|
|
|
62309
62499
|
/**
|
|
@@ -62405,7 +62595,7 @@ class SuggestApi {
|
|
|
62405
62595
|
/**
|
|
62406
62596
|
* Suggest service.
|
|
62407
62597
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62408
|
-
* @version
|
|
62598
|
+
* @version 212.0.0
|
|
62409
62599
|
*/
|
|
62410
62600
|
|
|
62411
62601
|
/**
|
|
@@ -62544,7 +62734,7 @@ class TaskManagementApi {
|
|
|
62544
62734
|
/**
|
|
62545
62735
|
* TaskManagement service.
|
|
62546
62736
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
62547
|
-
* @version
|
|
62737
|
+
* @version 212.0.0
|
|
62548
62738
|
*/
|
|
62549
62739
|
|
|
62550
62740
|
/**
|
|
@@ -62659,6 +62849,36 @@ class TaskManagementApi {
|
|
|
62659
62849
|
);
|
|
62660
62850
|
}
|
|
62661
62851
|
|
|
62852
|
+
/**
|
|
62853
|
+
* Delete a date based rule
|
|
62854
|
+
*
|
|
62855
|
+
* @param {String} worktypeId Worktype id
|
|
62856
|
+
* @param {String} ruleId ruleId
|
|
62857
|
+
*/
|
|
62858
|
+
deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
62859
|
+
// verify the required parameter 'worktypeId' is set
|
|
62860
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
62861
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
62862
|
+
}
|
|
62863
|
+
// verify the required parameter 'ruleId' is set
|
|
62864
|
+
if (ruleId === undefined || ruleId === null) {
|
|
62865
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
62866
|
+
}
|
|
62867
|
+
|
|
62868
|
+
return this.apiClient.callApi(
|
|
62869
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
62870
|
+
'DELETE',
|
|
62871
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
62872
|
+
{ },
|
|
62873
|
+
{ },
|
|
62874
|
+
{ },
|
|
62875
|
+
null,
|
|
62876
|
+
['PureCloud OAuth'],
|
|
62877
|
+
['application/json'],
|
|
62878
|
+
['application/json']
|
|
62879
|
+
);
|
|
62880
|
+
}
|
|
62881
|
+
|
|
62662
62882
|
/**
|
|
62663
62883
|
* Delete a rule
|
|
62664
62884
|
*
|
|
@@ -63241,6 +63461,66 @@ class TaskManagementApi {
|
|
|
63241
63461
|
);
|
|
63242
63462
|
}
|
|
63243
63463
|
|
|
63464
|
+
/**
|
|
63465
|
+
* Get a date based rule
|
|
63466
|
+
*
|
|
63467
|
+
* @param {String} worktypeId Worktype id
|
|
63468
|
+
* @param {String} ruleId ruleId
|
|
63469
|
+
*/
|
|
63470
|
+
getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
63471
|
+
// verify the required parameter 'worktypeId' is set
|
|
63472
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
63473
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
63474
|
+
}
|
|
63475
|
+
// verify the required parameter 'ruleId' is set
|
|
63476
|
+
if (ruleId === undefined || ruleId === null) {
|
|
63477
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
63478
|
+
}
|
|
63479
|
+
|
|
63480
|
+
return this.apiClient.callApi(
|
|
63481
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
63482
|
+
'GET',
|
|
63483
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
63484
|
+
{ },
|
|
63485
|
+
{ },
|
|
63486
|
+
{ },
|
|
63487
|
+
null,
|
|
63488
|
+
['PureCloud OAuth'],
|
|
63489
|
+
['application/json'],
|
|
63490
|
+
['application/json']
|
|
63491
|
+
);
|
|
63492
|
+
}
|
|
63493
|
+
|
|
63494
|
+
/**
|
|
63495
|
+
* Get all date based rules for a worktype
|
|
63496
|
+
*
|
|
63497
|
+
* @param {String} worktypeId Worktype id
|
|
63498
|
+
* @param {Object} opts Optional parameters
|
|
63499
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
63500
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
63501
|
+
*/
|
|
63502
|
+
getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, opts) {
|
|
63503
|
+
opts = opts || {};
|
|
63504
|
+
|
|
63505
|
+
// verify the required parameter 'worktypeId' is set
|
|
63506
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
63507
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';
|
|
63508
|
+
}
|
|
63509
|
+
|
|
63510
|
+
return this.apiClient.callApi(
|
|
63511
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
|
|
63512
|
+
'GET',
|
|
63513
|
+
{ 'worktypeId': worktypeId },
|
|
63514
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
63515
|
+
{ },
|
|
63516
|
+
{ },
|
|
63517
|
+
null,
|
|
63518
|
+
['PureCloud OAuth'],
|
|
63519
|
+
['application/json'],
|
|
63520
|
+
['application/json']
|
|
63521
|
+
);
|
|
63522
|
+
}
|
|
63523
|
+
|
|
63244
63524
|
/**
|
|
63245
63525
|
* Get an attribute change rule
|
|
63246
63526
|
*
|
|
@@ -63697,6 +63977,41 @@ class TaskManagementApi {
|
|
|
63697
63977
|
);
|
|
63698
63978
|
}
|
|
63699
63979
|
|
|
63980
|
+
/**
|
|
63981
|
+
* Update the attributes of a date based rule
|
|
63982
|
+
*
|
|
63983
|
+
* @param {String} worktypeId Worktype id
|
|
63984
|
+
* @param {String} ruleId ruleId
|
|
63985
|
+
* @param {Object} body Rule
|
|
63986
|
+
*/
|
|
63987
|
+
patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body) {
|
|
63988
|
+
// verify the required parameter 'worktypeId' is set
|
|
63989
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
63990
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
63991
|
+
}
|
|
63992
|
+
// verify the required parameter 'ruleId' is set
|
|
63993
|
+
if (ruleId === undefined || ruleId === null) {
|
|
63994
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
63995
|
+
}
|
|
63996
|
+
// verify the required parameter 'body' is set
|
|
63997
|
+
if (body === undefined || body === null) {
|
|
63998
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
63999
|
+
}
|
|
64000
|
+
|
|
64001
|
+
return this.apiClient.callApi(
|
|
64002
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
64003
|
+
'PATCH',
|
|
64004
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
64005
|
+
{ },
|
|
64006
|
+
{ },
|
|
64007
|
+
{ },
|
|
64008
|
+
body,
|
|
64009
|
+
['PureCloud OAuth'],
|
|
64010
|
+
['application/json'],
|
|
64011
|
+
['application/json']
|
|
64012
|
+
);
|
|
64013
|
+
}
|
|
64014
|
+
|
|
63700
64015
|
/**
|
|
63701
64016
|
* Update the attributes of a rule
|
|
63702
64017
|
*
|
|
@@ -64032,6 +64347,36 @@ class TaskManagementApi {
|
|
|
64032
64347
|
);
|
|
64033
64348
|
}
|
|
64034
64349
|
|
|
64350
|
+
/**
|
|
64351
|
+
* Add a date based rule to a worktype
|
|
64352
|
+
*
|
|
64353
|
+
* @param {String} worktypeId Worktype id
|
|
64354
|
+
* @param {Object} body Rule
|
|
64355
|
+
*/
|
|
64356
|
+
postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body) {
|
|
64357
|
+
// verify the required parameter 'worktypeId' is set
|
|
64358
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
64359
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
64360
|
+
}
|
|
64361
|
+
// verify the required parameter 'body' is set
|
|
64362
|
+
if (body === undefined || body === null) {
|
|
64363
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
64364
|
+
}
|
|
64365
|
+
|
|
64366
|
+
return this.apiClient.callApi(
|
|
64367
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
|
|
64368
|
+
'POST',
|
|
64369
|
+
{ 'worktypeId': worktypeId },
|
|
64370
|
+
{ },
|
|
64371
|
+
{ },
|
|
64372
|
+
{ },
|
|
64373
|
+
body,
|
|
64374
|
+
['PureCloud OAuth'],
|
|
64375
|
+
['application/json'],
|
|
64376
|
+
['application/json']
|
|
64377
|
+
);
|
|
64378
|
+
}
|
|
64379
|
+
|
|
64035
64380
|
/**
|
|
64036
64381
|
* Add an attribute-change rule to a worktype
|
|
64037
64382
|
*
|
|
@@ -64208,7 +64553,7 @@ class TeamsApi {
|
|
|
64208
64553
|
/**
|
|
64209
64554
|
* Teams service.
|
|
64210
64555
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
64211
|
-
* @version
|
|
64556
|
+
* @version 212.0.0
|
|
64212
64557
|
*/
|
|
64213
64558
|
|
|
64214
64559
|
/**
|
|
@@ -64513,7 +64858,7 @@ class TelephonyApi {
|
|
|
64513
64858
|
/**
|
|
64514
64859
|
* Telephony service.
|
|
64515
64860
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
64516
|
-
* @version
|
|
64861
|
+
* @version 212.0.0
|
|
64517
64862
|
*/
|
|
64518
64863
|
|
|
64519
64864
|
/**
|
|
@@ -64695,7 +65040,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
64695
65040
|
/**
|
|
64696
65041
|
* TelephonyProvidersEdge service.
|
|
64697
65042
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
64698
|
-
* @version
|
|
65043
|
+
* @version 212.0.0
|
|
64699
65044
|
*/
|
|
64700
65045
|
|
|
64701
65046
|
/**
|
|
@@ -68146,7 +68491,7 @@ class TextbotsApi {
|
|
|
68146
68491
|
/**
|
|
68147
68492
|
* Textbots service.
|
|
68148
68493
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
68149
|
-
* @version
|
|
68494
|
+
* @version 212.0.0
|
|
68150
68495
|
*/
|
|
68151
68496
|
|
|
68152
68497
|
/**
|
|
@@ -68274,7 +68619,7 @@ class TokensApi {
|
|
|
68274
68619
|
/**
|
|
68275
68620
|
* Tokens service.
|
|
68276
68621
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
68277
|
-
* @version
|
|
68622
|
+
* @version 212.0.0
|
|
68278
68623
|
*/
|
|
68279
68624
|
|
|
68280
68625
|
/**
|
|
@@ -68428,7 +68773,7 @@ class UploadsApi {
|
|
|
68428
68773
|
/**
|
|
68429
68774
|
* Uploads service.
|
|
68430
68775
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
68431
|
-
* @version
|
|
68776
|
+
* @version 212.0.0
|
|
68432
68777
|
*/
|
|
68433
68778
|
|
|
68434
68779
|
/**
|
|
@@ -68697,7 +69042,7 @@ class UsageApi {
|
|
|
68697
69042
|
/**
|
|
68698
69043
|
* Usage service.
|
|
68699
69044
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
68700
|
-
* @version
|
|
69045
|
+
* @version 212.0.0
|
|
68701
69046
|
*/
|
|
68702
69047
|
|
|
68703
69048
|
/**
|
|
@@ -68912,7 +69257,7 @@ class UserRecordingsApi {
|
|
|
68912
69257
|
/**
|
|
68913
69258
|
* UserRecordings service.
|
|
68914
69259
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
68915
|
-
* @version
|
|
69260
|
+
* @version 212.0.0
|
|
68916
69261
|
*/
|
|
68917
69262
|
|
|
68918
69263
|
/**
|
|
@@ -69127,7 +69472,7 @@ class UsersApi {
|
|
|
69127
69472
|
/**
|
|
69128
69473
|
* Users service.
|
|
69129
69474
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
69130
|
-
* @version
|
|
69475
|
+
* @version 212.0.0
|
|
69131
69476
|
*/
|
|
69132
69477
|
|
|
69133
69478
|
/**
|
|
@@ -71956,7 +72301,7 @@ class UtilitiesApi {
|
|
|
71956
72301
|
/**
|
|
71957
72302
|
* Utilities service.
|
|
71958
72303
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
71959
|
-
* @version
|
|
72304
|
+
* @version 212.0.0
|
|
71960
72305
|
*/
|
|
71961
72306
|
|
|
71962
72307
|
/**
|
|
@@ -72067,7 +72412,7 @@ class VoicemailApi {
|
|
|
72067
72412
|
/**
|
|
72068
72413
|
* Voicemail service.
|
|
72069
72414
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
72070
|
-
* @version
|
|
72415
|
+
* @version 212.0.0
|
|
72071
72416
|
*/
|
|
72072
72417
|
|
|
72073
72418
|
/**
|
|
@@ -72789,7 +73134,7 @@ class WebChatApi {
|
|
|
72789
73134
|
/**
|
|
72790
73135
|
* WebChat service.
|
|
72791
73136
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
72792
|
-
* @version
|
|
73137
|
+
* @version 212.0.0
|
|
72793
73138
|
*/
|
|
72794
73139
|
|
|
72795
73140
|
/**
|
|
@@ -73340,7 +73685,7 @@ class WebDeploymentsApi {
|
|
|
73340
73685
|
/**
|
|
73341
73686
|
* WebDeployments service.
|
|
73342
73687
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
73343
|
-
* @version
|
|
73688
|
+
* @version 212.0.0
|
|
73344
73689
|
*/
|
|
73345
73690
|
|
|
73346
73691
|
/**
|
|
@@ -73867,7 +74212,7 @@ class WebMessagingApi {
|
|
|
73867
74212
|
/**
|
|
73868
74213
|
* WebMessaging service.
|
|
73869
74214
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
73870
|
-
* @version
|
|
74215
|
+
* @version 212.0.0
|
|
73871
74216
|
*/
|
|
73872
74217
|
|
|
73873
74218
|
/**
|
|
@@ -73913,7 +74258,7 @@ class WidgetsApi {
|
|
|
73913
74258
|
/**
|
|
73914
74259
|
* Widgets service.
|
|
73915
74260
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
73916
|
-
* @version
|
|
74261
|
+
* @version 212.0.0
|
|
73917
74262
|
*/
|
|
73918
74263
|
|
|
73919
74264
|
/**
|
|
@@ -74059,7 +74404,7 @@ class WorkforceManagementApi {
|
|
|
74059
74404
|
/**
|
|
74060
74405
|
* WorkforceManagement service.
|
|
74061
74406
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
74062
|
-
* @version
|
|
74407
|
+
* @version 212.0.0
|
|
74063
74408
|
*/
|
|
74064
74409
|
|
|
74065
74410
|
/**
|
|
@@ -81265,7 +81610,7 @@ class WorkforceManagementApi {
|
|
|
81265
81610
|
* </pre>
|
|
81266
81611
|
* </p>
|
|
81267
81612
|
* @module purecloud-platform-client-v2/index
|
|
81268
|
-
* @version
|
|
81613
|
+
* @version 212.0.0
|
|
81269
81614
|
*/
|
|
81270
81615
|
class platformClient {
|
|
81271
81616
|
constructor() {
|