purecloud-platform-client-v2 213.0.0 → 214.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 +356 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +356 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +144 -95
- package/dist/web-cjs/purecloud-platform-client-v2.js +144 -95
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +364 -230
- 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 +45 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -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 -6
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +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 -31
- 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 +107 -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 -2
- 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 +125 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6443,7 +6443,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6443
6443
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6444
6444
|
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];}}}]);}();/**
|
|
6445
6445
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6446
|
-
* @version
|
|
6446
|
+
* @version 214.0.0
|
|
6447
6447
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6448
6448
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6449
6449
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6780,7 +6780,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6780
6780
|
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(){/**
|
|
6781
6781
|
* AgentAssistants service.
|
|
6782
6782
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6783
|
-
* @version
|
|
6783
|
+
* @version 214.0.0
|
|
6784
6784
|
*//**
|
|
6785
6785
|
* Constructs a new AgentAssistantsApi.
|
|
6786
6786
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6881,7 +6881,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6881
6881
|
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(){/**
|
|
6882
6882
|
* AgentCopilot service.
|
|
6883
6883
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6884
|
-
* @version
|
|
6884
|
+
* @version 214.0.0
|
|
6885
6885
|
*//**
|
|
6886
6886
|
* Constructs a new AgentCopilotApi.
|
|
6887
6887
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6903,7 +6903,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6903
6903
|
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(){/**
|
|
6904
6904
|
* AgentUI service.
|
|
6905
6905
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6906
|
-
* @version
|
|
6906
|
+
* @version 214.0.0
|
|
6907
6907
|
*//**
|
|
6908
6908
|
* Constructs a new AgentUIApi.
|
|
6909
6909
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6937,7 +6937,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6937
6937
|
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(){/**
|
|
6938
6938
|
* Alerting service.
|
|
6939
6939
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6940
|
-
* @version
|
|
6940
|
+
* @version 214.0.0
|
|
6941
6941
|
*//**
|
|
6942
6942
|
* Constructs a new AlertingApi.
|
|
6943
6943
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6950,6 +6950,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6950
6950
|
* @param {String} alertId Alert ID
|
|
6951
6951
|
*/return _createClass(AlertingApi,[{key:"deleteAlertingAlert",value:function deleteAlertingAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6952
6952
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6953
|
+
* Delete all alerts for the user
|
|
6954
|
+
*
|
|
6955
|
+
*/},{key:"deleteAlertingAlertsAll",value:function deleteAlertingAlertsAll(){return this.apiClient.callApi('/api/v2/alerting/alerts/all','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6953
6956
|
* Delete an interaction stats alert
|
|
6954
6957
|
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
6955
6958
|
* @param {String} alertId Alert ID
|
|
@@ -7020,6 +7023,11 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
7020
7023
|
* @param {Object} opts.body
|
|
7021
7024
|
*/},{key:"patchAlertingAlert",value:function patchAlertingAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
7022
7025
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling patchAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','PATCH',{'alertId':alertId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7026
|
+
* Updates all alerts
|
|
7027
|
+
*
|
|
7028
|
+
* @param {Object} opts Optional parameters
|
|
7029
|
+
* @param {Object} opts.body
|
|
7030
|
+
*/},{key:"patchAlertingAlertsAll",value:function patchAlertingAlertsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/alerts/all','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7023
7031
|
* Bulk alert updates
|
|
7024
7032
|
*
|
|
7025
7033
|
* @param {Object} body
|
|
@@ -7094,7 +7102,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
7094
7102
|
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(){/**
|
|
7095
7103
|
* Analytics service.
|
|
7096
7104
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7097
|
-
* @version
|
|
7105
|
+
* @version 214.0.0
|
|
7098
7106
|
*//**
|
|
7099
7107
|
* Constructs a new AnalyticsApi.
|
|
7100
7108
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7766,7 +7774,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7766
7774
|
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(){/**
|
|
7767
7775
|
* Architect service.
|
|
7768
7776
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7769
|
-
* @version
|
|
7777
|
+
* @version 214.0.0
|
|
7770
7778
|
*//**
|
|
7771
7779
|
* Constructs a new ArchitectApi.
|
|
7772
7780
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8858,7 +8866,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8858
8866
|
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(){/**
|
|
8859
8867
|
* Audit service.
|
|
8860
8868
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8861
|
-
* @version
|
|
8869
|
+
* @version 214.0.0
|
|
8862
8870
|
*//**
|
|
8863
8871
|
* Constructs a new AuditApi.
|
|
8864
8872
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8908,7 +8916,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8908
8916
|
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(){/**
|
|
8909
8917
|
* Authorization service.
|
|
8910
8918
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8911
|
-
* @version
|
|
8919
|
+
* @version 214.0.0
|
|
8912
8920
|
*//**
|
|
8913
8921
|
* Constructs a new AuthorizationApi.
|
|
8914
8922
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9231,7 +9239,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
9231
9239
|
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(){/**
|
|
9232
9240
|
* Billing service.
|
|
9233
9241
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9234
|
-
* @version
|
|
9242
|
+
* @version 214.0.0
|
|
9235
9243
|
*//**
|
|
9236
9244
|
* Constructs a new BillingApi.
|
|
9237
9245
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9255,7 +9263,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9255
9263
|
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(){/**
|
|
9256
9264
|
* CarrierServices service.
|
|
9257
9265
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9258
|
-
* @version
|
|
9266
|
+
* @version 214.0.0
|
|
9259
9267
|
*//**
|
|
9260
9268
|
* Constructs a new CarrierServicesApi.
|
|
9261
9269
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9275,7 +9283,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9275
9283
|
*/},{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(){/**
|
|
9276
9284
|
* Chat service.
|
|
9277
9285
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9278
|
-
* @version
|
|
9286
|
+
* @version 214.0.0
|
|
9279
9287
|
*//**
|
|
9280
9288
|
* Constructs a new ChatApi.
|
|
9281
9289
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9500,7 +9508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9500
9508
|
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(){/**
|
|
9501
9509
|
* Coaching service.
|
|
9502
9510
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9503
|
-
* @version
|
|
9511
|
+
* @version 214.0.0
|
|
9504
9512
|
*//**
|
|
9505
9513
|
* Constructs a new CoachingApi.
|
|
9506
9514
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9653,7 +9661,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9653
9661
|
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(){/**
|
|
9654
9662
|
* ContentManagement service.
|
|
9655
9663
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9656
|
-
* @version
|
|
9664
|
+
* @version 214.0.0
|
|
9657
9665
|
*//**
|
|
9658
9666
|
* Constructs a new ContentManagementApi.
|
|
9659
9667
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9935,7 +9943,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9935
9943
|
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(){/**
|
|
9936
9944
|
* Conversations service.
|
|
9937
9945
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9938
|
-
* @version
|
|
9946
|
+
* @version 214.0.0
|
|
9939
9947
|
*//**
|
|
9940
9948
|
* Constructs a new ConversationsApi.
|
|
9941
9949
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11682,7 +11690,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11682
11690
|
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(){/**
|
|
11683
11691
|
* DataExtensions service.
|
|
11684
11692
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11685
|
-
* @version
|
|
11693
|
+
* @version 214.0.0
|
|
11686
11694
|
*//**
|
|
11687
11695
|
* Constructs a new DataExtensionsApi.
|
|
11688
11696
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11703,7 +11711,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11703
11711
|
*/},{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(){/**
|
|
11704
11712
|
* DataPrivacy service.
|
|
11705
11713
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11706
|
-
* @version
|
|
11714
|
+
* @version 214.0.0
|
|
11707
11715
|
*//**
|
|
11708
11716
|
* Constructs a new DataPrivacyApi.
|
|
11709
11717
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -11743,7 +11751,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11743
11751
|
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(){/**
|
|
11744
11752
|
* Downloads service.
|
|
11745
11753
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11746
|
-
* @version
|
|
11754
|
+
* @version 214.0.0
|
|
11747
11755
|
*//**
|
|
11748
11756
|
* Constructs a new DownloadsApi.
|
|
11749
11757
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11762,7 +11770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11762
11770
|
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(){/**
|
|
11763
11771
|
* Emails service.
|
|
11764
11772
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11765
|
-
* @version
|
|
11773
|
+
* @version 214.0.0
|
|
11766
11774
|
*//**
|
|
11767
11775
|
* Constructs a new EmailsApi.
|
|
11768
11776
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11780,7 +11788,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11780
11788
|
*/},{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(){/**
|
|
11781
11789
|
* EmployeeEngagement service.
|
|
11782
11790
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11783
|
-
* @version
|
|
11791
|
+
* @version 214.0.0
|
|
11784
11792
|
*//**
|
|
11785
11793
|
* Constructs a new EmployeeEngagementApi.
|
|
11786
11794
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11818,7 +11826,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11818
11826
|
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(){/**
|
|
11819
11827
|
* Events service.
|
|
11820
11828
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11821
|
-
* @version
|
|
11829
|
+
* @version 214.0.0
|
|
11822
11830
|
*//**
|
|
11823
11831
|
* Constructs a new EventsApi.
|
|
11824
11832
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11843,7 +11851,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11843
11851
|
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(){/**
|
|
11844
11852
|
* ExternalContacts service.
|
|
11845
11853
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11846
|
-
* @version
|
|
11854
|
+
* @version 214.0.0
|
|
11847
11855
|
*//**
|
|
11848
11856
|
* Constructs a new ExternalContactsApi.
|
|
11849
11857
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12435,7 +12443,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12435
12443
|
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(){/**
|
|
12436
12444
|
* Fax service.
|
|
12437
12445
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12438
|
-
* @version
|
|
12446
|
+
* @version 214.0.0
|
|
12439
12447
|
*//**
|
|
12440
12448
|
* Constructs a new FaxApi.
|
|
12441
12449
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12484,7 +12492,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12484
12492
|
*/},{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(){/**
|
|
12485
12493
|
* Flows service.
|
|
12486
12494
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12487
|
-
* @version
|
|
12495
|
+
* @version 214.0.0
|
|
12488
12496
|
*//**
|
|
12489
12497
|
* Constructs a new FlowsApi.
|
|
12490
12498
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12532,7 +12540,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12532
12540
|
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(){/**
|
|
12533
12541
|
* Gamification service.
|
|
12534
12542
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12535
|
-
* @version
|
|
12543
|
+
* @version 214.0.0
|
|
12536
12544
|
*//**
|
|
12537
12545
|
* Constructs a new GamificationApi.
|
|
12538
12546
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -13091,7 +13099,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13091
13099
|
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(){/**
|
|
13092
13100
|
* GeneralDataProtectionRegulation service.
|
|
13093
13101
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13094
|
-
* @version
|
|
13102
|
+
* @version 214.0.0
|
|
13095
13103
|
*//**
|
|
13096
13104
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
13097
13105
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -13126,7 +13134,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
13126
13134
|
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(){/**
|
|
13127
13135
|
* Geolocation service.
|
|
13128
13136
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
13129
|
-
* @version
|
|
13137
|
+
* @version 214.0.0
|
|
13130
13138
|
*//**
|
|
13131
13139
|
* Constructs a new GeolocationApi.
|
|
13132
13140
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -13160,7 +13168,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
13160
13168
|
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(){/**
|
|
13161
13169
|
* Greetings service.
|
|
13162
13170
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
13163
|
-
* @version
|
|
13171
|
+
* @version 214.0.0
|
|
13164
13172
|
*//**
|
|
13165
13173
|
* Constructs a new GreetingsApi.
|
|
13166
13174
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -13267,7 +13275,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13267
13275
|
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(){/**
|
|
13268
13276
|
* Groups service.
|
|
13269
13277
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
13270
|
-
* @version
|
|
13278
|
+
* @version 214.0.0
|
|
13271
13279
|
*//**
|
|
13272
13280
|
* Constructs a new GroupsApi.
|
|
13273
13281
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13400,7 +13408,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13400
13408
|
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(){/**
|
|
13401
13409
|
* IdentityProvider service.
|
|
13402
13410
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13403
|
-
* @version
|
|
13411
|
+
* @version 214.0.0
|
|
13404
13412
|
*//**
|
|
13405
13413
|
* Constructs a new IdentityProviderApi.
|
|
13406
13414
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13556,7 +13564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13556
13564
|
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(){/**
|
|
13557
13565
|
* InfrastructureAsCode service.
|
|
13558
13566
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13559
|
-
* @version
|
|
13567
|
+
* @version 214.0.0
|
|
13560
13568
|
*//**
|
|
13561
13569
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13562
13570
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13610,7 +13618,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13610
13618
|
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(){/**
|
|
13611
13619
|
* Integrations service.
|
|
13612
13620
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13613
|
-
* @version
|
|
13621
|
+
* @version 214.0.0
|
|
13614
13622
|
*//**
|
|
13615
13623
|
* Constructs a new IntegrationsApi.
|
|
13616
13624
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13684,7 +13692,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
13684
13692
|
* Get draft function settings for Action
|
|
13685
13693
|
*
|
|
13686
13694
|
* @param {String} actionId actionId
|
|
13687
|
-
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13688
13695
|
*/},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
|
|
13689
13696
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13690
13697
|
* Retrieve schema for a Draft based on filename.
|
|
@@ -13711,7 +13718,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
13711
13718
|
* Get published function settings for Action
|
|
13712
13719
|
*
|
|
13713
13720
|
* @param {String} actionId actionId
|
|
13714
|
-
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13715
13721
|
*/},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
|
|
13716
13722
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13717
13723
|
* Retrieve schema for an action based on filename.
|
|
@@ -13782,7 +13788,6 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
13782
13788
|
*/},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13783
13789
|
* Get action function settings for Action
|
|
13784
13790
|
*
|
|
13785
|
-
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13786
13791
|
*/},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13787
13792
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
13788
13793
|
*
|
|
@@ -14116,7 +14121,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
14116
14121
|
*
|
|
14117
14122
|
* @param {String} actionId actionId
|
|
14118
14123
|
* @param {Object} body Input used to request URL upload.
|
|
14119
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14120
14124
|
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
14121
14125
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
14122
14126
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14206,7 +14210,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
14206
14210
|
*
|
|
14207
14211
|
* @param {String} actionId actionId
|
|
14208
14212
|
* @param {Object} body Input used to update function settings.
|
|
14209
|
-
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14210
14213
|
*/},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
|
|
14211
14214
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
|
|
14212
14215
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14245,7 +14248,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
14245
14248
|
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(){/**
|
|
14246
14249
|
* Journey service.
|
|
14247
14250
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
14248
|
-
* @version
|
|
14251
|
+
* @version 214.0.0
|
|
14249
14252
|
*//**
|
|
14250
14253
|
* Constructs a new JourneyApi.
|
|
14251
14254
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14722,7 +14725,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14722
14725
|
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(){/**
|
|
14723
14726
|
* Knowledge service.
|
|
14724
14727
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14725
|
-
* @version
|
|
14728
|
+
* @version 214.0.0
|
|
14726
14729
|
*//**
|
|
14727
14730
|
* Constructs a new KnowledgeApi.
|
|
14728
14731
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15792,7 +15795,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15792
15795
|
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(){/**
|
|
15793
15796
|
* LanguageUnderstanding service.
|
|
15794
15797
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15795
|
-
* @version
|
|
15798
|
+
* @version 214.0.0
|
|
15796
15799
|
*//**
|
|
15797
15800
|
* Constructs a new LanguageUnderstandingApi.
|
|
15798
15801
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -16051,7 +16054,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
16051
16054
|
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(){/**
|
|
16052
16055
|
* Languages service.
|
|
16053
16056
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
16054
|
-
* @version
|
|
16057
|
+
* @version 214.0.0
|
|
16055
16058
|
*//**
|
|
16056
16059
|
* Constructs a new LanguagesApi.
|
|
16057
16060
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -16106,7 +16109,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16106
16109
|
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(){/**
|
|
16107
16110
|
* Learning service.
|
|
16108
16111
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
16109
|
-
* @version
|
|
16112
|
+
* @version 214.0.0
|
|
16110
16113
|
*//**
|
|
16111
16114
|
* Constructs a new LearningApi.
|
|
16112
16115
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16377,7 +16380,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
16377
16380
|
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(){/**
|
|
16378
16381
|
* License service.
|
|
16379
16382
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16380
|
-
* @version
|
|
16383
|
+
* @version 214.0.0
|
|
16381
16384
|
*//**
|
|
16382
16385
|
* Constructs a new LicenseApi.
|
|
16383
16386
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16431,7 +16434,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16431
16434
|
*/},{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(){/**
|
|
16432
16435
|
* Locations service.
|
|
16433
16436
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16434
|
-
* @version
|
|
16437
|
+
* @version 214.0.0
|
|
16435
16438
|
*//**
|
|
16436
16439
|
* Constructs a new LocationsApi.
|
|
16437
16440
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16490,7 +16493,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16490
16493
|
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(){/**
|
|
16491
16494
|
* LogCapture service.
|
|
16492
16495
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16493
|
-
* @version
|
|
16496
|
+
* @version 214.0.0
|
|
16494
16497
|
*//**
|
|
16495
16498
|
* Constructs a new LogCaptureApi.
|
|
16496
16499
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16540,7 +16543,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16540
16543
|
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(){/**
|
|
16541
16544
|
* Messaging service.
|
|
16542
16545
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16543
|
-
* @version
|
|
16546
|
+
* @version 214.0.0
|
|
16544
16547
|
*//**
|
|
16545
16548
|
* Constructs a new MessagingApi.
|
|
16546
16549
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16630,7 +16633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16630
16633
|
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(){/**
|
|
16631
16634
|
* MobileDevices service.
|
|
16632
16635
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16633
|
-
* @version
|
|
16636
|
+
* @version 214.0.0
|
|
16634
16637
|
*//**
|
|
16635
16638
|
* Constructs a new MobileDevicesApi.
|
|
16636
16639
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16669,7 +16672,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16669
16672
|
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(){/**
|
|
16670
16673
|
* Notifications service.
|
|
16671
16674
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16672
|
-
* @version
|
|
16675
|
+
* @version 214.0.0
|
|
16673
16676
|
*//**
|
|
16674
16677
|
* Constructs a new NotificationsApi.
|
|
16675
16678
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16726,7 +16729,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16726
16729
|
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(){/**
|
|
16727
16730
|
* OAuth service.
|
|
16728
16731
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16729
|
-
* @version
|
|
16732
|
+
* @version 214.0.0
|
|
16730
16733
|
*//**
|
|
16731
16734
|
* Constructs a new OAuthApi.
|
|
16732
16735
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16811,7 +16814,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16811
16814
|
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(){/**
|
|
16812
16815
|
* Objects service.
|
|
16813
16816
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16814
|
-
* @version
|
|
16817
|
+
* @version 214.0.0
|
|
16815
16818
|
*//**
|
|
16816
16819
|
* Constructs a new ObjectsApi.
|
|
16817
16820
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16882,7 +16885,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16882
16885
|
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(){/**
|
|
16883
16886
|
* OperationalEvents service.
|
|
16884
16887
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16885
|
-
* @version
|
|
16888
|
+
* @version 214.0.0
|
|
16886
16889
|
*//**
|
|
16887
16890
|
* Constructs a new OperationalEventsApi.
|
|
16888
16891
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16913,7 +16916,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
16913
16916
|
*/},{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(){/**
|
|
16914
16917
|
* Organization service.
|
|
16915
16918
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16916
|
-
* @version
|
|
16919
|
+
* @version 214.0.0
|
|
16917
16920
|
*//**
|
|
16918
16921
|
* Constructs a new OrganizationApi.
|
|
16919
16922
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17038,7 +17041,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17038
17041
|
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(){/**
|
|
17039
17042
|
* OrganizationAuthorization service.
|
|
17040
17043
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17041
|
-
* @version
|
|
17044
|
+
* @version 214.0.0
|
|
17042
17045
|
*//**
|
|
17043
17046
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17044
17047
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17372,7 +17375,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
17372
17375
|
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(){/**
|
|
17373
17376
|
* Outbound service.
|
|
17374
17377
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17375
|
-
* @version
|
|
17378
|
+
* @version 214.0.0
|
|
17376
17379
|
*//**
|
|
17377
17380
|
* Constructs a new OutboundApi.
|
|
17378
17381
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18483,7 +18486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18483
18486
|
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(){/**
|
|
18484
18487
|
* Presence service.
|
|
18485
18488
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18486
|
-
* @version
|
|
18489
|
+
* @version 214.0.0
|
|
18487
18490
|
*//**
|
|
18488
18491
|
* Constructs a new PresenceApi.
|
|
18489
18492
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18656,7 +18659,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18656
18659
|
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(){/**
|
|
18657
18660
|
* ProcessAutomation service.
|
|
18658
18661
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18659
|
-
* @version
|
|
18662
|
+
* @version 214.0.0
|
|
18660
18663
|
*//**
|
|
18661
18664
|
* Constructs a new ProcessAutomationApi.
|
|
18662
18665
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18719,7 +18722,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18719
18722
|
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(){/**
|
|
18720
18723
|
* Quality service.
|
|
18721
18724
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18722
|
-
* @version
|
|
18725
|
+
* @version 214.0.0
|
|
18723
18726
|
*//**
|
|
18724
18727
|
* Constructs a new QualityApi.
|
|
18725
18728
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19198,7 +19201,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
19198
19201
|
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(){/**
|
|
19199
19202
|
* Recording service.
|
|
19200
19203
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
19201
|
-
* @version
|
|
19204
|
+
* @version 214.0.0
|
|
19202
19205
|
*//**
|
|
19203
19206
|
* Constructs a new RecordingApi.
|
|
19204
19207
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19610,7 +19613,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19610
19613
|
*/},{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(){/**
|
|
19611
19614
|
* ResponseManagement service.
|
|
19612
19615
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19613
|
-
* @version
|
|
19616
|
+
* @version 214.0.0
|
|
19614
19617
|
*//**
|
|
19615
19618
|
* Constructs a new ResponseManagementApi.
|
|
19616
19619
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19731,7 +19734,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19731
19734
|
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(){/**
|
|
19732
19735
|
* Routing service.
|
|
19733
19736
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19734
|
-
* @version
|
|
19737
|
+
* @version 214.0.0
|
|
19735
19738
|
*//**
|
|
19736
19739
|
* Constructs a new RoutingApi.
|
|
19737
19740
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20679,13 +20682,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20679
20682
|
* @param {Object} body Organization Settings
|
|
20680
20683
|
*/},{key:"putRoutingSettingsTranscription",value:function putRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
20681
20684
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20682
|
-
* Update a phone number provisioned for SMS.
|
|
20683
|
-
*
|
|
20684
|
-
* @param {String} phoneNumberId phone number
|
|
20685
|
-
* @param {Object} body SmsPhoneNumber
|
|
20686
|
-
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
20687
|
-
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
20688
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','PUT',{'phoneNumberId':phoneNumberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20689
20685
|
* Update the user's Direct Routing Backup settings.
|
|
20690
20686
|
*
|
|
20691
20687
|
* @param {String} userId User ID
|
|
@@ -20737,7 +20733,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20737
20733
|
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(){/**
|
|
20738
20734
|
* SCIM service.
|
|
20739
20735
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20740
|
-
* @version
|
|
20736
|
+
* @version 214.0.0
|
|
20741
20737
|
*//**
|
|
20742
20738
|
* Constructs a new SCIMApi.
|
|
20743
20739
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20962,7 +20958,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20962
20958
|
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(){/**
|
|
20963
20959
|
* ScreenRecording service.
|
|
20964
20960
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20965
|
-
* @version
|
|
20961
|
+
* @version 214.0.0
|
|
20966
20962
|
*//**
|
|
20967
20963
|
* Constructs a new ScreenRecordingApi.
|
|
20968
20964
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20977,7 +20973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20977
20973
|
*/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(){/**
|
|
20978
20974
|
* Scripts service.
|
|
20979
20975
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20980
|
-
* @version
|
|
20976
|
+
* @version 214.0.0
|
|
20981
20977
|
*//**
|
|
20982
20978
|
* Constructs a new ScriptsApi.
|
|
20983
20979
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -21113,7 +21109,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
21113
21109
|
*/},{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(){/**
|
|
21114
21110
|
* Search service.
|
|
21115
21111
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
21116
|
-
* @version
|
|
21112
|
+
* @version 214.0.0
|
|
21117
21113
|
*//**
|
|
21118
21114
|
* Constructs a new SearchApi.
|
|
21119
21115
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -21285,7 +21281,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21285
21281
|
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(){/**
|
|
21286
21282
|
* Settings service.
|
|
21287
21283
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
21288
|
-
* @version
|
|
21284
|
+
* @version 214.0.0
|
|
21289
21285
|
*//**
|
|
21290
21286
|
* Constructs a new SettingsApi.
|
|
21291
21287
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -21335,7 +21331,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21335
21331
|
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(){/**
|
|
21336
21332
|
* SocialMedia service.
|
|
21337
21333
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21338
|
-
* @version
|
|
21334
|
+
* @version 214.0.0
|
|
21339
21335
|
*//**
|
|
21340
21336
|
* Constructs a new SocialMediaApi.
|
|
21341
21337
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21600,7 +21596,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21600
21596
|
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(){/**
|
|
21601
21597
|
* SpeechTextAnalytics service.
|
|
21602
21598
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21603
|
-
* @version
|
|
21599
|
+
* @version 214.0.0
|
|
21604
21600
|
*//**
|
|
21605
21601
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21606
21602
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -21680,6 +21676,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
21680
21676
|
*/},{key:"getSpeechandtextanalyticsConversationCommunicationTranscripturls",value:function getSpeechandtextanalyticsConversationCommunicationTranscripturls(conversationId,communicationId){// verify the required parameter 'conversationId' is set
|
|
21681
21677
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';}// verify the required parameter 'communicationId' is set
|
|
21682
21678
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls','GET',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21679
|
+
* Get conversation summaries by conversation id.
|
|
21680
|
+
*
|
|
21681
|
+
* @param {String} conversationId The conversation ID of the summaries
|
|
21682
|
+
*/},{key:"getSpeechandtextanalyticsConversationSummaries",value:function getSpeechandtextanalyticsConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
21683
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21683
21684
|
* Get the list of Speech and Text Analytics dictionary feedbacks
|
|
21684
21685
|
*
|
|
21685
21686
|
* @param {Object} opts Optional parameters
|
|
@@ -21702,6 +21703,11 @@ if(programId===undefined||programId===null){throw'Missing the required parameter
|
|
|
21702
21703
|
* @param {String} programId The id of the program
|
|
21703
21704
|
*/},{key:"getSpeechandtextanalyticsProgramMappings",value:function getSpeechandtextanalyticsProgramMappings(programId){// verify the required parameter 'programId' is set
|
|
21704
21705
|
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramMappings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/mappings','GET',{'programId':programId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21706
|
+
* Get AI Insights settings of a program
|
|
21707
|
+
*
|
|
21708
|
+
* @param {String} programId The id of the program
|
|
21709
|
+
*/},{key:"getSpeechandtextanalyticsProgramSettingsInsights",value:function getSpeechandtextanalyticsProgramSettingsInsights(programId){// verify the required parameter 'programId' is set
|
|
21710
|
+
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/settings/insights','GET',{'programId':programId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21705
21711
|
* Get transcription engine settings of a program
|
|
21706
21712
|
*
|
|
21707
21713
|
* @param {String} programId The id of the program
|
|
@@ -21730,6 +21736,13 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
21730
21736
|
* @param {String} jobId The id of the publish programs job
|
|
21731
21737
|
*/},{key:"getSpeechandtextanalyticsProgramsPublishjob",value:function getSpeechandtextanalyticsProgramsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
21732
21738
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21739
|
+
* Get the list of program AI Insights settings for the organization
|
|
21740
|
+
*
|
|
21741
|
+
* @param {Object} opts Optional parameters
|
|
21742
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 100)
|
|
21743
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
21744
|
+
* @param {Array.<String>} opts.programIds Comma separated Program IDs to filter by. Maximum of 50 IDs allowed.
|
|
21745
|
+
*/},{key:"getSpeechandtextanalyticsProgramsSettingsInsights",value:function getSpeechandtextanalyticsProgramsSettingsInsights(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/settings/insights','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'programIds':this.apiClient.buildCollectionParam(opts['programIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21733
21746
|
* Get supported dialects for each transcription engine
|
|
21734
21747
|
*
|
|
21735
21748
|
*/},{key:"getSpeechandtextanalyticsProgramsTranscriptionenginesDialects",value:function getSpeechandtextanalyticsProgramsTranscriptionenginesDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -21878,6 +21891,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21878
21891
|
*/},{key:"putSpeechandtextanalyticsProgramMappings",value:function putSpeechandtextanalyticsProgramMappings(programId,body){// verify the required parameter 'programId' is set
|
|
21879
21892
|
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramMappings';}// verify the required parameter 'body' is set
|
|
21880
21893
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramMappings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/mappings','PUT',{'programId':programId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21894
|
+
* Update AI Insights settings of a program
|
|
21895
|
+
*
|
|
21896
|
+
* @param {String} programId The id of the program
|
|
21897
|
+
* @param {Object} body Program AI Insights setting
|
|
21898
|
+
*/},{key:"putSpeechandtextanalyticsProgramSettingsInsights",value:function putSpeechandtextanalyticsProgramSettingsInsights(programId,body){// verify the required parameter 'programId' is set
|
|
21899
|
+
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';}// verify the required parameter 'body' is set
|
|
21900
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/settings/insights','PUT',{'programId':programId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21881
21901
|
* Update transcription engine settings of a program
|
|
21882
21902
|
*
|
|
21883
21903
|
* @param {String} programId The id of the program
|
|
@@ -21899,7 +21919,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21899
21919
|
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(){/**
|
|
21900
21920
|
* Stations service.
|
|
21901
21921
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21902
|
-
* @version
|
|
21922
|
+
* @version 214.0.0
|
|
21903
21923
|
*//**
|
|
21904
21924
|
* Constructs a new StationsApi.
|
|
21905
21925
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21931,7 +21951,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21931
21951
|
*/},{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(){/**
|
|
21932
21952
|
* Suggest service.
|
|
21933
21953
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21934
|
-
* @version
|
|
21954
|
+
* @version 214.0.0
|
|
21935
21955
|
*//**
|
|
21936
21956
|
* Constructs a new SuggestApi.
|
|
21937
21957
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21971,7 +21991,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21971
21991
|
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(){/**
|
|
21972
21992
|
* TaskManagement service.
|
|
21973
21993
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21974
|
-
* @version
|
|
21994
|
+
* @version 214.0.0
|
|
21975
21995
|
*//**
|
|
21976
21996
|
* Constructs a new TaskManagementApi.
|
|
21977
21997
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -22477,7 +22497,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22477
22497
|
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(){/**
|
|
22478
22498
|
* Teams service.
|
|
22479
22499
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
22480
|
-
* @version
|
|
22500
|
+
* @version 214.0.0
|
|
22481
22501
|
*//**
|
|
22482
22502
|
* Constructs a new TeamsApi.
|
|
22483
22503
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22557,7 +22577,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22557
22577
|
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(){/**
|
|
22558
22578
|
* Telephony service.
|
|
22559
22579
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22560
|
-
* @version
|
|
22580
|
+
* @version 214.0.0
|
|
22561
22581
|
*//**
|
|
22562
22582
|
* Constructs a new TelephonyApi.
|
|
22563
22583
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22604,7 +22624,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22604
22624
|
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(){/**
|
|
22605
22625
|
* TelephonyProvidersEdge service.
|
|
22606
22626
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22607
|
-
* @version
|
|
22627
|
+
* @version 214.0.0
|
|
22608
22628
|
*//**
|
|
22609
22629
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22610
22630
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -23439,7 +23459,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
23439
23459
|
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(){/**
|
|
23440
23460
|
* Textbots service.
|
|
23441
23461
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
23442
|
-
* @version
|
|
23462
|
+
* @version 214.0.0
|
|
23443
23463
|
*//**
|
|
23444
23464
|
* Constructs a new TextbotsApi.
|
|
23445
23465
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -23474,7 +23494,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
23474
23494
|
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(){/**
|
|
23475
23495
|
* Tokens service.
|
|
23476
23496
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
23477
|
-
* @version
|
|
23497
|
+
* @version 214.0.0
|
|
23478
23498
|
*//**
|
|
23479
23499
|
* Constructs a new TokensApi.
|
|
23480
23500
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23508,7 +23528,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23508
23528
|
*/},{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(){/**
|
|
23509
23529
|
* Uploads service.
|
|
23510
23530
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23511
|
-
* @version
|
|
23531
|
+
* @version 214.0.0
|
|
23512
23532
|
*//**
|
|
23513
23533
|
* Constructs a new UploadsApi.
|
|
23514
23534
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23528,7 +23548,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
23528
23548
|
*
|
|
23529
23549
|
* @param {String} actionId actionId
|
|
23530
23550
|
* @param {Object} body Input used to request URL upload.
|
|
23531
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23532
23551
|
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
23533
23552
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
23534
23553
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23574,7 +23593,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23574
23593
|
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(){/**
|
|
23575
23594
|
* Usage service.
|
|
23576
23595
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23577
|
-
* @version
|
|
23596
|
+
* @version 214.0.0
|
|
23578
23597
|
*//**
|
|
23579
23598
|
* Constructs a new UsageApi.
|
|
23580
23599
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23628,7 +23647,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23628
23647
|
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(){/**
|
|
23629
23648
|
* UserRecordings service.
|
|
23630
23649
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23631
|
-
* @version
|
|
23650
|
+
* @version 214.0.0
|
|
23632
23651
|
*//**
|
|
23633
23652
|
* Constructs a new UserRecordingsApi.
|
|
23634
23653
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -23685,7 +23704,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
23685
23704
|
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(){/**
|
|
23686
23705
|
* Users service.
|
|
23687
23706
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
23688
|
-
* @version
|
|
23707
|
+
* @version 214.0.0
|
|
23689
23708
|
*//**
|
|
23690
23709
|
* Constructs a new UsersApi.
|
|
23691
23710
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -23725,6 +23744,15 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23725
23744
|
* @param {String} userId User ID
|
|
23726
23745
|
*/},{key:"deleteUser",value:function deleteUser(userId){// verify the required parameter 'userId' is set
|
|
23727
23746
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUser';}return this.apiClient.callApi('/api/v2/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23747
|
+
* Delete the external identifier for user.
|
|
23748
|
+
*
|
|
23749
|
+
* @param {String} userId User ID
|
|
23750
|
+
* @param {String} authorityName Authority Name
|
|
23751
|
+
* @param {String} externalKey External Key
|
|
23752
|
+
*/},{key:"deleteUserExternalidAuthorityNameExternalKey",value:function deleteUserExternalidAuthorityNameExternalKey(userId,authorityName,externalKey){// verify the required parameter 'userId' is set
|
|
23753
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';}// verify the required parameter 'authorityName' is set
|
|
23754
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';}// verify the required parameter 'externalKey' is set
|
|
23755
|
+
if(externalKey===undefined||externalKey===null){throw'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}','DELETE',{'userId':userId,'authorityName':authorityName,'externalKey':externalKey},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23728
23756
|
* Remove a routing language from a user
|
|
23729
23757
|
*
|
|
23730
23758
|
* @param {String} userId User ID
|
|
@@ -23884,6 +23912,18 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23884
23912
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
23885
23913
|
*/},{key:"getUserDirectreports",value:function getUserDirectreports(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
23886
23914
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserDirectreports';}return this.apiClient.callApi('/api/v2/users/{userId}/directreports','GET',{'userId':userId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23915
|
+
* Get the external identifiers for a user.
|
|
23916
|
+
*
|
|
23917
|
+
* @param {String} userId User ID
|
|
23918
|
+
*/},{key:"getUserExternalid",value:function getUserExternalid(userId){// verify the required parameter 'userId' is set
|
|
23919
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserExternalid';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23920
|
+
* Get the external identifier of user for an authority.
|
|
23921
|
+
* Authority name and external key are case sensitive.
|
|
23922
|
+
* @param {String} userId User ID
|
|
23923
|
+
* @param {String} authorityName Authority Name
|
|
23924
|
+
*/},{key:"getUserExternalidAuthorityName",value:function getUserExternalidAuthorityName(userId,authorityName){// verify the required parameter 'userId' is set
|
|
23925
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';}// verify the required parameter 'authorityName' is set
|
|
23926
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid/{authorityName}','GET',{'userId':userId,'authorityName':authorityName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23887
23927
|
* Deprecated; will be revived with new contract
|
|
23888
23928
|
*
|
|
23889
23929
|
* @param {String} userId User ID
|
|
@@ -24055,6 +24095,15 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24055
24095
|
*/},{key:"getUsersDevelopmentActivity",value:function getUsersDevelopmentActivity(activityId,type){// verify the required parameter 'activityId' is set
|
|
24056
24096
|
if(activityId===undefined||activityId===null){throw'Missing the required parameter "activityId" when calling getUsersDevelopmentActivity';}// verify the required parameter 'type' is set
|
|
24057
24097
|
if(type===undefined||type===null){throw'Missing the required parameter "type" when calling getUsersDevelopmentActivity';}return this.apiClient.callApi('/api/v2/users/development/activities/{activityId}','GET',{'activityId':activityId},{'type':type},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24098
|
+
* Get the user associated with external identifier.
|
|
24099
|
+
* Authority name and external key are case sensitive.
|
|
24100
|
+
* @param {String} authorityName Authority Name
|
|
24101
|
+
* @param {String} externalKey External Key
|
|
24102
|
+
* @param {Object} opts Optional parameters
|
|
24103
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
24104
|
+
*/},{key:"getUsersExternalidAuthorityNameExternalKey",value:function getUsersExternalidAuthorityNameExternalKey(authorityName,externalKey,opts){opts=opts||{};// verify the required parameter 'authorityName' is set
|
|
24105
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';}// verify the required parameter 'externalKey' is set
|
|
24106
|
+
if(externalKey===undefined||externalKey===null){throw'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';}return this.apiClient.callApi('/api/v2/users/externalid/{authorityName}/{externalKey}','GET',{'authorityName':authorityName,'externalKey':externalKey},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24058
24107
|
* Get current user details.
|
|
24059
24108
|
* This request is not valid when using the Client Credentials OAuth grant.
|
|
24060
24109
|
* @param {Object} opts Optional parameters
|
|
@@ -24382,7 +24431,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
24382
24431
|
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(){/**
|
|
24383
24432
|
* Utilities service.
|
|
24384
24433
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
24385
|
-
* @version
|
|
24434
|
+
* @version 214.0.0
|
|
24386
24435
|
*//**
|
|
24387
24436
|
* Constructs a new UtilitiesApi.
|
|
24388
24437
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -24409,7 +24458,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24409
24458
|
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(){/**
|
|
24410
24459
|
* Voicemail service.
|
|
24411
24460
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
24412
|
-
* @version
|
|
24461
|
+
* @version 214.0.0
|
|
24413
24462
|
*//**
|
|
24414
24463
|
* Constructs a new VoicemailApi.
|
|
24415
24464
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24571,7 +24620,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24571
24620
|
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(){/**
|
|
24572
24621
|
* WebChat service.
|
|
24573
24622
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24574
|
-
* @version
|
|
24623
|
+
* @version 214.0.0
|
|
24575
24624
|
*//**
|
|
24576
24625
|
* Constructs a new WebChatApi.
|
|
24577
24626
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -24706,7 +24755,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24706
24755
|
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(){/**
|
|
24707
24756
|
* WebDeployments service.
|
|
24708
24757
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
24709
|
-
* @version
|
|
24758
|
+
* @version 214.0.0
|
|
24710
24759
|
*//**
|
|
24711
24760
|
* Constructs a new WebDeploymentsApi.
|
|
24712
24761
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -24827,7 +24876,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24827
24876
|
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(){/**
|
|
24828
24877
|
* WebMessaging service.
|
|
24829
24878
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
24830
|
-
* @version
|
|
24879
|
+
* @version 214.0.0
|
|
24831
24880
|
*//**
|
|
24832
24881
|
* Constructs a new WebMessagingApi.
|
|
24833
24882
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -24843,7 +24892,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
24843
24892
|
*/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(){/**
|
|
24844
24893
|
* Widgets service.
|
|
24845
24894
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
24846
|
-
* @version
|
|
24895
|
+
* @version 214.0.0
|
|
24847
24896
|
*//**
|
|
24848
24897
|
* Constructs a new WidgetsApi.
|
|
24849
24898
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -24878,7 +24927,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24878
24927
|
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(){/**
|
|
24879
24928
|
* WorkforceManagement service.
|
|
24880
24929
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
24881
|
-
* @version
|
|
24930
|
+
* @version 214.0.0
|
|
24882
24931
|
*//**
|
|
24883
24932
|
* Constructs a new WorkforceManagementApi.
|
|
24884
24933
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -26684,7 +26733,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26684
26733
|
* </pre>
|
|
26685
26734
|
* </p>
|
|
26686
26735
|
* @module purecloud-platform-client-v2/index
|
|
26687
|
-
* @version
|
|
26736
|
+
* @version 214.0.0
|
|
26688
26737
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
26689
26738
|
* The ApiClient constructor.
|
|
26690
26739
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|