purecloud-platform-client-v2 215.0.0 → 217.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 +1303 -493
- package/dist/web-amd/purecloud-platform-client-v2.js +1303 -493
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +435 -231
- package/dist/web-cjs/purecloud-platform-client-v2.js +441 -235
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +826 -472
- 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 -305
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +387 -8
- 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 -5
- 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 +174 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +175 -7
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -11
- 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 +9 -8
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +3 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
- 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 +4 -59
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -3
- 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 +58 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +70 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -690,7 +690,7 @@ class Configuration {
|
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
693
|
-
* @version
|
|
693
|
+
* @version 217.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 217.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 217.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 217.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 217.0.0
|
|
2821
2821
|
*/
|
|
2822
2822
|
|
|
2823
2823
|
/**
|
|
@@ -2877,58 +2877,6 @@ class AlertingApi {
|
|
|
2877
2877
|
);
|
|
2878
2878
|
}
|
|
2879
2879
|
|
|
2880
|
-
/**
|
|
2881
|
-
* Delete an interaction stats alert
|
|
2882
|
-
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
2883
|
-
* @param {String} alertId Alert ID
|
|
2884
|
-
* @deprecated
|
|
2885
|
-
*/
|
|
2886
|
-
deleteAlertingInteractionstatsAlert(alertId) {
|
|
2887
|
-
// verify the required parameter 'alertId' is set
|
|
2888
|
-
if (alertId === undefined || alertId === null) {
|
|
2889
|
-
throw 'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
return this.apiClient.callApi(
|
|
2893
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
2894
|
-
'DELETE',
|
|
2895
|
-
{ 'alertId': alertId },
|
|
2896
|
-
{ },
|
|
2897
|
-
{ },
|
|
2898
|
-
{ },
|
|
2899
|
-
null,
|
|
2900
|
-
['PureCloud OAuth'],
|
|
2901
|
-
['application/json'],
|
|
2902
|
-
['application/json']
|
|
2903
|
-
);
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
/**
|
|
2907
|
-
* Delete an interaction stats rule
|
|
2908
|
-
* Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
|
|
2909
|
-
* @param {String} ruleId Rule ID
|
|
2910
|
-
* @deprecated
|
|
2911
|
-
*/
|
|
2912
|
-
deleteAlertingInteractionstatsRule(ruleId) {
|
|
2913
|
-
// verify the required parameter 'ruleId' is set
|
|
2914
|
-
if (ruleId === undefined || ruleId === null) {
|
|
2915
|
-
throw 'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';
|
|
2916
|
-
}
|
|
2917
|
-
|
|
2918
|
-
return this.apiClient.callApi(
|
|
2919
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
2920
|
-
'DELETE',
|
|
2921
|
-
{ 'ruleId': ruleId },
|
|
2922
|
-
{ },
|
|
2923
|
-
{ },
|
|
2924
|
-
{ },
|
|
2925
|
-
null,
|
|
2926
|
-
['PureCloud OAuth'],
|
|
2927
|
-
['application/json'],
|
|
2928
|
-
['application/json']
|
|
2929
|
-
);
|
|
2930
|
-
}
|
|
2931
|
-
|
|
2932
2880
|
/**
|
|
2933
2881
|
* Delete a rule.
|
|
2934
2882
|
*
|
|
@@ -2979,158 +2927,6 @@ class AlertingApi {
|
|
|
2979
2927
|
);
|
|
2980
2928
|
}
|
|
2981
2929
|
|
|
2982
|
-
/**
|
|
2983
|
-
* Gets active alert count for a user
|
|
2984
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
|
|
2985
|
-
* @deprecated
|
|
2986
|
-
*/
|
|
2987
|
-
getAlertingAlertsActive() {
|
|
2988
|
-
|
|
2989
|
-
return this.apiClient.callApi(
|
|
2990
|
-
'/api/v2/alerting/alerts/active',
|
|
2991
|
-
'GET',
|
|
2992
|
-
{ },
|
|
2993
|
-
{ },
|
|
2994
|
-
{ },
|
|
2995
|
-
{ },
|
|
2996
|
-
null,
|
|
2997
|
-
['PureCloud OAuth'],
|
|
2998
|
-
['application/json'],
|
|
2999
|
-
['application/json']
|
|
3000
|
-
);
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* Get an interaction stats alert
|
|
3005
|
-
* Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
|
|
3006
|
-
* @param {String} alertId Alert ID
|
|
3007
|
-
* @param {Object} opts Optional parameters
|
|
3008
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3009
|
-
* @deprecated
|
|
3010
|
-
*/
|
|
3011
|
-
getAlertingInteractionstatsAlert(alertId, opts) {
|
|
3012
|
-
opts = opts || {};
|
|
3013
|
-
|
|
3014
|
-
// verify the required parameter 'alertId' is set
|
|
3015
|
-
if (alertId === undefined || alertId === null) {
|
|
3016
|
-
throw 'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';
|
|
3017
|
-
}
|
|
3018
|
-
|
|
3019
|
-
return this.apiClient.callApi(
|
|
3020
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
3021
|
-
'GET',
|
|
3022
|
-
{ 'alertId': alertId },
|
|
3023
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3024
|
-
{ },
|
|
3025
|
-
{ },
|
|
3026
|
-
null,
|
|
3027
|
-
['PureCloud OAuth'],
|
|
3028
|
-
['application/json'],
|
|
3029
|
-
['application/json']
|
|
3030
|
-
);
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
|
-
/**
|
|
3034
|
-
* Get interaction stats alert list
|
|
3035
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query.
|
|
3036
|
-
* @param {Object} opts Optional parameters
|
|
3037
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3038
|
-
* @deprecated
|
|
3039
|
-
*/
|
|
3040
|
-
getAlertingInteractionstatsAlerts(opts) {
|
|
3041
|
-
opts = opts || {};
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
return this.apiClient.callApi(
|
|
3045
|
-
'/api/v2/alerting/interactionstats/alerts',
|
|
3046
|
-
'GET',
|
|
3047
|
-
{ },
|
|
3048
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3049
|
-
{ },
|
|
3050
|
-
{ },
|
|
3051
|
-
null,
|
|
3052
|
-
['PureCloud OAuth'],
|
|
3053
|
-
['application/json'],
|
|
3054
|
-
['application/json']
|
|
3055
|
-
);
|
|
3056
|
-
}
|
|
3057
|
-
|
|
3058
|
-
/**
|
|
3059
|
-
* Gets user unread count of interaction stats alerts
|
|
3060
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
|
|
3061
|
-
* @deprecated
|
|
3062
|
-
*/
|
|
3063
|
-
getAlertingInteractionstatsAlertsUnread() {
|
|
3064
|
-
|
|
3065
|
-
return this.apiClient.callApi(
|
|
3066
|
-
'/api/v2/alerting/interactionstats/alerts/unread',
|
|
3067
|
-
'GET',
|
|
3068
|
-
{ },
|
|
3069
|
-
{ },
|
|
3070
|
-
{ },
|
|
3071
|
-
{ },
|
|
3072
|
-
null,
|
|
3073
|
-
['PureCloud OAuth'],
|
|
3074
|
-
['application/json'],
|
|
3075
|
-
['application/json']
|
|
3076
|
-
);
|
|
3077
|
-
}
|
|
3078
|
-
|
|
3079
|
-
/**
|
|
3080
|
-
* Get an interaction stats rule
|
|
3081
|
-
* Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
|
|
3082
|
-
* @param {String} ruleId Rule ID
|
|
3083
|
-
* @param {Object} opts Optional parameters
|
|
3084
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3085
|
-
* @deprecated
|
|
3086
|
-
*/
|
|
3087
|
-
getAlertingInteractionstatsRule(ruleId, opts) {
|
|
3088
|
-
opts = opts || {};
|
|
3089
|
-
|
|
3090
|
-
// verify the required parameter 'ruleId' is set
|
|
3091
|
-
if (ruleId === undefined || ruleId === null) {
|
|
3092
|
-
throw 'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';
|
|
3093
|
-
}
|
|
3094
|
-
|
|
3095
|
-
return this.apiClient.callApi(
|
|
3096
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
3097
|
-
'GET',
|
|
3098
|
-
{ 'ruleId': ruleId },
|
|
3099
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3100
|
-
{ },
|
|
3101
|
-
{ },
|
|
3102
|
-
null,
|
|
3103
|
-
['PureCloud OAuth'],
|
|
3104
|
-
['application/json'],
|
|
3105
|
-
['application/json']
|
|
3106
|
-
);
|
|
3107
|
-
}
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* Get an interaction stats rule list
|
|
3111
|
-
* Apps should migrate to use POST /api/v2/alerting/rules/query.
|
|
3112
|
-
* @param {Object} opts Optional parameters
|
|
3113
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3114
|
-
* @deprecated
|
|
3115
|
-
*/
|
|
3116
|
-
getAlertingInteractionstatsRules(opts) {
|
|
3117
|
-
opts = opts || {};
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
return this.apiClient.callApi(
|
|
3121
|
-
'/api/v2/alerting/interactionstats/rules',
|
|
3122
|
-
'GET',
|
|
3123
|
-
{ },
|
|
3124
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3125
|
-
{ },
|
|
3126
|
-
{ },
|
|
3127
|
-
null,
|
|
3128
|
-
['PureCloud OAuth'],
|
|
3129
|
-
['application/json'],
|
|
3130
|
-
['application/json']
|
|
3131
|
-
);
|
|
3132
|
-
}
|
|
3133
|
-
|
|
3134
2930
|
/**
|
|
3135
2931
|
* Get a rule.
|
|
3136
2932
|
*
|
|
@@ -3283,36 +3079,6 @@ class AlertingApi {
|
|
|
3283
3079
|
);
|
|
3284
3080
|
}
|
|
3285
3081
|
|
|
3286
|
-
/**
|
|
3287
|
-
* Create an interaction stats rule
|
|
3288
|
-
* Apps should migrate to use POST /api/v2/alerting/rules.
|
|
3289
|
-
* @param {Object} body AlertingRule
|
|
3290
|
-
* @param {Object} opts Optional parameters
|
|
3291
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3292
|
-
* @deprecated
|
|
3293
|
-
*/
|
|
3294
|
-
postAlertingInteractionstatsRules(body, opts) {
|
|
3295
|
-
opts = opts || {};
|
|
3296
|
-
|
|
3297
|
-
// verify the required parameter 'body' is set
|
|
3298
|
-
if (body === undefined || body === null) {
|
|
3299
|
-
throw 'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';
|
|
3300
|
-
}
|
|
3301
|
-
|
|
3302
|
-
return this.apiClient.callApi(
|
|
3303
|
-
'/api/v2/alerting/interactionstats/rules',
|
|
3304
|
-
'POST',
|
|
3305
|
-
{ },
|
|
3306
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3307
|
-
{ },
|
|
3308
|
-
{ },
|
|
3309
|
-
body,
|
|
3310
|
-
['PureCloud OAuth'],
|
|
3311
|
-
['application/json'],
|
|
3312
|
-
['application/json']
|
|
3313
|
-
);
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
3082
|
/**
|
|
3317
3083
|
* Create a Rule.
|
|
3318
3084
|
*
|
|
@@ -3416,76 +3182,6 @@ class AlertingApi {
|
|
|
3416
3182
|
);
|
|
3417
3183
|
}
|
|
3418
3184
|
|
|
3419
|
-
/**
|
|
3420
|
-
* Update an interaction stats alert read status
|
|
3421
|
-
* Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
|
|
3422
|
-
* @param {String} alertId Alert ID
|
|
3423
|
-
* @param {Object} body InteractionStatsAlert
|
|
3424
|
-
* @param {Object} opts Optional parameters
|
|
3425
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3426
|
-
* @deprecated
|
|
3427
|
-
*/
|
|
3428
|
-
putAlertingInteractionstatsAlert(alertId, body, opts) {
|
|
3429
|
-
opts = opts || {};
|
|
3430
|
-
|
|
3431
|
-
// verify the required parameter 'alertId' is set
|
|
3432
|
-
if (alertId === undefined || alertId === null) {
|
|
3433
|
-
throw 'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';
|
|
3434
|
-
}
|
|
3435
|
-
// verify the required parameter 'body' is set
|
|
3436
|
-
if (body === undefined || body === null) {
|
|
3437
|
-
throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
return this.apiClient.callApi(
|
|
3441
|
-
'/api/v2/alerting/interactionstats/alerts/{alertId}',
|
|
3442
|
-
'PUT',
|
|
3443
|
-
{ 'alertId': alertId },
|
|
3444
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3445
|
-
{ },
|
|
3446
|
-
{ },
|
|
3447
|
-
body,
|
|
3448
|
-
['PureCloud OAuth'],
|
|
3449
|
-
['application/json'],
|
|
3450
|
-
['application/json']
|
|
3451
|
-
);
|
|
3452
|
-
}
|
|
3453
|
-
|
|
3454
|
-
/**
|
|
3455
|
-
* Update an interaction stats rule
|
|
3456
|
-
* Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
|
|
3457
|
-
* @param {String} ruleId Rule ID
|
|
3458
|
-
* @param {Object} body AlertingRule
|
|
3459
|
-
* @param {Object} opts Optional parameters
|
|
3460
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3461
|
-
* @deprecated
|
|
3462
|
-
*/
|
|
3463
|
-
putAlertingInteractionstatsRule(ruleId, body, opts) {
|
|
3464
|
-
opts = opts || {};
|
|
3465
|
-
|
|
3466
|
-
// verify the required parameter 'ruleId' is set
|
|
3467
|
-
if (ruleId === undefined || ruleId === null) {
|
|
3468
|
-
throw 'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';
|
|
3469
|
-
}
|
|
3470
|
-
// verify the required parameter 'body' is set
|
|
3471
|
-
if (body === undefined || body === null) {
|
|
3472
|
-
throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';
|
|
3473
|
-
}
|
|
3474
|
-
|
|
3475
|
-
return this.apiClient.callApi(
|
|
3476
|
-
'/api/v2/alerting/interactionstats/rules/{ruleId}',
|
|
3477
|
-
'PUT',
|
|
3478
|
-
{ 'ruleId': ruleId },
|
|
3479
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
3480
|
-
{ },
|
|
3481
|
-
{ },
|
|
3482
|
-
body,
|
|
3483
|
-
['PureCloud OAuth'],
|
|
3484
|
-
['application/json'],
|
|
3485
|
-
['application/json']
|
|
3486
|
-
);
|
|
3487
|
-
}
|
|
3488
|
-
|
|
3489
3185
|
/**
|
|
3490
3186
|
* Update a rule
|
|
3491
3187
|
*
|
|
@@ -3522,7 +3218,7 @@ class AnalyticsApi {
|
|
|
3522
3218
|
/**
|
|
3523
3219
|
* Analytics service.
|
|
3524
3220
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3525
|
-
* @version
|
|
3221
|
+
* @version 217.0.0
|
|
3526
3222
|
*/
|
|
3527
3223
|
|
|
3528
3224
|
/**
|
|
@@ -4399,7 +4095,7 @@ class AnalyticsApi {
|
|
|
4399
4095
|
* @param {Number} opts.pageSize (default to 25)
|
|
4400
4096
|
* @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
|
|
4401
4097
|
* @param {Object} opts.state Only list users of this state
|
|
4402
|
-
* @param {Boolean} opts.deletedOnly Only list deleted dashboards
|
|
4098
|
+
* @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
|
|
4403
4099
|
*/
|
|
4404
4100
|
getAnalyticsReportingDashboardsUsers(opts) {
|
|
4405
4101
|
opts = opts || {};
|
|
@@ -5955,7 +5651,6 @@ class AnalyticsApi {
|
|
|
5955
5651
|
* Query for summary aggregates
|
|
5956
5652
|
*
|
|
5957
5653
|
* @param {Object} body query
|
|
5958
|
-
* postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5959
5654
|
*/
|
|
5960
5655
|
postAnalyticsSummariesAggregatesQuery(body) {
|
|
5961
5656
|
// verify the required parameter 'body' is set
|
|
@@ -6347,7 +6042,7 @@ class ArchitectApi {
|
|
|
6347
6042
|
/**
|
|
6348
6043
|
* Architect service.
|
|
6349
6044
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6350
|
-
* @version
|
|
6045
|
+
* @version 217.0.0
|
|
6351
6046
|
*/
|
|
6352
6047
|
|
|
6353
6048
|
/**
|
|
@@ -7377,6 +7072,32 @@ class ArchitectApi {
|
|
|
7377
7072
|
);
|
|
7378
7073
|
}
|
|
7379
7074
|
|
|
7075
|
+
/**
|
|
7076
|
+
* Get an IVR IdentityResolutionConfig.
|
|
7077
|
+
*
|
|
7078
|
+
* @param {String} ivrId IVR id
|
|
7079
|
+
* getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7080
|
+
*/
|
|
7081
|
+
getArchitectIvrIdentityresolution(ivrId) {
|
|
7082
|
+
// verify the required parameter 'ivrId' is set
|
|
7083
|
+
if (ivrId === undefined || ivrId === null) {
|
|
7084
|
+
throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
return this.apiClient.callApi(
|
|
7088
|
+
'/api/v2/architect/ivrs/{ivrId}/identityresolution',
|
|
7089
|
+
'GET',
|
|
7090
|
+
{ 'ivrId': ivrId },
|
|
7091
|
+
{ },
|
|
7092
|
+
{ },
|
|
7093
|
+
{ },
|
|
7094
|
+
null,
|
|
7095
|
+
['PureCloud OAuth'],
|
|
7096
|
+
['application/json'],
|
|
7097
|
+
['application/json']
|
|
7098
|
+
);
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7380
7101
|
/**
|
|
7381
7102
|
* Get IVR configs.
|
|
7382
7103
|
*
|
|
@@ -8651,6 +8372,35 @@ class ArchitectApi {
|
|
|
8651
8372
|
);
|
|
8652
8373
|
}
|
|
8653
8374
|
|
|
8375
|
+
/**
|
|
8376
|
+
* Fetch Architect Export Job Status
|
|
8377
|
+
*
|
|
8378
|
+
* @param {String} jobId Job ID
|
|
8379
|
+
* @param {Object} opts Optional parameters
|
|
8380
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8381
|
+
*/
|
|
8382
|
+
getFlowsExportJob(jobId, opts) {
|
|
8383
|
+
opts = opts || {};
|
|
8384
|
+
|
|
8385
|
+
// verify the required parameter 'jobId' is set
|
|
8386
|
+
if (jobId === undefined || jobId === null) {
|
|
8387
|
+
throw 'Missing the required parameter "jobId" when calling getFlowsExportJob';
|
|
8388
|
+
}
|
|
8389
|
+
|
|
8390
|
+
return this.apiClient.callApi(
|
|
8391
|
+
'/api/v2/flows/export/jobs/{jobId}',
|
|
8392
|
+
'GET',
|
|
8393
|
+
{ 'jobId': jobId },
|
|
8394
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
8395
|
+
{ },
|
|
8396
|
+
{ },
|
|
8397
|
+
null,
|
|
8398
|
+
['PureCloud OAuth'],
|
|
8399
|
+
['application/json'],
|
|
8400
|
+
['application/json']
|
|
8401
|
+
);
|
|
8402
|
+
}
|
|
8403
|
+
|
|
8654
8404
|
/**
|
|
8655
8405
|
* Start a process (job) to prepare a download of a singular flow execution data instance by Id
|
|
8656
8406
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
@@ -9897,6 +9647,31 @@ class ArchitectApi {
|
|
|
9897
9647
|
);
|
|
9898
9648
|
}
|
|
9899
9649
|
|
|
9650
|
+
/**
|
|
9651
|
+
* Register Architect Export Job
|
|
9652
|
+
*
|
|
9653
|
+
* @param {Object} body
|
|
9654
|
+
*/
|
|
9655
|
+
postFlowsExportJobs(body) {
|
|
9656
|
+
// verify the required parameter 'body' is set
|
|
9657
|
+
if (body === undefined || body === null) {
|
|
9658
|
+
throw 'Missing the required parameter "body" when calling postFlowsExportJobs';
|
|
9659
|
+
}
|
|
9660
|
+
|
|
9661
|
+
return this.apiClient.callApi(
|
|
9662
|
+
'/api/v2/flows/export/jobs',
|
|
9663
|
+
'POST',
|
|
9664
|
+
{ },
|
|
9665
|
+
{ },
|
|
9666
|
+
{ },
|
|
9667
|
+
{ },
|
|
9668
|
+
body,
|
|
9669
|
+
['PureCloud OAuth'],
|
|
9670
|
+
['application/json'],
|
|
9671
|
+
['application/json']
|
|
9672
|
+
);
|
|
9673
|
+
}
|
|
9674
|
+
|
|
9900
9675
|
/**
|
|
9901
9676
|
* Start a process (job) that will prepare a list of execution data IDs for download.
|
|
9902
9677
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
@@ -10084,6 +9859,37 @@ class ArchitectApi {
|
|
|
10084
9859
|
);
|
|
10085
9860
|
}
|
|
10086
9861
|
|
|
9862
|
+
/**
|
|
9863
|
+
* Update an IVR IdentityResolutionConfig.
|
|
9864
|
+
*
|
|
9865
|
+
* @param {String} ivrId IVR id
|
|
9866
|
+
* @param {Object} body
|
|
9867
|
+
* putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9868
|
+
*/
|
|
9869
|
+
putArchitectIvrIdentityresolution(ivrId, body) {
|
|
9870
|
+
// verify the required parameter 'ivrId' is set
|
|
9871
|
+
if (ivrId === undefined || ivrId === null) {
|
|
9872
|
+
throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
|
|
9873
|
+
}
|
|
9874
|
+
// verify the required parameter 'body' is set
|
|
9875
|
+
if (body === undefined || body === null) {
|
|
9876
|
+
throw 'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';
|
|
9877
|
+
}
|
|
9878
|
+
|
|
9879
|
+
return this.apiClient.callApi(
|
|
9880
|
+
'/api/v2/architect/ivrs/{ivrId}/identityresolution',
|
|
9881
|
+
'PUT',
|
|
9882
|
+
{ 'ivrId': ivrId },
|
|
9883
|
+
{ },
|
|
9884
|
+
{ },
|
|
9885
|
+
{ },
|
|
9886
|
+
body,
|
|
9887
|
+
['PureCloud OAuth'],
|
|
9888
|
+
['application/json'],
|
|
9889
|
+
['application/json']
|
|
9890
|
+
);
|
|
9891
|
+
}
|
|
9892
|
+
|
|
10087
9893
|
/**
|
|
10088
9894
|
* Update specified user prompt
|
|
10089
9895
|
*
|
|
@@ -10469,7 +10275,7 @@ class AuditApi {
|
|
|
10469
10275
|
/**
|
|
10470
10276
|
* Audit service.
|
|
10471
10277
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10472
|
-
* @version
|
|
10278
|
+
* @version 217.0.0
|
|
10473
10279
|
*/
|
|
10474
10280
|
|
|
10475
10281
|
/**
|
|
@@ -10670,7 +10476,7 @@ class AuthorizationApi {
|
|
|
10670
10476
|
/**
|
|
10671
10477
|
* Authorization service.
|
|
10672
10478
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10673
|
-
* @version
|
|
10479
|
+
* @version 217.0.0
|
|
10674
10480
|
*/
|
|
10675
10481
|
|
|
10676
10482
|
/**
|
|
@@ -10690,7 +10496,7 @@ class AuthorizationApi {
|
|
|
10690
10496
|
*
|
|
10691
10497
|
* @param {String} divisionId Division ID
|
|
10692
10498
|
* @param {Object} opts Optional parameters
|
|
10693
|
-
* @param {Boolean} opts.force Force delete this division
|
|
10499
|
+
* @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
|
|
10694
10500
|
*/
|
|
10695
10501
|
deleteAuthorizationDivision(divisionId, opts) {
|
|
10696
10502
|
opts = opts || {};
|
|
@@ -10714,6 +10520,37 @@ class AuthorizationApi {
|
|
|
10714
10520
|
);
|
|
10715
10521
|
}
|
|
10716
10522
|
|
|
10523
|
+
/**
|
|
10524
|
+
* Delete an access control policy
|
|
10525
|
+
*
|
|
10526
|
+
* @param {String} targetName The domain:entity:action target to which the policy is applied
|
|
10527
|
+
* @param {String} subjectId The ID of the subject to which the policy is applied
|
|
10528
|
+
* deleteAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10529
|
+
*/
|
|
10530
|
+
deleteAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
10531
|
+
// verify the required parameter 'targetName' is set
|
|
10532
|
+
if (targetName === undefined || targetName === null) {
|
|
10533
|
+
throw 'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10534
|
+
}
|
|
10535
|
+
// verify the required parameter 'subjectId' is set
|
|
10536
|
+
if (subjectId === undefined || subjectId === null) {
|
|
10537
|
+
throw 'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10538
|
+
}
|
|
10539
|
+
|
|
10540
|
+
return this.apiClient.callApi(
|
|
10541
|
+
'/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
|
|
10542
|
+
'DELETE',
|
|
10543
|
+
{ 'targetName': targetName,'subjectId': subjectId },
|
|
10544
|
+
{ },
|
|
10545
|
+
{ },
|
|
10546
|
+
{ },
|
|
10547
|
+
null,
|
|
10548
|
+
['PureCloud OAuth'],
|
|
10549
|
+
['application/json'],
|
|
10550
|
+
['application/json']
|
|
10551
|
+
);
|
|
10552
|
+
}
|
|
10553
|
+
|
|
10717
10554
|
/**
|
|
10718
10555
|
* Delete an organization role.
|
|
10719
10556
|
*
|
|
@@ -11028,6 +10865,198 @@ class AuthorizationApi {
|
|
|
11028
10865
|
);
|
|
11029
10866
|
}
|
|
11030
10867
|
|
|
10868
|
+
/**
|
|
10869
|
+
* Get a page of access policies for an organization
|
|
10870
|
+
*
|
|
10871
|
+
* @param {Object} opts Optional parameters
|
|
10872
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10873
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
10874
|
+
* getAuthorizationPolicies is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10875
|
+
*/
|
|
10876
|
+
getAuthorizationPolicies(opts) {
|
|
10877
|
+
opts = opts || {};
|
|
10878
|
+
|
|
10879
|
+
|
|
10880
|
+
return this.apiClient.callApi(
|
|
10881
|
+
'/api/v2/authorization/policies',
|
|
10882
|
+
'GET',
|
|
10883
|
+
{ },
|
|
10884
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
10885
|
+
{ },
|
|
10886
|
+
{ },
|
|
10887
|
+
null,
|
|
10888
|
+
['PureCloud OAuth'],
|
|
10889
|
+
['application/json'],
|
|
10890
|
+
['application/json']
|
|
10891
|
+
);
|
|
10892
|
+
}
|
|
10893
|
+
|
|
10894
|
+
/**
|
|
10895
|
+
* Get a page of access policies for a given subject
|
|
10896
|
+
*
|
|
10897
|
+
* @param {String} subjectId The ID of the subject to which policies are applied
|
|
10898
|
+
* @param {Object} opts Optional parameters
|
|
10899
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10900
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
10901
|
+
* getAuthorizationPoliciesSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10902
|
+
*/
|
|
10903
|
+
getAuthorizationPoliciesSubjectSubjectId(subjectId, opts) {
|
|
10904
|
+
opts = opts || {};
|
|
10905
|
+
|
|
10906
|
+
// verify the required parameter 'subjectId' is set
|
|
10907
|
+
if (subjectId === undefined || subjectId === null) {
|
|
10908
|
+
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';
|
|
10909
|
+
}
|
|
10910
|
+
|
|
10911
|
+
return this.apiClient.callApi(
|
|
10912
|
+
'/api/v2/authorization/policies/subject/{subjectId}',
|
|
10913
|
+
'GET',
|
|
10914
|
+
{ 'subjectId': subjectId },
|
|
10915
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
10916
|
+
{ },
|
|
10917
|
+
{ },
|
|
10918
|
+
null,
|
|
10919
|
+
['PureCloud OAuth'],
|
|
10920
|
+
['application/json'],
|
|
10921
|
+
['application/json']
|
|
10922
|
+
);
|
|
10923
|
+
}
|
|
10924
|
+
|
|
10925
|
+
/**
|
|
10926
|
+
* Get a page of access policies for a given policy target
|
|
10927
|
+
*
|
|
10928
|
+
* @param {String} targetName The domain:entity:action resource target to which policies are applied
|
|
10929
|
+
* @param {Object} opts Optional parameters
|
|
10930
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10931
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
10932
|
+
* getAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10933
|
+
*/
|
|
10934
|
+
getAuthorizationPoliciesTarget(targetName, opts) {
|
|
10935
|
+
opts = opts || {};
|
|
10936
|
+
|
|
10937
|
+
// verify the required parameter 'targetName' is set
|
|
10938
|
+
if (targetName === undefined || targetName === null) {
|
|
10939
|
+
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
return this.apiClient.callApi(
|
|
10943
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
10944
|
+
'GET',
|
|
10945
|
+
{ 'targetName': targetName },
|
|
10946
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
10947
|
+
{ },
|
|
10948
|
+
{ },
|
|
10949
|
+
null,
|
|
10950
|
+
['PureCloud OAuth'],
|
|
10951
|
+
['application/json'],
|
|
10952
|
+
['application/json']
|
|
10953
|
+
);
|
|
10954
|
+
}
|
|
10955
|
+
|
|
10956
|
+
/**
|
|
10957
|
+
* Get an access control policy for a specified resource target and subject
|
|
10958
|
+
*
|
|
10959
|
+
* @param {String} targetName The domain:entity:action resource target to which the policy is applied
|
|
10960
|
+
* @param {String} subjectId The ID of the subject to which the policy is applied
|
|
10961
|
+
* getAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10962
|
+
*/
|
|
10963
|
+
getAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
10964
|
+
// verify the required parameter 'targetName' is set
|
|
10965
|
+
if (targetName === undefined || targetName === null) {
|
|
10966
|
+
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10967
|
+
}
|
|
10968
|
+
// verify the required parameter 'subjectId' is set
|
|
10969
|
+
if (subjectId === undefined || subjectId === null) {
|
|
10970
|
+
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
10971
|
+
}
|
|
10972
|
+
|
|
10973
|
+
return this.apiClient.callApi(
|
|
10974
|
+
'/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
|
|
10975
|
+
'GET',
|
|
10976
|
+
{ 'targetName': targetName,'subjectId': subjectId },
|
|
10977
|
+
{ },
|
|
10978
|
+
{ },
|
|
10979
|
+
{ },
|
|
10980
|
+
null,
|
|
10981
|
+
['PureCloud OAuth'],
|
|
10982
|
+
['application/json'],
|
|
10983
|
+
['application/json']
|
|
10984
|
+
);
|
|
10985
|
+
}
|
|
10986
|
+
|
|
10987
|
+
/**
|
|
10988
|
+
* Get a map of policy targets to valid attributes for those targets
|
|
10989
|
+
*
|
|
10990
|
+
* getAuthorizationPoliciesTargets is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10991
|
+
*/
|
|
10992
|
+
getAuthorizationPoliciesTargets() {
|
|
10993
|
+
|
|
10994
|
+
return this.apiClient.callApi(
|
|
10995
|
+
'/api/v2/authorization/policies/targets',
|
|
10996
|
+
'GET',
|
|
10997
|
+
{ },
|
|
10998
|
+
{ },
|
|
10999
|
+
{ },
|
|
11000
|
+
{ },
|
|
11001
|
+
null,
|
|
11002
|
+
['PureCloud OAuth'],
|
|
11003
|
+
['application/json'],
|
|
11004
|
+
['application/json']
|
|
11005
|
+
);
|
|
11006
|
+
}
|
|
11007
|
+
|
|
11008
|
+
/**
|
|
11009
|
+
* Get an access control policy with the specified policy ID
|
|
11010
|
+
*
|
|
11011
|
+
* @param {String} policyId The ID of the policy to retrieve
|
|
11012
|
+
* getAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11013
|
+
*/
|
|
11014
|
+
getAuthorizationPolicy(policyId) {
|
|
11015
|
+
// verify the required parameter 'policyId' is set
|
|
11016
|
+
if (policyId === undefined || policyId === null) {
|
|
11017
|
+
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicy';
|
|
11018
|
+
}
|
|
11019
|
+
|
|
11020
|
+
return this.apiClient.callApi(
|
|
11021
|
+
'/api/v2/authorization/policies/{policyId}',
|
|
11022
|
+
'GET',
|
|
11023
|
+
{ 'policyId': policyId },
|
|
11024
|
+
{ },
|
|
11025
|
+
{ },
|
|
11026
|
+
{ },
|
|
11027
|
+
null,
|
|
11028
|
+
['PureCloud OAuth'],
|
|
11029
|
+
['application/json'],
|
|
11030
|
+
['application/json']
|
|
11031
|
+
);
|
|
11032
|
+
}
|
|
11033
|
+
|
|
11034
|
+
/**
|
|
11035
|
+
* Get the list of attributes used to evaluate an access control policy with the specified policy ID
|
|
11036
|
+
*
|
|
11037
|
+
* @param {String} policyId The ID of the policy to retrieve attributes
|
|
11038
|
+
* getAuthorizationPolicyAttributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11039
|
+
*/
|
|
11040
|
+
getAuthorizationPolicyAttributes(policyId) {
|
|
11041
|
+
// verify the required parameter 'policyId' is set
|
|
11042
|
+
if (policyId === undefined || policyId === null) {
|
|
11043
|
+
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';
|
|
11044
|
+
}
|
|
11045
|
+
|
|
11046
|
+
return this.apiClient.callApi(
|
|
11047
|
+
'/api/v2/authorization/policies/{policyId}/attributes',
|
|
11048
|
+
'GET',
|
|
11049
|
+
{ 'policyId': policyId },
|
|
11050
|
+
{ },
|
|
11051
|
+
{ },
|
|
11052
|
+
{ },
|
|
11053
|
+
null,
|
|
11054
|
+
['PureCloud OAuth'],
|
|
11055
|
+
['application/json'],
|
|
11056
|
+
['application/json']
|
|
11057
|
+
);
|
|
11058
|
+
}
|
|
11059
|
+
|
|
11031
11060
|
/**
|
|
11032
11061
|
* Get the list of enabled products
|
|
11033
11062
|
* Gets the list of enabled products. Some example product names are: collaborateFree, collaboratePro, communicate, and engage.
|
|
@@ -11442,16 +11471,17 @@ class AuthorizationApi {
|
|
|
11442
11471
|
* Recreate a previously deleted division.
|
|
11443
11472
|
*
|
|
11444
11473
|
* @param {String} divisionId Division ID
|
|
11445
|
-
* @param {Object}
|
|
11446
|
-
* @param {Object} opts.body Recreated division data
|
|
11474
|
+
* @param {Object} body Recreated division data
|
|
11447
11475
|
*/
|
|
11448
|
-
postAuthorizationDivisionRestore(divisionId,
|
|
11449
|
-
opts = opts || {};
|
|
11450
|
-
|
|
11476
|
+
postAuthorizationDivisionRestore(divisionId, body) {
|
|
11451
11477
|
// verify the required parameter 'divisionId' is set
|
|
11452
11478
|
if (divisionId === undefined || divisionId === null) {
|
|
11453
11479
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
|
|
11454
11480
|
}
|
|
11481
|
+
// verify the required parameter 'body' is set
|
|
11482
|
+
if (body === undefined || body === null) {
|
|
11483
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
|
|
11484
|
+
}
|
|
11455
11485
|
|
|
11456
11486
|
return this.apiClient.callApi(
|
|
11457
11487
|
'/api/v2/authorization/divisions/{divisionId}/restore',
|
|
@@ -11460,7 +11490,7 @@ class AuthorizationApi {
|
|
|
11460
11490
|
{ },
|
|
11461
11491
|
{ },
|
|
11462
11492
|
{ },
|
|
11463
|
-
|
|
11493
|
+
body,
|
|
11464
11494
|
['PureCloud OAuth'],
|
|
11465
11495
|
['application/json'],
|
|
11466
11496
|
['application/json']
|
|
@@ -11492,6 +11522,99 @@ class AuthorizationApi {
|
|
|
11492
11522
|
);
|
|
11493
11523
|
}
|
|
11494
11524
|
|
|
11525
|
+
/**
|
|
11526
|
+
* Add an access control policy for a specified resource target and subject
|
|
11527
|
+
*
|
|
11528
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
11529
|
+
* @param {Object} body Access control policy
|
|
11530
|
+
* postAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11531
|
+
*/
|
|
11532
|
+
postAuthorizationPoliciesTarget(targetName, body) {
|
|
11533
|
+
// verify the required parameter 'targetName' is set
|
|
11534
|
+
if (targetName === undefined || targetName === null) {
|
|
11535
|
+
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';
|
|
11536
|
+
}
|
|
11537
|
+
// verify the required parameter 'body' is set
|
|
11538
|
+
if (body === undefined || body === null) {
|
|
11539
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';
|
|
11540
|
+
}
|
|
11541
|
+
|
|
11542
|
+
return this.apiClient.callApi(
|
|
11543
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
11544
|
+
'POST',
|
|
11545
|
+
{ 'targetName': targetName },
|
|
11546
|
+
{ },
|
|
11547
|
+
{ },
|
|
11548
|
+
{ },
|
|
11549
|
+
body,
|
|
11550
|
+
['PureCloud OAuth'],
|
|
11551
|
+
['application/json'],
|
|
11552
|
+
['application/json']
|
|
11553
|
+
);
|
|
11554
|
+
}
|
|
11555
|
+
|
|
11556
|
+
/**
|
|
11557
|
+
* Validate the conditions and attributes of an access control policy for a specified resource target
|
|
11558
|
+
*
|
|
11559
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
11560
|
+
* @param {Object} body Access control policy
|
|
11561
|
+
* postAuthorizationPoliciesTargetValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11562
|
+
*/
|
|
11563
|
+
postAuthorizationPoliciesTargetValidate(targetName, body) {
|
|
11564
|
+
// verify the required parameter 'targetName' is set
|
|
11565
|
+
if (targetName === undefined || targetName === null) {
|
|
11566
|
+
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';
|
|
11567
|
+
}
|
|
11568
|
+
// verify the required parameter 'body' is set
|
|
11569
|
+
if (body === undefined || body === null) {
|
|
11570
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';
|
|
11571
|
+
}
|
|
11572
|
+
|
|
11573
|
+
return this.apiClient.callApi(
|
|
11574
|
+
'/api/v2/authorization/policies/targets/{targetName}/validate',
|
|
11575
|
+
'POST',
|
|
11576
|
+
{ 'targetName': targetName },
|
|
11577
|
+
{ },
|
|
11578
|
+
{ },
|
|
11579
|
+
{ },
|
|
11580
|
+
body,
|
|
11581
|
+
['PureCloud OAuth'],
|
|
11582
|
+
['application/json'],
|
|
11583
|
+
['application/json']
|
|
11584
|
+
);
|
|
11585
|
+
}
|
|
11586
|
+
|
|
11587
|
+
/**
|
|
11588
|
+
* Simulate a request and evaluate the specified policy ID against the provided values
|
|
11589
|
+
*
|
|
11590
|
+
* @param {String} policyId The ID of the policy to test the simulated data against
|
|
11591
|
+
* @param {Object} body A map of attribute names to type and simulated data value
|
|
11592
|
+
* postAuthorizationPolicySimulate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11593
|
+
*/
|
|
11594
|
+
postAuthorizationPolicySimulate(policyId, body) {
|
|
11595
|
+
// verify the required parameter 'policyId' is set
|
|
11596
|
+
if (policyId === undefined || policyId === null) {
|
|
11597
|
+
throw 'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';
|
|
11598
|
+
}
|
|
11599
|
+
// verify the required parameter 'body' is set
|
|
11600
|
+
if (body === undefined || body === null) {
|
|
11601
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
return this.apiClient.callApi(
|
|
11605
|
+
'/api/v2/authorization/policies/{policyId}/simulate',
|
|
11606
|
+
'POST',
|
|
11607
|
+
{ 'policyId': policyId },
|
|
11608
|
+
{ },
|
|
11609
|
+
{ },
|
|
11610
|
+
{ },
|
|
11611
|
+
body,
|
|
11612
|
+
['PureCloud OAuth'],
|
|
11613
|
+
['application/json'],
|
|
11614
|
+
['application/json']
|
|
11615
|
+
);
|
|
11616
|
+
}
|
|
11617
|
+
|
|
11495
11618
|
/**
|
|
11496
11619
|
* Bulk-grant subjects and divisions with an organization role.
|
|
11497
11620
|
*
|
|
@@ -11777,6 +11900,68 @@ class AuthorizationApi {
|
|
|
11777
11900
|
);
|
|
11778
11901
|
}
|
|
11779
11902
|
|
|
11903
|
+
/**
|
|
11904
|
+
* Add an access control policy for a specified resource target and subject, overwriting any existing policy
|
|
11905
|
+
*
|
|
11906
|
+
* @param {String} targetName The domain:entity:action target to which the policy will be applied
|
|
11907
|
+
* @param {Object} body Access control policy
|
|
11908
|
+
* putAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11909
|
+
*/
|
|
11910
|
+
putAuthorizationPoliciesTarget(targetName, body) {
|
|
11911
|
+
// verify the required parameter 'targetName' is set
|
|
11912
|
+
if (targetName === undefined || targetName === null) {
|
|
11913
|
+
throw 'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';
|
|
11914
|
+
}
|
|
11915
|
+
// verify the required parameter 'body' is set
|
|
11916
|
+
if (body === undefined || body === null) {
|
|
11917
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';
|
|
11918
|
+
}
|
|
11919
|
+
|
|
11920
|
+
return this.apiClient.callApi(
|
|
11921
|
+
'/api/v2/authorization/policies/targets/{targetName}',
|
|
11922
|
+
'PUT',
|
|
11923
|
+
{ 'targetName': targetName },
|
|
11924
|
+
{ },
|
|
11925
|
+
{ },
|
|
11926
|
+
{ },
|
|
11927
|
+
body,
|
|
11928
|
+
['PureCloud OAuth'],
|
|
11929
|
+
['application/json'],
|
|
11930
|
+
['application/json']
|
|
11931
|
+
);
|
|
11932
|
+
}
|
|
11933
|
+
|
|
11934
|
+
/**
|
|
11935
|
+
* Update an access control policy with a given ID
|
|
11936
|
+
*
|
|
11937
|
+
* @param {String} policyId The ID of the policy to update
|
|
11938
|
+
* @param {Object} body Access control policy
|
|
11939
|
+
* putAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11940
|
+
*/
|
|
11941
|
+
putAuthorizationPolicy(policyId, body) {
|
|
11942
|
+
// verify the required parameter 'policyId' is set
|
|
11943
|
+
if (policyId === undefined || policyId === null) {
|
|
11944
|
+
throw 'Missing the required parameter "policyId" when calling putAuthorizationPolicy';
|
|
11945
|
+
}
|
|
11946
|
+
// verify the required parameter 'body' is set
|
|
11947
|
+
if (body === undefined || body === null) {
|
|
11948
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationPolicy';
|
|
11949
|
+
}
|
|
11950
|
+
|
|
11951
|
+
return this.apiClient.callApi(
|
|
11952
|
+
'/api/v2/authorization/policies/{policyId}',
|
|
11953
|
+
'PUT',
|
|
11954
|
+
{ 'policyId': policyId },
|
|
11955
|
+
{ },
|
|
11956
|
+
{ },
|
|
11957
|
+
{ },
|
|
11958
|
+
body,
|
|
11959
|
+
['PureCloud OAuth'],
|
|
11960
|
+
['application/json'],
|
|
11961
|
+
['application/json']
|
|
11962
|
+
);
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11780
11965
|
/**
|
|
11781
11966
|
* Update an organization role.
|
|
11782
11967
|
* Update
|
|
@@ -11953,7 +12138,7 @@ class BillingApi {
|
|
|
11953
12138
|
/**
|
|
11954
12139
|
* Billing service.
|
|
11955
12140
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11956
|
-
* @version
|
|
12141
|
+
* @version 217.0.0
|
|
11957
12142
|
*/
|
|
11958
12143
|
|
|
11959
12144
|
/**
|
|
@@ -12033,7 +12218,7 @@ class CarrierServicesApi {
|
|
|
12033
12218
|
/**
|
|
12034
12219
|
* CarrierServices service.
|
|
12035
12220
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
12036
|
-
* @version
|
|
12221
|
+
* @version 217.0.0
|
|
12037
12222
|
*/
|
|
12038
12223
|
|
|
12039
12224
|
/**
|
|
@@ -12103,7 +12288,7 @@ class ChatApi {
|
|
|
12103
12288
|
/**
|
|
12104
12289
|
* Chat service.
|
|
12105
12290
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
12106
|
-
* @version
|
|
12291
|
+
* @version 217.0.0
|
|
12107
12292
|
*/
|
|
12108
12293
|
|
|
12109
12294
|
/**
|
|
@@ -12577,7 +12762,6 @@ class ChatApi {
|
|
|
12577
12762
|
* Get a user's chat settings
|
|
12578
12763
|
*
|
|
12579
12764
|
* @param {String} userId User ID
|
|
12580
|
-
* getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12581
12765
|
*/
|
|
12582
12766
|
getChatsUserSettings(userId) {
|
|
12583
12767
|
// verify the required parameter 'userId' is set
|
|
@@ -12602,7 +12786,6 @@ class ChatApi {
|
|
|
12602
12786
|
/**
|
|
12603
12787
|
* Get a user's chat settings
|
|
12604
12788
|
*
|
|
12605
|
-
* getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12606
12789
|
*/
|
|
12607
12790
|
getChatsUsersMeSettings() {
|
|
12608
12791
|
|
|
@@ -12750,7 +12933,6 @@ class ChatApi {
|
|
|
12750
12933
|
*
|
|
12751
12934
|
* @param {String} userId User ID
|
|
12752
12935
|
* @param {Object} body
|
|
12753
|
-
* patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12754
12936
|
*/
|
|
12755
12937
|
patchChatsUserSettings(userId, body) {
|
|
12756
12938
|
// verify the required parameter 'userId' is set
|
|
@@ -12780,7 +12962,6 @@ class ChatApi {
|
|
|
12780
12962
|
* Update a user's chat settings
|
|
12781
12963
|
*
|
|
12782
12964
|
* @param {Object} body
|
|
12783
|
-
* patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12784
12965
|
*/
|
|
12785
12966
|
patchChatsUsersMeSettings(body) {
|
|
12786
12967
|
// verify the required parameter 'body' is set
|
|
@@ -13039,7 +13220,7 @@ class CoachingApi {
|
|
|
13039
13220
|
/**
|
|
13040
13221
|
* Coaching service.
|
|
13041
13222
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13042
|
-
* @version
|
|
13223
|
+
* @version 217.0.0
|
|
13043
13224
|
*/
|
|
13044
13225
|
|
|
13045
13226
|
/**
|
|
@@ -13616,7 +13797,7 @@ class ContentManagementApi {
|
|
|
13616
13797
|
/**
|
|
13617
13798
|
* ContentManagement service.
|
|
13618
13799
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13619
|
-
* @version
|
|
13800
|
+
* @version 217.0.0
|
|
13620
13801
|
*/
|
|
13621
13802
|
|
|
13622
13803
|
/**
|
|
@@ -14697,7 +14878,7 @@ class ConversationsApi {
|
|
|
14697
14878
|
/**
|
|
14698
14879
|
* Conversations service.
|
|
14699
14880
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14700
|
-
* @version
|
|
14881
|
+
* @version 217.0.0
|
|
14701
14882
|
*/
|
|
14702
14883
|
|
|
14703
14884
|
/**
|
|
@@ -16874,6 +17055,84 @@ class ConversationsApi {
|
|
|
16874
17055
|
);
|
|
16875
17056
|
}
|
|
16876
17057
|
|
|
17058
|
+
/**
|
|
17059
|
+
* Get Facebook messaging integration identity resolution settings
|
|
17060
|
+
*
|
|
17061
|
+
* @param {String} integrationId Integration ID
|
|
17062
|
+
* getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17063
|
+
*/
|
|
17064
|
+
getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
|
|
17065
|
+
// verify the required parameter 'integrationId' is set
|
|
17066
|
+
if (integrationId === undefined || integrationId === null) {
|
|
17067
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
|
|
17068
|
+
}
|
|
17069
|
+
|
|
17070
|
+
return this.apiClient.callApi(
|
|
17071
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
|
|
17072
|
+
'GET',
|
|
17073
|
+
{ 'integrationId': integrationId },
|
|
17074
|
+
{ },
|
|
17075
|
+
{ },
|
|
17076
|
+
{ },
|
|
17077
|
+
null,
|
|
17078
|
+
['PureCloud OAuth'],
|
|
17079
|
+
['application/json'],
|
|
17080
|
+
['application/json']
|
|
17081
|
+
);
|
|
17082
|
+
}
|
|
17083
|
+
|
|
17084
|
+
/**
|
|
17085
|
+
* Get an open messaging integration Identity Resolution settings
|
|
17086
|
+
*
|
|
17087
|
+
* @param {String} integrationId Integration ID
|
|
17088
|
+
* getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17089
|
+
*/
|
|
17090
|
+
getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
|
|
17091
|
+
// verify the required parameter 'integrationId' is set
|
|
17092
|
+
if (integrationId === undefined || integrationId === null) {
|
|
17093
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
|
|
17094
|
+
}
|
|
17095
|
+
|
|
17096
|
+
return this.apiClient.callApi(
|
|
17097
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
|
|
17098
|
+
'GET',
|
|
17099
|
+
{ 'integrationId': integrationId },
|
|
17100
|
+
{ },
|
|
17101
|
+
{ },
|
|
17102
|
+
{ },
|
|
17103
|
+
null,
|
|
17104
|
+
['PureCloud OAuth'],
|
|
17105
|
+
['application/json'],
|
|
17106
|
+
['application/json']
|
|
17107
|
+
);
|
|
17108
|
+
}
|
|
17109
|
+
|
|
17110
|
+
/**
|
|
17111
|
+
* Get a whatsApp integration Identity Resolution settings
|
|
17112
|
+
*
|
|
17113
|
+
* @param {String} integrationId Integration ID
|
|
17114
|
+
* getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17115
|
+
*/
|
|
17116
|
+
getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
|
|
17117
|
+
// verify the required parameter 'integrationId' is set
|
|
17118
|
+
if (integrationId === undefined || integrationId === null) {
|
|
17119
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
|
|
17120
|
+
}
|
|
17121
|
+
|
|
17122
|
+
return this.apiClient.callApi(
|
|
17123
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
|
|
17124
|
+
'GET',
|
|
17125
|
+
{ 'integrationId': integrationId },
|
|
17126
|
+
{ },
|
|
17127
|
+
{ },
|
|
17128
|
+
{ },
|
|
17129
|
+
null,
|
|
17130
|
+
['PureCloud OAuth'],
|
|
17131
|
+
['application/json'],
|
|
17132
|
+
['application/json']
|
|
17133
|
+
);
|
|
17134
|
+
}
|
|
17135
|
+
|
|
16877
17136
|
/**
|
|
16878
17137
|
* Get a list of Integrations
|
|
16879
17138
|
*
|
|
@@ -21539,9 +21798,10 @@ class ConversationsApi {
|
|
|
21539
21798
|
|
|
21540
21799
|
/**
|
|
21541
21800
|
* Update a conversation by setting its recording state
|
|
21542
|
-
*
|
|
21801
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
|
|
21543
21802
|
* @param {String} conversationId conversationId
|
|
21544
21803
|
* @param {Object} body SetRecordingState
|
|
21804
|
+
* @deprecated
|
|
21545
21805
|
*/
|
|
21546
21806
|
putConversationsCobrowsesessionRecordingstate(conversationId, body) {
|
|
21547
21807
|
// verify the required parameter 'conversationId' is set
|
|
@@ -21687,6 +21947,99 @@ class ConversationsApi {
|
|
|
21687
21947
|
);
|
|
21688
21948
|
}
|
|
21689
21949
|
|
|
21950
|
+
/**
|
|
21951
|
+
* Create an identity resolution settings for a Facebook messaging integration
|
|
21952
|
+
*
|
|
21953
|
+
* @param {String} integrationId Integration ID
|
|
21954
|
+
* @param {Object} body IdentityResolutionConfig
|
|
21955
|
+
* putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21956
|
+
*/
|
|
21957
|
+
putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
|
|
21958
|
+
// verify the required parameter 'integrationId' is set
|
|
21959
|
+
if (integrationId === undefined || integrationId === null) {
|
|
21960
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
|
|
21961
|
+
}
|
|
21962
|
+
// verify the required parameter 'body' is set
|
|
21963
|
+
if (body === undefined || body === null) {
|
|
21964
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
|
|
21965
|
+
}
|
|
21966
|
+
|
|
21967
|
+
return this.apiClient.callApi(
|
|
21968
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
|
|
21969
|
+
'PUT',
|
|
21970
|
+
{ 'integrationId': integrationId },
|
|
21971
|
+
{ },
|
|
21972
|
+
{ },
|
|
21973
|
+
{ },
|
|
21974
|
+
body,
|
|
21975
|
+
['PureCloud OAuth'],
|
|
21976
|
+
['application/json'],
|
|
21977
|
+
['application/json']
|
|
21978
|
+
);
|
|
21979
|
+
}
|
|
21980
|
+
|
|
21981
|
+
/**
|
|
21982
|
+
* Update an open messaging integration Identity Resolution settings
|
|
21983
|
+
*
|
|
21984
|
+
* @param {String} integrationId Integration ID
|
|
21985
|
+
* @param {Object} body
|
|
21986
|
+
* putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21987
|
+
*/
|
|
21988
|
+
putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
|
|
21989
|
+
// verify the required parameter 'integrationId' is set
|
|
21990
|
+
if (integrationId === undefined || integrationId === null) {
|
|
21991
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
|
|
21992
|
+
}
|
|
21993
|
+
// verify the required parameter 'body' is set
|
|
21994
|
+
if (body === undefined || body === null) {
|
|
21995
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
|
|
21996
|
+
}
|
|
21997
|
+
|
|
21998
|
+
return this.apiClient.callApi(
|
|
21999
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
|
|
22000
|
+
'PUT',
|
|
22001
|
+
{ 'integrationId': integrationId },
|
|
22002
|
+
{ },
|
|
22003
|
+
{ },
|
|
22004
|
+
{ },
|
|
22005
|
+
body,
|
|
22006
|
+
['PureCloud OAuth'],
|
|
22007
|
+
['application/json'],
|
|
22008
|
+
['application/json']
|
|
22009
|
+
);
|
|
22010
|
+
}
|
|
22011
|
+
|
|
22012
|
+
/**
|
|
22013
|
+
* Update a whatsApp integration Identity Resolution settings
|
|
22014
|
+
*
|
|
22015
|
+
* @param {String} integrationId Integration ID
|
|
22016
|
+
* @param {Object} body
|
|
22017
|
+
* putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22018
|
+
*/
|
|
22019
|
+
putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
|
|
22020
|
+
// verify the required parameter 'integrationId' is set
|
|
22021
|
+
if (integrationId === undefined || integrationId === null) {
|
|
22022
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
|
|
22023
|
+
}
|
|
22024
|
+
// verify the required parameter 'body' is set
|
|
22025
|
+
if (body === undefined || body === null) {
|
|
22026
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
|
|
22027
|
+
}
|
|
22028
|
+
|
|
22029
|
+
return this.apiClient.callApi(
|
|
22030
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
|
|
22031
|
+
'PUT',
|
|
22032
|
+
{ 'integrationId': integrationId },
|
|
22033
|
+
{ },
|
|
22034
|
+
{ },
|
|
22035
|
+
{ },
|
|
22036
|
+
body,
|
|
22037
|
+
['PureCloud OAuth'],
|
|
22038
|
+
['application/json'],
|
|
22039
|
+
['application/json']
|
|
22040
|
+
);
|
|
22041
|
+
}
|
|
22042
|
+
|
|
21690
22043
|
/**
|
|
21691
22044
|
* Set the organization's default setting that may be applied to to integrations without settings
|
|
21692
22045
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
@@ -21859,7 +22212,7 @@ class DataExtensionsApi {
|
|
|
21859
22212
|
/**
|
|
21860
22213
|
* DataExtensions service.
|
|
21861
22214
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21862
|
-
* @version
|
|
22215
|
+
* @version 217.0.0
|
|
21863
22216
|
*/
|
|
21864
22217
|
|
|
21865
22218
|
/**
|
|
@@ -21945,7 +22298,7 @@ class DataPrivacyApi {
|
|
|
21945
22298
|
/**
|
|
21946
22299
|
* DataPrivacy service.
|
|
21947
22300
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21948
|
-
* @version
|
|
22301
|
+
* @version 217.0.0
|
|
21949
22302
|
*/
|
|
21950
22303
|
|
|
21951
22304
|
/**
|
|
@@ -22115,7 +22468,7 @@ class DownloadsApi {
|
|
|
22115
22468
|
/**
|
|
22116
22469
|
* Downloads service.
|
|
22117
22470
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
22118
|
-
* @version
|
|
22471
|
+
* @version 217.0.0
|
|
22119
22472
|
*/
|
|
22120
22473
|
|
|
22121
22474
|
/**
|
|
@@ -22167,7 +22520,7 @@ class EmailsApi {
|
|
|
22167
22520
|
/**
|
|
22168
22521
|
* Emails service.
|
|
22169
22522
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
22170
|
-
* @version
|
|
22523
|
+
* @version 217.0.0
|
|
22171
22524
|
*/
|
|
22172
22525
|
|
|
22173
22526
|
/**
|
|
@@ -22232,7 +22585,7 @@ class EmployeeEngagementApi {
|
|
|
22232
22585
|
/**
|
|
22233
22586
|
* EmployeeEngagement service.
|
|
22234
22587
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
22235
|
-
* @version
|
|
22588
|
+
* @version 217.0.0
|
|
22236
22589
|
*/
|
|
22237
22590
|
|
|
22238
22591
|
/**
|
|
@@ -22383,7 +22736,7 @@ class EventsApi {
|
|
|
22383
22736
|
/**
|
|
22384
22737
|
* Events service.
|
|
22385
22738
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
22386
|
-
* @version
|
|
22739
|
+
* @version 217.0.0
|
|
22387
22740
|
*/
|
|
22388
22741
|
|
|
22389
22742
|
/**
|
|
@@ -22479,7 +22832,7 @@ class ExternalContactsApi {
|
|
|
22479
22832
|
/**
|
|
22480
22833
|
* ExternalContacts service.
|
|
22481
22834
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
22482
|
-
* @version
|
|
22835
|
+
* @version 217.0.0
|
|
22483
22836
|
*/
|
|
22484
22837
|
|
|
22485
22838
|
/**
|
|
@@ -22943,6 +23296,7 @@ class ExternalContactsApi {
|
|
|
22943
23296
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
22944
23297
|
* @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
|
|
22945
23298
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23299
|
+
* @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
|
|
22946
23300
|
*/
|
|
22947
23301
|
getExternalcontactsContacts(opts) {
|
|
22948
23302
|
opts = opts || {};
|
|
@@ -22952,7 +23306,7 @@ class ExternalContactsApi {
|
|
|
22952
23306
|
'/api/v2/externalcontacts/contacts',
|
|
22953
23307
|
'GET',
|
|
22954
23308
|
{ },
|
|
22955
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
23309
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
|
|
22956
23310
|
{ },
|
|
22957
23311
|
{ },
|
|
22958
23312
|
null,
|
|
@@ -23219,8 +23573,12 @@ class ExternalContactsApi {
|
|
|
23219
23573
|
* Get job based on id
|
|
23220
23574
|
*
|
|
23221
23575
|
* @param {String} jobId Job id
|
|
23576
|
+
* @param {Object} opts Optional parameters
|
|
23577
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23222
23578
|
*/
|
|
23223
|
-
getExternalcontactsImportJob(jobId) {
|
|
23579
|
+
getExternalcontactsImportJob(jobId, opts) {
|
|
23580
|
+
opts = opts || {};
|
|
23581
|
+
|
|
23224
23582
|
// verify the required parameter 'jobId' is set
|
|
23225
23583
|
if (jobId === undefined || jobId === null) {
|
|
23226
23584
|
throw 'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';
|
|
@@ -23230,7 +23588,7 @@ class ExternalContactsApi {
|
|
|
23230
23588
|
'/api/v2/externalcontacts/import/jobs/{jobId}',
|
|
23231
23589
|
'GET',
|
|
23232
23590
|
{ 'jobId': jobId },
|
|
23233
|
-
{
|
|
23591
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
23234
23592
|
{ },
|
|
23235
23593
|
{ },
|
|
23236
23594
|
null,
|
|
@@ -23244,6 +23602,7 @@ class ExternalContactsApi {
|
|
|
23244
23602
|
* List jobs for organization
|
|
23245
23603
|
*
|
|
23246
23604
|
* @param {Object} opts Optional parameters
|
|
23605
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23247
23606
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
23248
23607
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
23249
23608
|
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
@@ -23257,7 +23616,7 @@ class ExternalContactsApi {
|
|
|
23257
23616
|
'/api/v2/externalcontacts/import/jobs',
|
|
23258
23617
|
'GET',
|
|
23259
23618
|
{ },
|
|
23260
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
|
|
23619
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
|
|
23261
23620
|
{ },
|
|
23262
23621
|
{ },
|
|
23263
23622
|
null,
|
|
@@ -23491,6 +23850,7 @@ class ExternalContactsApi {
|
|
|
23491
23850
|
* @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
|
|
23492
23851
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
23493
23852
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
23853
|
+
* @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
|
|
23494
23854
|
*/
|
|
23495
23855
|
getExternalcontactsOrganizations(opts) {
|
|
23496
23856
|
opts = opts || {};
|
|
@@ -23500,7 +23860,7 @@ class ExternalContactsApi {
|
|
|
23500
23860
|
'/api/v2/externalcontacts/organizations',
|
|
23501
23861
|
'GET',
|
|
23502
23862
|
{ },
|
|
23503
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'] },
|
|
23863
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
|
|
23504
23864
|
{ },
|
|
23505
23865
|
{ },
|
|
23506
23866
|
null,
|
|
@@ -23645,6 +24005,7 @@ class ExternalContactsApi {
|
|
|
23645
24005
|
* @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
|
|
23646
24006
|
* @param {Object} opts Optional parameters
|
|
23647
24007
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
24008
|
+
* @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
|
|
23648
24009
|
*/
|
|
23649
24010
|
getExternalcontactsReversewhitepageslookup(lookupVal, opts) {
|
|
23650
24011
|
opts = opts || {};
|
|
@@ -23658,7 +24019,7 @@ class ExternalContactsApi {
|
|
|
23658
24019
|
'/api/v2/externalcontacts/reversewhitepageslookup',
|
|
23659
24020
|
'GET',
|
|
23660
24021
|
{ },
|
|
23661
|
-
{ 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
24022
|
+
{ 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'divisionId': opts['divisionId'] },
|
|
23662
24023
|
{ },
|
|
23663
24024
|
{ },
|
|
23664
24025
|
null,
|
|
@@ -23674,6 +24035,7 @@ class ExternalContactsApi {
|
|
|
23674
24035
|
* @param {Object} opts Optional parameters
|
|
23675
24036
|
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
23676
24037
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24038
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
23677
24039
|
*/
|
|
23678
24040
|
getExternalcontactsScanContacts(opts) {
|
|
23679
24041
|
opts = opts || {};
|
|
@@ -23683,6 +24045,32 @@ class ExternalContactsApi {
|
|
|
23683
24045
|
'/api/v2/externalcontacts/scan/contacts',
|
|
23684
24046
|
'GET',
|
|
23685
24047
|
{ },
|
|
24048
|
+
{ 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
|
|
24049
|
+
{ },
|
|
24050
|
+
{ },
|
|
24051
|
+
null,
|
|
24052
|
+
['PureCloud OAuth'],
|
|
24053
|
+
['application/json'],
|
|
24054
|
+
['application/json']
|
|
24055
|
+
);
|
|
24056
|
+
}
|
|
24057
|
+
|
|
24058
|
+
/**
|
|
24059
|
+
* Scan for external contacts using paging
|
|
24060
|
+
*
|
|
24061
|
+
* @param {Object} opts Optional parameters
|
|
24062
|
+
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
24063
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24064
|
+
* getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24065
|
+
*/
|
|
24066
|
+
getExternalcontactsScanContactsDivisionviewsAll(opts) {
|
|
24067
|
+
opts = opts || {};
|
|
24068
|
+
|
|
24069
|
+
|
|
24070
|
+
return this.apiClient.callApi(
|
|
24071
|
+
'/api/v2/externalcontacts/scan/contacts/divisionviews/all',
|
|
24072
|
+
'GET',
|
|
24073
|
+
{ },
|
|
23686
24074
|
{ 'limit': opts['limit'],'cursor': opts['cursor'] },
|
|
23687
24075
|
{ },
|
|
23688
24076
|
{ },
|
|
@@ -23699,6 +24087,7 @@ class ExternalContactsApi {
|
|
|
23699
24087
|
* @param {Object} opts Optional parameters
|
|
23700
24088
|
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
23701
24089
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24090
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
23702
24091
|
*/
|
|
23703
24092
|
getExternalcontactsScanNotes(opts) {
|
|
23704
24093
|
opts = opts || {};
|
|
@@ -23708,6 +24097,32 @@ class ExternalContactsApi {
|
|
|
23708
24097
|
'/api/v2/externalcontacts/scan/notes',
|
|
23709
24098
|
'GET',
|
|
23710
24099
|
{ },
|
|
24100
|
+
{ 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
|
|
24101
|
+
{ },
|
|
24102
|
+
{ },
|
|
24103
|
+
null,
|
|
24104
|
+
['PureCloud OAuth'],
|
|
24105
|
+
['application/json'],
|
|
24106
|
+
['application/json']
|
|
24107
|
+
);
|
|
24108
|
+
}
|
|
24109
|
+
|
|
24110
|
+
/**
|
|
24111
|
+
* Scan for notes using paging
|
|
24112
|
+
*
|
|
24113
|
+
* @param {Object} opts Optional parameters
|
|
24114
|
+
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
24115
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24116
|
+
* getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24117
|
+
*/
|
|
24118
|
+
getExternalcontactsScanNotesDivisionviewsAll(opts) {
|
|
24119
|
+
opts = opts || {};
|
|
24120
|
+
|
|
24121
|
+
|
|
24122
|
+
return this.apiClient.callApi(
|
|
24123
|
+
'/api/v2/externalcontacts/scan/notes/divisionviews/all',
|
|
24124
|
+
'GET',
|
|
24125
|
+
{ },
|
|
23711
24126
|
{ 'limit': opts['limit'],'cursor': opts['cursor'] },
|
|
23712
24127
|
{ },
|
|
23713
24128
|
{ },
|
|
@@ -23724,6 +24139,7 @@ class ExternalContactsApi {
|
|
|
23724
24139
|
* @param {Object} opts Optional parameters
|
|
23725
24140
|
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
23726
24141
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24142
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
23727
24143
|
*/
|
|
23728
24144
|
getExternalcontactsScanOrganizations(opts) {
|
|
23729
24145
|
opts = opts || {};
|
|
@@ -23733,6 +24149,32 @@ class ExternalContactsApi {
|
|
|
23733
24149
|
'/api/v2/externalcontacts/scan/organizations',
|
|
23734
24150
|
'GET',
|
|
23735
24151
|
{ },
|
|
24152
|
+
{ 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
|
|
24153
|
+
{ },
|
|
24154
|
+
{ },
|
|
24155
|
+
null,
|
|
24156
|
+
['PureCloud OAuth'],
|
|
24157
|
+
['application/json'],
|
|
24158
|
+
['application/json']
|
|
24159
|
+
);
|
|
24160
|
+
}
|
|
24161
|
+
|
|
24162
|
+
/**
|
|
24163
|
+
* Scan for external organizations using paging
|
|
24164
|
+
*
|
|
24165
|
+
* @param {Object} opts Optional parameters
|
|
24166
|
+
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
24167
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24168
|
+
* getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24169
|
+
*/
|
|
24170
|
+
getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
|
|
24171
|
+
opts = opts || {};
|
|
24172
|
+
|
|
24173
|
+
|
|
24174
|
+
return this.apiClient.callApi(
|
|
24175
|
+
'/api/v2/externalcontacts/scan/organizations/divisionviews/all',
|
|
24176
|
+
'GET',
|
|
24177
|
+
{ },
|
|
23736
24178
|
{ 'limit': opts['limit'],'cursor': opts['cursor'] },
|
|
23737
24179
|
{ },
|
|
23738
24180
|
{ },
|
|
@@ -23749,6 +24191,7 @@ class ExternalContactsApi {
|
|
|
23749
24191
|
* @param {Object} opts Optional parameters
|
|
23750
24192
|
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
23751
24193
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24194
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
23752
24195
|
*/
|
|
23753
24196
|
getExternalcontactsScanRelationships(opts) {
|
|
23754
24197
|
opts = opts || {};
|
|
@@ -23758,6 +24201,32 @@ class ExternalContactsApi {
|
|
|
23758
24201
|
'/api/v2/externalcontacts/scan/relationships',
|
|
23759
24202
|
'GET',
|
|
23760
24203
|
{ },
|
|
24204
|
+
{ 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
|
|
24205
|
+
{ },
|
|
24206
|
+
{ },
|
|
24207
|
+
null,
|
|
24208
|
+
['PureCloud OAuth'],
|
|
24209
|
+
['application/json'],
|
|
24210
|
+
['application/json']
|
|
24211
|
+
);
|
|
24212
|
+
}
|
|
24213
|
+
|
|
24214
|
+
/**
|
|
24215
|
+
* Scan for relationships
|
|
24216
|
+
*
|
|
24217
|
+
* @param {Object} opts Optional parameters
|
|
24218
|
+
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
24219
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
24220
|
+
* getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24221
|
+
*/
|
|
24222
|
+
getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
|
|
24223
|
+
opts = opts || {};
|
|
24224
|
+
|
|
24225
|
+
|
|
24226
|
+
return this.apiClient.callApi(
|
|
24227
|
+
'/api/v2/externalcontacts/scan/relationships/divisionviews/all',
|
|
24228
|
+
'GET',
|
|
24229
|
+
{ },
|
|
23761
24230
|
{ 'limit': opts['limit'],'cursor': opts['cursor'] },
|
|
23762
24231
|
{ },
|
|
23763
24232
|
{ },
|
|
@@ -23848,6 +24317,32 @@ class ExternalContactsApi {
|
|
|
23848
24317
|
);
|
|
23849
24318
|
}
|
|
23850
24319
|
|
|
24320
|
+
/**
|
|
24321
|
+
* Bulk fetch contacts across divisions
|
|
24322
|
+
*
|
|
24323
|
+
* @param {Object} body Contact ids
|
|
24324
|
+
* postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24325
|
+
*/
|
|
24326
|
+
postExternalcontactsBulkContactsDivisionviews(body) {
|
|
24327
|
+
// verify the required parameter 'body' is set
|
|
24328
|
+
if (body === undefined || body === null) {
|
|
24329
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';
|
|
24330
|
+
}
|
|
24331
|
+
|
|
24332
|
+
return this.apiClient.callApi(
|
|
24333
|
+
'/api/v2/externalcontacts/bulk/contacts/divisionviews',
|
|
24334
|
+
'POST',
|
|
24335
|
+
{ },
|
|
24336
|
+
{ },
|
|
24337
|
+
{ },
|
|
24338
|
+
{ },
|
|
24339
|
+
body,
|
|
24340
|
+
['PureCloud OAuth'],
|
|
24341
|
+
['application/json'],
|
|
24342
|
+
['application/json']
|
|
24343
|
+
);
|
|
24344
|
+
}
|
|
24345
|
+
|
|
23851
24346
|
/**
|
|
23852
24347
|
* Bulk remove contacts
|
|
23853
24348
|
*
|
|
@@ -24073,6 +24568,32 @@ class ExternalContactsApi {
|
|
|
24073
24568
|
);
|
|
24074
24569
|
}
|
|
24075
24570
|
|
|
24571
|
+
/**
|
|
24572
|
+
* Bulk fetch organizations across divisions
|
|
24573
|
+
*
|
|
24574
|
+
* @param {Object} body Organizations ids
|
|
24575
|
+
* postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24576
|
+
*/
|
|
24577
|
+
postExternalcontactsBulkOrganizationsDivisionviews(body) {
|
|
24578
|
+
// verify the required parameter 'body' is set
|
|
24579
|
+
if (body === undefined || body === null) {
|
|
24580
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';
|
|
24581
|
+
}
|
|
24582
|
+
|
|
24583
|
+
return this.apiClient.callApi(
|
|
24584
|
+
'/api/v2/externalcontacts/bulk/organizations/divisionviews',
|
|
24585
|
+
'POST',
|
|
24586
|
+
{ },
|
|
24587
|
+
{ },
|
|
24588
|
+
{ },
|
|
24589
|
+
{ },
|
|
24590
|
+
body,
|
|
24591
|
+
['PureCloud OAuth'],
|
|
24592
|
+
['application/json'],
|
|
24593
|
+
['application/json']
|
|
24594
|
+
);
|
|
24595
|
+
}
|
|
24596
|
+
|
|
24076
24597
|
/**
|
|
24077
24598
|
* Bulk remove organizations
|
|
24078
24599
|
*
|
|
@@ -25044,7 +25565,7 @@ class FaxApi {
|
|
|
25044
25565
|
/**
|
|
25045
25566
|
* Fax service.
|
|
25046
25567
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25047
|
-
* @version
|
|
25568
|
+
* @version 217.0.0
|
|
25048
25569
|
*/
|
|
25049
25570
|
|
|
25050
25571
|
/**
|
|
@@ -25259,7 +25780,7 @@ class FlowsApi {
|
|
|
25259
25780
|
/**
|
|
25260
25781
|
* Flows service.
|
|
25261
25782
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25262
|
-
* @version
|
|
25783
|
+
* @version 217.0.0
|
|
25263
25784
|
*/
|
|
25264
25785
|
|
|
25265
25786
|
/**
|
|
@@ -25442,7 +25963,7 @@ class GamificationApi {
|
|
|
25442
25963
|
/**
|
|
25443
25964
|
* Gamification service.
|
|
25444
25965
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25445
|
-
* @version
|
|
25966
|
+
* @version 217.0.0
|
|
25446
25967
|
*/
|
|
25447
25968
|
|
|
25448
25969
|
/**
|
|
@@ -27584,7 +28105,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27584
28105
|
/**
|
|
27585
28106
|
* GeneralDataProtectionRegulation service.
|
|
27586
28107
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27587
|
-
* @version
|
|
28108
|
+
* @version 217.0.0
|
|
27588
28109
|
*/
|
|
27589
28110
|
|
|
27590
28111
|
/**
|
|
@@ -27714,7 +28235,7 @@ class GeolocationApi {
|
|
|
27714
28235
|
/**
|
|
27715
28236
|
* Geolocation service.
|
|
27716
28237
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27717
|
-
* @version
|
|
28238
|
+
* @version 217.0.0
|
|
27718
28239
|
*/
|
|
27719
28240
|
|
|
27720
28241
|
/**
|
|
@@ -27845,7 +28366,7 @@ class GreetingsApi {
|
|
|
27845
28366
|
/**
|
|
27846
28367
|
* Greetings service.
|
|
27847
28368
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27848
|
-
* @version
|
|
28369
|
+
* @version 217.0.0
|
|
27849
28370
|
*/
|
|
27850
28371
|
|
|
27851
28372
|
/**
|
|
@@ -28300,7 +28821,7 @@ class GroupsApi {
|
|
|
28300
28821
|
/**
|
|
28301
28822
|
* Groups service.
|
|
28302
28823
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28303
|
-
* @version
|
|
28824
|
+
* @version 217.0.0
|
|
28304
28825
|
*/
|
|
28305
28826
|
|
|
28306
28827
|
/**
|
|
@@ -28819,7 +29340,7 @@ class IdentityProviderApi {
|
|
|
28819
29340
|
/**
|
|
28820
29341
|
* IdentityProvider service.
|
|
28821
29342
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28822
|
-
* @version
|
|
29343
|
+
* @version 217.0.0
|
|
28823
29344
|
*/
|
|
28824
29345
|
|
|
28825
29346
|
/**
|
|
@@ -29680,7 +30201,7 @@ class InfrastructureAsCodeApi {
|
|
|
29680
30201
|
/**
|
|
29681
30202
|
* InfrastructureAsCode service.
|
|
29682
30203
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
29683
|
-
* @version
|
|
30204
|
+
* @version 217.0.0
|
|
29684
30205
|
*/
|
|
29685
30206
|
|
|
29686
30207
|
/**
|
|
@@ -29847,7 +30368,7 @@ class IntegrationsApi {
|
|
|
29847
30368
|
/**
|
|
29848
30369
|
* Integrations service.
|
|
29849
30370
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29850
|
-
* @version
|
|
30371
|
+
* @version 217.0.0
|
|
29851
30372
|
*/
|
|
29852
30373
|
|
|
29853
30374
|
/**
|
|
@@ -30056,6 +30577,7 @@ class IntegrationsApi {
|
|
|
30056
30577
|
* @param {String} actionId actionId
|
|
30057
30578
|
* @param {Object} opts Optional parameters
|
|
30058
30579
|
* @param {Object} opts.expand Indicates a field in the response which should be expanded.
|
|
30580
|
+
* @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
30059
30581
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
30060
30582
|
*/
|
|
30061
30583
|
getIntegrationsAction(actionId, opts) {
|
|
@@ -30070,7 +30592,7 @@ class IntegrationsApi {
|
|
|
30070
30592
|
'/api/v2/integrations/actions/{actionId}',
|
|
30071
30593
|
'GET',
|
|
30072
30594
|
{ 'actionId': actionId },
|
|
30073
|
-
{ 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
|
|
30595
|
+
{ 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
|
|
30074
30596
|
{ },
|
|
30075
30597
|
{ },
|
|
30076
30598
|
null,
|
|
@@ -30086,6 +30608,7 @@ class IntegrationsApi {
|
|
|
30086
30608
|
* @param {String} actionId actionId
|
|
30087
30609
|
* @param {Object} opts Optional parameters
|
|
30088
30610
|
* @param {Object} opts.expand Indicates a field in the response which should be expanded.
|
|
30611
|
+
* @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
30089
30612
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
30090
30613
|
*/
|
|
30091
30614
|
getIntegrationsActionDraft(actionId, opts) {
|
|
@@ -30100,7 +30623,7 @@ class IntegrationsApi {
|
|
|
30100
30623
|
'/api/v2/integrations/actions/{actionId}/draft',
|
|
30101
30624
|
'GET',
|
|
30102
30625
|
{ 'actionId': actionId },
|
|
30103
|
-
{ 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
|
|
30626
|
+
{ 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
|
|
30104
30627
|
{ },
|
|
30105
30628
|
{ },
|
|
30106
30629
|
null,
|
|
@@ -32284,7 +32807,7 @@ class JourneyApi {
|
|
|
32284
32807
|
/**
|
|
32285
32808
|
* Journey service.
|
|
32286
32809
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
32287
|
-
* @version
|
|
32810
|
+
* @version 217.0.0
|
|
32288
32811
|
*/
|
|
32289
32812
|
|
|
32290
32813
|
/**
|
|
@@ -33424,6 +33947,26 @@ class JourneyApi {
|
|
|
33424
33947
|
);
|
|
33425
33948
|
}
|
|
33426
33949
|
|
|
33950
|
+
/**
|
|
33951
|
+
* Get details about the data available for journey queries including oldest and newest event dates
|
|
33952
|
+
*
|
|
33953
|
+
*/
|
|
33954
|
+
getJourneyViewsDataDetails() {
|
|
33955
|
+
|
|
33956
|
+
return this.apiClient.callApi(
|
|
33957
|
+
'/api/v2/journey/views/data/details',
|
|
33958
|
+
'GET',
|
|
33959
|
+
{ },
|
|
33960
|
+
{ },
|
|
33961
|
+
{ },
|
|
33962
|
+
{ },
|
|
33963
|
+
null,
|
|
33964
|
+
['PureCloud OAuth'],
|
|
33965
|
+
['application/json'],
|
|
33966
|
+
['application/json']
|
|
33967
|
+
);
|
|
33968
|
+
}
|
|
33969
|
+
|
|
33427
33970
|
/**
|
|
33428
33971
|
* Get an Event Definition
|
|
33429
33972
|
*
|
|
@@ -34249,7 +34792,7 @@ class KnowledgeApi {
|
|
|
34249
34792
|
/**
|
|
34250
34793
|
* Knowledge service.
|
|
34251
34794
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
34252
|
-
* @version
|
|
34795
|
+
* @version 217.0.0
|
|
34253
34796
|
*/
|
|
34254
34797
|
|
|
34255
34798
|
/**
|
|
@@ -35780,7 +36323,6 @@ class KnowledgeApi {
|
|
|
35780
36323
|
* @param {String} parseJobId Parse job ID
|
|
35781
36324
|
* @param {Object} opts Optional parameters
|
|
35782
36325
|
* @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
|
|
35783
|
-
* getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35784
36326
|
*/
|
|
35785
36327
|
getKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, opts) {
|
|
35786
36328
|
opts = opts || {};
|
|
@@ -36050,7 +36592,6 @@ class KnowledgeApi {
|
|
|
36050
36592
|
*
|
|
36051
36593
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36052
36594
|
* @param {String} jobId Upload job ID
|
|
36053
|
-
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36054
36595
|
*/
|
|
36055
36596
|
getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
|
|
36056
36597
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -36591,7 +37132,6 @@ class KnowledgeApi {
|
|
|
36591
37132
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
36592
37133
|
* @param {String} parseJobId Parse job ID
|
|
36593
37134
|
* @param {Object} body
|
|
36594
|
-
* patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
36595
37135
|
*/
|
|
36596
37136
|
patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, body) {
|
|
36597
37137
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -37752,7 +38292,6 @@ class KnowledgeApi {
|
|
|
37752
38292
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
37753
38293
|
* @param {String} parseJobId Parse job ID
|
|
37754
38294
|
* @param {Object} body
|
|
37755
|
-
* postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
37756
38295
|
*/
|
|
37757
38296
|
postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId, parseJobId, body) {
|
|
37758
38297
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -37787,7 +38326,6 @@ class KnowledgeApi {
|
|
|
37787
38326
|
*
|
|
37788
38327
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
37789
38328
|
* @param {Object} body
|
|
37790
|
-
* postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
37791
38329
|
*/
|
|
37792
38330
|
postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId, body) {
|
|
37793
38331
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -37878,8 +38416,12 @@ class KnowledgeApi {
|
|
|
37878
38416
|
*
|
|
37879
38417
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
37880
38418
|
* @param {String} sourceId Source ID
|
|
38419
|
+
* @param {Object} opts Optional parameters
|
|
38420
|
+
* @param {Object} opts.body
|
|
37881
38421
|
*/
|
|
37882
|
-
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
|
|
38422
|
+
postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId, opts) {
|
|
38423
|
+
opts = opts || {};
|
|
38424
|
+
|
|
37883
38425
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
37884
38426
|
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
37885
38427
|
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
|
|
@@ -37896,7 +38438,7 @@ class KnowledgeApi {
|
|
|
37896
38438
|
{ },
|
|
37897
38439
|
{ },
|
|
37898
38440
|
{ },
|
|
37899
|
-
|
|
38441
|
+
opts['body'],
|
|
37900
38442
|
['PureCloud OAuth'],
|
|
37901
38443
|
['application/json'],
|
|
37902
38444
|
['application/json']
|
|
@@ -37938,8 +38480,12 @@ class KnowledgeApi {
|
|
|
37938
38480
|
*
|
|
37939
38481
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
37940
38482
|
* @param {String} sourceId Source ID
|
|
38483
|
+
* @param {Object} opts Optional parameters
|
|
38484
|
+
* @param {Object} opts.body
|
|
37941
38485
|
*/
|
|
37942
|
-
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
|
|
38486
|
+
postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId, opts) {
|
|
38487
|
+
opts = opts || {};
|
|
38488
|
+
|
|
37943
38489
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
37944
38490
|
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
37945
38491
|
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
|
|
@@ -37956,7 +38502,7 @@ class KnowledgeApi {
|
|
|
37956
38502
|
{ },
|
|
37957
38503
|
{ },
|
|
37958
38504
|
{ },
|
|
37959
|
-
|
|
38505
|
+
opts['body'],
|
|
37960
38506
|
['PureCloud OAuth'],
|
|
37961
38507
|
['application/json'],
|
|
37962
38508
|
['application/json']
|
|
@@ -37998,7 +38544,6 @@ class KnowledgeApi {
|
|
|
37998
38544
|
*
|
|
37999
38545
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
38000
38546
|
* @param {Object} body uploadRequest
|
|
38001
|
-
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
38002
38547
|
*/
|
|
38003
38548
|
postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
|
|
38004
38549
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -38125,7 +38670,7 @@ class LanguageUnderstandingApi {
|
|
|
38125
38670
|
/**
|
|
38126
38671
|
* LanguageUnderstanding service.
|
|
38127
38672
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
38128
|
-
* @version
|
|
38673
|
+
* @version 217.0.0
|
|
38129
38674
|
*/
|
|
38130
38675
|
|
|
38131
38676
|
/**
|
|
@@ -39158,7 +39703,7 @@ class LanguagesApi {
|
|
|
39158
39703
|
/**
|
|
39159
39704
|
* Languages service.
|
|
39160
39705
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
39161
|
-
* @version
|
|
39706
|
+
* @version 217.0.0
|
|
39162
39707
|
*/
|
|
39163
39708
|
|
|
39164
39709
|
/**
|
|
@@ -39380,7 +39925,7 @@ class LearningApi {
|
|
|
39380
39925
|
/**
|
|
39381
39926
|
* Learning service.
|
|
39382
39927
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
39383
|
-
* @version
|
|
39928
|
+
* @version 217.0.0
|
|
39384
39929
|
*/
|
|
39385
39930
|
|
|
39386
39931
|
/**
|
|
@@ -40409,7 +40954,7 @@ class LicenseApi {
|
|
|
40409
40954
|
/**
|
|
40410
40955
|
* License service.
|
|
40411
40956
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
40412
|
-
* @version
|
|
40957
|
+
* @version 217.0.0
|
|
40413
40958
|
*/
|
|
40414
40959
|
|
|
40415
40960
|
/**
|
|
@@ -40647,7 +41192,7 @@ class LocationsApi {
|
|
|
40647
41192
|
/**
|
|
40648
41193
|
* Locations service.
|
|
40649
41194
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
40650
|
-
* @version
|
|
41195
|
+
* @version 217.0.0
|
|
40651
41196
|
*/
|
|
40652
41197
|
|
|
40653
41198
|
/**
|
|
@@ -40883,7 +41428,7 @@ class LogCaptureApi {
|
|
|
40883
41428
|
/**
|
|
40884
41429
|
* LogCapture service.
|
|
40885
41430
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
40886
|
-
* @version
|
|
41431
|
+
* @version 217.0.0
|
|
40887
41432
|
*/
|
|
40888
41433
|
|
|
40889
41434
|
/**
|
|
@@ -41083,7 +41628,7 @@ class MessagingApi {
|
|
|
41083
41628
|
/**
|
|
41084
41629
|
* Messaging service.
|
|
41085
41630
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
41086
|
-
* @version
|
|
41631
|
+
* @version 217.0.0
|
|
41087
41632
|
*/
|
|
41088
41633
|
|
|
41089
41634
|
/**
|
|
@@ -41442,7 +41987,7 @@ class MobileDevicesApi {
|
|
|
41442
41987
|
/**
|
|
41443
41988
|
* MobileDevices service.
|
|
41444
41989
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
41445
|
-
* @version
|
|
41990
|
+
* @version 217.0.0
|
|
41446
41991
|
*/
|
|
41447
41992
|
|
|
41448
41993
|
/**
|
|
@@ -41593,7 +42138,7 @@ class NotificationsApi {
|
|
|
41593
42138
|
/**
|
|
41594
42139
|
* Notifications service.
|
|
41595
42140
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
41596
|
-
* @version
|
|
42141
|
+
* @version 217.0.0
|
|
41597
42142
|
*/
|
|
41598
42143
|
|
|
41599
42144
|
/**
|
|
@@ -41826,7 +42371,7 @@ class OAuthApi {
|
|
|
41826
42371
|
/**
|
|
41827
42372
|
* OAuth service.
|
|
41828
42373
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
41829
|
-
* @version
|
|
42374
|
+
* @version 217.0.0
|
|
41830
42375
|
*/
|
|
41831
42376
|
|
|
41832
42377
|
/**
|
|
@@ -42192,7 +42737,7 @@ class ObjectsApi {
|
|
|
42192
42737
|
/**
|
|
42193
42738
|
* Objects service.
|
|
42194
42739
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
42195
|
-
* @version
|
|
42740
|
+
* @version 217.0.0
|
|
42196
42741
|
*/
|
|
42197
42742
|
|
|
42198
42743
|
/**
|
|
@@ -42212,7 +42757,7 @@ class ObjectsApi {
|
|
|
42212
42757
|
*
|
|
42213
42758
|
* @param {String} divisionId Division ID
|
|
42214
42759
|
* @param {Object} opts Optional parameters
|
|
42215
|
-
* @param {Boolean} opts.force Force delete this division
|
|
42760
|
+
* @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
|
|
42216
42761
|
*/
|
|
42217
42762
|
deleteAuthorizationDivision(divisionId, opts) {
|
|
42218
42763
|
opts = opts || {};
|
|
@@ -42376,16 +42921,17 @@ class ObjectsApi {
|
|
|
42376
42921
|
* Recreate a previously deleted division.
|
|
42377
42922
|
*
|
|
42378
42923
|
* @param {String} divisionId Division ID
|
|
42379
|
-
* @param {Object}
|
|
42380
|
-
* @param {Object} opts.body Recreated division data
|
|
42924
|
+
* @param {Object} body Recreated division data
|
|
42381
42925
|
*/
|
|
42382
|
-
postAuthorizationDivisionRestore(divisionId,
|
|
42383
|
-
opts = opts || {};
|
|
42384
|
-
|
|
42926
|
+
postAuthorizationDivisionRestore(divisionId, body) {
|
|
42385
42927
|
// verify the required parameter 'divisionId' is set
|
|
42386
42928
|
if (divisionId === undefined || divisionId === null) {
|
|
42387
42929
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
|
|
42388
42930
|
}
|
|
42931
|
+
// verify the required parameter 'body' is set
|
|
42932
|
+
if (body === undefined || body === null) {
|
|
42933
|
+
throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
|
|
42934
|
+
}
|
|
42389
42935
|
|
|
42390
42936
|
return this.apiClient.callApi(
|
|
42391
42937
|
'/api/v2/authorization/divisions/{divisionId}/restore',
|
|
@@ -42394,7 +42940,7 @@ class ObjectsApi {
|
|
|
42394
42940
|
{ },
|
|
42395
42941
|
{ },
|
|
42396
42942
|
{ },
|
|
42397
|
-
|
|
42943
|
+
body,
|
|
42398
42944
|
['PureCloud OAuth'],
|
|
42399
42945
|
['application/json'],
|
|
42400
42946
|
['application/json']
|
|
@@ -42462,7 +43008,7 @@ class OperationalEventsApi {
|
|
|
42462
43008
|
/**
|
|
42463
43009
|
* OperationalEvents service.
|
|
42464
43010
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
42465
|
-
* @version
|
|
43011
|
+
* @version 217.0.0
|
|
42466
43012
|
*/
|
|
42467
43013
|
|
|
42468
43014
|
/**
|
|
@@ -42579,7 +43125,7 @@ class OrganizationApi {
|
|
|
42579
43125
|
/**
|
|
42580
43126
|
* Organization service.
|
|
42581
43127
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
42582
|
-
* @version
|
|
43128
|
+
* @version 217.0.0
|
|
42583
43129
|
*/
|
|
42584
43130
|
|
|
42585
43131
|
/**
|
|
@@ -42808,6 +43354,7 @@ class OrganizationApi {
|
|
|
42808
43354
|
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
42809
43355
|
* @param {String} opts.entityId entity id of the count
|
|
42810
43356
|
* @param {String} opts.userId userid of the count
|
|
43357
|
+
* @deprecated
|
|
42811
43358
|
*/
|
|
42812
43359
|
getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
|
|
42813
43360
|
opts = opts || {};
|
|
@@ -42865,6 +43412,7 @@ class OrganizationApi {
|
|
|
42865
43412
|
* @param {String} opts.entityId entity id of the count
|
|
42866
43413
|
* @param {String} opts.userId userid of the count
|
|
42867
43414
|
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
43415
|
+
* @deprecated
|
|
42868
43416
|
*/
|
|
42869
43417
|
getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
|
|
42870
43418
|
opts = opts || {};
|
|
@@ -43121,7 +43669,7 @@ class OrganizationAuthorizationApi {
|
|
|
43121
43669
|
/**
|
|
43122
43670
|
* OrganizationAuthorization service.
|
|
43123
43671
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
43124
|
-
* @version
|
|
43672
|
+
* @version 217.0.0
|
|
43125
43673
|
*/
|
|
43126
43674
|
|
|
43127
43675
|
/**
|
|
@@ -44515,7 +45063,7 @@ class OutboundApi {
|
|
|
44515
45063
|
/**
|
|
44516
45064
|
* Outbound service.
|
|
44517
45065
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
44518
|
-
* @version
|
|
45066
|
+
* @version 217.0.0
|
|
44519
45067
|
*/
|
|
44520
45068
|
|
|
44521
45069
|
/**
|
|
@@ -47344,8 +47892,12 @@ class OutboundApi {
|
|
|
47344
47892
|
* Update the outbound settings for this organization
|
|
47345
47893
|
*
|
|
47346
47894
|
* @param {Object} body outboundSettings
|
|
47895
|
+
* @param {Object} opts Optional parameters
|
|
47896
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
47347
47897
|
*/
|
|
47348
|
-
patchOutboundSettings(body) {
|
|
47898
|
+
patchOutboundSettings(body, opts) {
|
|
47899
|
+
opts = opts || {};
|
|
47900
|
+
|
|
47349
47901
|
// verify the required parameter 'body' is set
|
|
47350
47902
|
if (body === undefined || body === null) {
|
|
47351
47903
|
throw 'Missing the required parameter "body" when calling patchOutboundSettings';
|
|
@@ -47355,7 +47907,7 @@ class OutboundApi {
|
|
|
47355
47907
|
'/api/v2/outbound/settings',
|
|
47356
47908
|
'PATCH',
|
|
47357
47909
|
{ },
|
|
47358
|
-
{
|
|
47910
|
+
{ 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
|
|
47359
47911
|
{ },
|
|
47360
47912
|
{ },
|
|
47361
47913
|
body,
|
|
@@ -47575,8 +48127,12 @@ class OutboundApi {
|
|
|
47575
48127
|
* Create a campaign.
|
|
47576
48128
|
*
|
|
47577
48129
|
* @param {Object} body Campaign
|
|
48130
|
+
* @param {Object} opts Optional parameters
|
|
48131
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
47578
48132
|
*/
|
|
47579
|
-
postOutboundCampaigns(body) {
|
|
48133
|
+
postOutboundCampaigns(body, opts) {
|
|
48134
|
+
opts = opts || {};
|
|
48135
|
+
|
|
47580
48136
|
// verify the required parameter 'body' is set
|
|
47581
48137
|
if (body === undefined || body === null) {
|
|
47582
48138
|
throw 'Missing the required parameter "body" when calling postOutboundCampaigns';
|
|
@@ -47586,7 +48142,7 @@ class OutboundApi {
|
|
|
47586
48142
|
'/api/v2/outbound/campaigns',
|
|
47587
48143
|
'POST',
|
|
47588
48144
|
{ },
|
|
47589
|
-
{
|
|
48145
|
+
{ 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
|
|
47590
48146
|
{ },
|
|
47591
48147
|
{ },
|
|
47592
48148
|
body,
|
|
@@ -48490,8 +49046,12 @@ class OutboundApi {
|
|
|
48490
49046
|
*
|
|
48491
49047
|
* @param {String} campaignId Campaign ID
|
|
48492
49048
|
* @param {Object} body Campaign
|
|
49049
|
+
* @param {Object} opts Optional parameters
|
|
49050
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
48493
49051
|
*/
|
|
48494
|
-
putOutboundCampaign(campaignId, body) {
|
|
49052
|
+
putOutboundCampaign(campaignId, body, opts) {
|
|
49053
|
+
opts = opts || {};
|
|
49054
|
+
|
|
48495
49055
|
// verify the required parameter 'campaignId' is set
|
|
48496
49056
|
if (campaignId === undefined || campaignId === null) {
|
|
48497
49057
|
throw 'Missing the required parameter "campaignId" when calling putOutboundCampaign';
|
|
@@ -48505,7 +49065,7 @@ class OutboundApi {
|
|
|
48505
49065
|
'/api/v2/outbound/campaigns/{campaignId}',
|
|
48506
49066
|
'PUT',
|
|
48507
49067
|
{ 'campaignId': campaignId },
|
|
48508
|
-
{
|
|
49068
|
+
{ 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
|
|
48509
49069
|
{ },
|
|
48510
49070
|
{ },
|
|
48511
49071
|
body,
|
|
@@ -49066,7 +49626,7 @@ class PresenceApi {
|
|
|
49066
49626
|
/**
|
|
49067
49627
|
* Presence service.
|
|
49068
49628
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
49069
|
-
* @version
|
|
49629
|
+
* @version 217.0.0
|
|
49070
49630
|
*/
|
|
49071
49631
|
|
|
49072
49632
|
/**
|
|
@@ -49810,7 +50370,7 @@ class ProcessAutomationApi {
|
|
|
49810
50370
|
/**
|
|
49811
50371
|
* ProcessAutomation service.
|
|
49812
50372
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
49813
|
-
* @version
|
|
50373
|
+
* @version 217.0.0
|
|
49814
50374
|
*/
|
|
49815
50375
|
|
|
49816
50376
|
/**
|
|
@@ -50049,7 +50609,7 @@ class QualityApi {
|
|
|
50049
50609
|
/**
|
|
50050
50610
|
* Quality service.
|
|
50051
50611
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
50052
|
-
* @version
|
|
50612
|
+
* @version 217.0.0
|
|
50053
50613
|
*/
|
|
50054
50614
|
|
|
50055
50615
|
/**
|
|
@@ -51837,7 +52397,7 @@ class RecordingApi {
|
|
|
51837
52397
|
/**
|
|
51838
52398
|
* Recording service.
|
|
51839
52399
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
51840
|
-
* @version
|
|
52400
|
+
* @version 217.0.0
|
|
51841
52401
|
*/
|
|
51842
52402
|
|
|
51843
52403
|
/**
|
|
@@ -52049,7 +52609,7 @@ class RecordingApi {
|
|
|
52049
52609
|
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
52050
52610
|
* @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
52051
52611
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
52052
|
-
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
52612
|
+
* @param {String} opts.locale The locale for the requested file when downloading or for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
52053
52613
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
52054
52614
|
*/
|
|
52055
52615
|
getConversationRecording(conversationId, recordingId, opts) {
|
|
@@ -52206,6 +52766,7 @@ class RecordingApi {
|
|
|
52206
52766
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
52207
52767
|
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
52208
52768
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
52769
|
+
* @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
52209
52770
|
*/
|
|
52210
52771
|
getConversationRecordings(conversationId, opts) {
|
|
52211
52772
|
opts = opts || {};
|
|
@@ -52219,7 +52780,7 @@ class RecordingApi {
|
|
|
52219
52780
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
52220
52781
|
'GET',
|
|
52221
52782
|
{ 'conversationId': conversationId },
|
|
52222
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
52783
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'] },
|
|
52223
52784
|
{ },
|
|
52224
52785
|
{ },
|
|
52225
52786
|
null,
|
|
@@ -52721,32 +53282,6 @@ class RecordingApi {
|
|
|
52721
53282
|
);
|
|
52722
53283
|
}
|
|
52723
53284
|
|
|
52724
|
-
/**
|
|
52725
|
-
* Retrieves a paged listing of screen recording sessions
|
|
52726
|
-
* Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
|
|
52727
|
-
* @param {Object} opts Optional parameters
|
|
52728
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
52729
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
52730
|
-
* @deprecated
|
|
52731
|
-
*/
|
|
52732
|
-
getRecordingsScreensessions(opts) {
|
|
52733
|
-
opts = opts || {};
|
|
52734
|
-
|
|
52735
|
-
|
|
52736
|
-
return this.apiClient.callApi(
|
|
52737
|
-
'/api/v2/recordings/screensessions',
|
|
52738
|
-
'GET',
|
|
52739
|
-
{ },
|
|
52740
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
52741
|
-
{ },
|
|
52742
|
-
{ },
|
|
52743
|
-
null,
|
|
52744
|
-
['PureCloud OAuth'],
|
|
52745
|
-
['application/json'],
|
|
52746
|
-
['application/json']
|
|
52747
|
-
);
|
|
52748
|
-
}
|
|
52749
|
-
|
|
52750
53285
|
/**
|
|
52751
53286
|
* Retrieves an object containing the total number of concurrent active screen recordings
|
|
52752
53287
|
*
|
|
@@ -52827,36 +53362,6 @@ class RecordingApi {
|
|
|
52827
53362
|
);
|
|
52828
53363
|
}
|
|
52829
53364
|
|
|
52830
|
-
/**
|
|
52831
|
-
* Update a screen recording session
|
|
52832
|
-
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
52833
|
-
* @param {String} recordingSessionId Screen recording session ID
|
|
52834
|
-
* @param {Object} opts Optional parameters
|
|
52835
|
-
* @param {Object} opts.body
|
|
52836
|
-
* @deprecated
|
|
52837
|
-
*/
|
|
52838
|
-
patchRecordingsScreensession(recordingSessionId, opts) {
|
|
52839
|
-
opts = opts || {};
|
|
52840
|
-
|
|
52841
|
-
// verify the required parameter 'recordingSessionId' is set
|
|
52842
|
-
if (recordingSessionId === undefined || recordingSessionId === null) {
|
|
52843
|
-
throw 'Missing the required parameter "recordingSessionId" when calling patchRecordingsScreensession';
|
|
52844
|
-
}
|
|
52845
|
-
|
|
52846
|
-
return this.apiClient.callApi(
|
|
52847
|
-
'/api/v2/recordings/screensessions/{recordingSessionId}',
|
|
52848
|
-
'PATCH',
|
|
52849
|
-
{ 'recordingSessionId': recordingSessionId },
|
|
52850
|
-
{ },
|
|
52851
|
-
{ },
|
|
52852
|
-
{ },
|
|
52853
|
-
opts['body'],
|
|
52854
|
-
['PureCloud OAuth'],
|
|
52855
|
-
['application/json'],
|
|
52856
|
-
['application/json']
|
|
52857
|
-
);
|
|
52858
|
-
}
|
|
52859
|
-
|
|
52860
53365
|
/**
|
|
52861
53366
|
* Create annotation
|
|
52862
53367
|
*
|
|
@@ -53496,7 +54001,7 @@ class ResponseManagementApi {
|
|
|
53496
54001
|
/**
|
|
53497
54002
|
* ResponseManagement service.
|
|
53498
54003
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
53499
|
-
* @version
|
|
54004
|
+
* @version 217.0.0
|
|
53500
54005
|
*/
|
|
53501
54006
|
|
|
53502
54007
|
/**
|
|
@@ -54006,7 +54511,7 @@ class RoutingApi {
|
|
|
54006
54511
|
/**
|
|
54007
54512
|
* Routing service.
|
|
54008
54513
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
54009
|
-
* @version
|
|
54514
|
+
* @version 217.0.0
|
|
54010
54515
|
*/
|
|
54011
54516
|
|
|
54012
54517
|
/**
|
|
@@ -54847,6 +55352,37 @@ class RoutingApi {
|
|
|
54847
55352
|
);
|
|
54848
55353
|
}
|
|
54849
55354
|
|
|
55355
|
+
/**
|
|
55356
|
+
* Get a route identity resolution setting.
|
|
55357
|
+
*
|
|
55358
|
+
* @param {String} domainName email domain
|
|
55359
|
+
* @param {String} routeId route ID
|
|
55360
|
+
* getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
55361
|
+
*/
|
|
55362
|
+
getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
|
|
55363
|
+
// verify the required parameter 'domainName' is set
|
|
55364
|
+
if (domainName === undefined || domainName === null) {
|
|
55365
|
+
throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
|
|
55366
|
+
}
|
|
55367
|
+
// verify the required parameter 'routeId' is set
|
|
55368
|
+
if (routeId === undefined || routeId === null) {
|
|
55369
|
+
throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';
|
|
55370
|
+
}
|
|
55371
|
+
|
|
55372
|
+
return this.apiClient.callApi(
|
|
55373
|
+
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
|
|
55374
|
+
'GET',
|
|
55375
|
+
{ 'domainName': domainName,'routeId': routeId },
|
|
55376
|
+
{ },
|
|
55377
|
+
{ },
|
|
55378
|
+
{ },
|
|
55379
|
+
null,
|
|
55380
|
+
['PureCloud OAuth'],
|
|
55381
|
+
['application/json'],
|
|
55382
|
+
['application/json']
|
|
55383
|
+
);
|
|
55384
|
+
}
|
|
55385
|
+
|
|
54850
55386
|
/**
|
|
54851
55387
|
* Get routes
|
|
54852
55388
|
*
|
|
@@ -55400,6 +55936,32 @@ class RoutingApi {
|
|
|
55400
55936
|
);
|
|
55401
55937
|
}
|
|
55402
55938
|
|
|
55939
|
+
/**
|
|
55940
|
+
* Get Queue IdentityResolution Settings.
|
|
55941
|
+
*
|
|
55942
|
+
* @param {String} queueId Queue ID
|
|
55943
|
+
* getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
55944
|
+
*/
|
|
55945
|
+
getRoutingQueueIdentityresolution(queueId) {
|
|
55946
|
+
// verify the required parameter 'queueId' is set
|
|
55947
|
+
if (queueId === undefined || queueId === null) {
|
|
55948
|
+
throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
|
|
55949
|
+
}
|
|
55950
|
+
|
|
55951
|
+
return this.apiClient.callApi(
|
|
55952
|
+
'/api/v2/routing/queues/{queueId}/identityresolution',
|
|
55953
|
+
'GET',
|
|
55954
|
+
{ 'queueId': queueId },
|
|
55955
|
+
{ },
|
|
55956
|
+
{ },
|
|
55957
|
+
{ },
|
|
55958
|
+
null,
|
|
55959
|
+
['PureCloud OAuth'],
|
|
55960
|
+
['application/json'],
|
|
55961
|
+
['application/json']
|
|
55962
|
+
);
|
|
55963
|
+
}
|
|
55964
|
+
|
|
55403
55965
|
/**
|
|
55404
55966
|
* Get Estimated Wait Time
|
|
55405
55967
|
*
|
|
@@ -55972,6 +56534,32 @@ class RoutingApi {
|
|
|
55972
56534
|
);
|
|
55973
56535
|
}
|
|
55974
56536
|
|
|
56537
|
+
/**
|
|
56538
|
+
* Get a SMS identity resolution settings.
|
|
56539
|
+
*
|
|
56540
|
+
* @param {String} addressId Address ID
|
|
56541
|
+
* getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
56542
|
+
*/
|
|
56543
|
+
getRoutingSmsIdentityresolutionPhonenumber(addressId) {
|
|
56544
|
+
// verify the required parameter 'addressId' is set
|
|
56545
|
+
if (addressId === undefined || addressId === null) {
|
|
56546
|
+
throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
|
|
56547
|
+
}
|
|
56548
|
+
|
|
56549
|
+
return this.apiClient.callApi(
|
|
56550
|
+
'/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
|
|
56551
|
+
'GET',
|
|
56552
|
+
{ 'addressId': addressId },
|
|
56553
|
+
{ },
|
|
56554
|
+
{ },
|
|
56555
|
+
{ },
|
|
56556
|
+
null,
|
|
56557
|
+
['PureCloud OAuth'],
|
|
56558
|
+
['application/json'],
|
|
56559
|
+
['application/json']
|
|
56560
|
+
);
|
|
56561
|
+
}
|
|
56562
|
+
|
|
55975
56563
|
/**
|
|
55976
56564
|
* Get a phone number provisioned for SMS.
|
|
55977
56565
|
*
|
|
@@ -57777,6 +58365,42 @@ class RoutingApi {
|
|
|
57777
58365
|
);
|
|
57778
58366
|
}
|
|
57779
58367
|
|
|
58368
|
+
/**
|
|
58369
|
+
* Update identity resolution settings for a route.
|
|
58370
|
+
*
|
|
58371
|
+
* @param {String} domainName email domain
|
|
58372
|
+
* @param {String} routeId route ID
|
|
58373
|
+
* @param {Object} body
|
|
58374
|
+
* putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
58375
|
+
*/
|
|
58376
|
+
putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
|
|
58377
|
+
// verify the required parameter 'domainName' is set
|
|
58378
|
+
if (domainName === undefined || domainName === null) {
|
|
58379
|
+
throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
|
|
58380
|
+
}
|
|
58381
|
+
// verify the required parameter 'routeId' is set
|
|
58382
|
+
if (routeId === undefined || routeId === null) {
|
|
58383
|
+
throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
|
|
58384
|
+
}
|
|
58385
|
+
// verify the required parameter 'body' is set
|
|
58386
|
+
if (body === undefined || body === null) {
|
|
58387
|
+
throw 'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';
|
|
58388
|
+
}
|
|
58389
|
+
|
|
58390
|
+
return this.apiClient.callApi(
|
|
58391
|
+
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
|
|
58392
|
+
'PUT',
|
|
58393
|
+
{ 'domainName': domainName,'routeId': routeId },
|
|
58394
|
+
{ },
|
|
58395
|
+
{ },
|
|
58396
|
+
{ },
|
|
58397
|
+
body,
|
|
58398
|
+
['PureCloud OAuth'],
|
|
58399
|
+
['application/json'],
|
|
58400
|
+
['application/json']
|
|
58401
|
+
);
|
|
58402
|
+
}
|
|
58403
|
+
|
|
57780
58404
|
/**
|
|
57781
58405
|
* Request an activation status (cname + dkim) update of an outbound domain
|
|
57782
58406
|
*
|
|
@@ -57862,6 +58486,37 @@ class RoutingApi {
|
|
|
57862
58486
|
);
|
|
57863
58487
|
}
|
|
57864
58488
|
|
|
58489
|
+
/**
|
|
58490
|
+
* Update Queue IdentityResolution Settings.
|
|
58491
|
+
*
|
|
58492
|
+
* @param {String} queueId Queue ID
|
|
58493
|
+
* @param {Object} body
|
|
58494
|
+
* putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
58495
|
+
*/
|
|
58496
|
+
putRoutingQueueIdentityresolution(queueId, body) {
|
|
58497
|
+
// verify the required parameter 'queueId' is set
|
|
58498
|
+
if (queueId === undefined || queueId === null) {
|
|
58499
|
+
throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
|
|
58500
|
+
}
|
|
58501
|
+
// verify the required parameter 'body' is set
|
|
58502
|
+
if (body === undefined || body === null) {
|
|
58503
|
+
throw 'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';
|
|
58504
|
+
}
|
|
58505
|
+
|
|
58506
|
+
return this.apiClient.callApi(
|
|
58507
|
+
'/api/v2/routing/queues/{queueId}/identityresolution',
|
|
58508
|
+
'PUT',
|
|
58509
|
+
{ 'queueId': queueId },
|
|
58510
|
+
{ },
|
|
58511
|
+
{ },
|
|
58512
|
+
{ },
|
|
58513
|
+
body,
|
|
58514
|
+
['PureCloud OAuth'],
|
|
58515
|
+
['application/json'],
|
|
58516
|
+
['application/json']
|
|
58517
|
+
);
|
|
58518
|
+
}
|
|
58519
|
+
|
|
57865
58520
|
/**
|
|
57866
58521
|
* Update an organization's routing settings
|
|
57867
58522
|
*
|
|
@@ -57912,6 +58567,37 @@ class RoutingApi {
|
|
|
57912
58567
|
);
|
|
57913
58568
|
}
|
|
57914
58569
|
|
|
58570
|
+
/**
|
|
58571
|
+
* Update an SMS identity resolution settings.
|
|
58572
|
+
*
|
|
58573
|
+
* @param {String} addressId Address ID
|
|
58574
|
+
* @param {Object} body
|
|
58575
|
+
* putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
58576
|
+
*/
|
|
58577
|
+
putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
|
|
58578
|
+
// verify the required parameter 'addressId' is set
|
|
58579
|
+
if (addressId === undefined || addressId === null) {
|
|
58580
|
+
throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
|
|
58581
|
+
}
|
|
58582
|
+
// verify the required parameter 'body' is set
|
|
58583
|
+
if (body === undefined || body === null) {
|
|
58584
|
+
throw 'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';
|
|
58585
|
+
}
|
|
58586
|
+
|
|
58587
|
+
return this.apiClient.callApi(
|
|
58588
|
+
'/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
|
|
58589
|
+
'PUT',
|
|
58590
|
+
{ 'addressId': addressId },
|
|
58591
|
+
{ },
|
|
58592
|
+
{ },
|
|
58593
|
+
{ },
|
|
58594
|
+
body,
|
|
58595
|
+
['PureCloud OAuth'],
|
|
58596
|
+
['application/json'],
|
|
58597
|
+
['application/json']
|
|
58598
|
+
);
|
|
58599
|
+
}
|
|
58600
|
+
|
|
57915
58601
|
/**
|
|
57916
58602
|
* Update the user's Direct Routing Backup settings.
|
|
57917
58603
|
*
|
|
@@ -58128,7 +58814,7 @@ class SCIMApi {
|
|
|
58128
58814
|
/**
|
|
58129
58815
|
* SCIM service.
|
|
58130
58816
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
58131
|
-
* @version
|
|
58817
|
+
* @version 217.0.0
|
|
58132
58818
|
*/
|
|
58133
58819
|
|
|
58134
58820
|
/**
|
|
@@ -59005,7 +59691,7 @@ class ScreenRecordingApi {
|
|
|
59005
59691
|
/**
|
|
59006
59692
|
* ScreenRecording service.
|
|
59007
59693
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
59008
|
-
* @version
|
|
59694
|
+
* @version 217.0.0
|
|
59009
59695
|
*/
|
|
59010
59696
|
|
|
59011
59697
|
/**
|
|
@@ -59050,7 +59736,7 @@ class ScriptsApi {
|
|
|
59050
59736
|
/**
|
|
59051
59737
|
* Scripts service.
|
|
59052
59738
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
59053
|
-
* @version
|
|
59739
|
+
* @version 217.0.0
|
|
59054
59740
|
*/
|
|
59055
59741
|
|
|
59056
59742
|
/**
|
|
@@ -59494,7 +60180,7 @@ class SearchApi {
|
|
|
59494
60180
|
/**
|
|
59495
60181
|
* Search service.
|
|
59496
60182
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
59497
|
-
* @version
|
|
60183
|
+
* @version 217.0.0
|
|
59498
60184
|
*/
|
|
59499
60185
|
|
|
59500
60186
|
/**
|
|
@@ -60237,7 +60923,7 @@ class SettingsApi {
|
|
|
60237
60923
|
/**
|
|
60238
60924
|
* Settings service.
|
|
60239
60925
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
60240
|
-
* @version
|
|
60926
|
+
* @version 217.0.0
|
|
60241
60927
|
*/
|
|
60242
60928
|
|
|
60243
60929
|
/**
|
|
@@ -60457,7 +61143,7 @@ class SocialMediaApi {
|
|
|
60457
61143
|
/**
|
|
60458
61144
|
* SocialMedia service.
|
|
60459
61145
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
60460
|
-
* @version
|
|
61146
|
+
* @version 217.0.0
|
|
60461
61147
|
*/
|
|
60462
61148
|
|
|
60463
61149
|
/**
|
|
@@ -61362,7 +62048,7 @@ class SpeechTextAnalyticsApi {
|
|
|
61362
62048
|
/**
|
|
61363
62049
|
* SpeechTextAnalytics service.
|
|
61364
62050
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61365
|
-
* @version
|
|
62051
|
+
* @version 217.0.0
|
|
61366
62052
|
*/
|
|
61367
62053
|
|
|
61368
62054
|
/**
|
|
@@ -61530,12 +62216,12 @@ class SpeechTextAnalyticsApi {
|
|
|
61530
62216
|
* Get the list of Speech and Text Analytics categories
|
|
61531
62217
|
*
|
|
61532
62218
|
* @param {Object} opts Optional parameters
|
|
61533
|
-
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is
|
|
62219
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 25. (default to 25)
|
|
61534
62220
|
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
61535
62221
|
* @param {String} opts.name The category name filter applied to the listing
|
|
61536
62222
|
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
61537
62223
|
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
61538
|
-
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of
|
|
62224
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 25 IDs allowed.
|
|
61539
62225
|
*/
|
|
61540
62226
|
getSpeechandtextanalyticsCategories(opts) {
|
|
61541
62227
|
opts = opts || {};
|
|
@@ -62803,7 +63489,7 @@ class StationsApi {
|
|
|
62803
63489
|
/**
|
|
62804
63490
|
* Stations service.
|
|
62805
63491
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62806
|
-
* @version
|
|
63492
|
+
* @version 217.0.0
|
|
62807
63493
|
*/
|
|
62808
63494
|
|
|
62809
63495
|
/**
|
|
@@ -62905,7 +63591,7 @@ class SuggestApi {
|
|
|
62905
63591
|
/**
|
|
62906
63592
|
* Suggest service.
|
|
62907
63593
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62908
|
-
* @version
|
|
63594
|
+
* @version 217.0.0
|
|
62909
63595
|
*/
|
|
62910
63596
|
|
|
62911
63597
|
/**
|
|
@@ -63044,7 +63730,7 @@ class TaskManagementApi {
|
|
|
63044
63730
|
/**
|
|
63045
63731
|
* TaskManagement service.
|
|
63046
63732
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
63047
|
-
* @version
|
|
63733
|
+
* @version 217.0.0
|
|
63048
63734
|
*/
|
|
63049
63735
|
|
|
63050
63736
|
/**
|
|
@@ -65150,7 +65836,7 @@ class TeamsApi {
|
|
|
65150
65836
|
/**
|
|
65151
65837
|
* Teams service.
|
|
65152
65838
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
65153
|
-
* @version
|
|
65839
|
+
* @version 217.0.0
|
|
65154
65840
|
*/
|
|
65155
65841
|
|
|
65156
65842
|
/**
|
|
@@ -65455,7 +66141,7 @@ class TelephonyApi {
|
|
|
65455
66141
|
/**
|
|
65456
66142
|
* Telephony service.
|
|
65457
66143
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
65458
|
-
* @version
|
|
66144
|
+
* @version 217.0.0
|
|
65459
66145
|
*/
|
|
65460
66146
|
|
|
65461
66147
|
/**
|
|
@@ -65637,7 +66323,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
65637
66323
|
/**
|
|
65638
66324
|
* TelephonyProvidersEdge service.
|
|
65639
66325
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
65640
|
-
* @version
|
|
66326
|
+
* @version 217.0.0
|
|
65641
66327
|
*/
|
|
65642
66328
|
|
|
65643
66329
|
/**
|
|
@@ -69088,7 +69774,7 @@ class TextbotsApi {
|
|
|
69088
69774
|
/**
|
|
69089
69775
|
* Textbots service.
|
|
69090
69776
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
69091
|
-
* @version
|
|
69777
|
+
* @version 217.0.0
|
|
69092
69778
|
*/
|
|
69093
69779
|
|
|
69094
69780
|
/**
|
|
@@ -69216,7 +69902,7 @@ class TokensApi {
|
|
|
69216
69902
|
/**
|
|
69217
69903
|
* Tokens service.
|
|
69218
69904
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
69219
|
-
* @version
|
|
69905
|
+
* @version 217.0.0
|
|
69220
69906
|
*/
|
|
69221
69907
|
|
|
69222
69908
|
/**
|
|
@@ -69370,7 +70056,7 @@ class UploadsApi {
|
|
|
69370
70056
|
/**
|
|
69371
70057
|
* Uploads service.
|
|
69372
70058
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
69373
|
-
* @version
|
|
70059
|
+
* @version 217.0.0
|
|
69374
70060
|
*/
|
|
69375
70061
|
|
|
69376
70062
|
/**
|
|
@@ -69390,7 +70076,6 @@ class UploadsApi {
|
|
|
69390
70076
|
*
|
|
69391
70077
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
69392
70078
|
* @param {String} jobId Upload job ID
|
|
69393
|
-
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69394
70079
|
*/
|
|
69395
70080
|
getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
|
|
69396
70081
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -69476,7 +70161,6 @@ class UploadsApi {
|
|
|
69476
70161
|
*
|
|
69477
70162
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
69478
70163
|
* @param {Object} body uploadRequest
|
|
69479
|
-
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69480
70164
|
*/
|
|
69481
70165
|
postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
|
|
69482
70166
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -69638,7 +70322,7 @@ class UsageApi {
|
|
|
69638
70322
|
/**
|
|
69639
70323
|
* Usage service.
|
|
69640
70324
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
69641
|
-
* @version
|
|
70325
|
+
* @version 217.0.0
|
|
69642
70326
|
*/
|
|
69643
70327
|
|
|
69644
70328
|
/**
|
|
@@ -69853,7 +70537,7 @@ class UserRecordingsApi {
|
|
|
69853
70537
|
/**
|
|
69854
70538
|
* UserRecordings service.
|
|
69855
70539
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
69856
|
-
* @version
|
|
70540
|
+
* @version 217.0.0
|
|
69857
70541
|
*/
|
|
69858
70542
|
|
|
69859
70543
|
/**
|
|
@@ -70068,7 +70752,7 @@ class UsersApi {
|
|
|
70068
70752
|
/**
|
|
70069
70753
|
* Users service.
|
|
70070
70754
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
70071
|
-
* @version
|
|
70755
|
+
* @version 217.0.0
|
|
70072
70756
|
*/
|
|
70073
70757
|
|
|
70074
70758
|
/**
|
|
@@ -73021,7 +73705,7 @@ class UtilitiesApi {
|
|
|
73021
73705
|
/**
|
|
73022
73706
|
* Utilities service.
|
|
73023
73707
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
73024
|
-
* @version
|
|
73708
|
+
* @version 217.0.0
|
|
73025
73709
|
*/
|
|
73026
73710
|
|
|
73027
73711
|
/**
|
|
@@ -73132,7 +73816,7 @@ class VoicemailApi {
|
|
|
73132
73816
|
/**
|
|
73133
73817
|
* Voicemail service.
|
|
73134
73818
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
73135
|
-
* @version
|
|
73819
|
+
* @version 217.0.0
|
|
73136
73820
|
*/
|
|
73137
73821
|
|
|
73138
73822
|
/**
|
|
@@ -73854,7 +74538,7 @@ class WebChatApi {
|
|
|
73854
74538
|
/**
|
|
73855
74539
|
* WebChat service.
|
|
73856
74540
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
73857
|
-
* @version
|
|
74541
|
+
* @version 217.0.0
|
|
73858
74542
|
*/
|
|
73859
74543
|
|
|
73860
74544
|
/**
|
|
@@ -74405,7 +75089,7 @@ class WebDeploymentsApi {
|
|
|
74405
75089
|
/**
|
|
74406
75090
|
* WebDeployments service.
|
|
74407
75091
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
74408
|
-
* @version
|
|
75092
|
+
* @version 217.0.0
|
|
74409
75093
|
*/
|
|
74410
75094
|
|
|
74411
75095
|
/**
|
|
@@ -74718,6 +75402,32 @@ class WebDeploymentsApi {
|
|
|
74718
75402
|
);
|
|
74719
75403
|
}
|
|
74720
75404
|
|
|
75405
|
+
/**
|
|
75406
|
+
* Get a deployment identity resolution setting.
|
|
75407
|
+
*
|
|
75408
|
+
* @param {String} deploymentId The deployment ID
|
|
75409
|
+
* getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
75410
|
+
*/
|
|
75411
|
+
getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
|
|
75412
|
+
// verify the required parameter 'deploymentId' is set
|
|
75413
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
75414
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';
|
|
75415
|
+
}
|
|
75416
|
+
|
|
75417
|
+
return this.apiClient.callApi(
|
|
75418
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
|
|
75419
|
+
'GET',
|
|
75420
|
+
{ 'deploymentId': deploymentId },
|
|
75421
|
+
{ },
|
|
75422
|
+
{ },
|
|
75423
|
+
{ },
|
|
75424
|
+
null,
|
|
75425
|
+
['PureCloud OAuth'],
|
|
75426
|
+
['application/json'],
|
|
75427
|
+
['application/json']
|
|
75428
|
+
);
|
|
75429
|
+
}
|
|
75430
|
+
|
|
74721
75431
|
/**
|
|
74722
75432
|
* Get deployments
|
|
74723
75433
|
*
|
|
@@ -74926,13 +75636,44 @@ class WebDeploymentsApi {
|
|
|
74926
75636
|
);
|
|
74927
75637
|
}
|
|
74928
75638
|
|
|
75639
|
+
/**
|
|
75640
|
+
* Update identity resolution settings for a deployment.
|
|
75641
|
+
*
|
|
75642
|
+
* @param {String} deploymentId The deployment ID
|
|
75643
|
+
* @param {Object} body
|
|
75644
|
+
* putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
75645
|
+
*/
|
|
75646
|
+
putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
|
|
75647
|
+
// verify the required parameter 'deploymentId' is set
|
|
75648
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
75649
|
+
throw 'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';
|
|
75650
|
+
}
|
|
75651
|
+
// verify the required parameter 'body' is set
|
|
75652
|
+
if (body === undefined || body === null) {
|
|
75653
|
+
throw 'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';
|
|
75654
|
+
}
|
|
75655
|
+
|
|
75656
|
+
return this.apiClient.callApi(
|
|
75657
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
|
|
75658
|
+
'PUT',
|
|
75659
|
+
{ 'deploymentId': deploymentId },
|
|
75660
|
+
{ },
|
|
75661
|
+
{ },
|
|
75662
|
+
{ },
|
|
75663
|
+
body,
|
|
75664
|
+
['PureCloud OAuth'],
|
|
75665
|
+
['application/json'],
|
|
75666
|
+
['application/json']
|
|
75667
|
+
);
|
|
75668
|
+
}
|
|
75669
|
+
|
|
74929
75670
|
}
|
|
74930
75671
|
|
|
74931
75672
|
class WebMessagingApi {
|
|
74932
75673
|
/**
|
|
74933
75674
|
* WebMessaging service.
|
|
74934
75675
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
74935
|
-
* @version
|
|
75676
|
+
* @version 217.0.0
|
|
74936
75677
|
*/
|
|
74937
75678
|
|
|
74938
75679
|
/**
|
|
@@ -74978,7 +75719,7 @@ class WidgetsApi {
|
|
|
74978
75719
|
/**
|
|
74979
75720
|
* Widgets service.
|
|
74980
75721
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
74981
|
-
* @version
|
|
75722
|
+
* @version 217.0.0
|
|
74982
75723
|
*/
|
|
74983
75724
|
|
|
74984
75725
|
/**
|
|
@@ -75124,7 +75865,7 @@ class WorkforceManagementApi {
|
|
|
75124
75865
|
/**
|
|
75125
75866
|
* WorkforceManagement service.
|
|
75126
75867
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
75127
|
-
* @version
|
|
75868
|
+
* @version 217.0.0
|
|
75128
75869
|
*/
|
|
75129
75870
|
|
|
75130
75871
|
/**
|
|
@@ -77648,6 +78389,51 @@ class WorkforceManagementApi {
|
|
|
77648
78389
|
);
|
|
77649
78390
|
}
|
|
77650
78391
|
|
|
78392
|
+
/**
|
|
78393
|
+
* Retrieves delete job status for historical data imports associated with the job id
|
|
78394
|
+
*
|
|
78395
|
+
* @param {String} jobId The job ID of the historical data delete request
|
|
78396
|
+
*/
|
|
78397
|
+
getWorkforcemanagementHistoricaldataBulkRemoveJob(jobId) {
|
|
78398
|
+
// verify the required parameter 'jobId' is set
|
|
78399
|
+
if (jobId === undefined || jobId === null) {
|
|
78400
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';
|
|
78401
|
+
}
|
|
78402
|
+
|
|
78403
|
+
return this.apiClient.callApi(
|
|
78404
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs/{jobId}',
|
|
78405
|
+
'GET',
|
|
78406
|
+
{ 'jobId': jobId },
|
|
78407
|
+
{ },
|
|
78408
|
+
{ },
|
|
78409
|
+
{ },
|
|
78410
|
+
null,
|
|
78411
|
+
['PureCloud OAuth'],
|
|
78412
|
+
['application/json'],
|
|
78413
|
+
['application/json']
|
|
78414
|
+
);
|
|
78415
|
+
}
|
|
78416
|
+
|
|
78417
|
+
/**
|
|
78418
|
+
* Retrieves all delete job status for historical data
|
|
78419
|
+
*
|
|
78420
|
+
*/
|
|
78421
|
+
getWorkforcemanagementHistoricaldataBulkRemoveJobs() {
|
|
78422
|
+
|
|
78423
|
+
return this.apiClient.callApi(
|
|
78424
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
78425
|
+
'GET',
|
|
78426
|
+
{ },
|
|
78427
|
+
{ },
|
|
78428
|
+
{ },
|
|
78429
|
+
{ },
|
|
78430
|
+
null,
|
|
78431
|
+
['PureCloud OAuth'],
|
|
78432
|
+
['application/json'],
|
|
78433
|
+
['application/json']
|
|
78434
|
+
);
|
|
78435
|
+
}
|
|
78436
|
+
|
|
77651
78437
|
/**
|
|
77652
78438
|
* Retrieves delete job status for historical data imports of the organization
|
|
77653
78439
|
*
|
|
@@ -81197,6 +81983,30 @@ class WorkforceManagementApi {
|
|
|
81197
81983
|
);
|
|
81198
81984
|
}
|
|
81199
81985
|
|
|
81986
|
+
/**
|
|
81987
|
+
* Delete the list of the historical data import entries
|
|
81988
|
+
*
|
|
81989
|
+
* @param {Object} opts Optional parameters
|
|
81990
|
+
* @param {Object} opts.body body
|
|
81991
|
+
*/
|
|
81992
|
+
postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts) {
|
|
81993
|
+
opts = opts || {};
|
|
81994
|
+
|
|
81995
|
+
|
|
81996
|
+
return this.apiClient.callApi(
|
|
81997
|
+
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
81998
|
+
'POST',
|
|
81999
|
+
{ },
|
|
82000
|
+
{ },
|
|
82001
|
+
{ },
|
|
82002
|
+
{ },
|
|
82003
|
+
opts['body'],
|
|
82004
|
+
['PureCloud OAuth'],
|
|
82005
|
+
['application/json'],
|
|
82006
|
+
['application/json']
|
|
82007
|
+
);
|
|
82008
|
+
}
|
|
82009
|
+
|
|
81200
82010
|
/**
|
|
81201
82011
|
* Delete the entries of the historical data imports in the organization
|
|
81202
82012
|
*
|
|
@@ -82448,7 +83258,7 @@ class WorkforceManagementApi {
|
|
|
82448
83258
|
* </pre>
|
|
82449
83259
|
* </p>
|
|
82450
83260
|
* @module purecloud-platform-client-v2/index
|
|
82451
|
-
* @version
|
|
83261
|
+
* @version 217.0.0
|
|
82452
83262
|
*/
|
|
82453
83263
|
class platformClient {
|
|
82454
83264
|
constructor() {
|