purecloud-platform-client-v2 209.0.0 → 210.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 +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.js +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +191 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +260 -160
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +892 -702
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +175 -0
- 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 +240 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +9 -9
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +5 -13
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -877,7 +877,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
877
877
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
878
878
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
879
879
|
* @module purecloud-platform-client-v2/ApiClient
|
|
880
|
-
* @version
|
|
880
|
+
* @version 210.0.0
|
|
881
881
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
882
882
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
883
883
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1199,7 +1199,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1199
1199
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1200
1200
|
* AgentAssistants service.
|
|
1201
1201
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1202
|
-
* @version
|
|
1202
|
+
* @version 210.0.0
|
|
1203
1203
|
*//**
|
|
1204
1204
|
* Constructs a new AgentAssistantsApi.
|
|
1205
1205
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1300,7 +1300,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1300
1300
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1301
1301
|
* AgentCopilot service.
|
|
1302
1302
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1303
|
-
* @version
|
|
1303
|
+
* @version 210.0.0
|
|
1304
1304
|
*//**
|
|
1305
1305
|
* Constructs a new AgentCopilotApi.
|
|
1306
1306
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1322,7 +1322,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1322
1322
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1323
1323
|
* AgentUI service.
|
|
1324
1324
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1325
|
-
* @version
|
|
1325
|
+
* @version 210.0.0
|
|
1326
1326
|
*//**
|
|
1327
1327
|
* Constructs a new AgentUIApi.
|
|
1328
1328
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1356,7 +1356,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1356
1356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1357
1357
|
* Alerting service.
|
|
1358
1358
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1359
|
-
* @version
|
|
1359
|
+
* @version 210.0.0
|
|
1360
1360
|
*//**
|
|
1361
1361
|
* Constructs a new AlertingApi.
|
|
1362
1362
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1513,7 +1513,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1513
1513
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1514
1514
|
* Analytics service.
|
|
1515
1515
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1516
|
-
* @version
|
|
1516
|
+
* @version 210.0.0
|
|
1517
1517
|
*//**
|
|
1518
1518
|
* Constructs a new AnalyticsApi.
|
|
1519
1519
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2135,7 +2135,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2135
2135
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
2136
2136
|
* Architect service.
|
|
2137
2137
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2138
|
-
* @version
|
|
2138
|
+
* @version 210.0.0
|
|
2139
2139
|
*//**
|
|
2140
2140
|
* Constructs a new ArchitectApi.
|
|
2141
2141
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3227,7 +3227,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3227
3227
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3228
3228
|
* Audit service.
|
|
3229
3229
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3230
|
-
* @version
|
|
3230
|
+
* @version 210.0.0
|
|
3231
3231
|
*//**
|
|
3232
3232
|
* Constructs a new AuditApi.
|
|
3233
3233
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3277,7 +3277,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3277
3277
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3278
3278
|
* Authorization service.
|
|
3279
3279
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3280
|
-
* @version
|
|
3280
|
+
* @version 210.0.0
|
|
3281
3281
|
*//**
|
|
3282
3282
|
* Constructs a new AuthorizationApi.
|
|
3283
3283
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3600,7 +3600,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3600
3600
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3601
3601
|
* Billing service.
|
|
3602
3602
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3603
|
-
* @version
|
|
3603
|
+
* @version 210.0.0
|
|
3604
3604
|
*//**
|
|
3605
3605
|
* Constructs a new BillingApi.
|
|
3606
3606
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3624,7 +3624,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3624
3624
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3625
3625
|
* CarrierServices service.
|
|
3626
3626
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3627
|
-
* @version
|
|
3627
|
+
* @version 210.0.0
|
|
3628
3628
|
*//**
|
|
3629
3629
|
* Constructs a new CarrierServicesApi.
|
|
3630
3630
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3644,7 +3644,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3644
3644
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3645
3645
|
* Chat service.
|
|
3646
3646
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3647
|
-
* @version
|
|
3647
|
+
* @version 210.0.0
|
|
3648
3648
|
*//**
|
|
3649
3649
|
* Constructs a new ChatApi.
|
|
3650
3650
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3869,7 +3869,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3869
3869
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3870
3870
|
* Coaching service.
|
|
3871
3871
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3872
|
-
* @version
|
|
3872
|
+
* @version 210.0.0
|
|
3873
3873
|
*//**
|
|
3874
3874
|
* Constructs a new CoachingApi.
|
|
3875
3875
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4022,7 +4022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4022
4022
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
4023
4023
|
* ContentManagement service.
|
|
4024
4024
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4025
|
-
* @version
|
|
4025
|
+
* @version 210.0.0
|
|
4026
4026
|
*//**
|
|
4027
4027
|
* Constructs a new ContentManagementApi.
|
|
4028
4028
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4304,7 +4304,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4304
4304
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
4305
4305
|
* Conversations service.
|
|
4306
4306
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4307
|
-
* @version
|
|
4307
|
+
* @version 210.0.0
|
|
4308
4308
|
*//**
|
|
4309
4309
|
* Constructs a new ConversationsApi.
|
|
4310
4310
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6032,7 +6032,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6032
6032
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
6033
6033
|
* DataExtensions service.
|
|
6034
6034
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6035
|
-
* @version
|
|
6035
|
+
* @version 210.0.0
|
|
6036
6036
|
*//**
|
|
6037
6037
|
* Constructs a new DataExtensionsApi.
|
|
6038
6038
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6050,10 +6050,50 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6050
6050
|
*/},{key:"getDataextensionsCoretypes",value:function getDataextensionsCoretypes(){return this.apiClient.callApi('/api/v2/dataextensions/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6051
6051
|
* Get quantitative limits on schemas
|
|
6052
6052
|
*
|
|
6053
|
-
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
6053
|
+
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
6054
|
+
* DataPrivacy service.
|
|
6055
|
+
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6056
|
+
* @version 210.0.0
|
|
6057
|
+
*//**
|
|
6058
|
+
* Constructs a new DataPrivacyApi.
|
|
6059
|
+
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6060
|
+
* @class
|
|
6061
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
6062
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
6063
|
+
*/function DataPrivacyApi(apiClient){_classCallCheck(this,DataPrivacyApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
6064
|
+
* Delete a masking rule.
|
|
6065
|
+
*
|
|
6066
|
+
* @param {String} ruleId ruleId
|
|
6067
|
+
*/return _createClass(DataPrivacyApi,[{key:"deleteDataprivacyMaskingrule",value:function deleteDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
6068
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6069
|
+
* Fetch details about a masking rule.
|
|
6070
|
+
*
|
|
6071
|
+
* @param {String} ruleId ruleId
|
|
6072
|
+
*/},{key:"getDataprivacyMaskingrule",value:function getDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
6073
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6074
|
+
* Retrieve the list of masking rules.
|
|
6075
|
+
*
|
|
6076
|
+
*/},{key:"getDataprivacyMaskingrules",value:function getDataprivacyMaskingrules(){return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6077
|
+
* Update information about a masking rule.
|
|
6078
|
+
*
|
|
6079
|
+
* @param {String} ruleId ruleId
|
|
6080
|
+
* @param {Object} opts Optional parameters
|
|
6081
|
+
* @param {Object} opts.body
|
|
6082
|
+
*/},{key:"patchDataprivacyMaskingrule",value:function patchDataprivacyMaskingrule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
6083
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6084
|
+
* Create a new masking rule resource.
|
|
6085
|
+
*
|
|
6086
|
+
* @param {Object} body Details for creating masking rule resource
|
|
6087
|
+
*/},{key:"postDataprivacyMaskingrules",value:function postDataprivacyMaskingrules(body){// verify the required parameter 'body' is set
|
|
6088
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrules';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6089
|
+
* Validate masking before creating.
|
|
6090
|
+
*
|
|
6091
|
+
* @param {Object} body Text to be masked
|
|
6092
|
+
*/},{key:"postDataprivacyMaskingrulesValidate",value:function postDataprivacyMaskingrulesValidate(body){// verify the required parameter 'body' is set
|
|
6093
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6054
6094
|
* Downloads service.
|
|
6055
6095
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6056
|
-
* @version
|
|
6096
|
+
* @version 210.0.0
|
|
6057
6097
|
*//**
|
|
6058
6098
|
* Constructs a new DownloadsApi.
|
|
6059
6099
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6072,7 +6112,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6072
6112
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6073
6113
|
* Emails service.
|
|
6074
6114
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6075
|
-
* @version
|
|
6115
|
+
* @version 210.0.0
|
|
6076
6116
|
*//**
|
|
6077
6117
|
* Constructs a new EmailsApi.
|
|
6078
6118
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6090,7 +6130,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6090
6130
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6091
6131
|
* EmployeeEngagement service.
|
|
6092
6132
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6093
|
-
* @version
|
|
6133
|
+
* @version 210.0.0
|
|
6094
6134
|
*//**
|
|
6095
6135
|
* Constructs a new EmployeeEngagementApi.
|
|
6096
6136
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6128,7 +6168,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6128
6168
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
6129
6169
|
* Events service.
|
|
6130
6170
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6131
|
-
* @version
|
|
6171
|
+
* @version 210.0.0
|
|
6132
6172
|
*//**
|
|
6133
6173
|
* Constructs a new EventsApi.
|
|
6134
6174
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6153,7 +6193,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6153
6193
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
6154
6194
|
* ExternalContacts service.
|
|
6155
6195
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6156
|
-
* @version
|
|
6196
|
+
* @version 210.0.0
|
|
6157
6197
|
*//**
|
|
6158
6198
|
* Constructs a new ExternalContactsApi.
|
|
6159
6199
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6188,6 +6228,11 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
|
|
|
6188
6228
|
* @param {String} settingsId Settings id
|
|
6189
6229
|
*/},{key:"deleteExternalcontactsImportCsvSetting",value:function deleteExternalcontactsImportCsvSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
6190
6230
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6231
|
+
* Delete Settings
|
|
6232
|
+
*
|
|
6233
|
+
* @param {String} settingsId Settings id
|
|
6234
|
+
*/},{key:"deleteExternalcontactsImportSetting",value:function deleteExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
6235
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6191
6236
|
* Delete an external organization
|
|
6192
6237
|
*
|
|
6193
6238
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -6321,6 +6366,32 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
|
|
|
6321
6366
|
* @param {String} uploadId Upload id
|
|
6322
6367
|
*/},{key:"getExternalcontactsImportCsvUploadPreview",value:function getExternalcontactsImportCsvUploadPreview(uploadId){// verify the required parameter 'uploadId' is set
|
|
6323
6368
|
if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads/{uploadId}/preview','GET',{'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6369
|
+
* Get job based on id
|
|
6370
|
+
*
|
|
6371
|
+
* @param {String} jobId Job id
|
|
6372
|
+
*/},{key:"getExternalcontactsImportJob",value:function getExternalcontactsImportJob(jobId){// verify the required parameter 'jobId' is set
|
|
6373
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6374
|
+
* List jobs for organization
|
|
6375
|
+
*
|
|
6376
|
+
* @param {Object} opts Optional parameters
|
|
6377
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
6378
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
6379
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
6380
|
+
* @param {Object} opts.jobStatus Search term to filter by jobStatus
|
|
6381
|
+
*/},{key:"getExternalcontactsImportJobs",value:function getExternalcontactsImportJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'jobStatus':opts['jobStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6382
|
+
* Get setting based on id
|
|
6383
|
+
*
|
|
6384
|
+
* @param {String} settingsId Settings id
|
|
6385
|
+
*/},{key:"getExternalcontactsImportSetting",value:function getExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
6386
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','GET',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6387
|
+
* List settings for organization
|
|
6388
|
+
*
|
|
6389
|
+
* @param {Object} opts Optional parameters
|
|
6390
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
6391
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
6392
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
6393
|
+
* @param {String} opts.name Search term to filter by settings name
|
|
6394
|
+
*/},{key:"getExternalcontactsImportSettings",value:function getExternalcontactsImportSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6324
6395
|
* Fetch an external organization
|
|
6325
6396
|
*
|
|
6326
6397
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -6579,6 +6650,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6579
6650
|
* @param {Object} body UploadRequest
|
|
6580
6651
|
*/},{key:"postExternalcontactsImportCsvUploads",value:function postExternalcontactsImportCsvUploads(body){// verify the required parameter 'body' is set
|
|
6581
6652
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvUploads';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6653
|
+
* Create a new job
|
|
6654
|
+
*
|
|
6655
|
+
* @param {Object} body Job
|
|
6656
|
+
*/},{key:"postExternalcontactsImportJobs",value:function postExternalcontactsImportJobs(body){// verify the required parameter 'body' is set
|
|
6657
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportJobs';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6658
|
+
* Create a new settings
|
|
6659
|
+
*
|
|
6660
|
+
* @param {Object} body Setting
|
|
6661
|
+
*/},{key:"postExternalcontactsImportSettings",value:function postExternalcontactsImportSettings(body){// verify the required parameter 'body' is set
|
|
6662
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6582
6663
|
* Merge two contacts into a new contact record
|
|
6583
6664
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
6584
6665
|
* @param {Object} body MergeRequest
|
|
@@ -6650,6 +6731,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6650
6731
|
*/},{key:"putExternalcontactsImportCsvSetting",value:function putExternalcontactsImportCsvSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
6651
6732
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';}// verify the required parameter 'body' is set
|
|
6652
6733
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6734
|
+
* Update Job's workflow status
|
|
6735
|
+
*
|
|
6736
|
+
* @param {String} jobId Job id
|
|
6737
|
+
* @param {Object} body Status of the Job's workflow
|
|
6738
|
+
*/},{key:"putExternalcontactsImportJob",value:function putExternalcontactsImportJob(jobId,body){// verify the required parameter 'jobId' is set
|
|
6739
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';}// verify the required parameter 'body' is set
|
|
6740
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','PUT',{'jobId':jobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6741
|
+
* Update settings
|
|
6742
|
+
*
|
|
6743
|
+
* @param {String} settingsId Settings id
|
|
6744
|
+
* @param {Object} body Setting
|
|
6745
|
+
*/},{key:"putExternalcontactsImportSetting",value:function putExternalcontactsImportSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
6746
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';}// verify the required parameter 'body' is set
|
|
6747
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6653
6748
|
* Update an external organization
|
|
6654
6749
|
*
|
|
6655
6750
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -6689,7 +6784,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6689
6784
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6690
6785
|
* Fax service.
|
|
6691
6786
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6692
|
-
* @version
|
|
6787
|
+
* @version 210.0.0
|
|
6693
6788
|
*//**
|
|
6694
6789
|
* Constructs a new FaxApi.
|
|
6695
6790
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6738,7 +6833,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6738
6833
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6739
6834
|
* Flows service.
|
|
6740
6835
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6741
|
-
* @version
|
|
6836
|
+
* @version 210.0.0
|
|
6742
6837
|
*//**
|
|
6743
6838
|
* Constructs a new FlowsApi.
|
|
6744
6839
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6786,7 +6881,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6786
6881
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6787
6882
|
* Gamification service.
|
|
6788
6883
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6789
|
-
* @version
|
|
6884
|
+
* @version 210.0.0
|
|
6790
6885
|
*//**
|
|
6791
6886
|
* Constructs a new GamificationApi.
|
|
6792
6887
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7326,7 +7421,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7326
7421
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
7327
7422
|
* GeneralDataProtectionRegulation service.
|
|
7328
7423
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7329
|
-
* @version
|
|
7424
|
+
* @version 210.0.0
|
|
7330
7425
|
*//**
|
|
7331
7426
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7332
7427
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7361,7 +7456,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7361
7456
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
7362
7457
|
* Geolocation service.
|
|
7363
7458
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7364
|
-
* @version
|
|
7459
|
+
* @version 210.0.0
|
|
7365
7460
|
*//**
|
|
7366
7461
|
* Constructs a new GeolocationApi.
|
|
7367
7462
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7395,7 +7490,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7395
7490
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
7396
7491
|
* Greetings service.
|
|
7397
7492
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7398
|
-
* @version
|
|
7493
|
+
* @version 210.0.0
|
|
7399
7494
|
*//**
|
|
7400
7495
|
* Constructs a new GreetingsApi.
|
|
7401
7496
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7502,7 +7597,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7502
7597
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7503
7598
|
* Groups service.
|
|
7504
7599
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7505
|
-
* @version
|
|
7600
|
+
* @version 210.0.0
|
|
7506
7601
|
*//**
|
|
7507
7602
|
* Constructs a new GroupsApi.
|
|
7508
7603
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7635,7 +7730,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7635
7730
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7636
7731
|
* IdentityProvider service.
|
|
7637
7732
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7638
|
-
* @version
|
|
7733
|
+
* @version 210.0.0
|
|
7639
7734
|
*//**
|
|
7640
7735
|
* Constructs a new IdentityProviderApi.
|
|
7641
7736
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7791,7 +7886,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7791
7886
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7792
7887
|
* InfrastructureAsCode service.
|
|
7793
7888
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7794
|
-
* @version
|
|
7889
|
+
* @version 210.0.0
|
|
7795
7890
|
*//**
|
|
7796
7891
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7797
7892
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7845,7 +7940,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7845
7940
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7846
7941
|
* Integrations service.
|
|
7847
7942
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7848
|
-
* @version
|
|
7943
|
+
* @version 210.0.0
|
|
7849
7944
|
*//**
|
|
7850
7945
|
* Constructs a new IntegrationsApi.
|
|
7851
7946
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8480,7 +8575,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8480
8575
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8481
8576
|
* Journey service.
|
|
8482
8577
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8483
|
-
* @version
|
|
8578
|
+
* @version 210.0.0
|
|
8484
8579
|
*//**
|
|
8485
8580
|
* Constructs a new JourneyApi.
|
|
8486
8581
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8521,7 +8616,7 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
|
|
|
8521
8616
|
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8522
8617
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8523
8618
|
* Delete the Schedule of a JourneyView
|
|
8524
|
-
*
|
|
8619
|
+
*
|
|
8525
8620
|
* @param {String} viewId Journey View Id
|
|
8526
8621
|
*/},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
8527
8622
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8691,7 +8786,7 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
8691
8786
|
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8692
8787
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8693
8788
|
* Get the Schedule for a JourneyView
|
|
8694
|
-
*
|
|
8789
|
+
*
|
|
8695
8790
|
* @param {String} viewId Journey View Id
|
|
8696
8791
|
*/},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
8697
8792
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8723,7 +8818,7 @@ if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the
|
|
|
8723
8818
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'chartVersion' is set
|
|
8724
8819
|
if(chartVersion===undefined||chartVersion===null){throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'chartId':chartId,'chartVersion':chartVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8725
8820
|
* Get the job for a journey view version.
|
|
8726
|
-
*
|
|
8821
|
+
*
|
|
8727
8822
|
* @param {String} viewId Journey View Id
|
|
8728
8823
|
* @param {String} journeyVersionId Journey View Version
|
|
8729
8824
|
* @param {String} jobId JobId
|
|
@@ -8732,7 +8827,7 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
8732
8827
|
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';}// verify the required parameter 'jobId' is set
|
|
8733
8828
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8734
8829
|
* Get the result of a job for a journey view version.
|
|
8735
|
-
*
|
|
8830
|
+
*
|
|
8736
8831
|
* @param {String} viewId JourneyViewResult id
|
|
8737
8832
|
* @param {String} journeyViewVersion Journey View Version
|
|
8738
8833
|
* @param {String} jobId Id of the executing job
|
|
@@ -8752,7 +8847,7 @@ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the requ
|
|
|
8752
8847
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'chartId' is set
|
|
8753
8848
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId,'chartId':chartId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8754
8849
|
* Get the latest job of a journey view version.
|
|
8755
|
-
*
|
|
8850
|
+
*
|
|
8756
8851
|
* @param {String} viewId Journey View Id
|
|
8757
8852
|
* @param {String} journeyVersionId Journey View Version
|
|
8758
8853
|
*/},{key:"getJourneyViewVersionJobsLatest",value:function getJourneyViewVersionJobsLatest(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -8825,7 +8920,7 @@ if(outcomeId===undefined||outcomeId===null){throw'Missing the required parameter
|
|
|
8825
8920
|
*/},{key:"patchJourneySegment",value:function patchJourneySegment(segmentId,opts){opts=opts||{};// verify the required parameter 'segmentId' is set
|
|
8826
8921
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling patchJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','PATCH',{'segmentId':segmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8827
8922
|
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
8828
|
-
*
|
|
8923
|
+
*
|
|
8829
8924
|
* @param {String} viewId Journey View Id
|
|
8830
8925
|
* @param {String} journeyVersionId Journey View Version
|
|
8831
8926
|
* @param {String} jobId JobId
|
|
@@ -8916,7 +9011,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8916
9011
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
8917
9012
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8918
9013
|
* Submit a job request for a journey view version.
|
|
8919
|
-
*
|
|
9014
|
+
*
|
|
8920
9015
|
* @param {String} viewId Journey View Id
|
|
8921
9016
|
* @param {String} journeyVersionId Journey View Version
|
|
8922
9017
|
*/},{key:"postJourneyViewVersionJobs",value:function postJourneyViewVersionJobs(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -8940,7 +9035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8940
9035
|
* @param {Array.<Object>} opts.body
|
|
8941
9036
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8942
9037
|
* Update the Schedule for a JourneyView
|
|
8943
|
-
*
|
|
9038
|
+
*
|
|
8944
9039
|
* @param {String} viewId Journey View Id
|
|
8945
9040
|
* @param {Object} body journeyViewSchedule
|
|
8946
9041
|
*/},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
@@ -8957,7 +9052,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
8957
9052
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8958
9053
|
* Knowledge service.
|
|
8959
9054
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8960
|
-
* @version
|
|
9055
|
+
* @version 210.0.0
|
|
8961
9056
|
*//**
|
|
8962
9057
|
* Constructs a new KnowledgeApi.
|
|
8963
9058
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -10027,7 +10122,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10027
10122
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
10028
10123
|
* LanguageUnderstanding service.
|
|
10029
10124
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10030
|
-
* @version
|
|
10125
|
+
* @version 210.0.0
|
|
10031
10126
|
*//**
|
|
10032
10127
|
* Constructs a new LanguageUnderstandingApi.
|
|
10033
10128
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10287,7 +10382,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10287
10382
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
10288
10383
|
* Languages service.
|
|
10289
10384
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10290
|
-
* @version
|
|
10385
|
+
* @version 210.0.0
|
|
10291
10386
|
*//**
|
|
10292
10387
|
* Constructs a new LanguagesApi.
|
|
10293
10388
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10342,7 +10437,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10342
10437
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
10343
10438
|
* Learning service.
|
|
10344
10439
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10345
|
-
* @version
|
|
10440
|
+
* @version 210.0.0
|
|
10346
10441
|
*//**
|
|
10347
10442
|
* Constructs a new LearningApi.
|
|
10348
10443
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10613,7 +10708,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10613
10708
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
10614
10709
|
* License service.
|
|
10615
10710
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10616
|
-
* @version
|
|
10711
|
+
* @version 210.0.0
|
|
10617
10712
|
*//**
|
|
10618
10713
|
* Constructs a new LicenseApi.
|
|
10619
10714
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10667,7 +10762,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10667
10762
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
10668
10763
|
* Locations service.
|
|
10669
10764
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10670
|
-
* @version
|
|
10765
|
+
* @version 210.0.0
|
|
10671
10766
|
*//**
|
|
10672
10767
|
* Constructs a new LocationsApi.
|
|
10673
10768
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10726,7 +10821,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10726
10821
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
10727
10822
|
* LogCapture service.
|
|
10728
10823
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10729
|
-
* @version
|
|
10824
|
+
* @version 210.0.0
|
|
10730
10825
|
*//**
|
|
10731
10826
|
* Constructs a new LogCaptureApi.
|
|
10732
10827
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10776,7 +10871,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10776
10871
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10777
10872
|
* Messaging service.
|
|
10778
10873
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10779
|
-
* @version
|
|
10874
|
+
* @version 210.0.0
|
|
10780
10875
|
*//**
|
|
10781
10876
|
* Constructs a new MessagingApi.
|
|
10782
10877
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10866,7 +10961,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10866
10961
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
10867
10962
|
* MobileDevices service.
|
|
10868
10963
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10869
|
-
* @version
|
|
10964
|
+
* @version 210.0.0
|
|
10870
10965
|
*//**
|
|
10871
10966
|
* Constructs a new MobileDevicesApi.
|
|
10872
10967
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10905,7 +11000,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10905
11000
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
10906
11001
|
* Notifications service.
|
|
10907
11002
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10908
|
-
* @version
|
|
11003
|
+
* @version 210.0.0
|
|
10909
11004
|
*//**
|
|
10910
11005
|
* Constructs a new NotificationsApi.
|
|
10911
11006
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10962,7 +11057,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10962
11057
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
10963
11058
|
* OAuth service.
|
|
10964
11059
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10965
|
-
* @version
|
|
11060
|
+
* @version 210.0.0
|
|
10966
11061
|
*//**
|
|
10967
11062
|
* Constructs a new OAuthApi.
|
|
10968
11063
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11047,7 +11142,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11047
11142
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
11048
11143
|
* Objects service.
|
|
11049
11144
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11050
|
-
* @version
|
|
11145
|
+
* @version 210.0.0
|
|
11051
11146
|
*//**
|
|
11052
11147
|
* Constructs a new ObjectsApi.
|
|
11053
11148
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11118,7 +11213,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11118
11213
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
11119
11214
|
* OperationalEvents service.
|
|
11120
11215
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11121
|
-
* @version
|
|
11216
|
+
* @version 210.0.0
|
|
11122
11217
|
*//**
|
|
11123
11218
|
* Constructs a new OperationalEventsApi.
|
|
11124
11219
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11149,7 +11244,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
11149
11244
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
11150
11245
|
* Organization service.
|
|
11151
11246
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11152
|
-
* @version
|
|
11247
|
+
* @version 210.0.0
|
|
11153
11248
|
*//**
|
|
11154
11249
|
* Constructs a new OrganizationApi.
|
|
11155
11250
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11274,7 +11369,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11274
11369
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
11275
11370
|
* OrganizationAuthorization service.
|
|
11276
11371
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11277
|
-
* @version
|
|
11372
|
+
* @version 210.0.0
|
|
11278
11373
|
*//**
|
|
11279
11374
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11280
11375
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11608,7 +11703,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11608
11703
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11609
11704
|
* Outbound service.
|
|
11610
11705
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11611
|
-
* @version
|
|
11706
|
+
* @version 210.0.0
|
|
11612
11707
|
*//**
|
|
11613
11708
|
* Constructs a new OutboundApi.
|
|
11614
11709
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12715,7 +12810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12715
12810
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
12716
12811
|
* Presence service.
|
|
12717
12812
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12718
|
-
* @version
|
|
12813
|
+
* @version 210.0.0
|
|
12719
12814
|
*//**
|
|
12720
12815
|
* Constructs a new PresenceApi.
|
|
12721
12816
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12888,7 +12983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12888
12983
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
12889
12984
|
* ProcessAutomation service.
|
|
12890
12985
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12891
|
-
* @version
|
|
12986
|
+
* @version 210.0.0
|
|
12892
12987
|
*//**
|
|
12893
12988
|
* Constructs a new ProcessAutomationApi.
|
|
12894
12989
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12951,7 +13046,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12951
13046
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
12952
13047
|
* Quality service.
|
|
12953
13048
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12954
|
-
* @version
|
|
13049
|
+
* @version 210.0.0
|
|
12955
13050
|
*//**
|
|
12956
13051
|
* Constructs a new QualityApi.
|
|
12957
13052
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13430,7 +13525,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13430
13525
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
13431
13526
|
* Recording service.
|
|
13432
13527
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13433
|
-
* @version
|
|
13528
|
+
* @version 210.0.0
|
|
13434
13529
|
*//**
|
|
13435
13530
|
* Constructs a new RecordingApi.
|
|
13436
13531
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13842,7 +13937,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13842
13937
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
13843
13938
|
* ResponseManagement service.
|
|
13844
13939
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13845
|
-
* @version
|
|
13940
|
+
* @version 210.0.0
|
|
13846
13941
|
*//**
|
|
13847
13942
|
* Constructs a new ResponseManagementApi.
|
|
13848
13943
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13963,7 +14058,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13963
14058
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
13964
14059
|
* Routing service.
|
|
13965
14060
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13966
|
-
* @version
|
|
14061
|
+
* @version 210.0.0
|
|
13967
14062
|
*//**
|
|
13968
14063
|
* Constructs a new RoutingApi.
|
|
13969
14064
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14969,7 +15064,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14969
15064
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
14970
15065
|
* SCIM service.
|
|
14971
15066
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14972
|
-
* @version
|
|
15067
|
+
* @version 210.0.0
|
|
14973
15068
|
*//**
|
|
14974
15069
|
* Constructs a new SCIMApi.
|
|
14975
15070
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15194,7 +15289,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15194
15289
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
15195
15290
|
* ScreenRecording service.
|
|
15196
15291
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15197
|
-
* @version
|
|
15292
|
+
* @version 210.0.0
|
|
15198
15293
|
*//**
|
|
15199
15294
|
* Constructs a new ScreenRecordingApi.
|
|
15200
15295
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15209,7 +15304,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15209
15304
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
15210
15305
|
* Scripts service.
|
|
15211
15306
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15212
|
-
* @version
|
|
15307
|
+
* @version 210.0.0
|
|
15213
15308
|
*//**
|
|
15214
15309
|
* Constructs a new ScriptsApi.
|
|
15215
15310
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15345,7 +15440,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15345
15440
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
15346
15441
|
* Search service.
|
|
15347
15442
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15348
|
-
* @version
|
|
15443
|
+
* @version 210.0.0
|
|
15349
15444
|
*//**
|
|
15350
15445
|
* Constructs a new SearchApi.
|
|
15351
15446
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15517,7 +15612,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15517
15612
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
15518
15613
|
* Settings service.
|
|
15519
15614
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15520
|
-
* @version
|
|
15615
|
+
* @version 210.0.0
|
|
15521
15616
|
*//**
|
|
15522
15617
|
* Constructs a new SettingsApi.
|
|
15523
15618
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15567,7 +15662,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15567
15662
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
15568
15663
|
* SocialMedia service.
|
|
15569
15664
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15570
|
-
* @version
|
|
15665
|
+
* @version 210.0.0
|
|
15571
15666
|
*//**
|
|
15572
15667
|
* Constructs a new SocialMediaApi.
|
|
15573
15668
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -15832,7 +15927,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15832
15927
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
15833
15928
|
* SpeechTextAnalytics service.
|
|
15834
15929
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15835
|
-
* @version
|
|
15930
|
+
* @version 210.0.0
|
|
15836
15931
|
*//**
|
|
15837
15932
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15838
15933
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -16131,7 +16226,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16131
16226
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
16132
16227
|
* Stations service.
|
|
16133
16228
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
16134
|
-
* @version
|
|
16229
|
+
* @version 210.0.0
|
|
16135
16230
|
*//**
|
|
16136
16231
|
* Constructs a new StationsApi.
|
|
16137
16232
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -16163,7 +16258,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
16163
16258
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
16164
16259
|
* Suggest service.
|
|
16165
16260
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
16166
|
-
* @version
|
|
16261
|
+
* @version 210.0.0
|
|
16167
16262
|
*//**
|
|
16168
16263
|
* Constructs a new SuggestApi.
|
|
16169
16264
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -16203,7 +16298,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16203
16298
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
16204
16299
|
* TaskManagement service.
|
|
16205
16300
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
16206
|
-
* @version
|
|
16301
|
+
* @version 210.0.0
|
|
16207
16302
|
*//**
|
|
16208
16303
|
* Constructs a new TaskManagementApi.
|
|
16209
16304
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -16609,7 +16704,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16609
16704
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
16610
16705
|
* Teams service.
|
|
16611
16706
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16612
|
-
* @version
|
|
16707
|
+
* @version 210.0.0
|
|
16613
16708
|
*//**
|
|
16614
16709
|
* Constructs a new TeamsApi.
|
|
16615
16710
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16689,7 +16784,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16689
16784
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
16690
16785
|
* Telephony service.
|
|
16691
16786
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16692
|
-
* @version
|
|
16787
|
+
* @version 210.0.0
|
|
16693
16788
|
*//**
|
|
16694
16789
|
* Constructs a new TelephonyApi.
|
|
16695
16790
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16736,7 +16831,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16736
16831
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
16737
16832
|
* TelephonyProvidersEdge service.
|
|
16738
16833
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16739
|
-
* @version
|
|
16834
|
+
* @version 210.0.0
|
|
16740
16835
|
*//**
|
|
16741
16836
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16742
16837
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17571,7 +17666,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17571
17666
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
17572
17667
|
* Textbots service.
|
|
17573
17668
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17574
|
-
* @version
|
|
17669
|
+
* @version 210.0.0
|
|
17575
17670
|
*//**
|
|
17576
17671
|
* Constructs a new TextbotsApi.
|
|
17577
17672
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17606,7 +17701,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17606
17701
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
17607
17702
|
* Tokens service.
|
|
17608
17703
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17609
|
-
* @version
|
|
17704
|
+
* @version 210.0.0
|
|
17610
17705
|
*//**
|
|
17611
17706
|
* Constructs a new TokensApi.
|
|
17612
17707
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17640,7 +17735,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17640
17735
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
17641
17736
|
* Uploads service.
|
|
17642
17737
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17643
|
-
* @version
|
|
17738
|
+
* @version 210.0.0
|
|
17644
17739
|
*//**
|
|
17645
17740
|
* Constructs a new UploadsApi.
|
|
17646
17741
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17706,7 +17801,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17706
17801
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
17707
17802
|
* Usage service.
|
|
17708
17803
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
17709
|
-
* @version
|
|
17804
|
+
* @version 210.0.0
|
|
17710
17805
|
*//**
|
|
17711
17806
|
* Constructs a new UsageApi.
|
|
17712
17807
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17760,7 +17855,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17760
17855
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
17761
17856
|
* UserRecordings service.
|
|
17762
17857
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17763
|
-
* @version
|
|
17858
|
+
* @version 210.0.0
|
|
17764
17859
|
*//**
|
|
17765
17860
|
* Constructs a new UserRecordingsApi.
|
|
17766
17861
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17817,7 +17912,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17817
17912
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
17818
17913
|
* Users service.
|
|
17819
17914
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17820
|
-
* @version
|
|
17915
|
+
* @version 210.0.0
|
|
17821
17916
|
*//**
|
|
17822
17917
|
* Constructs a new UsersApi.
|
|
17823
17918
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -18514,7 +18609,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
18514
18609
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
18515
18610
|
* Utilities service.
|
|
18516
18611
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
18517
|
-
* @version
|
|
18612
|
+
* @version 210.0.0
|
|
18518
18613
|
*//**
|
|
18519
18614
|
* Constructs a new UtilitiesApi.
|
|
18520
18615
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -18541,7 +18636,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18541
18636
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
18542
18637
|
* Voicemail service.
|
|
18543
18638
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
18544
|
-
* @version
|
|
18639
|
+
* @version 210.0.0
|
|
18545
18640
|
*//**
|
|
18546
18641
|
* Constructs a new VoicemailApi.
|
|
18547
18642
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -18703,7 +18798,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18703
18798
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
18704
18799
|
* WebChat service.
|
|
18705
18800
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
18706
|
-
* @version
|
|
18801
|
+
* @version 210.0.0
|
|
18707
18802
|
*//**
|
|
18708
18803
|
* Constructs a new WebChatApi.
|
|
18709
18804
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18838,7 +18933,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18838
18933
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
18839
18934
|
* WebDeployments service.
|
|
18840
18935
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18841
|
-
* @version
|
|
18936
|
+
* @version 210.0.0
|
|
18842
18937
|
*//**
|
|
18843
18938
|
* Constructs a new WebDeploymentsApi.
|
|
18844
18939
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18959,7 +19054,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18959
19054
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
18960
19055
|
* WebMessaging service.
|
|
18961
19056
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18962
|
-
* @version
|
|
19057
|
+
* @version 210.0.0
|
|
18963
19058
|
*//**
|
|
18964
19059
|
* Constructs a new WebMessagingApi.
|
|
18965
19060
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18975,7 +19070,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18975
19070
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
18976
19071
|
* Widgets service.
|
|
18977
19072
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18978
|
-
* @version
|
|
19073
|
+
* @version 210.0.0
|
|
18979
19074
|
*//**
|
|
18980
19075
|
* Constructs a new WidgetsApi.
|
|
18981
19076
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -19010,7 +19105,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19010
19105
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
19011
19106
|
* WorkforceManagement service.
|
|
19012
19107
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
19013
|
-
* @version
|
|
19108
|
+
* @version 210.0.0
|
|
19014
19109
|
*//**
|
|
19015
19110
|
* Constructs a new WorkforceManagementApi.
|
|
19016
19111
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19697,11 +19792,9 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
19697
19792
|
*
|
|
19698
19793
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19699
19794
|
* @param {String} userId The userId to whom the Time Off Request applies.
|
|
19700
|
-
|
|
19701
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
19702
|
-
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
19795
|
+
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId){// verify the required parameter 'managementUnitId' is set
|
|
19703
19796
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}// verify the required parameter 'userId' is set
|
|
19704
|
-
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{
|
|
19797
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19705
19798
|
* Get users in the management unit
|
|
19706
19799
|
*
|
|
19707
19800
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -19820,9 +19913,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
19820
19913
|
if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions','GET',{'timeOffRequestId':timeOffRequestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19821
19914
|
* Get a list of time off requests for the current user
|
|
19822
19915
|
*
|
|
19823
|
-
|
|
19824
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
19825
|
-
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{'recentlyReviewed':opts['recentlyReviewed']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19916
|
+
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(){return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19826
19917
|
* Get work plan bid ranks for a user
|
|
19827
19918
|
*
|
|
19828
19919
|
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
@@ -20791,7 +20882,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20791
20882
|
* </pre>
|
|
20792
20883
|
* </p>
|
|
20793
20884
|
* @module purecloud-platform-client-v2/index
|
|
20794
|
-
* @version
|
|
20885
|
+
* @version 210.0.0
|
|
20795
20886
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20796
20887
|
* The ApiClient constructor.
|
|
20797
20888
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -20844,6 +20935,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20844
20935
|
* The DataExtensionsApi service constructor.
|
|
20845
20936
|
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
|
|
20846
20937
|
*/this.DataExtensionsApi=DataExtensionsApi;/**
|
|
20938
|
+
* The DataPrivacyApi service constructor.
|
|
20939
|
+
* @property {module:purecloud-platform-client-v2/api/DataPrivacyApi}
|
|
20940
|
+
*/this.DataPrivacyApi=DataPrivacyApi;/**
|
|
20847
20941
|
* The DownloadsApi service constructor.
|
|
20848
20942
|
* @property {module:purecloud-platform-client-v2/api/DownloadsApi}
|
|
20849
20943
|
*/this.DownloadsApi=DownloadsApi;/**
|