purecloud-platform-client-v2 215.0.0 → 216.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 +559 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +559 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +203 -96
- package/dist/web-cjs/purecloud-platform-client-v2.js +204 -97
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +484 -255
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- 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 +1 -2
- 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 +379 -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 +1 -1
- 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 +9 -4
- 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 +21 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -31
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +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 +70 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* @module purecloud-platform-client-v2/ApiClient
|
|
690
|
-
* @version
|
|
690
|
+
* @version 216.0.0
|
|
691
691
|
*/
|
|
692
692
|
class ApiClient {
|
|
693
693
|
/**
|
|
@@ -2231,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2231
2231
|
/**
|
|
2232
2232
|
* AgentAssistants service.
|
|
2233
2233
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2234
|
-
* @version
|
|
2234
|
+
* @version 216.0.0
|
|
2235
2235
|
*/
|
|
2236
2236
|
|
|
2237
2237
|
/**
|
|
@@ -2607,7 +2607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2607
2607
|
/**
|
|
2608
2608
|
* AgentCopilot service.
|
|
2609
2609
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2610
|
-
* @version
|
|
2610
|
+
* @version 216.0.0
|
|
2611
2611
|
*/
|
|
2612
2612
|
|
|
2613
2613
|
/**
|
|
@@ -2683,7 +2683,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2683
2683
|
/**
|
|
2684
2684
|
* AgentUI service.
|
|
2685
2685
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2686
|
-
* @version
|
|
2686
|
+
* @version 216.0.0
|
|
2687
2687
|
*/
|
|
2688
2688
|
|
|
2689
2689
|
/**
|
|
@@ -2814,7 +2814,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2814
2814
|
/**
|
|
2815
2815
|
* Alerting service.
|
|
2816
2816
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2817
|
-
* @version
|
|
2817
|
+
* @version 216.0.0
|
|
2818
2818
|
*/
|
|
2819
2819
|
|
|
2820
2820
|
/**
|
|
@@ -3519,7 +3519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3519
3519
|
/**
|
|
3520
3520
|
* Analytics service.
|
|
3521
3521
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3522
|
-
* @version
|
|
3522
|
+
* @version 216.0.0
|
|
3523
3523
|
*/
|
|
3524
3524
|
|
|
3525
3525
|
/**
|
|
@@ -5952,7 +5952,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5952
5952
|
* Query for summary aggregates
|
|
5953
5953
|
*
|
|
5954
5954
|
* @param {Object} body query
|
|
5955
|
-
* postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5956
5955
|
*/
|
|
5957
5956
|
postAnalyticsSummariesAggregatesQuery(body) {
|
|
5958
5957
|
// verify the required parameter 'body' is set
|
|
@@ -6344,7 +6343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6344
6343
|
/**
|
|
6345
6344
|
* Architect service.
|
|
6346
6345
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6347
|
-
* @version
|
|
6346
|
+
* @version 216.0.0
|
|
6348
6347
|
*/
|
|
6349
6348
|
|
|
6350
6349
|
/**
|
|
@@ -10466,7 +10465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10466
10465
|
/**
|
|
10467
10466
|
* Audit service.
|
|
10468
10467
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10469
|
-
* @version
|
|
10468
|
+
* @version 216.0.0
|
|
10470
10469
|
*/
|
|
10471
10470
|
|
|
10472
10471
|
/**
|
|
@@ -10667,7 +10666,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10667
10666
|
/**
|
|
10668
10667
|
* Authorization service.
|
|
10669
10668
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10670
|
-
* @version
|
|
10669
|
+
* @version 216.0.0
|
|
10671
10670
|
*/
|
|
10672
10671
|
|
|
10673
10672
|
/**
|
|
@@ -10711,6 +10710,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10711
10710
|
);
|
|
10712
10711
|
}
|
|
10713
10712
|
|
|
10713
|
+
/**
|
|
10714
|
+
* Delete an access control policy
|
|
10715
|
+
*
|
|
10716
|
+
* @param {String} targetName The domain:entity:action target to which the policy is applied
|
|
10717
|
+
* @param {String} subjectId The ID of the subject to which the policy is applied
|
|
10718
|
+
* deleteAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10719
|
+
*/
|
|
10720
|
+
deleteAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
10721
|
+
// verify the required parameter 'targetName' is set
|
|
10722
|
+
if (targetName === undefined || targetName === null) {
|
|
10723
|
+
throw 'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10724
|
+
}
|
|
10725
|
+
// verify the required parameter 'subjectId' is set
|
|
10726
|
+
if (subjectId === undefined || subjectId === null) {
|
|
10727
|
+
throw 'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10728
|
+
}
|
|
10729
|
+
|
|
10730
|
+
return this.apiClient.callApi(
|
|
10731
|
+
'/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
|
|
10732
|
+
'DELETE',
|
|
10733
|
+
{ 'targetName': targetName,'subjectId': subjectId },
|
|
10734
|
+
{ },
|
|
10735
|
+
{ },
|
|
10736
|
+
{ },
|
|
10737
|
+
null,
|
|
10738
|
+
['PureCloud OAuth'],
|
|
10739
|
+
['application/json'],
|
|
10740
|
+
['application/json']
|
|
10741
|
+
);
|
|
10742
|
+
}
|
|
10743
|
+
|
|
10714
10744
|
/**
|
|
10715
10745
|
* Delete an organization role.
|
|
10716
10746
|
*
|
|
@@ -11025,6 +11055,198 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11025
11055
|
);
|
|
11026
11056
|
}
|
|
11027
11057
|
|
|
11058
|
+
/**
|
|
11059
|
+
* Get a page of access policies for an organization
|
|
11060
|
+
*
|
|
11061
|
+
* @param {Object} opts Optional parameters
|
|
11062
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11063
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
11064
|
+
* getAuthorizationPolicies is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11065
|
+
*/
|
|
11066
|
+
getAuthorizationPolicies(opts) {
|
|
11067
|
+
opts = opts || {};
|
|
11068
|
+
|
|
11069
|
+
|
|
11070
|
+
return this.apiClient.callApi(
|
|
11071
|
+
'/api/v2/authorization/policies',
|
|
11072
|
+
'GET',
|
|
11073
|
+
{ },
|
|
11074
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
11075
|
+
{ },
|
|
11076
|
+
{ },
|
|
11077
|
+
null,
|
|
11078
|
+
['PureCloud OAuth'],
|
|
11079
|
+
['application/json'],
|
|
11080
|
+
['application/json']
|
|
11081
|
+
);
|
|
11082
|
+
}
|
|
11083
|
+
|
|
11084
|
+
/**
|
|
11085
|
+
* Get a page of access policies for a given subject
|
|
11086
|
+
*
|
|
11087
|
+
* @param {String} subjectId The ID of the subject to which policies are applied
|
|
11088
|
+
* @param {Object} opts Optional parameters
|
|
11089
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11090
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
11091
|
+
* getAuthorizationPoliciesSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11092
|
+
*/
|
|
11093
|
+
getAuthorizationPoliciesSubjectSubjectId(subjectId, opts) {
|
|
11094
|
+
opts = opts || {};
|
|
11095
|
+
|
|
11096
|
+
// verify the required parameter 'subjectId' is set
|
|
11097
|
+
if (subjectId === undefined || subjectId === null) {
|
|
11098
|
+
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';
|
|
11099
|
+
}
|
|
11100
|
+
|
|
11101
|
+
return this.apiClient.callApi(
|
|
11102
|
+
'/api/v2/authorization/policies/subject/{subjectId}',
|
|
11103
|
+
'GET',
|
|
11104
|
+
{ 'subjectId': subjectId },
|
|
11105
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
11106
|
+
{ },
|
|
11107
|
+
{ },
|
|
11108
|
+
null,
|
|
11109
|
+
['PureCloud OAuth'],
|
|
11110
|
+
['application/json'],
|
|
11111
|
+
['application/json']
|
|
11112
|
+
);
|
|
11113
|
+
}
|
|
11114
|
+
|
|
11115
|
+
/**
|
|
11116
|
+
* Get a page of access policies for a given policy target
|
|
11117
|
+
*
|
|
11118
|
+
* @param {String} targetName The domain:entity:action resource target to which policies are applied
|
|
11119
|
+
* @param {Object} opts Optional parameters
|
|
11120
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11121
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
11122
|
+
* getAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11123
|
+
*/
|
|
11124
|
+
getAuthorizationPoliciesTarget(targetName, opts) {
|
|
11125
|
+
opts = opts || {};
|
|
11126
|
+
|
|
11127
|
+
// verify the required parameter 'targetName' is set
|
|
11128
|
+
if (targetName === undefined || targetName === null) {
|
|
11129
|
+
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';
|
|
11130
|
+
}
|
|
11131
|
+
|
|
11132
|
+
return this.apiClient.callApi(
|
|
11133
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
11134
|
+
'GET',
|
|
11135
|
+
{ 'targetName': targetName },
|
|
11136
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
11137
|
+
{ },
|
|
11138
|
+
{ },
|
|
11139
|
+
null,
|
|
11140
|
+
['PureCloud OAuth'],
|
|
11141
|
+
['application/json'],
|
|
11142
|
+
['application/json']
|
|
11143
|
+
);
|
|
11144
|
+
}
|
|
11145
|
+
|
|
11146
|
+
/**
|
|
11147
|
+
* Get an access control policy for a specified resource target and subject
|
|
11148
|
+
*
|
|
11149
|
+
* @param {String} targetName The domain:entity:action resource target to which the policy is applied
|
|
11150
|
+
* @param {String} subjectId The ID of the subject to which the policy is applied
|
|
11151
|
+
* getAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11152
|
+
*/
|
|
11153
|
+
getAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
11154
|
+
// verify the required parameter 'targetName' is set
|
|
11155
|
+
if (targetName === undefined || targetName === null) {
|
|
11156
|
+
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
11157
|
+
}
|
|
11158
|
+
// verify the required parameter 'subjectId' is set
|
|
11159
|
+
if (subjectId === undefined || subjectId === null) {
|
|
11160
|
+
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
11161
|
+
}
|
|
11162
|
+
|
|
11163
|
+
return this.apiClient.callApi(
|
|
11164
|
+
'/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
|
|
11165
|
+
'GET',
|
|
11166
|
+
{ 'targetName': targetName,'subjectId': subjectId },
|
|
11167
|
+
{ },
|
|
11168
|
+
{ },
|
|
11169
|
+
{ },
|
|
11170
|
+
null,
|
|
11171
|
+
['PureCloud OAuth'],
|
|
11172
|
+
['application/json'],
|
|
11173
|
+
['application/json']
|
|
11174
|
+
);
|
|
11175
|
+
}
|
|
11176
|
+
|
|
11177
|
+
/**
|
|
11178
|
+
* Get a map of policy targets to valid attributes for those targets
|
|
11179
|
+
*
|
|
11180
|
+
* getAuthorizationPoliciesTargets is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11181
|
+
*/
|
|
11182
|
+
getAuthorizationPoliciesTargets() {
|
|
11183
|
+
|
|
11184
|
+
return this.apiClient.callApi(
|
|
11185
|
+
'/api/v2/authorization/policies/targets',
|
|
11186
|
+
'GET',
|
|
11187
|
+
{ },
|
|
11188
|
+
{ },
|
|
11189
|
+
{ },
|
|
11190
|
+
{ },
|
|
11191
|
+
null,
|
|
11192
|
+
['PureCloud OAuth'],
|
|
11193
|
+
['application/json'],
|
|
11194
|
+
['application/json']
|
|
11195
|
+
);
|
|
11196
|
+
}
|
|
11197
|
+
|
|
11198
|
+
/**
|
|
11199
|
+
* Get an access control policy with the specified policy ID
|
|
11200
|
+
*
|
|
11201
|
+
* @param {String} policyId The ID of the policy to retrieve
|
|
11202
|
+
* getAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11203
|
+
*/
|
|
11204
|
+
getAuthorizationPolicy(policyId) {
|
|
11205
|
+
// verify the required parameter 'policyId' is set
|
|
11206
|
+
if (policyId === undefined || policyId === null) {
|
|
11207
|
+
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicy';
|
|
11208
|
+
}
|
|
11209
|
+
|
|
11210
|
+
return this.apiClient.callApi(
|
|
11211
|
+
'/api/v2/authorization/policies/{policyId}',
|
|
11212
|
+
'GET',
|
|
11213
|
+
{ 'policyId': policyId },
|
|
11214
|
+
{ },
|
|
11215
|
+
{ },
|
|
11216
|
+
{ },
|
|
11217
|
+
null,
|
|
11218
|
+
['PureCloud OAuth'],
|
|
11219
|
+
['application/json'],
|
|
11220
|
+
['application/json']
|
|
11221
|
+
);
|
|
11222
|
+
}
|
|
11223
|
+
|
|
11224
|
+
/**
|
|
11225
|
+
* Get the list of attributes used to evaluate an access control policy with the specified policy ID
|
|
11226
|
+
*
|
|
11227
|
+
* @param {String} policyId The ID of the policy to retrieve attributes
|
|
11228
|
+
* getAuthorizationPolicyAttributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11229
|
+
*/
|
|
11230
|
+
getAuthorizationPolicyAttributes(policyId) {
|
|
11231
|
+
// verify the required parameter 'policyId' is set
|
|
11232
|
+
if (policyId === undefined || policyId === null) {
|
|
11233
|
+
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';
|
|
11234
|
+
}
|
|
11235
|
+
|
|
11236
|
+
return this.apiClient.callApi(
|
|
11237
|
+
'/api/v2/authorization/policies/{policyId}/attributes',
|
|
11238
|
+
'GET',
|
|
11239
|
+
{ 'policyId': policyId },
|
|
11240
|
+
{ },
|
|
11241
|
+
{ },
|
|
11242
|
+
{ },
|
|
11243
|
+
null,
|
|
11244
|
+
['PureCloud OAuth'],
|
|
11245
|
+
['application/json'],
|
|
11246
|
+
['application/json']
|
|
11247
|
+
);
|
|
11248
|
+
}
|
|
11249
|
+
|
|
11028
11250
|
/**
|
|
11029
11251
|
* Get the list of enabled products
|
|
11030
11252
|
* Gets the list of enabled products. Some example product names are: collaborateFree, collaboratePro, communicate, and engage.
|
|
@@ -11489,6 +11711,99 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11489
11711
|
);
|
|
11490
11712
|
}
|
|
11491
11713
|
|
|
11714
|
+
/**
|
|
11715
|
+
* Add an access control policy for a specified resource target and subject
|
|
11716
|
+
*
|
|
11717
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
11718
|
+
* @param {Object} body Access control policy
|
|
11719
|
+
* postAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11720
|
+
*/
|
|
11721
|
+
postAuthorizationPoliciesTarget(targetName, body) {
|
|
11722
|
+
// verify the required parameter 'targetName' is set
|
|
11723
|
+
if (targetName === undefined || targetName === null) {
|
|
11724
|
+
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';
|
|
11725
|
+
}
|
|
11726
|
+
// verify the required parameter 'body' is set
|
|
11727
|
+
if (body === undefined || body === null) {
|
|
11728
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';
|
|
11729
|
+
}
|
|
11730
|
+
|
|
11731
|
+
return this.apiClient.callApi(
|
|
11732
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
11733
|
+
'POST',
|
|
11734
|
+
{ 'targetName': targetName },
|
|
11735
|
+
{ },
|
|
11736
|
+
{ },
|
|
11737
|
+
{ },
|
|
11738
|
+
body,
|
|
11739
|
+
['PureCloud OAuth'],
|
|
11740
|
+
['application/json'],
|
|
11741
|
+
['application/json']
|
|
11742
|
+
);
|
|
11743
|
+
}
|
|
11744
|
+
|
|
11745
|
+
/**
|
|
11746
|
+
* Validate the conditions and attributes of an access control policy for a specified resource target
|
|
11747
|
+
*
|
|
11748
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
11749
|
+
* @param {Object} body Access control policy
|
|
11750
|
+
* postAuthorizationPoliciesTargetValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11751
|
+
*/
|
|
11752
|
+
postAuthorizationPoliciesTargetValidate(targetName, body) {
|
|
11753
|
+
// verify the required parameter 'targetName' is set
|
|
11754
|
+
if (targetName === undefined || targetName === null) {
|
|
11755
|
+
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';
|
|
11756
|
+
}
|
|
11757
|
+
// verify the required parameter 'body' is set
|
|
11758
|
+
if (body === undefined || body === null) {
|
|
11759
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';
|
|
11760
|
+
}
|
|
11761
|
+
|
|
11762
|
+
return this.apiClient.callApi(
|
|
11763
|
+
'/api/v2/authorization/policies/targets/{targetName}/validate',
|
|
11764
|
+
'POST',
|
|
11765
|
+
{ 'targetName': targetName },
|
|
11766
|
+
{ },
|
|
11767
|
+
{ },
|
|
11768
|
+
{ },
|
|
11769
|
+
body,
|
|
11770
|
+
['PureCloud OAuth'],
|
|
11771
|
+
['application/json'],
|
|
11772
|
+
['application/json']
|
|
11773
|
+
);
|
|
11774
|
+
}
|
|
11775
|
+
|
|
11776
|
+
/**
|
|
11777
|
+
* Simulate a request and evaluate the specified policy ID against the provided values
|
|
11778
|
+
*
|
|
11779
|
+
* @param {String} policyId The ID of the policy to test the simulated data against
|
|
11780
|
+
* @param {Object} body A map of attribute names to type and simulated data value
|
|
11781
|
+
* postAuthorizationPolicySimulate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11782
|
+
*/
|
|
11783
|
+
postAuthorizationPolicySimulate(policyId, body) {
|
|
11784
|
+
// verify the required parameter 'policyId' is set
|
|
11785
|
+
if (policyId === undefined || policyId === null) {
|
|
11786
|
+
throw 'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';
|
|
11787
|
+
}
|
|
11788
|
+
// verify the required parameter 'body' is set
|
|
11789
|
+
if (body === undefined || body === null) {
|
|
11790
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';
|
|
11791
|
+
}
|
|
11792
|
+
|
|
11793
|
+
return this.apiClient.callApi(
|
|
11794
|
+
'/api/v2/authorization/policies/{policyId}/simulate',
|
|
11795
|
+
'POST',
|
|
11796
|
+
{ 'policyId': policyId },
|
|
11797
|
+
{ },
|
|
11798
|
+
{ },
|
|
11799
|
+
{ },
|
|
11800
|
+
body,
|
|
11801
|
+
['PureCloud OAuth'],
|
|
11802
|
+
['application/json'],
|
|
11803
|
+
['application/json']
|
|
11804
|
+
);
|
|
11805
|
+
}
|
|
11806
|
+
|
|
11492
11807
|
/**
|
|
11493
11808
|
* Bulk-grant subjects and divisions with an organization role.
|
|
11494
11809
|
*
|
|
@@ -11774,6 +12089,68 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11774
12089
|
);
|
|
11775
12090
|
}
|
|
11776
12091
|
|
|
12092
|
+
/**
|
|
12093
|
+
* Add an access control policy for a specified resource target and subject, overwriting any existing policy
|
|
12094
|
+
*
|
|
12095
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
12096
|
+
* @param {Object} body Access control policy
|
|
12097
|
+
* putAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12098
|
+
*/
|
|
12099
|
+
putAuthorizationPoliciesTarget(targetName, body) {
|
|
12100
|
+
// verify the required parameter 'targetName' is set
|
|
12101
|
+
if (targetName === undefined || targetName === null) {
|
|
12102
|
+
throw 'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';
|
|
12103
|
+
}
|
|
12104
|
+
// verify the required parameter 'body' is set
|
|
12105
|
+
if (body === undefined || body === null) {
|
|
12106
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';
|
|
12107
|
+
}
|
|
12108
|
+
|
|
12109
|
+
return this.apiClient.callApi(
|
|
12110
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
12111
|
+
'PUT',
|
|
12112
|
+
{ 'targetName': targetName },
|
|
12113
|
+
{ },
|
|
12114
|
+
{ },
|
|
12115
|
+
{ },
|
|
12116
|
+
body,
|
|
12117
|
+
['PureCloud OAuth'],
|
|
12118
|
+
['application/json'],
|
|
12119
|
+
['application/json']
|
|
12120
|
+
);
|
|
12121
|
+
}
|
|
12122
|
+
|
|
12123
|
+
/**
|
|
12124
|
+
* Update an access control policy with a given ID
|
|
12125
|
+
*
|
|
12126
|
+
* @param {String} policyId The ID of the policy to update
|
|
12127
|
+
* @param {Object} body Access control policy
|
|
12128
|
+
* putAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12129
|
+
*/
|
|
12130
|
+
putAuthorizationPolicy(policyId, body) {
|
|
12131
|
+
// verify the required parameter 'policyId' is set
|
|
12132
|
+
if (policyId === undefined || policyId === null) {
|
|
12133
|
+
throw 'Missing the required parameter "policyId" when calling putAuthorizationPolicy';
|
|
12134
|
+
}
|
|
12135
|
+
// verify the required parameter 'body' is set
|
|
12136
|
+
if (body === undefined || body === null) {
|
|
12137
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationPolicy';
|
|
12138
|
+
}
|
|
12139
|
+
|
|
12140
|
+
return this.apiClient.callApi(
|
|
12141
|
+
'/api/v2/authorization/policies/{policyId}',
|
|
12142
|
+
'PUT',
|
|
12143
|
+
{ 'policyId': policyId },
|
|
12144
|
+
{ },
|
|
12145
|
+
{ },
|
|
12146
|
+
{ },
|
|
12147
|
+
body,
|
|
12148
|
+
['PureCloud OAuth'],
|
|
12149
|
+
['application/json'],
|
|
12150
|
+
['application/json']
|
|
12151
|
+
);
|
|
12152
|
+
}
|
|
12153
|
+
|
|
11777
12154
|
/**
|
|
11778
12155
|
* Update an organization role.
|
|
11779
12156
|
* Update
|
|
@@ -11950,7 +12327,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11950
12327
|
/**
|
|
11951
12328
|
* Billing service.
|
|
11952
12329
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11953
|
-
* @version
|
|
12330
|
+
* @version 216.0.0
|
|
11954
12331
|
*/
|
|
11955
12332
|
|
|
11956
12333
|
/**
|
|
@@ -12030,7 +12407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12030
12407
|
/**
|
|
12031
12408
|
* CarrierServices service.
|
|
12032
12409
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
12033
|
-
* @version
|
|
12410
|
+
* @version 216.0.0
|
|
12034
12411
|
*/
|
|
12035
12412
|
|
|
12036
12413
|
/**
|
|
@@ -12100,7 +12477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12100
12477
|
/**
|
|
12101
12478
|
* Chat service.
|
|
12102
12479
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
12103
|
-
* @version
|
|
12480
|
+
* @version 216.0.0
|
|
12104
12481
|
*/
|
|
12105
12482
|
|
|
12106
12483
|
/**
|
|
@@ -13036,7 +13413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13036
13413
|
/**
|
|
13037
13414
|
* Coaching service.
|
|
13038
13415
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13039
|
-
* @version
|
|
13416
|
+
* @version 216.0.0
|
|
13040
13417
|
*/
|
|
13041
13418
|
|
|
13042
13419
|
/**
|
|
@@ -13613,7 +13990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13613
13990
|
/**
|
|
13614
13991
|
* ContentManagement service.
|
|
13615
13992
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13616
|
-
* @version
|
|
13993
|
+
* @version 216.0.0
|
|
13617
13994
|
*/
|
|
13618
13995
|
|
|
13619
13996
|
/**
|
|
@@ -14694,7 +15071,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14694
15071
|
/**
|
|
14695
15072
|
* Conversations service.
|
|
14696
15073
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14697
|
-
* @version
|
|
15074
|
+
* @version 216.0.0
|
|
14698
15075
|
*/
|
|
14699
15076
|
|
|
14700
15077
|
/**
|
|
@@ -21856,7 +22233,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21856
22233
|
/**
|
|
21857
22234
|
* DataExtensions service.
|
|
21858
22235
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21859
|
-
* @version
|
|
22236
|
+
* @version 216.0.0
|
|
21860
22237
|
*/
|
|
21861
22238
|
|
|
21862
22239
|
/**
|
|
@@ -21942,7 +22319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21942
22319
|
/**
|
|
21943
22320
|
* DataPrivacy service.
|
|
21944
22321
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21945
|
-
* @version
|
|
22322
|
+
* @version 216.0.0
|
|
21946
22323
|
*/
|
|
21947
22324
|
|
|
21948
22325
|
/**
|
|
@@ -22112,7 +22489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22112
22489
|
/**
|
|
22113
22490
|
* Downloads service.
|
|
22114
22491
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
22115
|
-
* @version
|
|
22492
|
+
* @version 216.0.0
|
|
22116
22493
|
*/
|
|
22117
22494
|
|
|
22118
22495
|
/**
|
|
@@ -22164,7 +22541,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22164
22541
|
/**
|
|
22165
22542
|
* Emails service.
|
|
22166
22543
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
22167
|
-
* @version
|
|
22544
|
+
* @version 216.0.0
|
|
22168
22545
|
*/
|
|
22169
22546
|
|
|
22170
22547
|
/**
|
|
@@ -22229,7 +22606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22229
22606
|
/**
|
|
22230
22607
|
* EmployeeEngagement service.
|
|
22231
22608
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
22232
|
-
* @version
|
|
22609
|
+
* @version 216.0.0
|
|
22233
22610
|
*/
|
|
22234
22611
|
|
|
22235
22612
|
/**
|
|
@@ -22380,7 +22757,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22380
22757
|
/**
|
|
22381
22758
|
* Events service.
|
|
22382
22759
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
22383
|
-
* @version
|
|
22760
|
+
* @version 216.0.0
|
|
22384
22761
|
*/
|
|
22385
22762
|
|
|
22386
22763
|
/**
|
|
@@ -22476,7 +22853,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22476
22853
|
/**
|
|
22477
22854
|
* ExternalContacts service.
|
|
22478
22855
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
22479
|
-
* @version
|
|
22856
|
+
* @version 216.0.0
|
|
22480
22857
|
*/
|
|
22481
22858
|
|
|
22482
22859
|
/**
|
|
@@ -23216,8 +23593,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23216
23593
|
* Get job based on id
|
|
23217
23594
|
*
|
|
23218
23595
|
* @param {String} jobId Job id
|
|
23596
|
+
* @param {Object} opts Optional parameters
|
|
23597
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23219
23598
|
*/
|
|
23220
|
-
getExternalcontactsImportJob(jobId) {
|
|
23599
|
+
getExternalcontactsImportJob(jobId, opts) {
|
|
23600
|
+
opts = opts || {};
|
|
23601
|
+
|
|
23221
23602
|
// verify the required parameter 'jobId' is set
|
|
23222
23603
|
if (jobId === undefined || jobId === null) {
|
|
23223
23604
|
throw 'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';
|
|
@@ -23227,7 +23608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23227
23608
|
'/api/v2/externalcontacts/import/jobs/{jobId}',
|
|
23228
23609
|
'GET',
|
|
23229
23610
|
{ 'jobId': jobId },
|
|
23230
|
-
{
|
|
23611
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
23231
23612
|
{ },
|
|
23232
23613
|
{ },
|
|
23233
23614
|
null,
|
|
@@ -23241,6 +23622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23241
23622
|
* List jobs for organization
|
|
23242
23623
|
*
|
|
23243
23624
|
* @param {Object} opts Optional parameters
|
|
23625
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23244
23626
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23245
23627
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
23246
23628
|
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
@@ -23254,7 +23636,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23254
23636
|
'/api/v2/externalcontacts/import/jobs',
|
|
23255
23637
|
'GET',
|
|
23256
23638
|
{ },
|
|
23257
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
|
|
23639
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
|
|
23258
23640
|
{ },
|
|
23259
23641
|
{ },
|
|
23260
23642
|
null,
|
|
@@ -25041,7 +25423,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25041
25423
|
/**
|
|
25042
25424
|
* Fax service.
|
|
25043
25425
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25044
|
-
* @version
|
|
25426
|
+
* @version 216.0.0
|
|
25045
25427
|
*/
|
|
25046
25428
|
|
|
25047
25429
|
/**
|
|
@@ -25256,7 +25638,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25256
25638
|
/**
|
|
25257
25639
|
* Flows service.
|
|
25258
25640
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25259
|
-
* @version
|
|
25641
|
+
* @version 216.0.0
|
|
25260
25642
|
*/
|
|
25261
25643
|
|
|
25262
25644
|
/**
|
|
@@ -25439,7 +25821,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25439
25821
|
/**
|
|
25440
25822
|
* Gamification service.
|
|
25441
25823
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25442
|
-
* @version
|
|
25824
|
+
* @version 216.0.0
|
|
25443
25825
|
*/
|
|
25444
25826
|
|
|
25445
25827
|
/**
|
|
@@ -27581,7 +27963,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27581
27963
|
/**
|
|
27582
27964
|
* GeneralDataProtectionRegulation service.
|
|
27583
27965
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27584
|
-
* @version
|
|
27966
|
+
* @version 216.0.0
|
|
27585
27967
|
*/
|
|
27586
27968
|
|
|
27587
27969
|
/**
|
|
@@ -27711,7 +28093,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27711
28093
|
/**
|
|
27712
28094
|
* Geolocation service.
|
|
27713
28095
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27714
|
-
* @version
|
|
28096
|
+
* @version 216.0.0
|
|
27715
28097
|
*/
|
|
27716
28098
|
|
|
27717
28099
|
/**
|
|
@@ -27842,7 +28224,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27842
28224
|
/**
|
|
27843
28225
|
* Greetings service.
|
|
27844
28226
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27845
|
-
* @version
|
|
28227
|
+
* @version 216.0.0
|
|
27846
28228
|
*/
|
|
27847
28229
|
|
|
27848
28230
|
/**
|
|
@@ -28297,7 +28679,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28297
28679
|
/**
|
|
28298
28680
|
* Groups service.
|
|
28299
28681
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28300
|
-
* @version
|
|
28682
|
+
* @version 216.0.0
|
|
28301
28683
|
*/
|
|
28302
28684
|
|
|
28303
28685
|
/**
|
|
@@ -28816,7 +29198,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28816
29198
|
/**
|
|
28817
29199
|
* IdentityProvider service.
|
|
28818
29200
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28819
|
-
* @version
|
|
29201
|
+
* @version 216.0.0
|
|
28820
29202
|
*/
|
|
28821
29203
|
|
|
28822
29204
|
/**
|
|
@@ -29677,7 +30059,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29677
30059
|
/**
|
|
29678
30060
|
* InfrastructureAsCode service.
|
|
29679
30061
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
29680
|
-
* @version
|
|
30062
|
+
* @version 216.0.0
|
|
29681
30063
|
*/
|
|
29682
30064
|
|
|
29683
30065
|
/**
|
|
@@ -29844,7 +30226,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29844
30226
|
/**
|
|
29845
30227
|
* Integrations service.
|
|
29846
30228
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29847
|
-
* @version
|
|
30229
|
+
* @version 216.0.0
|
|
29848
30230
|
*/
|
|
29849
30231
|
|
|
29850
30232
|
/**
|
|
@@ -32281,7 +32663,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32281
32663
|
/**
|
|
32282
32664
|
* Journey service.
|
|
32283
32665
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
32284
|
-
* @version
|
|
32666
|
+
* @version 216.0.0
|
|
32285
32667
|
*/
|
|
32286
32668
|
|
|
32287
32669
|
/**
|
|
@@ -33421,6 +33803,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33421
33803
|
);
|
|
33422
33804
|
}
|
|
33423
33805
|
|
|
33806
|
+
/**
|
|
33807
|
+
* Get details about the data available for journey queries including oldest and newest event dates
|
|
33808
|
+
*
|
|
33809
|
+
*/
|
|
33810
|
+
getJourneyViewsDataDetails() {
|
|
33811
|
+
|
|
33812
|
+
return this.apiClient.callApi(
|
|
33813
|
+
'/api/v2/journey/views/data/details',
|
|
33814
|
+
'GET',
|
|
33815
|
+
{ },
|
|
33816
|
+
{ },
|
|
33817
|
+
{ },
|
|
33818
|
+
{ },
|
|
33819
|
+
null,
|
|
33820
|
+
['PureCloud OAuth'],
|
|
33821
|
+
['application/json'],
|
|
33822
|
+
['application/json']
|
|
33823
|
+
);
|
|
33824
|
+
}
|
|
33825
|
+
|
|
33424
33826
|
/**
|
|
33425
33827
|
* Get an Event Definition
|
|
33426
33828
|
*
|
|
@@ -34246,7 +34648,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34246
34648
|
/**
|
|
34247
34649
|
* Knowledge service.
|
|
34248
34650
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
34249
|
-
* @version
|
|
34651
|
+
* @version 216.0.0
|
|
34250
34652
|
*/
|
|
34251
34653
|
|
|
34252
34654
|
/**
|
|
@@ -38122,7 +38524,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38122
38524
|
/**
|
|
38123
38525
|
* LanguageUnderstanding service.
|
|
38124
38526
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
38125
|
-
* @version
|
|
38527
|
+
* @version 216.0.0
|
|
38126
38528
|
*/
|
|
38127
38529
|
|
|
38128
38530
|
/**
|
|
@@ -39155,7 +39557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39155
39557
|
/**
|
|
39156
39558
|
* Languages service.
|
|
39157
39559
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
39158
|
-
* @version
|
|
39560
|
+
* @version 216.0.0
|
|
39159
39561
|
*/
|
|
39160
39562
|
|
|
39161
39563
|
/**
|
|
@@ -39377,7 +39779,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39377
39779
|
/**
|
|
39378
39780
|
* Learning service.
|
|
39379
39781
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
39380
|
-
* @version
|
|
39782
|
+
* @version 216.0.0
|
|
39381
39783
|
*/
|
|
39382
39784
|
|
|
39383
39785
|
/**
|
|
@@ -40406,7 +40808,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40406
40808
|
/**
|
|
40407
40809
|
* License service.
|
|
40408
40810
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
40409
|
-
* @version
|
|
40811
|
+
* @version 216.0.0
|
|
40410
40812
|
*/
|
|
40411
40813
|
|
|
40412
40814
|
/**
|
|
@@ -40644,7 +41046,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40644
41046
|
/**
|
|
40645
41047
|
* Locations service.
|
|
40646
41048
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
40647
|
-
* @version
|
|
41049
|
+
* @version 216.0.0
|
|
40648
41050
|
*/
|
|
40649
41051
|
|
|
40650
41052
|
/**
|
|
@@ -40880,7 +41282,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40880
41282
|
/**
|
|
40881
41283
|
* LogCapture service.
|
|
40882
41284
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
40883
|
-
* @version
|
|
41285
|
+
* @version 216.0.0
|
|
40884
41286
|
*/
|
|
40885
41287
|
|
|
40886
41288
|
/**
|
|
@@ -41080,7 +41482,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41080
41482
|
/**
|
|
41081
41483
|
* Messaging service.
|
|
41082
41484
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
41083
|
-
* @version
|
|
41485
|
+
* @version 216.0.0
|
|
41084
41486
|
*/
|
|
41085
41487
|
|
|
41086
41488
|
/**
|
|
@@ -41439,7 +41841,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41439
41841
|
/**
|
|
41440
41842
|
* MobileDevices service.
|
|
41441
41843
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
41442
|
-
* @version
|
|
41844
|
+
* @version 216.0.0
|
|
41443
41845
|
*/
|
|
41444
41846
|
|
|
41445
41847
|
/**
|
|
@@ -41590,7 +41992,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41590
41992
|
/**
|
|
41591
41993
|
* Notifications service.
|
|
41592
41994
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
41593
|
-
* @version
|
|
41995
|
+
* @version 216.0.0
|
|
41594
41996
|
*/
|
|
41595
41997
|
|
|
41596
41998
|
/**
|
|
@@ -41823,7 +42225,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41823
42225
|
/**
|
|
41824
42226
|
* OAuth service.
|
|
41825
42227
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
41826
|
-
* @version
|
|
42228
|
+
* @version 216.0.0
|
|
41827
42229
|
*/
|
|
41828
42230
|
|
|
41829
42231
|
/**
|
|
@@ -42189,7 +42591,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42189
42591
|
/**
|
|
42190
42592
|
* Objects service.
|
|
42191
42593
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
42192
|
-
* @version
|
|
42594
|
+
* @version 216.0.0
|
|
42193
42595
|
*/
|
|
42194
42596
|
|
|
42195
42597
|
/**
|
|
@@ -42459,7 +42861,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42459
42861
|
/**
|
|
42460
42862
|
* OperationalEvents service.
|
|
42461
42863
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
42462
|
-
* @version
|
|
42864
|
+
* @version 216.0.0
|
|
42463
42865
|
*/
|
|
42464
42866
|
|
|
42465
42867
|
/**
|
|
@@ -42576,7 +42978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42576
42978
|
/**
|
|
42577
42979
|
* Organization service.
|
|
42578
42980
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
42579
|
-
* @version
|
|
42981
|
+
* @version 216.0.0
|
|
42580
42982
|
*/
|
|
42581
42983
|
|
|
42582
42984
|
/**
|
|
@@ -43118,7 +43520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43118
43520
|
/**
|
|
43119
43521
|
* OrganizationAuthorization service.
|
|
43120
43522
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
43121
|
-
* @version
|
|
43523
|
+
* @version 216.0.0
|
|
43122
43524
|
*/
|
|
43123
43525
|
|
|
43124
43526
|
/**
|
|
@@ -44512,7 +44914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44512
44914
|
/**
|
|
44513
44915
|
* Outbound service.
|
|
44514
44916
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
44515
|
-
* @version
|
|
44917
|
+
* @version 216.0.0
|
|
44516
44918
|
*/
|
|
44517
44919
|
|
|
44518
44920
|
/**
|
|
@@ -49063,7 +49465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49063
49465
|
/**
|
|
49064
49466
|
* Presence service.
|
|
49065
49467
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
49066
|
-
* @version
|
|
49468
|
+
* @version 216.0.0
|
|
49067
49469
|
*/
|
|
49068
49470
|
|
|
49069
49471
|
/**
|
|
@@ -49807,7 +50209,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49807
50209
|
/**
|
|
49808
50210
|
* ProcessAutomation service.
|
|
49809
50211
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
49810
|
-
* @version
|
|
50212
|
+
* @version 216.0.0
|
|
49811
50213
|
*/
|
|
49812
50214
|
|
|
49813
50215
|
/**
|
|
@@ -50046,7 +50448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50046
50448
|
/**
|
|
50047
50449
|
* Quality service.
|
|
50048
50450
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
50049
|
-
* @version
|
|
50451
|
+
* @version 216.0.0
|
|
50050
50452
|
*/
|
|
50051
50453
|
|
|
50052
50454
|
/**
|
|
@@ -51834,7 +52236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51834
52236
|
/**
|
|
51835
52237
|
* Recording service.
|
|
51836
52238
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
51837
|
-
* @version
|
|
52239
|
+
* @version 216.0.0
|
|
51838
52240
|
*/
|
|
51839
52241
|
|
|
51840
52242
|
/**
|
|
@@ -52824,36 +53226,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52824
53226
|
);
|
|
52825
53227
|
}
|
|
52826
53228
|
|
|
52827
|
-
/**
|
|
52828
|
-
* Update a screen recording session
|
|
52829
|
-
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
52830
|
-
* @param {String} recordingSessionId Screen recording session ID
|
|
52831
|
-
* @param {Object} opts Optional parameters
|
|
52832
|
-
* @param {Object} opts.body
|
|
52833
|
-
* @deprecated
|
|
52834
|
-
*/
|
|
52835
|
-
patchRecordingsScreensession(recordingSessionId, opts) {
|
|
52836
|
-
opts = opts || {};
|
|
52837
|
-
|
|
52838
|
-
// verify the required parameter 'recordingSessionId' is set
|
|
52839
|
-
if (recordingSessionId === undefined || recordingSessionId === null) {
|
|
52840
|
-
throw 'Missing the required parameter "recordingSessionId" when calling patchRecordingsScreensession';
|
|
52841
|
-
}
|
|
52842
|
-
|
|
52843
|
-
return this.apiClient.callApi(
|
|
52844
|
-
'/api/v2/recordings/screensessions/{recordingSessionId}',
|
|
52845
|
-
'PATCH',
|
|
52846
|
-
{ 'recordingSessionId': recordingSessionId },
|
|
52847
|
-
{ },
|
|
52848
|
-
{ },
|
|
52849
|
-
{ },
|
|
52850
|
-
opts['body'],
|
|
52851
|
-
['PureCloud OAuth'],
|
|
52852
|
-
['application/json'],
|
|
52853
|
-
['application/json']
|
|
52854
|
-
);
|
|
52855
|
-
}
|
|
52856
|
-
|
|
52857
53229
|
/**
|
|
52858
53230
|
* Create annotation
|
|
52859
53231
|
*
|
|
@@ -53493,7 +53865,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53493
53865
|
/**
|
|
53494
53866
|
* ResponseManagement service.
|
|
53495
53867
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
53496
|
-
* @version
|
|
53868
|
+
* @version 216.0.0
|
|
53497
53869
|
*/
|
|
53498
53870
|
|
|
53499
53871
|
/**
|
|
@@ -54003,7 +54375,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54003
54375
|
/**
|
|
54004
54376
|
* Routing service.
|
|
54005
54377
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
54006
|
-
* @version
|
|
54378
|
+
* @version 216.0.0
|
|
54007
54379
|
*/
|
|
54008
54380
|
|
|
54009
54381
|
/**
|
|
@@ -58125,7 +58497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58125
58497
|
/**
|
|
58126
58498
|
* SCIM service.
|
|
58127
58499
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
58128
|
-
* @version
|
|
58500
|
+
* @version 216.0.0
|
|
58129
58501
|
*/
|
|
58130
58502
|
|
|
58131
58503
|
/**
|
|
@@ -59002,7 +59374,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59002
59374
|
/**
|
|
59003
59375
|
* ScreenRecording service.
|
|
59004
59376
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
59005
|
-
* @version
|
|
59377
|
+
* @version 216.0.0
|
|
59006
59378
|
*/
|
|
59007
59379
|
|
|
59008
59380
|
/**
|
|
@@ -59047,7 +59419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59047
59419
|
/**
|
|
59048
59420
|
* Scripts service.
|
|
59049
59421
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
59050
|
-
* @version
|
|
59422
|
+
* @version 216.0.0
|
|
59051
59423
|
*/
|
|
59052
59424
|
|
|
59053
59425
|
/**
|
|
@@ -59491,7 +59863,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59491
59863
|
/**
|
|
59492
59864
|
* Search service.
|
|
59493
59865
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
59494
|
-
* @version
|
|
59866
|
+
* @version 216.0.0
|
|
59495
59867
|
*/
|
|
59496
59868
|
|
|
59497
59869
|
/**
|
|
@@ -60234,7 +60606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60234
60606
|
/**
|
|
60235
60607
|
* Settings service.
|
|
60236
60608
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
60237
|
-
* @version
|
|
60609
|
+
* @version 216.0.0
|
|
60238
60610
|
*/
|
|
60239
60611
|
|
|
60240
60612
|
/**
|
|
@@ -60454,7 +60826,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60454
60826
|
/**
|
|
60455
60827
|
* SocialMedia service.
|
|
60456
60828
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
60457
|
-
* @version
|
|
60829
|
+
* @version 216.0.0
|
|
60458
60830
|
*/
|
|
60459
60831
|
|
|
60460
60832
|
/**
|
|
@@ -61359,7 +61731,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61359
61731
|
/**
|
|
61360
61732
|
* SpeechTextAnalytics service.
|
|
61361
61733
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61362
|
-
* @version
|
|
61734
|
+
* @version 216.0.0
|
|
61363
61735
|
*/
|
|
61364
61736
|
|
|
61365
61737
|
/**
|
|
@@ -61527,12 +61899,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61527
61899
|
* Get the list of Speech and Text Analytics categories
|
|
61528
61900
|
*
|
|
61529
61901
|
* @param {Object} opts Optional parameters
|
|
61530
|
-
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is
|
|
61902
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 25. (default to 25)
|
|
61531
61903
|
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
61532
61904
|
* @param {String} opts.name The category name filter applied to the listing
|
|
61533
61905
|
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
61534
61906
|
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
61535
|
-
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of
|
|
61907
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 25 IDs allowed.
|
|
61536
61908
|
*/
|
|
61537
61909
|
getSpeechandtextanalyticsCategories(opts) {
|
|
61538
61910
|
opts = opts || {};
|
|
@@ -62800,7 +63172,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62800
63172
|
/**
|
|
62801
63173
|
* Stations service.
|
|
62802
63174
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62803
|
-
* @version
|
|
63175
|
+
* @version 216.0.0
|
|
62804
63176
|
*/
|
|
62805
63177
|
|
|
62806
63178
|
/**
|
|
@@ -62902,7 +63274,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62902
63274
|
/**
|
|
62903
63275
|
* Suggest service.
|
|
62904
63276
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62905
|
-
* @version
|
|
63277
|
+
* @version 216.0.0
|
|
62906
63278
|
*/
|
|
62907
63279
|
|
|
62908
63280
|
/**
|
|
@@ -63041,7 +63413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
63041
63413
|
/**
|
|
63042
63414
|
* TaskManagement service.
|
|
63043
63415
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
63044
|
-
* @version
|
|
63416
|
+
* @version 216.0.0
|
|
63045
63417
|
*/
|
|
63046
63418
|
|
|
63047
63419
|
/**
|
|
@@ -65147,7 +65519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65147
65519
|
/**
|
|
65148
65520
|
* Teams service.
|
|
65149
65521
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
65150
|
-
* @version
|
|
65522
|
+
* @version 216.0.0
|
|
65151
65523
|
*/
|
|
65152
65524
|
|
|
65153
65525
|
/**
|
|
@@ -65452,7 +65824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65452
65824
|
/**
|
|
65453
65825
|
* Telephony service.
|
|
65454
65826
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
65455
|
-
* @version
|
|
65827
|
+
* @version 216.0.0
|
|
65456
65828
|
*/
|
|
65457
65829
|
|
|
65458
65830
|
/**
|
|
@@ -65634,7 +66006,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65634
66006
|
/**
|
|
65635
66007
|
* TelephonyProvidersEdge service.
|
|
65636
66008
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
65637
|
-
* @version
|
|
66009
|
+
* @version 216.0.0
|
|
65638
66010
|
*/
|
|
65639
66011
|
|
|
65640
66012
|
/**
|
|
@@ -69085,7 +69457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69085
69457
|
/**
|
|
69086
69458
|
* Textbots service.
|
|
69087
69459
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
69088
|
-
* @version
|
|
69460
|
+
* @version 216.0.0
|
|
69089
69461
|
*/
|
|
69090
69462
|
|
|
69091
69463
|
/**
|
|
@@ -69213,7 +69585,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69213
69585
|
/**
|
|
69214
69586
|
* Tokens service.
|
|
69215
69587
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
69216
|
-
* @version
|
|
69588
|
+
* @version 216.0.0
|
|
69217
69589
|
*/
|
|
69218
69590
|
|
|
69219
69591
|
/**
|
|
@@ -69367,7 +69739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69367
69739
|
/**
|
|
69368
69740
|
* Uploads service.
|
|
69369
69741
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
69370
|
-
* @version
|
|
69742
|
+
* @version 216.0.0
|
|
69371
69743
|
*/
|
|
69372
69744
|
|
|
69373
69745
|
/**
|
|
@@ -69635,7 +70007,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69635
70007
|
/**
|
|
69636
70008
|
* Usage service.
|
|
69637
70009
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
69638
|
-
* @version
|
|
70010
|
+
* @version 216.0.0
|
|
69639
70011
|
*/
|
|
69640
70012
|
|
|
69641
70013
|
/**
|
|
@@ -69850,7 +70222,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69850
70222
|
/**
|
|
69851
70223
|
* UserRecordings service.
|
|
69852
70224
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
69853
|
-
* @version
|
|
70225
|
+
* @version 216.0.0
|
|
69854
70226
|
*/
|
|
69855
70227
|
|
|
69856
70228
|
/**
|
|
@@ -70065,7 +70437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70065
70437
|
/**
|
|
70066
70438
|
* Users service.
|
|
70067
70439
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
70068
|
-
* @version
|
|
70440
|
+
* @version 216.0.0
|
|
70069
70441
|
*/
|
|
70070
70442
|
|
|
70071
70443
|
/**
|
|
@@ -73018,7 +73390,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73018
73390
|
/**
|
|
73019
73391
|
* Utilities service.
|
|
73020
73392
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
73021
|
-
* @version
|
|
73393
|
+
* @version 216.0.0
|
|
73022
73394
|
*/
|
|
73023
73395
|
|
|
73024
73396
|
/**
|
|
@@ -73129,7 +73501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73129
73501
|
/**
|
|
73130
73502
|
* Voicemail service.
|
|
73131
73503
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
73132
|
-
* @version
|
|
73504
|
+
* @version 216.0.0
|
|
73133
73505
|
*/
|
|
73134
73506
|
|
|
73135
73507
|
/**
|
|
@@ -73851,7 +74223,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73851
74223
|
/**
|
|
73852
74224
|
* WebChat service.
|
|
73853
74225
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
73854
|
-
* @version
|
|
74226
|
+
* @version 216.0.0
|
|
73855
74227
|
*/
|
|
73856
74228
|
|
|
73857
74229
|
/**
|
|
@@ -74402,7 +74774,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74402
74774
|
/**
|
|
74403
74775
|
* WebDeployments service.
|
|
74404
74776
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
74405
|
-
* @version
|
|
74777
|
+
* @version 216.0.0
|
|
74406
74778
|
*/
|
|
74407
74779
|
|
|
74408
74780
|
/**
|
|
@@ -74929,7 +75301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74929
75301
|
/**
|
|
74930
75302
|
* WebMessaging service.
|
|
74931
75303
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
74932
|
-
* @version
|
|
75304
|
+
* @version 216.0.0
|
|
74933
75305
|
*/
|
|
74934
75306
|
|
|
74935
75307
|
/**
|
|
@@ -74975,7 +75347,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74975
75347
|
/**
|
|
74976
75348
|
* Widgets service.
|
|
74977
75349
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
74978
|
-
* @version
|
|
75350
|
+
* @version 216.0.0
|
|
74979
75351
|
*/
|
|
74980
75352
|
|
|
74981
75353
|
/**
|
|
@@ -75121,7 +75493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
75121
75493
|
/**
|
|
75122
75494
|
* WorkforceManagement service.
|
|
75123
75495
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
75124
|
-
* @version
|
|
75496
|
+
* @version 216.0.0
|
|
75125
75497
|
*/
|
|
75126
75498
|
|
|
75127
75499
|
/**
|
|
@@ -77645,6 +78017,51 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
77645
78017
|
);
|
|
77646
78018
|
}
|
|
77647
78019
|
|
|
78020
|
+
/**
|
|
78021
|
+
* Retrieves delete job status for historical data imports associated with the job id
|
|
78022
|
+
*
|
|
78023
|
+
* @param {String} jobId The job ID of the historical data delete request
|
|
78024
|
+
*/
|
|
78025
|
+
getWorkforcemanagementHistoricaldataBulkRemoveJob(jobId) {
|
|
78026
|
+
// verify the required parameter 'jobId' is set
|
|
78027
|
+
if (jobId === undefined || jobId === null) {
|
|
78028
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';
|
|
78029
|
+
}
|
|
78030
|
+
|
|
78031
|
+
return this.apiClient.callApi(
|
|
78032
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs/{jobId}',
|
|
78033
|
+
'GET',
|
|
78034
|
+
{ 'jobId': jobId },
|
|
78035
|
+
{ },
|
|
78036
|
+
{ },
|
|
78037
|
+
{ },
|
|
78038
|
+
null,
|
|
78039
|
+
['PureCloud OAuth'],
|
|
78040
|
+
['application/json'],
|
|
78041
|
+
['application/json']
|
|
78042
|
+
);
|
|
78043
|
+
}
|
|
78044
|
+
|
|
78045
|
+
/**
|
|
78046
|
+
* Retrieves all delete job status for historical data
|
|
78047
|
+
*
|
|
78048
|
+
*/
|
|
78049
|
+
getWorkforcemanagementHistoricaldataBulkRemoveJobs() {
|
|
78050
|
+
|
|
78051
|
+
return this.apiClient.callApi(
|
|
78052
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
78053
|
+
'GET',
|
|
78054
|
+
{ },
|
|
78055
|
+
{ },
|
|
78056
|
+
{ },
|
|
78057
|
+
{ },
|
|
78058
|
+
null,
|
|
78059
|
+
['PureCloud OAuth'],
|
|
78060
|
+
['application/json'],
|
|
78061
|
+
['application/json']
|
|
78062
|
+
);
|
|
78063
|
+
}
|
|
78064
|
+
|
|
77648
78065
|
/**
|
|
77649
78066
|
* Retrieves delete job status for historical data imports of the organization
|
|
77650
78067
|
*
|
|
@@ -81194,6 +81611,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
81194
81611
|
);
|
|
81195
81612
|
}
|
|
81196
81613
|
|
|
81614
|
+
/**
|
|
81615
|
+
* Delete the list of the historical data import entries
|
|
81616
|
+
*
|
|
81617
|
+
* @param {Object} opts Optional parameters
|
|
81618
|
+
* @param {Object} opts.body body
|
|
81619
|
+
*/
|
|
81620
|
+
postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts) {
|
|
81621
|
+
opts = opts || {};
|
|
81622
|
+
|
|
81623
|
+
|
|
81624
|
+
return this.apiClient.callApi(
|
|
81625
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
81626
|
+
'POST',
|
|
81627
|
+
{ },
|
|
81628
|
+
{ },
|
|
81629
|
+
{ },
|
|
81630
|
+
{ },
|
|
81631
|
+
opts['body'],
|
|
81632
|
+
['PureCloud OAuth'],
|
|
81633
|
+
['application/json'],
|
|
81634
|
+
['application/json']
|
|
81635
|
+
);
|
|
81636
|
+
}
|
|
81637
|
+
|
|
81197
81638
|
/**
|
|
81198
81639
|
* Delete the entries of the historical data imports in the organization
|
|
81199
81640
|
*
|
|
@@ -82445,7 +82886,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82445
82886
|
* </pre>
|
|
82446
82887
|
* </p>
|
|
82447
82888
|
* @module purecloud-platform-client-v2/index
|
|
82448
|
-
* @version
|
|
82889
|
+
* @version 216.0.0
|
|
82449
82890
|
*/
|
|
82450
82891
|
class platformClient {
|
|
82451
82892
|
constructor() {
|