purecloud-platform-client-v2 218.0.0 → 219.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 +1362 -94
- package/dist/web-amd/purecloud-platform-client-v2.js +1362 -94
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +396 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +396 -97
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +701 -1
- 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 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +54 -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 +36 -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 +65 -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 +396 -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 +366 -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 +31 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +54 -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 +60 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
- 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 +65 -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 +66 -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 +26 -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 +7 -5
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -690,7 +690,7 @@ class Configuration {
|
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
693
|
-
* @version
|
|
693
|
+
* @version 219.0.0
|
|
694
694
|
*/
|
|
695
695
|
class ApiClient {
|
|
696
696
|
/**
|
|
@@ -2234,7 +2234,7 @@ class AgentAssistantsApi {
|
|
|
2234
2234
|
/**
|
|
2235
2235
|
* AgentAssistants service.
|
|
2236
2236
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2237
|
-
* @version
|
|
2237
|
+
* @version 219.0.0
|
|
2238
2238
|
*/
|
|
2239
2239
|
|
|
2240
2240
|
/**
|
|
@@ -2610,7 +2610,7 @@ class AgentCopilotApi {
|
|
|
2610
2610
|
/**
|
|
2611
2611
|
* AgentCopilot service.
|
|
2612
2612
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2613
|
-
* @version
|
|
2613
|
+
* @version 219.0.0
|
|
2614
2614
|
*/
|
|
2615
2615
|
|
|
2616
2616
|
/**
|
|
@@ -2686,7 +2686,7 @@ class AgentUIApi {
|
|
|
2686
2686
|
/**
|
|
2687
2687
|
* AgentUI service.
|
|
2688
2688
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2689
|
-
* @version
|
|
2689
|
+
* @version 219.0.0
|
|
2690
2690
|
*/
|
|
2691
2691
|
|
|
2692
2692
|
/**
|
|
@@ -2817,7 +2817,7 @@ class AlertingApi {
|
|
|
2817
2817
|
/**
|
|
2818
2818
|
* Alerting service.
|
|
2819
2819
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2820
|
-
* @version
|
|
2820
|
+
* @version 219.0.0
|
|
2821
2821
|
*/
|
|
2822
2822
|
|
|
2823
2823
|
/**
|
|
@@ -3218,7 +3218,7 @@ class AnalyticsApi {
|
|
|
3218
3218
|
/**
|
|
3219
3219
|
* Analytics service.
|
|
3220
3220
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3221
|
-
* @version
|
|
3221
|
+
* @version 219.0.0
|
|
3222
3222
|
*/
|
|
3223
3223
|
|
|
3224
3224
|
/**
|
|
@@ -3343,7 +3343,6 @@ class AnalyticsApi {
|
|
|
3343
3343
|
* Get an agent and their active sessions by user ID
|
|
3344
3344
|
*
|
|
3345
3345
|
* @param {String} userId userId
|
|
3346
|
-
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3347
3346
|
*/
|
|
3348
3347
|
getAnalyticsAgentStatus(userId) {
|
|
3349
3348
|
// verify the required parameter 'userId' is set
|
|
@@ -4795,7 +4794,6 @@ class AnalyticsApi {
|
|
|
4795
4794
|
* Count agents by segment type
|
|
4796
4795
|
*
|
|
4797
4796
|
* @param {Object} body query
|
|
4798
|
-
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4799
4797
|
*/
|
|
4800
4798
|
postAnalyticsAgentsStatusCounts(body) {
|
|
4801
4799
|
// verify the required parameter 'body' is set
|
|
@@ -4821,7 +4819,6 @@ class AnalyticsApi {
|
|
|
4821
4819
|
* Retrieve the top 50 agents matching the query filters
|
|
4822
4820
|
*
|
|
4823
4821
|
* @param {Object} body query
|
|
4824
|
-
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4825
4822
|
*/
|
|
4826
4823
|
postAnalyticsAgentsStatusQuery(body) {
|
|
4827
4824
|
// verify the required parameter 'body' is set
|
|
@@ -6042,7 +6039,7 @@ class ArchitectApi {
|
|
|
6042
6039
|
/**
|
|
6043
6040
|
* Architect service.
|
|
6044
6041
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6045
|
-
* @version
|
|
6042
|
+
* @version 219.0.0
|
|
6046
6043
|
*/
|
|
6047
6044
|
|
|
6048
6045
|
/**
|
|
@@ -9080,6 +9077,36 @@ class ArchitectApi {
|
|
|
9080
9077
|
);
|
|
9081
9078
|
}
|
|
9082
9079
|
|
|
9080
|
+
/**
|
|
9081
|
+
* Creates a presigned URL for uploading a user prompt file
|
|
9082
|
+
*
|
|
9083
|
+
* @param {String} promptId Prompt ID
|
|
9084
|
+
* @param {String} languageCode Language
|
|
9085
|
+
*/
|
|
9086
|
+
postArchitectPromptResourceUploads(promptId, languageCode) {
|
|
9087
|
+
// verify the required parameter 'promptId' is set
|
|
9088
|
+
if (promptId === undefined || promptId === null) {
|
|
9089
|
+
throw 'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';
|
|
9090
|
+
}
|
|
9091
|
+
// verify the required parameter 'languageCode' is set
|
|
9092
|
+
if (languageCode === undefined || languageCode === null) {
|
|
9093
|
+
throw 'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';
|
|
9094
|
+
}
|
|
9095
|
+
|
|
9096
|
+
return this.apiClient.callApi(
|
|
9097
|
+
'/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads',
|
|
9098
|
+
'POST',
|
|
9099
|
+
{ 'promptId': promptId,'languageCode': languageCode },
|
|
9100
|
+
{ },
|
|
9101
|
+
{ },
|
|
9102
|
+
{ },
|
|
9103
|
+
null,
|
|
9104
|
+
['PureCloud OAuth'],
|
|
9105
|
+
['application/json'],
|
|
9106
|
+
['application/json']
|
|
9107
|
+
);
|
|
9108
|
+
}
|
|
9109
|
+
|
|
9083
9110
|
/**
|
|
9084
9111
|
* Create a new user prompt resource
|
|
9085
9112
|
*
|
|
@@ -9210,6 +9237,36 @@ class ArchitectApi {
|
|
|
9210
9237
|
);
|
|
9211
9238
|
}
|
|
9212
9239
|
|
|
9240
|
+
/**
|
|
9241
|
+
* Creates a presigned URL for uploading a system prompt file
|
|
9242
|
+
*
|
|
9243
|
+
* @param {String} promptId Prompt ID
|
|
9244
|
+
* @param {String} languageCode Language
|
|
9245
|
+
*/
|
|
9246
|
+
postArchitectSystempromptResourceUploads(promptId, languageCode) {
|
|
9247
|
+
// verify the required parameter 'promptId' is set
|
|
9248
|
+
if (promptId === undefined || promptId === null) {
|
|
9249
|
+
throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';
|
|
9250
|
+
}
|
|
9251
|
+
// verify the required parameter 'languageCode' is set
|
|
9252
|
+
if (languageCode === undefined || languageCode === null) {
|
|
9253
|
+
throw 'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';
|
|
9254
|
+
}
|
|
9255
|
+
|
|
9256
|
+
return this.apiClient.callApi(
|
|
9257
|
+
'/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads',
|
|
9258
|
+
'POST',
|
|
9259
|
+
{ 'promptId': promptId,'languageCode': languageCode },
|
|
9260
|
+
{ },
|
|
9261
|
+
{ },
|
|
9262
|
+
{ },
|
|
9263
|
+
null,
|
|
9264
|
+
['PureCloud OAuth'],
|
|
9265
|
+
['application/json'],
|
|
9266
|
+
['application/json']
|
|
9267
|
+
);
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9213
9270
|
/**
|
|
9214
9271
|
* Create system prompt resource override.
|
|
9215
9272
|
*
|
|
@@ -10275,7 +10332,7 @@ class AuditApi {
|
|
|
10275
10332
|
/**
|
|
10276
10333
|
* Audit service.
|
|
10277
10334
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10278
|
-
* @version
|
|
10335
|
+
* @version 219.0.0
|
|
10279
10336
|
*/
|
|
10280
10337
|
|
|
10281
10338
|
/**
|
|
@@ -10476,7 +10533,7 @@ class AuthorizationApi {
|
|
|
10476
10533
|
/**
|
|
10477
10534
|
* Authorization service.
|
|
10478
10535
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10479
|
-
* @version
|
|
10536
|
+
* @version 219.0.0
|
|
10480
10537
|
*/
|
|
10481
10538
|
|
|
10482
10539
|
/**
|
|
@@ -10702,6 +10759,31 @@ class AuthorizationApi {
|
|
|
10702
10759
|
);
|
|
10703
10760
|
}
|
|
10704
10761
|
|
|
10762
|
+
/**
|
|
10763
|
+
* Get a list of soft deleted divisions for the org
|
|
10764
|
+
*
|
|
10765
|
+
* @param {Object} opts Optional parameters
|
|
10766
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
10767
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
10768
|
+
*/
|
|
10769
|
+
getAuthorizationDivisionsDeleted(opts) {
|
|
10770
|
+
opts = opts || {};
|
|
10771
|
+
|
|
10772
|
+
|
|
10773
|
+
return this.apiClient.callApi(
|
|
10774
|
+
'/api/v2/authorization/divisions/deleted',
|
|
10775
|
+
'GET',
|
|
10776
|
+
{ },
|
|
10777
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
10778
|
+
{ },
|
|
10779
|
+
{ },
|
|
10780
|
+
null,
|
|
10781
|
+
['PureCloud OAuth'],
|
|
10782
|
+
['application/json'],
|
|
10783
|
+
['application/json']
|
|
10784
|
+
);
|
|
10785
|
+
}
|
|
10786
|
+
|
|
10705
10787
|
/**
|
|
10706
10788
|
* Retrieve the home division for the organization.
|
|
10707
10789
|
* Will not include object counts.
|
|
@@ -10742,6 +10824,34 @@ class AuthorizationApi {
|
|
|
10742
10824
|
);
|
|
10743
10825
|
}
|
|
10744
10826
|
|
|
10827
|
+
/**
|
|
10828
|
+
* Retrieve a list of all divisions defined for the organization with cursor
|
|
10829
|
+
* Use "after" and "before" param to fetch next/previous page}
|
|
10830
|
+
* @param {Object} opts Optional parameters
|
|
10831
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10832
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10833
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10834
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
10835
|
+
* @param {String} opts.name Optionally request specific divisions by division name
|
|
10836
|
+
*/
|
|
10837
|
+
getAuthorizationDivisionsQuery(opts) {
|
|
10838
|
+
opts = opts || {};
|
|
10839
|
+
|
|
10840
|
+
|
|
10841
|
+
return this.apiClient.callApi(
|
|
10842
|
+
'/api/v2/authorization/divisions/query',
|
|
10843
|
+
'GET',
|
|
10844
|
+
{ },
|
|
10845
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
10846
|
+
{ },
|
|
10847
|
+
{ },
|
|
10848
|
+
null,
|
|
10849
|
+
['PureCloud OAuth'],
|
|
10850
|
+
['application/json'],
|
|
10851
|
+
['application/json']
|
|
10852
|
+
);
|
|
10853
|
+
}
|
|
10854
|
+
|
|
10745
10855
|
/**
|
|
10746
10856
|
* Returns which divisions the current user has the given permission in.
|
|
10747
10857
|
* This route is deprecated, use authorization/divisionspermitted/paged/me instead.
|
|
@@ -12138,7 +12248,7 @@ class BillingApi {
|
|
|
12138
12248
|
/**
|
|
12139
12249
|
* Billing service.
|
|
12140
12250
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
12141
|
-
* @version
|
|
12251
|
+
* @version 219.0.0
|
|
12142
12252
|
*/
|
|
12143
12253
|
|
|
12144
12254
|
/**
|
|
@@ -12218,7 +12328,7 @@ class CarrierServicesApi {
|
|
|
12218
12328
|
/**
|
|
12219
12329
|
* CarrierServices service.
|
|
12220
12330
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
12221
|
-
* @version
|
|
12331
|
+
* @version 219.0.0
|
|
12222
12332
|
*/
|
|
12223
12333
|
|
|
12224
12334
|
/**
|
|
@@ -12288,7 +12398,7 @@ class ChatApi {
|
|
|
12288
12398
|
/**
|
|
12289
12399
|
* Chat service.
|
|
12290
12400
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
12291
|
-
* @version
|
|
12401
|
+
* @version 219.0.0
|
|
12292
12402
|
*/
|
|
12293
12403
|
|
|
12294
12404
|
/**
|
|
@@ -13217,7 +13327,7 @@ class CoachingApi {
|
|
|
13217
13327
|
/**
|
|
13218
13328
|
* Coaching service.
|
|
13219
13329
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13220
|
-
* @version
|
|
13330
|
+
* @version 219.0.0
|
|
13221
13331
|
*/
|
|
13222
13332
|
|
|
13223
13333
|
/**
|
|
@@ -13794,7 +13904,7 @@ class ContentManagementApi {
|
|
|
13794
13904
|
/**
|
|
13795
13905
|
* ContentManagement service.
|
|
13796
13906
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13797
|
-
* @version
|
|
13907
|
+
* @version 219.0.0
|
|
13798
13908
|
*/
|
|
13799
13909
|
|
|
13800
13910
|
/**
|
|
@@ -14875,7 +14985,7 @@ class ConversationsApi {
|
|
|
14875
14985
|
/**
|
|
14876
14986
|
* Conversations service.
|
|
14877
14987
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14878
|
-
* @version
|
|
14988
|
+
* @version 219.0.0
|
|
14879
14989
|
*/
|
|
14880
14990
|
|
|
14881
14991
|
/**
|
|
@@ -17963,6 +18073,41 @@ class ConversationsApi {
|
|
|
17963
18073
|
);
|
|
17964
18074
|
}
|
|
17965
18075
|
|
|
18076
|
+
/**
|
|
18077
|
+
* Update the feedback for the summary.
|
|
18078
|
+
*
|
|
18079
|
+
* @param {String} conversationId Conversation ID
|
|
18080
|
+
* @param {String} summaryId Summary ID
|
|
18081
|
+
* @param {Object} opts Optional parameters
|
|
18082
|
+
* @param {Object} opts.body
|
|
18083
|
+
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18084
|
+
*/
|
|
18085
|
+
patchConversationSummaryFeedback(conversationId, summaryId, opts) {
|
|
18086
|
+
opts = opts || {};
|
|
18087
|
+
|
|
18088
|
+
// verify the required parameter 'conversationId' is set
|
|
18089
|
+
if (conversationId === undefined || conversationId === null) {
|
|
18090
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';
|
|
18091
|
+
}
|
|
18092
|
+
// verify the required parameter 'summaryId' is set
|
|
18093
|
+
if (summaryId === undefined || summaryId === null) {
|
|
18094
|
+
throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';
|
|
18095
|
+
}
|
|
18096
|
+
|
|
18097
|
+
return this.apiClient.callApi(
|
|
18098
|
+
'/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback',
|
|
18099
|
+
'PATCH',
|
|
18100
|
+
{ 'conversationId': conversationId,'summaryId': summaryId },
|
|
18101
|
+
{ },
|
|
18102
|
+
{ },
|
|
18103
|
+
{ },
|
|
18104
|
+
opts['body'],
|
|
18105
|
+
['PureCloud OAuth'],
|
|
18106
|
+
['application/json'],
|
|
18107
|
+
['application/json']
|
|
18108
|
+
);
|
|
18109
|
+
}
|
|
18110
|
+
|
|
17966
18111
|
/**
|
|
17967
18112
|
* Update the utilization label on a conversation. When there is no value provided, the system default label is applied
|
|
17968
18113
|
*
|
|
@@ -22422,7 +22567,7 @@ class DataExtensionsApi {
|
|
|
22422
22567
|
/**
|
|
22423
22568
|
* DataExtensions service.
|
|
22424
22569
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
22425
|
-
* @version
|
|
22570
|
+
* @version 219.0.0
|
|
22426
22571
|
*/
|
|
22427
22572
|
|
|
22428
22573
|
/**
|
|
@@ -22508,7 +22653,7 @@ class DataPrivacyApi {
|
|
|
22508
22653
|
/**
|
|
22509
22654
|
* DataPrivacy service.
|
|
22510
22655
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
22511
|
-
* @version
|
|
22656
|
+
* @version 219.0.0
|
|
22512
22657
|
*/
|
|
22513
22658
|
|
|
22514
22659
|
/**
|
|
@@ -22678,7 +22823,7 @@ class DownloadsApi {
|
|
|
22678
22823
|
/**
|
|
22679
22824
|
* Downloads service.
|
|
22680
22825
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
22681
|
-
* @version
|
|
22826
|
+
* @version 219.0.0
|
|
22682
22827
|
*/
|
|
22683
22828
|
|
|
22684
22829
|
/**
|
|
@@ -22730,7 +22875,7 @@ class EmailsApi {
|
|
|
22730
22875
|
/**
|
|
22731
22876
|
* Emails service.
|
|
22732
22877
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
22733
|
-
* @version
|
|
22878
|
+
* @version 219.0.0
|
|
22734
22879
|
*/
|
|
22735
22880
|
|
|
22736
22881
|
/**
|
|
@@ -22745,6 +22890,26 @@ class EmailsApi {
|
|
|
22745
22890
|
}
|
|
22746
22891
|
|
|
22747
22892
|
|
|
22893
|
+
/**
|
|
22894
|
+
* Reset email threading settings to default
|
|
22895
|
+
*
|
|
22896
|
+
*/
|
|
22897
|
+
deleteEmailsSettingsThreading() {
|
|
22898
|
+
|
|
22899
|
+
return this.apiClient.callApi(
|
|
22900
|
+
'/api/v2/emails/settings/threading',
|
|
22901
|
+
'DELETE',
|
|
22902
|
+
{ },
|
|
22903
|
+
{ },
|
|
22904
|
+
{ },
|
|
22905
|
+
{ },
|
|
22906
|
+
null,
|
|
22907
|
+
['PureCloud OAuth'],
|
|
22908
|
+
['application/json'],
|
|
22909
|
+
['application/json']
|
|
22910
|
+
);
|
|
22911
|
+
}
|
|
22912
|
+
|
|
22748
22913
|
/**
|
|
22749
22914
|
* Get email Contact Center settings
|
|
22750
22915
|
*
|
|
@@ -22765,6 +22930,26 @@ class EmailsApi {
|
|
|
22765
22930
|
);
|
|
22766
22931
|
}
|
|
22767
22932
|
|
|
22933
|
+
/**
|
|
22934
|
+
* Get email threading settings
|
|
22935
|
+
*
|
|
22936
|
+
*/
|
|
22937
|
+
getEmailsSettingsThreading() {
|
|
22938
|
+
|
|
22939
|
+
return this.apiClient.callApi(
|
|
22940
|
+
'/api/v2/emails/settings/threading',
|
|
22941
|
+
'GET',
|
|
22942
|
+
{ },
|
|
22943
|
+
{ },
|
|
22944
|
+
{ },
|
|
22945
|
+
{ },
|
|
22946
|
+
null,
|
|
22947
|
+
['PureCloud OAuth'],
|
|
22948
|
+
['application/json'],
|
|
22949
|
+
['application/json']
|
|
22950
|
+
);
|
|
22951
|
+
}
|
|
22952
|
+
|
|
22768
22953
|
/**
|
|
22769
22954
|
* Patch email Contact Center settings
|
|
22770
22955
|
*
|
|
@@ -22789,13 +22974,37 @@ class EmailsApi {
|
|
|
22789
22974
|
);
|
|
22790
22975
|
}
|
|
22791
22976
|
|
|
22977
|
+
/**
|
|
22978
|
+
* Patch email threading settings
|
|
22979
|
+
*
|
|
22980
|
+
* @param {Object} opts Optional parameters
|
|
22981
|
+
* @param {Object} opts.body
|
|
22982
|
+
*/
|
|
22983
|
+
patchEmailsSettingsThreading(opts) {
|
|
22984
|
+
opts = opts || {};
|
|
22985
|
+
|
|
22986
|
+
|
|
22987
|
+
return this.apiClient.callApi(
|
|
22988
|
+
'/api/v2/emails/settings/threading',
|
|
22989
|
+
'PATCH',
|
|
22990
|
+
{ },
|
|
22991
|
+
{ },
|
|
22992
|
+
{ },
|
|
22993
|
+
{ },
|
|
22994
|
+
opts['body'],
|
|
22995
|
+
['PureCloud OAuth'],
|
|
22996
|
+
['application/json'],
|
|
22997
|
+
['application/json']
|
|
22998
|
+
);
|
|
22999
|
+
}
|
|
23000
|
+
|
|
22792
23001
|
}
|
|
22793
23002
|
|
|
22794
23003
|
class EmployeeEngagementApi {
|
|
22795
23004
|
/**
|
|
22796
23005
|
* EmployeeEngagement service.
|
|
22797
23006
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
22798
|
-
* @version
|
|
23007
|
+
* @version 219.0.0
|
|
22799
23008
|
*/
|
|
22800
23009
|
|
|
22801
23010
|
/**
|
|
@@ -22946,7 +23155,7 @@ class EventsApi {
|
|
|
22946
23155
|
/**
|
|
22947
23156
|
* Events service.
|
|
22948
23157
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
22949
|
-
* @version
|
|
23158
|
+
* @version 219.0.0
|
|
22950
23159
|
*/
|
|
22951
23160
|
|
|
22952
23161
|
/**
|
|
@@ -23042,7 +23251,7 @@ class ExternalContactsApi {
|
|
|
23042
23251
|
/**
|
|
23043
23252
|
* ExternalContacts service.
|
|
23044
23253
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23045
|
-
* @version
|
|
23254
|
+
* @version 219.0.0
|
|
23046
23255
|
*/
|
|
23047
23256
|
|
|
23048
23257
|
/**
|
|
@@ -23677,6 +23886,71 @@ class ExternalContactsApi {
|
|
|
23677
23886
|
);
|
|
23678
23887
|
}
|
|
23679
23888
|
|
|
23889
|
+
/**
|
|
23890
|
+
* Get the core types from which all schemas are built.
|
|
23891
|
+
*
|
|
23892
|
+
* @param {String} coreTypeName Name of the core type
|
|
23893
|
+
*/
|
|
23894
|
+
getExternalcontactsContactsSchemasCoretype(coreTypeName) {
|
|
23895
|
+
// verify the required parameter 'coreTypeName' is set
|
|
23896
|
+
if (coreTypeName === undefined || coreTypeName === null) {
|
|
23897
|
+
throw 'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';
|
|
23898
|
+
}
|
|
23899
|
+
|
|
23900
|
+
return this.apiClient.callApi(
|
|
23901
|
+
'/api/v2/externalcontacts/contacts/schemas/coretypes/{coreTypeName}',
|
|
23902
|
+
'GET',
|
|
23903
|
+
{ 'coreTypeName': coreTypeName },
|
|
23904
|
+
{ },
|
|
23905
|
+
{ },
|
|
23906
|
+
{ },
|
|
23907
|
+
null,
|
|
23908
|
+
['PureCloud OAuth'],
|
|
23909
|
+
['application/json'],
|
|
23910
|
+
['application/json']
|
|
23911
|
+
);
|
|
23912
|
+
}
|
|
23913
|
+
|
|
23914
|
+
/**
|
|
23915
|
+
* Get the core types from which all schemas are built.
|
|
23916
|
+
*
|
|
23917
|
+
*/
|
|
23918
|
+
getExternalcontactsContactsSchemasCoretypes() {
|
|
23919
|
+
|
|
23920
|
+
return this.apiClient.callApi(
|
|
23921
|
+
'/api/v2/externalcontacts/contacts/schemas/coretypes',
|
|
23922
|
+
'GET',
|
|
23923
|
+
{ },
|
|
23924
|
+
{ },
|
|
23925
|
+
{ },
|
|
23926
|
+
{ },
|
|
23927
|
+
null,
|
|
23928
|
+
['PureCloud OAuth'],
|
|
23929
|
+
['application/json'],
|
|
23930
|
+
['application/json']
|
|
23931
|
+
);
|
|
23932
|
+
}
|
|
23933
|
+
|
|
23934
|
+
/**
|
|
23935
|
+
* Get quantitative limits on schemas
|
|
23936
|
+
*
|
|
23937
|
+
*/
|
|
23938
|
+
getExternalcontactsContactsSchemasLimits() {
|
|
23939
|
+
|
|
23940
|
+
return this.apiClient.callApi(
|
|
23941
|
+
'/api/v2/externalcontacts/contacts/schemas/limits',
|
|
23942
|
+
'GET',
|
|
23943
|
+
{ },
|
|
23944
|
+
{ },
|
|
23945
|
+
{ },
|
|
23946
|
+
{ },
|
|
23947
|
+
null,
|
|
23948
|
+
['PureCloud OAuth'],
|
|
23949
|
+
['application/json'],
|
|
23950
|
+
['application/json']
|
|
23951
|
+
);
|
|
23952
|
+
}
|
|
23953
|
+
|
|
23680
23954
|
/**
|
|
23681
23955
|
* Fetch an External Source
|
|
23682
23956
|
*
|
|
@@ -24002,6 +24276,32 @@ class ExternalContactsApi {
|
|
|
24002
24276
|
);
|
|
24003
24277
|
}
|
|
24004
24278
|
|
|
24279
|
+
/**
|
|
24280
|
+
* List the identifiers for an external organization
|
|
24281
|
+
*
|
|
24282
|
+
* @param {String} externalOrganizationId External Organization ID
|
|
24283
|
+
* getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24284
|
+
*/
|
|
24285
|
+
getExternalcontactsOrganizationIdentifiers(externalOrganizationId) {
|
|
24286
|
+
// verify the required parameter 'externalOrganizationId' is set
|
|
24287
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
24288
|
+
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';
|
|
24289
|
+
}
|
|
24290
|
+
|
|
24291
|
+
return this.apiClient.callApi(
|
|
24292
|
+
'/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers',
|
|
24293
|
+
'GET',
|
|
24294
|
+
{ 'externalOrganizationId': externalOrganizationId },
|
|
24295
|
+
{ },
|
|
24296
|
+
{ },
|
|
24297
|
+
{ },
|
|
24298
|
+
null,
|
|
24299
|
+
['PureCloud OAuth'],
|
|
24300
|
+
['application/json'],
|
|
24301
|
+
['application/json']
|
|
24302
|
+
);
|
|
24303
|
+
}
|
|
24304
|
+
|
|
24005
24305
|
/**
|
|
24006
24306
|
* Fetch a note for an external organization
|
|
24007
24307
|
*
|
|
@@ -24231,6 +24531,71 @@ class ExternalContactsApi {
|
|
|
24231
24531
|
);
|
|
24232
24532
|
}
|
|
24233
24533
|
|
|
24534
|
+
/**
|
|
24535
|
+
* Get the core types from which all schemas are built.
|
|
24536
|
+
*
|
|
24537
|
+
* @param {String} coreTypeName Name of the core type
|
|
24538
|
+
*/
|
|
24539
|
+
getExternalcontactsOrganizationsSchemasCoretype(coreTypeName) {
|
|
24540
|
+
// verify the required parameter 'coreTypeName' is set
|
|
24541
|
+
if (coreTypeName === undefined || coreTypeName === null) {
|
|
24542
|
+
throw 'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';
|
|
24543
|
+
}
|
|
24544
|
+
|
|
24545
|
+
return this.apiClient.callApi(
|
|
24546
|
+
'/api/v2/externalcontacts/organizations/schemas/coretypes/{coreTypeName}',
|
|
24547
|
+
'GET',
|
|
24548
|
+
{ 'coreTypeName': coreTypeName },
|
|
24549
|
+
{ },
|
|
24550
|
+
{ },
|
|
24551
|
+
{ },
|
|
24552
|
+
null,
|
|
24553
|
+
['PureCloud OAuth'],
|
|
24554
|
+
['application/json'],
|
|
24555
|
+
['application/json']
|
|
24556
|
+
);
|
|
24557
|
+
}
|
|
24558
|
+
|
|
24559
|
+
/**
|
|
24560
|
+
* Get the core types from which all schemas are built.
|
|
24561
|
+
*
|
|
24562
|
+
*/
|
|
24563
|
+
getExternalcontactsOrganizationsSchemasCoretypes() {
|
|
24564
|
+
|
|
24565
|
+
return this.apiClient.callApi(
|
|
24566
|
+
'/api/v2/externalcontacts/organizations/schemas/coretypes',
|
|
24567
|
+
'GET',
|
|
24568
|
+
{ },
|
|
24569
|
+
{ },
|
|
24570
|
+
{ },
|
|
24571
|
+
{ },
|
|
24572
|
+
null,
|
|
24573
|
+
['PureCloud OAuth'],
|
|
24574
|
+
['application/json'],
|
|
24575
|
+
['application/json']
|
|
24576
|
+
);
|
|
24577
|
+
}
|
|
24578
|
+
|
|
24579
|
+
/**
|
|
24580
|
+
* Get quantitative limits on schemas
|
|
24581
|
+
*
|
|
24582
|
+
*/
|
|
24583
|
+
getExternalcontactsOrganizationsSchemasLimits() {
|
|
24584
|
+
|
|
24585
|
+
return this.apiClient.callApi(
|
|
24586
|
+
'/api/v2/externalcontacts/organizations/schemas/limits',
|
|
24587
|
+
'GET',
|
|
24588
|
+
{ },
|
|
24589
|
+
{ },
|
|
24590
|
+
{ },
|
|
24591
|
+
{ },
|
|
24592
|
+
null,
|
|
24593
|
+
['PureCloud OAuth'],
|
|
24594
|
+
['application/json'],
|
|
24595
|
+
['application/json']
|
|
24596
|
+
);
|
|
24597
|
+
}
|
|
24598
|
+
|
|
24234
24599
|
/**
|
|
24235
24600
|
* Fetch a relationship
|
|
24236
24601
|
*
|
|
@@ -24528,6 +24893,37 @@ class ExternalContactsApi {
|
|
|
24528
24893
|
);
|
|
24529
24894
|
}
|
|
24530
24895
|
|
|
24896
|
+
/**
|
|
24897
|
+
* Claim or release identifiers for an external organization
|
|
24898
|
+
*
|
|
24899
|
+
* @param {String} externalOrganizationId External Organization ID
|
|
24900
|
+
* @param {Object} body ClaimRequest
|
|
24901
|
+
* patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24902
|
+
*/
|
|
24903
|
+
patchExternalcontactsOrganizationIdentifiers(externalOrganizationId, body) {
|
|
24904
|
+
// verify the required parameter 'externalOrganizationId' is set
|
|
24905
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
24906
|
+
throw 'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';
|
|
24907
|
+
}
|
|
24908
|
+
// verify the required parameter 'body' is set
|
|
24909
|
+
if (body === undefined || body === null) {
|
|
24910
|
+
throw 'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';
|
|
24911
|
+
}
|
|
24912
|
+
|
|
24913
|
+
return this.apiClient.callApi(
|
|
24914
|
+
'/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers',
|
|
24915
|
+
'PATCH',
|
|
24916
|
+
{ 'externalOrganizationId': externalOrganizationId },
|
|
24917
|
+
{ },
|
|
24918
|
+
{ },
|
|
24919
|
+
{ },
|
|
24920
|
+
body,
|
|
24921
|
+
['PureCloud OAuth'],
|
|
24922
|
+
['application/json'],
|
|
24923
|
+
['application/json']
|
|
24924
|
+
);
|
|
24925
|
+
}
|
|
24926
|
+
|
|
24531
24927
|
/**
|
|
24532
24928
|
* Bulk fetch contacts
|
|
24533
24929
|
*
|
|
@@ -24604,6 +25000,36 @@ class ExternalContactsApi {
|
|
|
24604
25000
|
);
|
|
24605
25001
|
}
|
|
24606
25002
|
|
|
25003
|
+
/**
|
|
25004
|
+
* Bulk Enrich Contacts - Run up to 10 Enrich operations per request
|
|
25005
|
+
* See the API endpoint /externalcontacts/contacts/enrich for docs on individual Enrich operations.
|
|
25006
|
+
* @param {Object} body Contact Enrich Requests
|
|
25007
|
+
* @param {Object} opts Optional parameters
|
|
25008
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25009
|
+
* postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25010
|
+
*/
|
|
25011
|
+
postExternalcontactsBulkContactsEnrich(body, opts) {
|
|
25012
|
+
opts = opts || {};
|
|
25013
|
+
|
|
25014
|
+
// verify the required parameter 'body' is set
|
|
25015
|
+
if (body === undefined || body === null) {
|
|
25016
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsEnrich';
|
|
25017
|
+
}
|
|
25018
|
+
|
|
25019
|
+
return this.apiClient.callApi(
|
|
25020
|
+
'/api/v2/externalcontacts/bulk/contacts/enrich',
|
|
25021
|
+
'POST',
|
|
25022
|
+
{ },
|
|
25023
|
+
{ 'dryRun': opts['dryRun'] },
|
|
25024
|
+
{ },
|
|
25025
|
+
{ },
|
|
25026
|
+
body,
|
|
25027
|
+
['PureCloud OAuth'],
|
|
25028
|
+
['application/json'],
|
|
25029
|
+
['application/json']
|
|
25030
|
+
);
|
|
25031
|
+
}
|
|
25032
|
+
|
|
24607
25033
|
/**
|
|
24608
25034
|
* Bulk remove contacts
|
|
24609
25035
|
*
|
|
@@ -24855,6 +25281,36 @@ class ExternalContactsApi {
|
|
|
24855
25281
|
);
|
|
24856
25282
|
}
|
|
24857
25283
|
|
|
25284
|
+
/**
|
|
25285
|
+
* Bulk enrich external organizations - Run up to 10 Enrich operations per request
|
|
25286
|
+
* See the API endpoint /externalcontacts/organizations/enrich for docs on individual Enrich operations.
|
|
25287
|
+
* @param {Object} body External Organization Enrich Requests
|
|
25288
|
+
* @param {Object} opts Optional parameters
|
|
25289
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25290
|
+
* postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25291
|
+
*/
|
|
25292
|
+
postExternalcontactsBulkOrganizationsEnrich(body, opts) {
|
|
25293
|
+
opts = opts || {};
|
|
25294
|
+
|
|
25295
|
+
// verify the required parameter 'body' is set
|
|
25296
|
+
if (body === undefined || body === null) {
|
|
25297
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsEnrich';
|
|
25298
|
+
}
|
|
25299
|
+
|
|
25300
|
+
return this.apiClient.callApi(
|
|
25301
|
+
'/api/v2/externalcontacts/bulk/organizations/enrich',
|
|
25302
|
+
'POST',
|
|
25303
|
+
{ },
|
|
25304
|
+
{ 'dryRun': opts['dryRun'] },
|
|
25305
|
+
{ },
|
|
25306
|
+
{ },
|
|
25307
|
+
body,
|
|
25308
|
+
['PureCloud OAuth'],
|
|
25309
|
+
['application/json'],
|
|
25310
|
+
['application/json']
|
|
25311
|
+
);
|
|
25312
|
+
}
|
|
25313
|
+
|
|
24858
25314
|
/**
|
|
24859
25315
|
* Bulk remove organizations
|
|
24860
25316
|
*
|
|
@@ -25085,6 +25541,36 @@ class ExternalContactsApi {
|
|
|
25085
25541
|
);
|
|
25086
25542
|
}
|
|
25087
25543
|
|
|
25544
|
+
/**
|
|
25545
|
+
* Modify or create an External Contact, with powerful behaviors for finding and combining data with pre-existing Contacts.
|
|
25546
|
+
* You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/contacts. A 201 response status indicates that a new Contact was created, whereas a 200 status indicates that a Contact was updated or a merge occurred.
|
|
25547
|
+
* @param {Object} body ContactEnrichRequest
|
|
25548
|
+
* @param {Object} opts Optional parameters
|
|
25549
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25550
|
+
* postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25551
|
+
*/
|
|
25552
|
+
postExternalcontactsContactsEnrich(body, opts) {
|
|
25553
|
+
opts = opts || {};
|
|
25554
|
+
|
|
25555
|
+
// verify the required parameter 'body' is set
|
|
25556
|
+
if (body === undefined || body === null) {
|
|
25557
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsContactsEnrich';
|
|
25558
|
+
}
|
|
25559
|
+
|
|
25560
|
+
return this.apiClient.callApi(
|
|
25561
|
+
'/api/v2/externalcontacts/contacts/enrich',
|
|
25562
|
+
'POST',
|
|
25563
|
+
{ },
|
|
25564
|
+
{ 'dryRun': opts['dryRun'] },
|
|
25565
|
+
{ },
|
|
25566
|
+
{ },
|
|
25567
|
+
body,
|
|
25568
|
+
['PureCloud OAuth'],
|
|
25569
|
+
['application/json'],
|
|
25570
|
+
['application/json']
|
|
25571
|
+
);
|
|
25572
|
+
}
|
|
25573
|
+
|
|
25088
25574
|
/**
|
|
25089
25575
|
* Create bulk export
|
|
25090
25576
|
*
|
|
@@ -25110,6 +25596,32 @@ class ExternalContactsApi {
|
|
|
25110
25596
|
);
|
|
25111
25597
|
}
|
|
25112
25598
|
|
|
25599
|
+
/**
|
|
25600
|
+
* Merge up to 25 contacts into a new contact record
|
|
25601
|
+
* Merge operation may fail if the resulting mergeset exceeds our default limit of 52. The valueOverride field lets you override any of the Contact fields post-merge. If any Contact field is left null in `valueOverride`, it will be taken from the most recently-modified contact in the merge set. Exception for *phone/*email fields: Conflicting data will be moved to any other available phone/email fields in the merged contact.
|
|
25602
|
+
* @param {Object} body MergeRequest
|
|
25603
|
+
* postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25604
|
+
*/
|
|
25605
|
+
postExternalcontactsContactsMerge(body) {
|
|
25606
|
+
// verify the required parameter 'body' is set
|
|
25607
|
+
if (body === undefined || body === null) {
|
|
25608
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsContactsMerge';
|
|
25609
|
+
}
|
|
25610
|
+
|
|
25611
|
+
return this.apiClient.callApi(
|
|
25612
|
+
'/api/v2/externalcontacts/contacts/merge',
|
|
25613
|
+
'POST',
|
|
25614
|
+
{ },
|
|
25615
|
+
{ },
|
|
25616
|
+
{ },
|
|
25617
|
+
{ },
|
|
25618
|
+
body,
|
|
25619
|
+
['PureCloud OAuth'],
|
|
25620
|
+
['application/json'],
|
|
25621
|
+
['application/json']
|
|
25622
|
+
);
|
|
25623
|
+
}
|
|
25624
|
+
|
|
25113
25625
|
/**
|
|
25114
25626
|
* Create a schema
|
|
25115
25627
|
*
|
|
@@ -25190,6 +25702,66 @@ class ExternalContactsApi {
|
|
|
25190
25702
|
);
|
|
25191
25703
|
}
|
|
25192
25704
|
|
|
25705
|
+
/**
|
|
25706
|
+
* Fetch a contact using an identifier type and value.
|
|
25707
|
+
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
25708
|
+
* @param {Object} identifier
|
|
25709
|
+
* @param {Object} opts Optional parameters
|
|
25710
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
25711
|
+
* postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25712
|
+
*/
|
|
25713
|
+
postExternalcontactsIdentifierlookupContacts(identifier, opts) {
|
|
25714
|
+
opts = opts || {};
|
|
25715
|
+
|
|
25716
|
+
// verify the required parameter 'identifier' is set
|
|
25717
|
+
if (identifier === undefined || identifier === null) {
|
|
25718
|
+
throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupContacts';
|
|
25719
|
+
}
|
|
25720
|
+
|
|
25721
|
+
return this.apiClient.callApi(
|
|
25722
|
+
'/api/v2/externalcontacts/identifierlookup/contacts',
|
|
25723
|
+
'POST',
|
|
25724
|
+
{ },
|
|
25725
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
25726
|
+
{ },
|
|
25727
|
+
{ },
|
|
25728
|
+
identifier,
|
|
25729
|
+
['PureCloud OAuth'],
|
|
25730
|
+
['application/json'],
|
|
25731
|
+
['application/json']
|
|
25732
|
+
);
|
|
25733
|
+
}
|
|
25734
|
+
|
|
25735
|
+
/**
|
|
25736
|
+
* Fetch an external organization using an identifier type and value.
|
|
25737
|
+
* This endpoint will only accept ExternalId type identifiers.
|
|
25738
|
+
* @param {Object} identifier
|
|
25739
|
+
* @param {Object} opts Optional parameters
|
|
25740
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
25741
|
+
* postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25742
|
+
*/
|
|
25743
|
+
postExternalcontactsIdentifierlookupOrganizations(identifier, opts) {
|
|
25744
|
+
opts = opts || {};
|
|
25745
|
+
|
|
25746
|
+
// verify the required parameter 'identifier' is set
|
|
25747
|
+
if (identifier === undefined || identifier === null) {
|
|
25748
|
+
throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupOrganizations';
|
|
25749
|
+
}
|
|
25750
|
+
|
|
25751
|
+
return this.apiClient.callApi(
|
|
25752
|
+
'/api/v2/externalcontacts/identifierlookup/organizations',
|
|
25753
|
+
'POST',
|
|
25754
|
+
{ },
|
|
25755
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
25756
|
+
{ },
|
|
25757
|
+
{ },
|
|
25758
|
+
identifier,
|
|
25759
|
+
['PureCloud OAuth'],
|
|
25760
|
+
['application/json'],
|
|
25761
|
+
['application/json']
|
|
25762
|
+
);
|
|
25763
|
+
}
|
|
25764
|
+
|
|
25193
25765
|
/**
|
|
25194
25766
|
* Create CSV import job
|
|
25195
25767
|
*
|
|
@@ -25317,8 +25889,9 @@ class ExternalContactsApi {
|
|
|
25317
25889
|
|
|
25318
25890
|
/**
|
|
25319
25891
|
* Merge two contacts into a new contact record
|
|
25320
|
-
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
25892
|
+
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details. Deprecated: This API has been superseded by a new merge API. You are encouraged to instead use /api/v2/externalcontacts/contacts/merge, which supports merging up to 25 Contacts of any type, and overriding specific fields in the resulting Contact.
|
|
25321
25893
|
* @param {Object} body MergeRequest
|
|
25894
|
+
* @deprecated
|
|
25322
25895
|
*/
|
|
25323
25896
|
postExternalcontactsMergeContacts(body) {
|
|
25324
25897
|
// verify the required parameter 'body' is set
|
|
@@ -25395,6 +25968,36 @@ class ExternalContactsApi {
|
|
|
25395
25968
|
);
|
|
25396
25969
|
}
|
|
25397
25970
|
|
|
25971
|
+
/**
|
|
25972
|
+
* Modify or create an External Org, with powerful behaviors for finding and combining data with pre-existing External Orgs.
|
|
25973
|
+
* You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/organizations. A 201 response status indicates that a new External Organization was created, whereas a 200 status indicates that an External Organization was updated
|
|
25974
|
+
* @param {Object} body ExternalOrgEnrichRequest
|
|
25975
|
+
* @param {Object} opts Optional parameters
|
|
25976
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25977
|
+
* postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25978
|
+
*/
|
|
25979
|
+
postExternalcontactsOrganizationsEnrich(body, opts) {
|
|
25980
|
+
opts = opts || {};
|
|
25981
|
+
|
|
25982
|
+
// verify the required parameter 'body' is set
|
|
25983
|
+
if (body === undefined || body === null) {
|
|
25984
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsOrganizationsEnrich';
|
|
25985
|
+
}
|
|
25986
|
+
|
|
25987
|
+
return this.apiClient.callApi(
|
|
25988
|
+
'/api/v2/externalcontacts/organizations/enrich',
|
|
25989
|
+
'POST',
|
|
25990
|
+
{ },
|
|
25991
|
+
{ 'dryRun': opts['dryRun'] },
|
|
25992
|
+
{ },
|
|
25993
|
+
{ },
|
|
25994
|
+
body,
|
|
25995
|
+
['PureCloud OAuth'],
|
|
25996
|
+
['application/json'],
|
|
25997
|
+
['application/json']
|
|
25998
|
+
);
|
|
25999
|
+
}
|
|
26000
|
+
|
|
25398
26001
|
/**
|
|
25399
26002
|
* Create a schema
|
|
25400
26003
|
*
|
|
@@ -25851,7 +26454,7 @@ class FaxApi {
|
|
|
25851
26454
|
/**
|
|
25852
26455
|
* Fax service.
|
|
25853
26456
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25854
|
-
* @version
|
|
26457
|
+
* @version 219.0.0
|
|
25855
26458
|
*/
|
|
25856
26459
|
|
|
25857
26460
|
/**
|
|
@@ -26066,7 +26669,7 @@ class FlowsApi {
|
|
|
26066
26669
|
/**
|
|
26067
26670
|
* Flows service.
|
|
26068
26671
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
26069
|
-
* @version
|
|
26672
|
+
* @version 219.0.0
|
|
26070
26673
|
*/
|
|
26071
26674
|
|
|
26072
26675
|
/**
|
|
@@ -26249,7 +26852,7 @@ class GamificationApi {
|
|
|
26249
26852
|
/**
|
|
26250
26853
|
* Gamification service.
|
|
26251
26854
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
26252
|
-
* @version
|
|
26855
|
+
* @version 219.0.0
|
|
26253
26856
|
*/
|
|
26254
26857
|
|
|
26255
26858
|
/**
|
|
@@ -26289,6 +26892,31 @@ class GamificationApi {
|
|
|
26289
26892
|
);
|
|
26290
26893
|
}
|
|
26291
26894
|
|
|
26895
|
+
/**
|
|
26896
|
+
* Delete a Contest by Id
|
|
26897
|
+
*
|
|
26898
|
+
* @param {String} contestId The ID of the contest
|
|
26899
|
+
*/
|
|
26900
|
+
deleteGamificationContest(contestId) {
|
|
26901
|
+
// verify the required parameter 'contestId' is set
|
|
26902
|
+
if (contestId === undefined || contestId === null) {
|
|
26903
|
+
throw 'Missing the required parameter "contestId" when calling deleteGamificationContest';
|
|
26904
|
+
}
|
|
26905
|
+
|
|
26906
|
+
return this.apiClient.callApi(
|
|
26907
|
+
'/api/v2/gamification/contests/{contestId}',
|
|
26908
|
+
'DELETE',
|
|
26909
|
+
{ 'contestId': contestId },
|
|
26910
|
+
{ },
|
|
26911
|
+
{ },
|
|
26912
|
+
{ },
|
|
26913
|
+
null,
|
|
26914
|
+
['PureCloud OAuth'],
|
|
26915
|
+
['application/json'],
|
|
26916
|
+
['application/json']
|
|
26917
|
+
);
|
|
26918
|
+
}
|
|
26919
|
+
|
|
26292
26920
|
/**
|
|
26293
26921
|
* Get an External Metric Definition
|
|
26294
26922
|
*
|
|
@@ -26339,6 +26967,236 @@ class GamificationApi {
|
|
|
26339
26967
|
);
|
|
26340
26968
|
}
|
|
26341
26969
|
|
|
26970
|
+
/**
|
|
26971
|
+
* Get a Contest by Id
|
|
26972
|
+
*
|
|
26973
|
+
* @param {String} contestId The ID of the contest
|
|
26974
|
+
*/
|
|
26975
|
+
getGamificationContest(contestId) {
|
|
26976
|
+
// verify the required parameter 'contestId' is set
|
|
26977
|
+
if (contestId === undefined || contestId === null) {
|
|
26978
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContest';
|
|
26979
|
+
}
|
|
26980
|
+
|
|
26981
|
+
return this.apiClient.callApi(
|
|
26982
|
+
'/api/v2/gamification/contests/{contestId}',
|
|
26983
|
+
'GET',
|
|
26984
|
+
{ 'contestId': contestId },
|
|
26985
|
+
{ },
|
|
26986
|
+
{ },
|
|
26987
|
+
{ },
|
|
26988
|
+
null,
|
|
26989
|
+
['PureCloud OAuth'],
|
|
26990
|
+
['application/json'],
|
|
26991
|
+
['application/json']
|
|
26992
|
+
);
|
|
26993
|
+
}
|
|
26994
|
+
|
|
26995
|
+
/**
|
|
26996
|
+
* Get Contest Scores (Admin)
|
|
26997
|
+
*
|
|
26998
|
+
* @param {String} contestId The ID of the contest
|
|
26999
|
+
* @param {Object} opts Optional parameters
|
|
27000
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
27001
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
27002
|
+
* @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27003
|
+
* @param {Object} opts.returnsView Desired response results (default to All)
|
|
27004
|
+
*/
|
|
27005
|
+
getGamificationContestAgentsScores(contestId, opts) {
|
|
27006
|
+
opts = opts || {};
|
|
27007
|
+
|
|
27008
|
+
// verify the required parameter 'contestId' is set
|
|
27009
|
+
if (contestId === undefined || contestId === null) {
|
|
27010
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';
|
|
27011
|
+
}
|
|
27012
|
+
|
|
27013
|
+
return this.apiClient.callApi(
|
|
27014
|
+
'/api/v2/gamification/contests/{contestId}/agents/scores',
|
|
27015
|
+
'GET',
|
|
27016
|
+
{ 'contestId': contestId },
|
|
27017
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'workday': opts['workday'],'returnsView': opts['returnsView'] },
|
|
27018
|
+
{ },
|
|
27019
|
+
{ },
|
|
27020
|
+
null,
|
|
27021
|
+
['PureCloud OAuth'],
|
|
27022
|
+
['application/json'],
|
|
27023
|
+
['application/json']
|
|
27024
|
+
);
|
|
27025
|
+
}
|
|
27026
|
+
|
|
27027
|
+
/**
|
|
27028
|
+
* Get Contest Scores for the requesting Agent/Supervisor
|
|
27029
|
+
*
|
|
27030
|
+
* @param {String} contestId The ID of the contest
|
|
27031
|
+
* @param {Object} opts Optional parameters
|
|
27032
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
27033
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
27034
|
+
* @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27035
|
+
* @param {Object} opts.returnsView Desired response results (Supervisor Only) (default to All)
|
|
27036
|
+
*/
|
|
27037
|
+
getGamificationContestAgentsScoresMe(contestId, opts) {
|
|
27038
|
+
opts = opts || {};
|
|
27039
|
+
|
|
27040
|
+
// verify the required parameter 'contestId' is set
|
|
27041
|
+
if (contestId === undefined || contestId === null) {
|
|
27042
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';
|
|
27043
|
+
}
|
|
27044
|
+
|
|
27045
|
+
return this.apiClient.callApi(
|
|
27046
|
+
'/api/v2/gamification/contests/{contestId}/agents/scores/me',
|
|
27047
|
+
'GET',
|
|
27048
|
+
{ 'contestId': contestId },
|
|
27049
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'workday': opts['workday'],'returnsView': opts['returnsView'] },
|
|
27050
|
+
{ },
|
|
27051
|
+
{ },
|
|
27052
|
+
null,
|
|
27053
|
+
['PureCloud OAuth'],
|
|
27054
|
+
['application/json'],
|
|
27055
|
+
['application/json']
|
|
27056
|
+
);
|
|
27057
|
+
}
|
|
27058
|
+
|
|
27059
|
+
/**
|
|
27060
|
+
* Get a Contest Score Trend (Average Trend)
|
|
27061
|
+
*
|
|
27062
|
+
* @param {String} contestId The ID of the contest
|
|
27063
|
+
*/
|
|
27064
|
+
getGamificationContestAgentsScoresTrends(contestId) {
|
|
27065
|
+
// verify the required parameter 'contestId' is set
|
|
27066
|
+
if (contestId === undefined || contestId === null) {
|
|
27067
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';
|
|
27068
|
+
}
|
|
27069
|
+
|
|
27070
|
+
return this.apiClient.callApi(
|
|
27071
|
+
'/api/v2/gamification/contests/{contestId}/agents/scores/trends',
|
|
27072
|
+
'GET',
|
|
27073
|
+
{ 'contestId': contestId },
|
|
27074
|
+
{ },
|
|
27075
|
+
{ },
|
|
27076
|
+
{ },
|
|
27077
|
+
null,
|
|
27078
|
+
['PureCloud OAuth'],
|
|
27079
|
+
['application/json'],
|
|
27080
|
+
['application/json']
|
|
27081
|
+
);
|
|
27082
|
+
}
|
|
27083
|
+
|
|
27084
|
+
/**
|
|
27085
|
+
* Get a Contest Score Trend for the requesting Agent
|
|
27086
|
+
*
|
|
27087
|
+
* @param {String} contestId The ID of the contest
|
|
27088
|
+
*/
|
|
27089
|
+
getGamificationContestAgentsScoresTrendsMe(contestId) {
|
|
27090
|
+
// verify the required parameter 'contestId' is set
|
|
27091
|
+
if (contestId === undefined || contestId === null) {
|
|
27092
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';
|
|
27093
|
+
}
|
|
27094
|
+
|
|
27095
|
+
return this.apiClient.callApi(
|
|
27096
|
+
'/api/v2/gamification/contests/{contestId}/agents/scores/trends/me',
|
|
27097
|
+
'GET',
|
|
27098
|
+
{ 'contestId': contestId },
|
|
27099
|
+
{ },
|
|
27100
|
+
{ },
|
|
27101
|
+
{ },
|
|
27102
|
+
null,
|
|
27103
|
+
['PureCloud OAuth'],
|
|
27104
|
+
['application/json'],
|
|
27105
|
+
['application/json']
|
|
27106
|
+
);
|
|
27107
|
+
}
|
|
27108
|
+
|
|
27109
|
+
/**
|
|
27110
|
+
* Get a Contest Prize Image by Id
|
|
27111
|
+
*
|
|
27112
|
+
* @param {String} contestId The ID of the contest
|
|
27113
|
+
* @param {String} prizeImageId The ID of the prize image
|
|
27114
|
+
*/
|
|
27115
|
+
getGamificationContestPrizeimage(contestId, prizeImageId) {
|
|
27116
|
+
// verify the required parameter 'contestId' is set
|
|
27117
|
+
if (contestId === undefined || contestId === null) {
|
|
27118
|
+
throw 'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';
|
|
27119
|
+
}
|
|
27120
|
+
// verify the required parameter 'prizeImageId' is set
|
|
27121
|
+
if (prizeImageId === undefined || prizeImageId === null) {
|
|
27122
|
+
throw 'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';
|
|
27123
|
+
}
|
|
27124
|
+
|
|
27125
|
+
return this.apiClient.callApi(
|
|
27126
|
+
'/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}',
|
|
27127
|
+
'GET',
|
|
27128
|
+
{ 'contestId': contestId,'prizeImageId': prizeImageId },
|
|
27129
|
+
{ },
|
|
27130
|
+
{ },
|
|
27131
|
+
{ },
|
|
27132
|
+
null,
|
|
27133
|
+
['PureCloud OAuth'],
|
|
27134
|
+
['application/json'],
|
|
27135
|
+
['application/json']
|
|
27136
|
+
);
|
|
27137
|
+
}
|
|
27138
|
+
|
|
27139
|
+
/**
|
|
27140
|
+
* Get a List of Contests (Admin)
|
|
27141
|
+
*
|
|
27142
|
+
* @param {Object} opts Optional parameters
|
|
27143
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
27144
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
27145
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27146
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27147
|
+
* @param {Array.<String>} opts.status
|
|
27148
|
+
* @param {Object} opts.sortBy (default to dateStart)
|
|
27149
|
+
* @param {Object} opts.sortOrder (default to desc)
|
|
27150
|
+
*/
|
|
27151
|
+
getGamificationContests(opts) {
|
|
27152
|
+
opts = opts || {};
|
|
27153
|
+
|
|
27154
|
+
|
|
27155
|
+
return this.apiClient.callApi(
|
|
27156
|
+
'/api/v2/gamification/contests',
|
|
27157
|
+
'GET',
|
|
27158
|
+
{ },
|
|
27159
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
27160
|
+
{ },
|
|
27161
|
+
{ },
|
|
27162
|
+
null,
|
|
27163
|
+
['PureCloud OAuth'],
|
|
27164
|
+
['application/json'],
|
|
27165
|
+
['application/json']
|
|
27166
|
+
);
|
|
27167
|
+
}
|
|
27168
|
+
|
|
27169
|
+
/**
|
|
27170
|
+
* Get a List of Contests (Agent/Supervisor)
|
|
27171
|
+
*
|
|
27172
|
+
* @param {Object} opts Optional parameters
|
|
27173
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
27174
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
27175
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27176
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27177
|
+
* @param {Array.<String>} opts.status
|
|
27178
|
+
* @param {Object} opts.sortBy (default to dateStart)
|
|
27179
|
+
* @param {Object} opts.sortOrder (default to desc)
|
|
27180
|
+
* @param {Object} opts.view (default to participant)
|
|
27181
|
+
*/
|
|
27182
|
+
getGamificationContestsMe(opts) {
|
|
27183
|
+
opts = opts || {};
|
|
27184
|
+
|
|
27185
|
+
|
|
27186
|
+
return this.apiClient.callApi(
|
|
27187
|
+
'/api/v2/gamification/contests/me',
|
|
27188
|
+
'GET',
|
|
27189
|
+
{ },
|
|
27190
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'view': opts['view'] },
|
|
27191
|
+
{ },
|
|
27192
|
+
{ },
|
|
27193
|
+
null,
|
|
27194
|
+
['PureCloud OAuth'],
|
|
27195
|
+
['application/json'],
|
|
27196
|
+
['application/json']
|
|
27197
|
+
);
|
|
27198
|
+
}
|
|
27199
|
+
|
|
26342
27200
|
/**
|
|
26343
27201
|
* Get insights summary
|
|
26344
27202
|
*
|
|
@@ -27989,6 +28847,36 @@ class GamificationApi {
|
|
|
27989
28847
|
);
|
|
27990
28848
|
}
|
|
27991
28849
|
|
|
28850
|
+
/**
|
|
28851
|
+
* Finalize a Contest by Id
|
|
28852
|
+
*
|
|
28853
|
+
* @param {String} contestId The ID of the contest
|
|
28854
|
+
* @param {Object} body Finalize Contest
|
|
28855
|
+
*/
|
|
28856
|
+
patchGamificationContest(contestId, body) {
|
|
28857
|
+
// verify the required parameter 'contestId' is set
|
|
28858
|
+
if (contestId === undefined || contestId === null) {
|
|
28859
|
+
throw 'Missing the required parameter "contestId" when calling patchGamificationContest';
|
|
28860
|
+
}
|
|
28861
|
+
// verify the required parameter 'body' is set
|
|
28862
|
+
if (body === undefined || body === null) {
|
|
28863
|
+
throw 'Missing the required parameter "body" when calling patchGamificationContest';
|
|
28864
|
+
}
|
|
28865
|
+
|
|
28866
|
+
return this.apiClient.callApi(
|
|
28867
|
+
'/api/v2/gamification/contests/{contestId}',
|
|
28868
|
+
'PATCH',
|
|
28869
|
+
{ 'contestId': contestId },
|
|
28870
|
+
{ },
|
|
28871
|
+
{ },
|
|
28872
|
+
{ },
|
|
28873
|
+
body,
|
|
28874
|
+
['PureCloud OAuth'],
|
|
28875
|
+
['application/json'],
|
|
28876
|
+
['application/json']
|
|
28877
|
+
);
|
|
28878
|
+
}
|
|
28879
|
+
|
|
27992
28880
|
/**
|
|
27993
28881
|
* Write External Metric Data
|
|
27994
28882
|
*
|
|
@@ -28037,6 +28925,56 @@ class GamificationApi {
|
|
|
28037
28925
|
);
|
|
28038
28926
|
}
|
|
28039
28927
|
|
|
28928
|
+
/**
|
|
28929
|
+
* Creates a Contest
|
|
28930
|
+
*
|
|
28931
|
+
* @param {Object} body Create Contest
|
|
28932
|
+
*/
|
|
28933
|
+
postGamificationContests(body) {
|
|
28934
|
+
// verify the required parameter 'body' is set
|
|
28935
|
+
if (body === undefined || body === null) {
|
|
28936
|
+
throw 'Missing the required parameter "body" when calling postGamificationContests';
|
|
28937
|
+
}
|
|
28938
|
+
|
|
28939
|
+
return this.apiClient.callApi(
|
|
28940
|
+
'/api/v2/gamification/contests',
|
|
28941
|
+
'POST',
|
|
28942
|
+
{ },
|
|
28943
|
+
{ },
|
|
28944
|
+
{ },
|
|
28945
|
+
{ },
|
|
28946
|
+
body,
|
|
28947
|
+
['PureCloud OAuth'],
|
|
28948
|
+
['application/json'],
|
|
28949
|
+
['application/json']
|
|
28950
|
+
);
|
|
28951
|
+
}
|
|
28952
|
+
|
|
28953
|
+
/**
|
|
28954
|
+
* Generates pre-signed URL to upload a prize image for gamification contests
|
|
28955
|
+
*
|
|
28956
|
+
* @param {Object} body query
|
|
28957
|
+
*/
|
|
28958
|
+
postGamificationContestsUploadsPrizeimages(body) {
|
|
28959
|
+
// verify the required parameter 'body' is set
|
|
28960
|
+
if (body === undefined || body === null) {
|
|
28961
|
+
throw 'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';
|
|
28962
|
+
}
|
|
28963
|
+
|
|
28964
|
+
return this.apiClient.callApi(
|
|
28965
|
+
'/api/v2/gamification/contests/uploads/prizeimages',
|
|
28966
|
+
'POST',
|
|
28967
|
+
{ },
|
|
28968
|
+
{ },
|
|
28969
|
+
{ },
|
|
28970
|
+
{ },
|
|
28971
|
+
body,
|
|
28972
|
+
['PureCloud OAuth'],
|
|
28973
|
+
['application/json'],
|
|
28974
|
+
['application/json']
|
|
28975
|
+
);
|
|
28976
|
+
}
|
|
28977
|
+
|
|
28040
28978
|
/**
|
|
28041
28979
|
* Activate a performance profile
|
|
28042
28980
|
*
|
|
@@ -28296,6 +29234,36 @@ class GamificationApi {
|
|
|
28296
29234
|
);
|
|
28297
29235
|
}
|
|
28298
29236
|
|
|
29237
|
+
/**
|
|
29238
|
+
* Update a Contest by Id
|
|
29239
|
+
*
|
|
29240
|
+
* @param {String} contestId The ID of the contest
|
|
29241
|
+
* @param {Object} body Contest
|
|
29242
|
+
*/
|
|
29243
|
+
putGamificationContest(contestId, body) {
|
|
29244
|
+
// verify the required parameter 'contestId' is set
|
|
29245
|
+
if (contestId === undefined || contestId === null) {
|
|
29246
|
+
throw 'Missing the required parameter "contestId" when calling putGamificationContest';
|
|
29247
|
+
}
|
|
29248
|
+
// verify the required parameter 'body' is set
|
|
29249
|
+
if (body === undefined || body === null) {
|
|
29250
|
+
throw 'Missing the required parameter "body" when calling putGamificationContest';
|
|
29251
|
+
}
|
|
29252
|
+
|
|
29253
|
+
return this.apiClient.callApi(
|
|
29254
|
+
'/api/v2/gamification/contests/{contestId}',
|
|
29255
|
+
'PUT',
|
|
29256
|
+
{ 'contestId': contestId },
|
|
29257
|
+
{ },
|
|
29258
|
+
{ },
|
|
29259
|
+
{ },
|
|
29260
|
+
body,
|
|
29261
|
+
['PureCloud OAuth'],
|
|
29262
|
+
['application/json'],
|
|
29263
|
+
['application/json']
|
|
29264
|
+
);
|
|
29265
|
+
}
|
|
29266
|
+
|
|
28299
29267
|
/**
|
|
28300
29268
|
* Updates a performance profile
|
|
28301
29269
|
*
|
|
@@ -28391,7 +29359,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
28391
29359
|
/**
|
|
28392
29360
|
* GeneralDataProtectionRegulation service.
|
|
28393
29361
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
28394
|
-
* @version
|
|
29362
|
+
* @version 219.0.0
|
|
28395
29363
|
*/
|
|
28396
29364
|
|
|
28397
29365
|
/**
|
|
@@ -28521,7 +29489,7 @@ class GeolocationApi {
|
|
|
28521
29489
|
/**
|
|
28522
29490
|
* Geolocation service.
|
|
28523
29491
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
28524
|
-
* @version
|
|
29492
|
+
* @version 219.0.0
|
|
28525
29493
|
*/
|
|
28526
29494
|
|
|
28527
29495
|
/**
|
|
@@ -28652,7 +29620,7 @@ class GreetingsApi {
|
|
|
28652
29620
|
/**
|
|
28653
29621
|
* Greetings service.
|
|
28654
29622
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
28655
|
-
* @version
|
|
29623
|
+
* @version 219.0.0
|
|
28656
29624
|
*/
|
|
28657
29625
|
|
|
28658
29626
|
/**
|
|
@@ -29107,7 +30075,7 @@ class GroupsApi {
|
|
|
29107
30075
|
/**
|
|
29108
30076
|
* Groups service.
|
|
29109
30077
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
29110
|
-
* @version
|
|
30078
|
+
* @version 219.0.0
|
|
29111
30079
|
*/
|
|
29112
30080
|
|
|
29113
30081
|
/**
|
|
@@ -29626,7 +30594,7 @@ class IdentityProviderApi {
|
|
|
29626
30594
|
/**
|
|
29627
30595
|
* IdentityProvider service.
|
|
29628
30596
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
29629
|
-
* @version
|
|
30597
|
+
* @version 219.0.0
|
|
29630
30598
|
*/
|
|
29631
30599
|
|
|
29632
30600
|
/**
|
|
@@ -30487,7 +31455,7 @@ class InfrastructureAsCodeApi {
|
|
|
30487
31455
|
/**
|
|
30488
31456
|
* InfrastructureAsCode service.
|
|
30489
31457
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
30490
|
-
* @version
|
|
31458
|
+
* @version 219.0.0
|
|
30491
31459
|
*/
|
|
30492
31460
|
|
|
30493
31461
|
/**
|
|
@@ -30654,7 +31622,7 @@ class IntegrationsApi {
|
|
|
30654
31622
|
/**
|
|
30655
31623
|
* Integrations service.
|
|
30656
31624
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
30657
|
-
* @version
|
|
31625
|
+
* @version 219.0.0
|
|
30658
31626
|
*/
|
|
30659
31627
|
|
|
30660
31628
|
/**
|
|
@@ -32884,6 +33852,36 @@ class IntegrationsApi {
|
|
|
32884
33852
|
);
|
|
32885
33853
|
}
|
|
32886
33854
|
|
|
33855
|
+
/**
|
|
33856
|
+
* Invoke Webhook
|
|
33857
|
+
*
|
|
33858
|
+
* @param {String} tokenId The token of the webhook to be invoked
|
|
33859
|
+
* @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
|
|
33860
|
+
*/
|
|
33861
|
+
postIntegrationsWebhookEvents(tokenId, body) {
|
|
33862
|
+
// verify the required parameter 'tokenId' is set
|
|
33863
|
+
if (tokenId === undefined || tokenId === null) {
|
|
33864
|
+
throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
|
|
33865
|
+
}
|
|
33866
|
+
// verify the required parameter 'body' is set
|
|
33867
|
+
if (body === undefined || body === null) {
|
|
33868
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';
|
|
33869
|
+
}
|
|
33870
|
+
|
|
33871
|
+
return this.apiClient.callApi(
|
|
33872
|
+
'/api/v2/integrations/webhooks/{tokenId}/events',
|
|
33873
|
+
'POST',
|
|
33874
|
+
{ 'tokenId': tokenId },
|
|
33875
|
+
{ },
|
|
33876
|
+
{ },
|
|
33877
|
+
{ },
|
|
33878
|
+
body,
|
|
33879
|
+
['PureCloud OAuth'],
|
|
33880
|
+
['application/json'],
|
|
33881
|
+
['application/json']
|
|
33882
|
+
);
|
|
33883
|
+
}
|
|
33884
|
+
|
|
32887
33885
|
/**
|
|
32888
33886
|
* Update integration configuration.
|
|
32889
33887
|
*
|
|
@@ -33093,7 +34091,7 @@ class JourneyApi {
|
|
|
33093
34091
|
/**
|
|
33094
34092
|
* Journey service.
|
|
33095
34093
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
33096
|
-
* @version
|
|
34094
|
+
* @version 219.0.0
|
|
33097
34095
|
*/
|
|
33098
34096
|
|
|
33099
34097
|
/**
|
|
@@ -35078,7 +36076,7 @@ class KnowledgeApi {
|
|
|
35078
36076
|
/**
|
|
35079
36077
|
* Knowledge service.
|
|
35080
36078
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
35081
|
-
* @version
|
|
36079
|
+
* @version 219.0.0
|
|
35082
36080
|
*/
|
|
35083
36081
|
|
|
35084
36082
|
/**
|
|
@@ -38951,7 +39949,7 @@ class LanguageUnderstandingApi {
|
|
|
38951
39949
|
/**
|
|
38952
39950
|
* LanguageUnderstanding service.
|
|
38953
39951
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
38954
|
-
* @version
|
|
39952
|
+
* @version 219.0.0
|
|
38955
39953
|
*/
|
|
38956
39954
|
|
|
38957
39955
|
/**
|
|
@@ -39984,7 +40982,7 @@ class LanguagesApi {
|
|
|
39984
40982
|
/**
|
|
39985
40983
|
* Languages service.
|
|
39986
40984
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
39987
|
-
* @version
|
|
40985
|
+
* @version 219.0.0
|
|
39988
40986
|
*/
|
|
39989
40987
|
|
|
39990
40988
|
/**
|
|
@@ -40206,7 +41204,7 @@ class LearningApi {
|
|
|
40206
41204
|
/**
|
|
40207
41205
|
* Learning service.
|
|
40208
41206
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
40209
|
-
* @version
|
|
41207
|
+
* @version 219.0.0
|
|
40210
41208
|
*/
|
|
40211
41209
|
|
|
40212
41210
|
/**
|
|
@@ -41235,7 +42233,7 @@ class LicenseApi {
|
|
|
41235
42233
|
/**
|
|
41236
42234
|
* License service.
|
|
41237
42235
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
41238
|
-
* @version
|
|
42236
|
+
* @version 219.0.0
|
|
41239
42237
|
*/
|
|
41240
42238
|
|
|
41241
42239
|
/**
|
|
@@ -41473,7 +42471,7 @@ class LocationsApi {
|
|
|
41473
42471
|
/**
|
|
41474
42472
|
* Locations service.
|
|
41475
42473
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
41476
|
-
* @version
|
|
42474
|
+
* @version 219.0.0
|
|
41477
42475
|
*/
|
|
41478
42476
|
|
|
41479
42477
|
/**
|
|
@@ -41709,7 +42707,7 @@ class LogCaptureApi {
|
|
|
41709
42707
|
/**
|
|
41710
42708
|
* LogCapture service.
|
|
41711
42709
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
41712
|
-
* @version
|
|
42710
|
+
* @version 219.0.0
|
|
41713
42711
|
*/
|
|
41714
42712
|
|
|
41715
42713
|
/**
|
|
@@ -41909,7 +42907,7 @@ class MessagingApi {
|
|
|
41909
42907
|
/**
|
|
41910
42908
|
* Messaging service.
|
|
41911
42909
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
41912
|
-
* @version
|
|
42910
|
+
* @version 219.0.0
|
|
41913
42911
|
*/
|
|
41914
42912
|
|
|
41915
42913
|
/**
|
|
@@ -42268,7 +43266,7 @@ class MobileDevicesApi {
|
|
|
42268
43266
|
/**
|
|
42269
43267
|
* MobileDevices service.
|
|
42270
43268
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
42271
|
-
* @version
|
|
43269
|
+
* @version 219.0.0
|
|
42272
43270
|
*/
|
|
42273
43271
|
|
|
42274
43272
|
/**
|
|
@@ -42419,7 +43417,7 @@ class NotificationsApi {
|
|
|
42419
43417
|
/**
|
|
42420
43418
|
* Notifications service.
|
|
42421
43419
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
42422
|
-
* @version
|
|
43420
|
+
* @version 219.0.0
|
|
42423
43421
|
*/
|
|
42424
43422
|
|
|
42425
43423
|
/**
|
|
@@ -42652,7 +43650,7 @@ class OAuthApi {
|
|
|
42652
43650
|
/**
|
|
42653
43651
|
* OAuth service.
|
|
42654
43652
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
42655
|
-
* @version
|
|
43653
|
+
* @version 219.0.0
|
|
42656
43654
|
*/
|
|
42657
43655
|
|
|
42658
43656
|
/**
|
|
@@ -43018,7 +44016,7 @@ class ObjectsApi {
|
|
|
43018
44016
|
/**
|
|
43019
44017
|
* Objects service.
|
|
43020
44018
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
43021
|
-
* @version
|
|
44019
|
+
* @version 219.0.0
|
|
43022
44020
|
*/
|
|
43023
44021
|
|
|
43024
44022
|
/**
|
|
@@ -43123,6 +44121,31 @@ class ObjectsApi {
|
|
|
43123
44121
|
);
|
|
43124
44122
|
}
|
|
43125
44123
|
|
|
44124
|
+
/**
|
|
44125
|
+
* Get a list of soft deleted divisions for the org
|
|
44126
|
+
*
|
|
44127
|
+
* @param {Object} opts Optional parameters
|
|
44128
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
44129
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
44130
|
+
*/
|
|
44131
|
+
getAuthorizationDivisionsDeleted(opts) {
|
|
44132
|
+
opts = opts || {};
|
|
44133
|
+
|
|
44134
|
+
|
|
44135
|
+
return this.apiClient.callApi(
|
|
44136
|
+
'/api/v2/authorization/divisions/deleted',
|
|
44137
|
+
'GET',
|
|
44138
|
+
{ },
|
|
44139
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
44140
|
+
{ },
|
|
44141
|
+
{ },
|
|
44142
|
+
null,
|
|
44143
|
+
['PureCloud OAuth'],
|
|
44144
|
+
['application/json'],
|
|
44145
|
+
['application/json']
|
|
44146
|
+
);
|
|
44147
|
+
}
|
|
44148
|
+
|
|
43126
44149
|
/**
|
|
43127
44150
|
* Retrieve the home division for the organization.
|
|
43128
44151
|
* Will not include object counts.
|
|
@@ -43163,6 +44186,34 @@ class ObjectsApi {
|
|
|
43163
44186
|
);
|
|
43164
44187
|
}
|
|
43165
44188
|
|
|
44189
|
+
/**
|
|
44190
|
+
* Retrieve a list of all divisions defined for the organization with cursor
|
|
44191
|
+
* Use "after" and "before" param to fetch next/previous page}
|
|
44192
|
+
* @param {Object} opts Optional parameters
|
|
44193
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
44194
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
44195
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
44196
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
44197
|
+
* @param {String} opts.name Optionally request specific divisions by division name
|
|
44198
|
+
*/
|
|
44199
|
+
getAuthorizationDivisionsQuery(opts) {
|
|
44200
|
+
opts = opts || {};
|
|
44201
|
+
|
|
44202
|
+
|
|
44203
|
+
return this.apiClient.callApi(
|
|
44204
|
+
'/api/v2/authorization/divisions/query',
|
|
44205
|
+
'GET',
|
|
44206
|
+
{ },
|
|
44207
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
44208
|
+
{ },
|
|
44209
|
+
{ },
|
|
44210
|
+
null,
|
|
44211
|
+
['PureCloud OAuth'],
|
|
44212
|
+
['application/json'],
|
|
44213
|
+
['application/json']
|
|
44214
|
+
);
|
|
44215
|
+
}
|
|
44216
|
+
|
|
43166
44217
|
/**
|
|
43167
44218
|
* Assign a list of objects to a division
|
|
43168
44219
|
* Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
|
|
@@ -43289,7 +44340,7 @@ class OperationalEventsApi {
|
|
|
43289
44340
|
/**
|
|
43290
44341
|
* OperationalEvents service.
|
|
43291
44342
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
43292
|
-
* @version
|
|
44343
|
+
* @version 219.0.0
|
|
43293
44344
|
*/
|
|
43294
44345
|
|
|
43295
44346
|
/**
|
|
@@ -43406,7 +44457,7 @@ class OrganizationApi {
|
|
|
43406
44457
|
/**
|
|
43407
44458
|
* Organization service.
|
|
43408
44459
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
43409
|
-
* @version
|
|
44460
|
+
* @version 219.0.0
|
|
43410
44461
|
*/
|
|
43411
44462
|
|
|
43412
44463
|
/**
|
|
@@ -43881,7 +44932,7 @@ class OrganizationAuthorizationApi {
|
|
|
43881
44932
|
/**
|
|
43882
44933
|
* OrganizationAuthorization service.
|
|
43883
44934
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
43884
|
-
* @version
|
|
44935
|
+
* @version 219.0.0
|
|
43885
44936
|
*/
|
|
43886
44937
|
|
|
43887
44938
|
/**
|
|
@@ -45275,7 +46326,7 @@ class OutboundApi {
|
|
|
45275
46326
|
/**
|
|
45276
46327
|
* Outbound service.
|
|
45277
46328
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
45278
|
-
* @version
|
|
46329
|
+
* @version 219.0.0
|
|
45279
46330
|
*/
|
|
45280
46331
|
|
|
45281
46332
|
/**
|
|
@@ -45762,6 +46813,35 @@ class OutboundApi {
|
|
|
45762
46813
|
);
|
|
45763
46814
|
}
|
|
45764
46815
|
|
|
46816
|
+
/**
|
|
46817
|
+
* Deletes all or expired whatsApp numbers from a DNC list.
|
|
46818
|
+
* This operation is only for Internal DNC lists of whatsApp numbers
|
|
46819
|
+
* @param {String} dncListId DncList ID
|
|
46820
|
+
* @param {Object} opts Optional parameters
|
|
46821
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC whatsApp numbers that are expired (default to false)
|
|
46822
|
+
*/
|
|
46823
|
+
deleteOutboundDnclistWhatsappnumbers(dncListId, opts) {
|
|
46824
|
+
opts = opts || {};
|
|
46825
|
+
|
|
46826
|
+
// verify the required parameter 'dncListId' is set
|
|
46827
|
+
if (dncListId === undefined || dncListId === null) {
|
|
46828
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';
|
|
46829
|
+
}
|
|
46830
|
+
|
|
46831
|
+
return this.apiClient.callApi(
|
|
46832
|
+
'/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers',
|
|
46833
|
+
'DELETE',
|
|
46834
|
+
{ 'dncListId': dncListId },
|
|
46835
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
46836
|
+
{ },
|
|
46837
|
+
{ },
|
|
46838
|
+
null,
|
|
46839
|
+
['PureCloud OAuth'],
|
|
46840
|
+
['application/json'],
|
|
46841
|
+
['application/json']
|
|
46842
|
+
);
|
|
46843
|
+
}
|
|
46844
|
+
|
|
45765
46845
|
/**
|
|
45766
46846
|
* Delete File Specification Template
|
|
45767
46847
|
*
|
|
@@ -48100,6 +49180,36 @@ class OutboundApi {
|
|
|
48100
49180
|
);
|
|
48101
49181
|
}
|
|
48102
49182
|
|
|
49183
|
+
/**
|
|
49184
|
+
* Add entries to or delete entries from a DNC list.
|
|
49185
|
+
* Only Internal DNC lists may be deleted from
|
|
49186
|
+
* @param {String} dncListId DncList ID
|
|
49187
|
+
* @param {Object} body DNC whatsApp numbers
|
|
49188
|
+
*/
|
|
49189
|
+
patchOutboundDnclistWhatsappnumbers(dncListId, body) {
|
|
49190
|
+
// verify the required parameter 'dncListId' is set
|
|
49191
|
+
if (dncListId === undefined || dncListId === null) {
|
|
49192
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';
|
|
49193
|
+
}
|
|
49194
|
+
// verify the required parameter 'body' is set
|
|
49195
|
+
if (body === undefined || body === null) {
|
|
49196
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';
|
|
49197
|
+
}
|
|
49198
|
+
|
|
49199
|
+
return this.apiClient.callApi(
|
|
49200
|
+
'/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers',
|
|
49201
|
+
'PATCH',
|
|
49202
|
+
{ 'dncListId': dncListId },
|
|
49203
|
+
{ },
|
|
49204
|
+
{ },
|
|
49205
|
+
{ },
|
|
49206
|
+
body,
|
|
49207
|
+
['PureCloud OAuth'],
|
|
49208
|
+
['application/json'],
|
|
49209
|
+
['application/json']
|
|
49210
|
+
);
|
|
49211
|
+
}
|
|
49212
|
+
|
|
48103
49213
|
/**
|
|
48104
49214
|
* Update the outbound settings for this organization
|
|
48105
49215
|
*
|
|
@@ -49838,7 +50948,7 @@ class PresenceApi {
|
|
|
49838
50948
|
/**
|
|
49839
50949
|
* Presence service.
|
|
49840
50950
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
49841
|
-
* @version
|
|
50951
|
+
* @version 219.0.0
|
|
49842
50952
|
*/
|
|
49843
50953
|
|
|
49844
50954
|
/**
|
|
@@ -50582,7 +51692,7 @@ class ProcessAutomationApi {
|
|
|
50582
51692
|
/**
|
|
50583
51693
|
* ProcessAutomation service.
|
|
50584
51694
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
50585
|
-
* @version
|
|
51695
|
+
* @version 219.0.0
|
|
50586
51696
|
*/
|
|
50587
51697
|
|
|
50588
51698
|
/**
|
|
@@ -50821,7 +51931,7 @@ class QualityApi {
|
|
|
50821
51931
|
/**
|
|
50822
51932
|
* Quality service.
|
|
50823
51933
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
50824
|
-
* @version
|
|
51934
|
+
* @version 219.0.0
|
|
50825
51935
|
*/
|
|
50826
51936
|
|
|
50827
51937
|
/**
|
|
@@ -52608,7 +53718,7 @@ class RecordingApi {
|
|
|
52608
53718
|
/**
|
|
52609
53719
|
* Recording service.
|
|
52610
53720
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
52611
|
-
* @version
|
|
53721
|
+
* @version 219.0.0
|
|
52612
53722
|
*/
|
|
52613
53723
|
|
|
52614
53724
|
/**
|
|
@@ -52915,7 +54025,7 @@ class RecordingApi {
|
|
|
52915
54025
|
}
|
|
52916
54026
|
|
|
52917
54027
|
/**
|
|
52918
|
-
* Get recording metadata for a conversation. Does not return playable media
|
|
54028
|
+
* Get recording metadata for a conversation. Does not return playable media nor system annotations. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
|
|
52919
54029
|
*
|
|
52920
54030
|
* @param {String} conversationId Conversation ID
|
|
52921
54031
|
*/
|
|
@@ -54213,7 +55323,7 @@ class ResponseManagementApi {
|
|
|
54213
55323
|
/**
|
|
54214
55324
|
* ResponseManagement service.
|
|
54215
55325
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
54216
|
-
* @version
|
|
55326
|
+
* @version 219.0.0
|
|
54217
55327
|
*/
|
|
54218
55328
|
|
|
54219
55329
|
/**
|
|
@@ -54723,7 +55833,7 @@ class RoutingApi {
|
|
|
54723
55833
|
/**
|
|
54724
55834
|
* Routing service.
|
|
54725
55835
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
54726
|
-
* @version
|
|
55836
|
+
* @version 219.0.0
|
|
54727
55837
|
*/
|
|
54728
55838
|
|
|
54729
55839
|
/**
|
|
@@ -55633,7 +56743,7 @@ class RoutingApi {
|
|
|
55633
56743
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
55634
56744
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
55635
56745
|
* @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
|
|
55636
|
-
* @param {String} opts.filter Optional search filter
|
|
56746
|
+
* @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
|
|
55637
56747
|
*/
|
|
55638
56748
|
getRoutingEmailDomains(opts) {
|
|
55639
56749
|
opts = opts || {};
|
|
@@ -55732,7 +56842,9 @@ class RoutingApi {
|
|
|
55732
56842
|
* Get outbound domains
|
|
55733
56843
|
*
|
|
55734
56844
|
* @param {Object} opts Optional parameters
|
|
55735
|
-
* @param {
|
|
56845
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
56846
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
56847
|
+
* @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
|
|
55736
56848
|
*/
|
|
55737
56849
|
getRoutingEmailOutboundDomains(opts) {
|
|
55738
56850
|
opts = opts || {};
|
|
@@ -55742,7 +56854,7 @@ class RoutingApi {
|
|
|
55742
56854
|
'/api/v2/routing/email/outbound/domains',
|
|
55743
56855
|
'GET',
|
|
55744
56856
|
{ },
|
|
55745
|
-
{ 'filter': opts['filter'] },
|
|
56857
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'filter': opts['filter'] },
|
|
55746
56858
|
{ },
|
|
55747
56859
|
{ },
|
|
55748
56860
|
null,
|
|
@@ -59026,7 +60138,7 @@ class SCIMApi {
|
|
|
59026
60138
|
/**
|
|
59027
60139
|
* SCIM service.
|
|
59028
60140
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
59029
|
-
* @version
|
|
60141
|
+
* @version 219.0.0
|
|
59030
60142
|
*/
|
|
59031
60143
|
|
|
59032
60144
|
/**
|
|
@@ -59903,7 +61015,7 @@ class ScreenRecordingApi {
|
|
|
59903
61015
|
/**
|
|
59904
61016
|
* ScreenRecording service.
|
|
59905
61017
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
59906
|
-
* @version
|
|
61018
|
+
* @version 219.0.0
|
|
59907
61019
|
*/
|
|
59908
61020
|
|
|
59909
61021
|
/**
|
|
@@ -59948,7 +61060,7 @@ class ScriptsApi {
|
|
|
59948
61060
|
/**
|
|
59949
61061
|
* Scripts service.
|
|
59950
61062
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
59951
|
-
* @version
|
|
61063
|
+
* @version 219.0.0
|
|
59952
61064
|
*/
|
|
59953
61065
|
|
|
59954
61066
|
/**
|
|
@@ -60392,7 +61504,7 @@ class SearchApi {
|
|
|
60392
61504
|
/**
|
|
60393
61505
|
* Search service.
|
|
60394
61506
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
60395
|
-
* @version
|
|
61507
|
+
* @version 219.0.0
|
|
60396
61508
|
*/
|
|
60397
61509
|
|
|
60398
61510
|
/**
|
|
@@ -61135,7 +62247,7 @@ class SettingsApi {
|
|
|
61135
62247
|
/**
|
|
61136
62248
|
* Settings service.
|
|
61137
62249
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
61138
|
-
* @version
|
|
62250
|
+
* @version 219.0.0
|
|
61139
62251
|
*/
|
|
61140
62252
|
|
|
61141
62253
|
/**
|
|
@@ -61150,6 +62262,26 @@ class SettingsApi {
|
|
|
61150
62262
|
}
|
|
61151
62263
|
|
|
61152
62264
|
|
|
62265
|
+
/**
|
|
62266
|
+
* Reset email threading settings to default
|
|
62267
|
+
*
|
|
62268
|
+
*/
|
|
62269
|
+
deleteEmailsSettingsThreading() {
|
|
62270
|
+
|
|
62271
|
+
return this.apiClient.callApi(
|
|
62272
|
+
'/api/v2/emails/settings/threading',
|
|
62273
|
+
'DELETE',
|
|
62274
|
+
{ },
|
|
62275
|
+
{ },
|
|
62276
|
+
{ },
|
|
62277
|
+
{ },
|
|
62278
|
+
null,
|
|
62279
|
+
['PureCloud OAuth'],
|
|
62280
|
+
['application/json'],
|
|
62281
|
+
['application/json']
|
|
62282
|
+
);
|
|
62283
|
+
}
|
|
62284
|
+
|
|
61153
62285
|
/**
|
|
61154
62286
|
* Delete agent auto answer settings
|
|
61155
62287
|
*
|
|
@@ -61195,6 +62327,26 @@ class SettingsApi {
|
|
|
61195
62327
|
);
|
|
61196
62328
|
}
|
|
61197
62329
|
|
|
62330
|
+
/**
|
|
62331
|
+
* Get email threading settings
|
|
62332
|
+
*
|
|
62333
|
+
*/
|
|
62334
|
+
getEmailsSettingsThreading() {
|
|
62335
|
+
|
|
62336
|
+
return this.apiClient.callApi(
|
|
62337
|
+
'/api/v2/emails/settings/threading',
|
|
62338
|
+
'GET',
|
|
62339
|
+
{ },
|
|
62340
|
+
{ },
|
|
62341
|
+
{ },
|
|
62342
|
+
{ },
|
|
62343
|
+
null,
|
|
62344
|
+
['PureCloud OAuth'],
|
|
62345
|
+
['application/json'],
|
|
62346
|
+
['application/json']
|
|
62347
|
+
);
|
|
62348
|
+
}
|
|
62349
|
+
|
|
61198
62350
|
/**
|
|
61199
62351
|
* Get the execution history enabled setting.
|
|
61200
62352
|
* Get the execution history enabled setting.
|
|
@@ -61264,6 +62416,30 @@ class SettingsApi {
|
|
|
61264
62416
|
);
|
|
61265
62417
|
}
|
|
61266
62418
|
|
|
62419
|
+
/**
|
|
62420
|
+
* Patch email threading settings
|
|
62421
|
+
*
|
|
62422
|
+
* @param {Object} opts Optional parameters
|
|
62423
|
+
* @param {Object} opts.body
|
|
62424
|
+
*/
|
|
62425
|
+
patchEmailsSettingsThreading(opts) {
|
|
62426
|
+
opts = opts || {};
|
|
62427
|
+
|
|
62428
|
+
|
|
62429
|
+
return this.apiClient.callApi(
|
|
62430
|
+
'/api/v2/emails/settings/threading',
|
|
62431
|
+
'PATCH',
|
|
62432
|
+
{ },
|
|
62433
|
+
{ },
|
|
62434
|
+
{ },
|
|
62435
|
+
{ },
|
|
62436
|
+
opts['body'],
|
|
62437
|
+
['PureCloud OAuth'],
|
|
62438
|
+
['application/json'],
|
|
62439
|
+
['application/json']
|
|
62440
|
+
);
|
|
62441
|
+
}
|
|
62442
|
+
|
|
61267
62443
|
/**
|
|
61268
62444
|
* Edit the execution history on off setting.
|
|
61269
62445
|
* Edit the execution history on off setting.
|
|
@@ -61355,7 +62531,7 @@ class SocialMediaApi {
|
|
|
61355
62531
|
/**
|
|
61356
62532
|
* SocialMedia service.
|
|
61357
62533
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
61358
|
-
* @version
|
|
62534
|
+
* @version 219.0.0
|
|
61359
62535
|
*/
|
|
61360
62536
|
|
|
61361
62537
|
/**
|
|
@@ -62643,7 +63819,7 @@ class SpeechTextAnalyticsApi {
|
|
|
62643
63819
|
/**
|
|
62644
63820
|
* SpeechTextAnalytics service.
|
|
62645
63821
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
62646
|
-
* @version
|
|
63822
|
+
* @version 219.0.0
|
|
62647
63823
|
*/
|
|
62648
63824
|
|
|
62649
63825
|
/**
|
|
@@ -64084,7 +65260,7 @@ class StationsApi {
|
|
|
64084
65260
|
/**
|
|
64085
65261
|
* Stations service.
|
|
64086
65262
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
64087
|
-
* @version
|
|
65263
|
+
* @version 219.0.0
|
|
64088
65264
|
*/
|
|
64089
65265
|
|
|
64090
65266
|
/**
|
|
@@ -64186,7 +65362,7 @@ class SuggestApi {
|
|
|
64186
65362
|
/**
|
|
64187
65363
|
* Suggest service.
|
|
64188
65364
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
64189
|
-
* @version
|
|
65365
|
+
* @version 219.0.0
|
|
64190
65366
|
*/
|
|
64191
65367
|
|
|
64192
65368
|
/**
|
|
@@ -64325,7 +65501,7 @@ class TaskManagementApi {
|
|
|
64325
65501
|
/**
|
|
64326
65502
|
* TaskManagement service.
|
|
64327
65503
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
64328
|
-
* @version
|
|
65504
|
+
* @version 219.0.0
|
|
64329
65505
|
*/
|
|
64330
65506
|
|
|
64331
65507
|
/**
|
|
@@ -65200,6 +66376,71 @@ class TaskManagementApi {
|
|
|
65200
66376
|
);
|
|
65201
66377
|
}
|
|
65202
66378
|
|
|
66379
|
+
/**
|
|
66380
|
+
* Get the core types from which all schemas are built.
|
|
66381
|
+
*
|
|
66382
|
+
* @param {String} coreTypeName Name of the core type
|
|
66383
|
+
*/
|
|
66384
|
+
getTaskmanagementWorkitemsSchemasCoretype(coreTypeName) {
|
|
66385
|
+
// verify the required parameter 'coreTypeName' is set
|
|
66386
|
+
if (coreTypeName === undefined || coreTypeName === null) {
|
|
66387
|
+
throw 'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';
|
|
66388
|
+
}
|
|
66389
|
+
|
|
66390
|
+
return this.apiClient.callApi(
|
|
66391
|
+
'/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}',
|
|
66392
|
+
'GET',
|
|
66393
|
+
{ 'coreTypeName': coreTypeName },
|
|
66394
|
+
{ },
|
|
66395
|
+
{ },
|
|
66396
|
+
{ },
|
|
66397
|
+
null,
|
|
66398
|
+
['PureCloud OAuth'],
|
|
66399
|
+
['application/json'],
|
|
66400
|
+
['application/json']
|
|
66401
|
+
);
|
|
66402
|
+
}
|
|
66403
|
+
|
|
66404
|
+
/**
|
|
66405
|
+
* Get the core types from which all schemas are built.
|
|
66406
|
+
*
|
|
66407
|
+
*/
|
|
66408
|
+
getTaskmanagementWorkitemsSchemasCoretypes() {
|
|
66409
|
+
|
|
66410
|
+
return this.apiClient.callApi(
|
|
66411
|
+
'/api/v2/taskmanagement/workitems/schemas/coretypes',
|
|
66412
|
+
'GET',
|
|
66413
|
+
{ },
|
|
66414
|
+
{ },
|
|
66415
|
+
{ },
|
|
66416
|
+
{ },
|
|
66417
|
+
null,
|
|
66418
|
+
['PureCloud OAuth'],
|
|
66419
|
+
['application/json'],
|
|
66420
|
+
['application/json']
|
|
66421
|
+
);
|
|
66422
|
+
}
|
|
66423
|
+
|
|
66424
|
+
/**
|
|
66425
|
+
* Get quantitative limits on schemas
|
|
66426
|
+
*
|
|
66427
|
+
*/
|
|
66428
|
+
getTaskmanagementWorkitemsSchemasLimits() {
|
|
66429
|
+
|
|
66430
|
+
return this.apiClient.callApi(
|
|
66431
|
+
'/api/v2/taskmanagement/workitems/schemas/limits',
|
|
66432
|
+
'GET',
|
|
66433
|
+
{ },
|
|
66434
|
+
{ },
|
|
66435
|
+
{ },
|
|
66436
|
+
{ },
|
|
66437
|
+
null,
|
|
66438
|
+
['PureCloud OAuth'],
|
|
66439
|
+
['application/json'],
|
|
66440
|
+
['application/json']
|
|
66441
|
+
);
|
|
66442
|
+
}
|
|
66443
|
+
|
|
65203
66444
|
/**
|
|
65204
66445
|
* Get a worktype
|
|
65205
66446
|
*
|
|
@@ -66431,7 +67672,7 @@ class TeamsApi {
|
|
|
66431
67672
|
/**
|
|
66432
67673
|
* Teams service.
|
|
66433
67674
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
66434
|
-
* @version
|
|
67675
|
+
* @version 219.0.0
|
|
66435
67676
|
*/
|
|
66436
67677
|
|
|
66437
67678
|
/**
|
|
@@ -66736,7 +67977,7 @@ class TelephonyApi {
|
|
|
66736
67977
|
/**
|
|
66737
67978
|
* Telephony service.
|
|
66738
67979
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
66739
|
-
* @version
|
|
67980
|
+
* @version 219.0.0
|
|
66740
67981
|
*/
|
|
66741
67982
|
|
|
66742
67983
|
/**
|
|
@@ -66918,7 +68159,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
66918
68159
|
/**
|
|
66919
68160
|
* TelephonyProvidersEdge service.
|
|
66920
68161
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
66921
|
-
* @version
|
|
68162
|
+
* @version 219.0.0
|
|
66922
68163
|
*/
|
|
66923
68164
|
|
|
66924
68165
|
/**
|
|
@@ -70370,7 +71611,7 @@ class TextbotsApi {
|
|
|
70370
71611
|
/**
|
|
70371
71612
|
* Textbots service.
|
|
70372
71613
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
70373
|
-
* @version
|
|
71614
|
+
* @version 219.0.0
|
|
70374
71615
|
*/
|
|
70375
71616
|
|
|
70376
71617
|
/**
|
|
@@ -70498,7 +71739,7 @@ class TokensApi {
|
|
|
70498
71739
|
/**
|
|
70499
71740
|
* Tokens service.
|
|
70500
71741
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
70501
|
-
* @version
|
|
71742
|
+
* @version 219.0.0
|
|
70502
71743
|
*/
|
|
70503
71744
|
|
|
70504
71745
|
/**
|
|
@@ -70652,7 +71893,7 @@ class UploadsApi {
|
|
|
70652
71893
|
/**
|
|
70653
71894
|
* Uploads service.
|
|
70654
71895
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
70655
|
-
* @version
|
|
71896
|
+
* @version 219.0.0
|
|
70656
71897
|
*/
|
|
70657
71898
|
|
|
70658
71899
|
/**
|
|
@@ -70697,6 +71938,31 @@ class UploadsApi {
|
|
|
70697
71938
|
);
|
|
70698
71939
|
}
|
|
70699
71940
|
|
|
71941
|
+
/**
|
|
71942
|
+
* Generates pre-signed URL to upload a prize image for gamification contests
|
|
71943
|
+
*
|
|
71944
|
+
* @param {Object} body query
|
|
71945
|
+
*/
|
|
71946
|
+
postGamificationContestsUploadsPrizeimages(body) {
|
|
71947
|
+
// verify the required parameter 'body' is set
|
|
71948
|
+
if (body === undefined || body === null) {
|
|
71949
|
+
throw 'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';
|
|
71950
|
+
}
|
|
71951
|
+
|
|
71952
|
+
return this.apiClient.callApi(
|
|
71953
|
+
'/api/v2/gamification/contests/uploads/prizeimages',
|
|
71954
|
+
'POST',
|
|
71955
|
+
{ },
|
|
71956
|
+
{ },
|
|
71957
|
+
{ },
|
|
71958
|
+
{ },
|
|
71959
|
+
body,
|
|
71960
|
+
['PureCloud OAuth'],
|
|
71961
|
+
['application/json'],
|
|
71962
|
+
['application/json']
|
|
71963
|
+
);
|
|
71964
|
+
}
|
|
71965
|
+
|
|
70700
71966
|
/**
|
|
70701
71967
|
* Create upload presigned URL for draft function package file.
|
|
70702
71968
|
*
|
|
@@ -70918,7 +72184,7 @@ class UsageApi {
|
|
|
70918
72184
|
/**
|
|
70919
72185
|
* Usage service.
|
|
70920
72186
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
70921
|
-
* @version
|
|
72187
|
+
* @version 219.0.0
|
|
70922
72188
|
*/
|
|
70923
72189
|
|
|
70924
72190
|
/**
|
|
@@ -71133,7 +72399,7 @@ class UserRecordingsApi {
|
|
|
71133
72399
|
/**
|
|
71134
72400
|
* UserRecordings service.
|
|
71135
72401
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
71136
|
-
* @version
|
|
72402
|
+
* @version 219.0.0
|
|
71137
72403
|
*/
|
|
71138
72404
|
|
|
71139
72405
|
/**
|
|
@@ -71348,7 +72614,7 @@ class UsersApi {
|
|
|
71348
72614
|
/**
|
|
71349
72615
|
* Users service.
|
|
71350
72616
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
71351
|
-
* @version
|
|
72617
|
+
* @version 219.0.0
|
|
71352
72618
|
*/
|
|
71353
72619
|
|
|
71354
72620
|
/**
|
|
@@ -74301,7 +75567,7 @@ class UtilitiesApi {
|
|
|
74301
75567
|
/**
|
|
74302
75568
|
* Utilities service.
|
|
74303
75569
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
74304
|
-
* @version
|
|
75570
|
+
* @version 219.0.0
|
|
74305
75571
|
*/
|
|
74306
75572
|
|
|
74307
75573
|
/**
|
|
@@ -74412,7 +75678,7 @@ class VoicemailApi {
|
|
|
74412
75678
|
/**
|
|
74413
75679
|
* Voicemail service.
|
|
74414
75680
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
74415
|
-
* @version
|
|
75681
|
+
* @version 219.0.0
|
|
74416
75682
|
*/
|
|
74417
75683
|
|
|
74418
75684
|
/**
|
|
@@ -75134,7 +76400,7 @@ class WebChatApi {
|
|
|
75134
76400
|
/**
|
|
75135
76401
|
* WebChat service.
|
|
75136
76402
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
75137
|
-
* @version
|
|
76403
|
+
* @version 219.0.0
|
|
75138
76404
|
*/
|
|
75139
76405
|
|
|
75140
76406
|
/**
|
|
@@ -75694,7 +76960,7 @@ class WebDeploymentsApi {
|
|
|
75694
76960
|
/**
|
|
75695
76961
|
* WebDeployments service.
|
|
75696
76962
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
75697
|
-
* @version
|
|
76963
|
+
* @version 219.0.0
|
|
75698
76964
|
*/
|
|
75699
76965
|
|
|
75700
76966
|
/**
|
|
@@ -76278,7 +77544,7 @@ class WebMessagingApi {
|
|
|
76278
77544
|
/**
|
|
76279
77545
|
* WebMessaging service.
|
|
76280
77546
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
76281
|
-
* @version
|
|
77547
|
+
* @version 219.0.0
|
|
76282
77548
|
*/
|
|
76283
77549
|
|
|
76284
77550
|
/**
|
|
@@ -76324,7 +77590,7 @@ class WidgetsApi {
|
|
|
76324
77590
|
/**
|
|
76325
77591
|
* Widgets service.
|
|
76326
77592
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
76327
|
-
* @version
|
|
77593
|
+
* @version 219.0.0
|
|
76328
77594
|
*/
|
|
76329
77595
|
|
|
76330
77596
|
/**
|
|
@@ -76475,7 +77741,7 @@ class WorkforceManagementApi {
|
|
|
76475
77741
|
/**
|
|
76476
77742
|
* WorkforceManagement service.
|
|
76477
77743
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
76478
|
-
* @version
|
|
77744
|
+
* @version 219.0.0
|
|
76479
77745
|
*/
|
|
76480
77746
|
|
|
76481
77747
|
/**
|
|
@@ -79045,8 +80311,9 @@ class WorkforceManagementApi {
|
|
|
79045
80311
|
}
|
|
79046
80312
|
|
|
79047
80313
|
/**
|
|
79048
|
-
* Retrieves delete job status for historical data imports of the organization
|
|
79049
|
-
*
|
|
80314
|
+
* Retrieves delete job status for historical data imports of the organization.
|
|
80315
|
+
* Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
80316
|
+
* @deprecated
|
|
79050
80317
|
*/
|
|
79051
80318
|
getWorkforcemanagementHistoricaldataDeletejob() {
|
|
79052
80319
|
|
|
@@ -82618,8 +83885,9 @@ class WorkforceManagementApi {
|
|
|
82618
83885
|
}
|
|
82619
83886
|
|
|
82620
83887
|
/**
|
|
82621
|
-
* Delete the entries of the historical data imports in the organization
|
|
82622
|
-
*
|
|
83888
|
+
* Delete the entries of the historical data imports in the organization.
|
|
83889
|
+
* Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
83890
|
+
* @deprecated
|
|
82623
83891
|
*/
|
|
82624
83892
|
postWorkforcemanagementHistoricaldataDeletejob() {
|
|
82625
83893
|
|
|
@@ -83868,7 +85136,7 @@ class WorkforceManagementApi {
|
|
|
83868
85136
|
* </pre>
|
|
83869
85137
|
* </p>
|
|
83870
85138
|
* @module purecloud-platform-client-v2/index
|
|
83871
|
-
* @version
|
|
85139
|
+
* @version 219.0.0
|
|
83872
85140
|
*/
|
|
83873
85141
|
class platformClient {
|
|
83874
85142
|
constructor() {
|