purecloud-platform-client-v2 235.0.0 → 236.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 +122 -86
- package/dist/web-amd/purecloud-platform-client-v2.js +122 -86
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +97 -86
- package/dist/web-cjs/purecloud-platform-client-v2.js +97 -86
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +845 -753
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.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 +37 -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 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6519,7 +6519,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6519
6519
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6520
6520
|
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];}}}]);}();/**
|
|
6521
6521
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6522
|
-
* @version
|
|
6522
|
+
* @version 236.0.0
|
|
6523
6523
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6524
6524
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6525
6525
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6875,7 +6875,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6875
6875
|
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 AIStudioApi=/*#__PURE__*/function(){/**
|
|
6876
6876
|
* AIStudio service.
|
|
6877
6877
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6878
|
-
* @version
|
|
6878
|
+
* @version 236.0.0
|
|
6879
6879
|
*//**
|
|
6880
6880
|
* Constructs a new AIStudioApi.
|
|
6881
6881
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7026,7 +7026,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7026
7026
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
7027
7027
|
* AgentAssistants service.
|
|
7028
7028
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7029
|
-
* @version
|
|
7029
|
+
* @version 236.0.0
|
|
7030
7030
|
*//**
|
|
7031
7031
|
* Constructs a new AgentAssistantsApi.
|
|
7032
7032
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7157,7 +7157,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
7157
7157
|
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(){/**
|
|
7158
7158
|
* AgentCopilot service.
|
|
7159
7159
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7160
|
-
* @version
|
|
7160
|
+
* @version 236.0.0
|
|
7161
7161
|
*//**
|
|
7162
7162
|
* Constructs a new AgentCopilotApi.
|
|
7163
7163
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7184,7 +7184,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7184
7184
|
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(){/**
|
|
7185
7185
|
* AgentUI service.
|
|
7186
7186
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7187
|
-
* @version
|
|
7187
|
+
* @version 236.0.0
|
|
7188
7188
|
*//**
|
|
7189
7189
|
* Constructs a new AgentUIApi.
|
|
7190
7190
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7218,7 +7218,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7218
7218
|
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(){/**
|
|
7219
7219
|
* Alerting service.
|
|
7220
7220
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7221
|
-
* @version
|
|
7221
|
+
* @version 236.0.0
|
|
7222
7222
|
*//**
|
|
7223
7223
|
* Constructs a new AlertingApi.
|
|
7224
7224
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7307,7 +7307,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7307
7307
|
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(){/**
|
|
7308
7308
|
* Analytics service.
|
|
7309
7309
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7310
|
-
* @version
|
|
7310
|
+
* @version 236.0.0
|
|
7311
7311
|
*//**
|
|
7312
7312
|
* Constructs a new AnalyticsApi.
|
|
7313
7313
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8083,7 +8083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8083
8083
|
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(){/**
|
|
8084
8084
|
* Architect service.
|
|
8085
8085
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8086
|
-
* @version
|
|
8086
|
+
* @version 236.0.0
|
|
8087
8087
|
*//**
|
|
8088
8088
|
* Constructs a new ArchitectApi.
|
|
8089
8089
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9217,7 +9217,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9217
9217
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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(){/**
|
|
9218
9218
|
* Audit service.
|
|
9219
9219
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9220
|
-
* @version
|
|
9220
|
+
* @version 236.0.0
|
|
9221
9221
|
*//**
|
|
9222
9222
|
* Constructs a new AuditApi.
|
|
9223
9223
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9267,7 +9267,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9267
9267
|
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(){/**
|
|
9268
9268
|
* Authorization service.
|
|
9269
9269
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9270
|
-
* @version
|
|
9270
|
+
* @version 236.0.0
|
|
9271
9271
|
*//**
|
|
9272
9272
|
* Constructs a new AuthorizationApi.
|
|
9273
9273
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9349,7 +9349,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
9349
9349
|
* @param {Object} opts Optional parameters
|
|
9350
9350
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
9351
9351
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
9352
|
-
* @param {String} opts.pageSize
|
|
9352
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
9353
9353
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
9354
9354
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
9355
9355
|
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9702,7 +9702,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9702
9702
|
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(){/**
|
|
9703
9703
|
* Billing service.
|
|
9704
9704
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9705
|
-
* @version
|
|
9705
|
+
* @version 236.0.0
|
|
9706
9706
|
*//**
|
|
9707
9707
|
* Constructs a new BillingApi.
|
|
9708
9708
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9779,7 +9779,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9779
9779
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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 BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
9780
9780
|
* BusinessRules service.
|
|
9781
9781
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9782
|
-
* @version
|
|
9782
|
+
* @version 236.0.0
|
|
9783
9783
|
*//**
|
|
9784
9784
|
* Constructs a new BusinessRulesApi.
|
|
9785
9785
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -10000,7 +10000,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
10000
10000
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
10001
10001
|
* CarrierServices service.
|
|
10002
10002
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10003
|
-
* @version
|
|
10003
|
+
* @version 236.0.0
|
|
10004
10004
|
*//**
|
|
10005
10005
|
* Constructs a new CarrierServicesApi.
|
|
10006
10006
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10020,7 +10020,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10020
10020
|
*/},{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(){/**
|
|
10021
10021
|
* Chat service.
|
|
10022
10022
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10023
|
-
* @version
|
|
10023
|
+
* @version 236.0.0
|
|
10024
10024
|
*//**
|
|
10025
10025
|
* Constructs a new ChatApi.
|
|
10026
10026
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10251,7 +10251,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10251
10251
|
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(){/**
|
|
10252
10252
|
* Coaching service.
|
|
10253
10253
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10254
|
-
* @version
|
|
10254
|
+
* @version 236.0.0
|
|
10255
10255
|
*//**
|
|
10256
10256
|
* Constructs a new CoachingApi.
|
|
10257
10257
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10414,7 +10414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10414
10414
|
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(){/**
|
|
10415
10415
|
* ContentManagement service.
|
|
10416
10416
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10417
|
-
* @version
|
|
10417
|
+
* @version 236.0.0
|
|
10418
10418
|
*//**
|
|
10419
10419
|
* Constructs a new ContentManagementApi.
|
|
10420
10420
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10696,7 +10696,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10696
10696
|
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(){/**
|
|
10697
10697
|
* Conversations service.
|
|
10698
10698
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10699
|
-
* @version
|
|
10699
|
+
* @version 236.0.0
|
|
10700
10700
|
*//**
|
|
10701
10701
|
* Constructs a new ConversationsApi.
|
|
10702
10702
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11183,6 +11183,17 @@ if(keyconfigurationsId===undefined||keyconfigurationsId===null||keyconfiguration
|
|
|
11183
11183
|
* @param {String} conversationId conversationId
|
|
11184
11184
|
*/},{key:"getConversationsMessage",value:function getConversationsMessage(conversationId){// verify the required parameter 'conversationId' is set
|
|
11185
11185
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11186
|
+
* Get message media list by status
|
|
11187
|
+
*
|
|
11188
|
+
* @param {String} conversationId conversationId
|
|
11189
|
+
* @param {String} communicationId communicationId
|
|
11190
|
+
* @param {Object} opts Optional parameters
|
|
11191
|
+
* @param {Object} opts.status The status on which to filter the response.
|
|
11192
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11193
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
11194
|
+
*/},{key:"getConversationsMessageCommunicationMessagesMedia",value:function getConversationsMessageCommunicationMessagesMedia(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11195
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
11196
|
+
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11186
11197
|
* Get media
|
|
11187
11198
|
* See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
|
|
11188
11199
|
* @param {String} conversationId conversationId
|
|
@@ -12788,7 +12799,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12788
12799
|
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(){/**
|
|
12789
12800
|
* DataExtensions service.
|
|
12790
12801
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12791
|
-
* @version
|
|
12802
|
+
* @version 236.0.0
|
|
12792
12803
|
*//**
|
|
12793
12804
|
* Constructs a new DataExtensionsApi.
|
|
12794
12805
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12809,7 +12820,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12809
12820
|
*/},{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(){/**
|
|
12810
12821
|
* DataPrivacy service.
|
|
12811
12822
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12812
|
-
* @version
|
|
12823
|
+
* @version 236.0.0
|
|
12813
12824
|
*//**
|
|
12814
12825
|
* Constructs a new DataPrivacyApi.
|
|
12815
12826
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12849,7 +12860,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12849
12860
|
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(){/**
|
|
12850
12861
|
* Downloads service.
|
|
12851
12862
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12852
|
-
* @version
|
|
12863
|
+
* @version 236.0.0
|
|
12853
12864
|
*//**
|
|
12854
12865
|
* Constructs a new DownloadsApi.
|
|
12855
12866
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12868,7 +12879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12868
12879
|
if(downloadId===undefined||downloadId===null||downloadId===''){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(){/**
|
|
12869
12880
|
* Emails service.
|
|
12870
12881
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12871
|
-
* @version
|
|
12882
|
+
* @version 236.0.0
|
|
12872
12883
|
*//**
|
|
12873
12884
|
* Constructs a new EmailsApi.
|
|
12874
12885
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12897,7 +12908,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12897
12908
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
12898
12909
|
* EmployeeEngagement service.
|
|
12899
12910
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12900
|
-
* @version
|
|
12911
|
+
* @version 236.0.0
|
|
12901
12912
|
*//**
|
|
12902
12913
|
* Constructs a new EmployeeEngagementApi.
|
|
12903
12914
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12935,7 +12946,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12935
12946
|
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(){/**
|
|
12936
12947
|
* Events service.
|
|
12937
12948
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12938
|
-
* @version
|
|
12949
|
+
* @version 236.0.0
|
|
12939
12950
|
*//**
|
|
12940
12951
|
* Constructs a new EventsApi.
|
|
12941
12952
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12960,7 +12971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12960
12971
|
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(){/**
|
|
12961
12972
|
* ExternalContacts service.
|
|
12962
12973
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12963
|
-
* @version
|
|
12974
|
+
* @version 236.0.0
|
|
12964
12975
|
*//**
|
|
12965
12976
|
* Constructs a new ExternalContactsApi.
|
|
12966
12977
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13710,7 +13721,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13710
13721
|
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(){/**
|
|
13711
13722
|
* Fax service.
|
|
13712
13723
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13713
|
-
* @version
|
|
13724
|
+
* @version 236.0.0
|
|
13714
13725
|
*//**
|
|
13715
13726
|
* Constructs a new FaxApi.
|
|
13716
13727
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13759,7 +13770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13759
13770
|
*/},{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(){/**
|
|
13760
13771
|
* Flows service.
|
|
13761
13772
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13762
|
-
* @version
|
|
13773
|
+
* @version 236.0.0
|
|
13763
13774
|
*//**
|
|
13764
13775
|
* Constructs a new FlowsApi.
|
|
13765
13776
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13813,7 +13824,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13813
13824
|
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(){/**
|
|
13814
13825
|
* Gamification service.
|
|
13815
13826
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13816
|
-
* @version
|
|
13827
|
+
* @version 236.0.0
|
|
13817
13828
|
*//**
|
|
13818
13829
|
* Constructs a new GamificationApi.
|
|
13819
13830
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14484,7 +14495,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14484
14495
|
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(){/**
|
|
14485
14496
|
* GeneralDataProtectionRegulation service.
|
|
14486
14497
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14487
|
-
* @version
|
|
14498
|
+
* @version 236.0.0
|
|
14488
14499
|
*//**
|
|
14489
14500
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14490
14501
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14519,7 +14530,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14519
14530
|
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(){/**
|
|
14520
14531
|
* Geolocation service.
|
|
14521
14532
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14522
|
-
* @version
|
|
14533
|
+
* @version 236.0.0
|
|
14523
14534
|
*//**
|
|
14524
14535
|
* Constructs a new GeolocationApi.
|
|
14525
14536
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14553,7 +14564,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14553
14564
|
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(){/**
|
|
14554
14565
|
* Greetings service.
|
|
14555
14566
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14556
|
-
* @version
|
|
14567
|
+
* @version 236.0.0
|
|
14557
14568
|
*//**
|
|
14558
14569
|
* Constructs a new GreetingsApi.
|
|
14559
14570
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14681,7 +14692,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14681
14692
|
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(){/**
|
|
14682
14693
|
* Groups service.
|
|
14683
14694
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14684
|
-
* @version
|
|
14695
|
+
* @version 236.0.0
|
|
14685
14696
|
*//**
|
|
14686
14697
|
* Constructs a new GroupsApi.
|
|
14687
14698
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14814,7 +14825,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14814
14825
|
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(){/**
|
|
14815
14826
|
* IdentityProvider service.
|
|
14816
14827
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14817
|
-
* @version
|
|
14828
|
+
* @version 236.0.0
|
|
14818
14829
|
*//**
|
|
14819
14830
|
* Constructs a new IdentityProviderApi.
|
|
14820
14831
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14970,7 +14981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14970
14981
|
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(){/**
|
|
14971
14982
|
* InfrastructureAsCode service.
|
|
14972
14983
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14973
|
-
* @version
|
|
14984
|
+
* @version 236.0.0
|
|
14974
14985
|
*//**
|
|
14975
14986
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14976
14987
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15024,7 +15035,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15024
15035
|
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(){/**
|
|
15025
15036
|
* Integrations service.
|
|
15026
15037
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15027
|
-
* @version
|
|
15038
|
+
* @version 236.0.0
|
|
15028
15039
|
*//**
|
|
15029
15040
|
* Constructs a new IntegrationsApi.
|
|
15030
15041
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -15714,7 +15725,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15714
15725
|
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(){/**
|
|
15715
15726
|
* Journey service.
|
|
15716
15727
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15717
|
-
* @version
|
|
15728
|
+
* @version 236.0.0
|
|
15718
15729
|
*//**
|
|
15719
15730
|
* Constructs a new JourneyApi.
|
|
15720
15731
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16223,7 +16234,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16223
16234
|
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(){/**
|
|
16224
16235
|
* Knowledge service.
|
|
16225
16236
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16226
|
-
* @version
|
|
16237
|
+
* @version 236.0.0
|
|
16227
16238
|
*//**
|
|
16228
16239
|
* Constructs a new KnowledgeApi.
|
|
16229
16240
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17051,7 +17062,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17051
17062
|
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(){/**
|
|
17052
17063
|
* LanguageUnderstanding service.
|
|
17053
17064
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17054
|
-
* @version
|
|
17065
|
+
* @version 236.0.0
|
|
17055
17066
|
*//**
|
|
17056
17067
|
* Constructs a new LanguageUnderstandingApi.
|
|
17057
17068
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17360,7 +17371,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17360
17371
|
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(){/**
|
|
17361
17372
|
* Languages service.
|
|
17362
17373
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17363
|
-
* @version
|
|
17374
|
+
* @version 236.0.0
|
|
17364
17375
|
*//**
|
|
17365
17376
|
* Constructs a new LanguagesApi.
|
|
17366
17377
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17415,7 +17426,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17415
17426
|
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(){/**
|
|
17416
17427
|
* Learning service.
|
|
17417
17428
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17418
|
-
* @version
|
|
17429
|
+
* @version 236.0.0
|
|
17419
17430
|
*//**
|
|
17420
17431
|
* Constructs a new LearningApi.
|
|
17421
17432
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17698,7 +17709,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17698
17709
|
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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
17699
17710
|
* License service.
|
|
17700
17711
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17701
|
-
* @version
|
|
17712
|
+
* @version 236.0.0
|
|
17702
17713
|
*//**
|
|
17703
17714
|
* Constructs a new LicenseApi.
|
|
17704
17715
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17752,7 +17763,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17752
17763
|
*/},{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(){/**
|
|
17753
17764
|
* Locations service.
|
|
17754
17765
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17755
|
-
* @version
|
|
17766
|
+
* @version 236.0.0
|
|
17756
17767
|
*//**
|
|
17757
17768
|
* Constructs a new LocationsApi.
|
|
17758
17769
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17811,7 +17822,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17811
17822
|
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(){/**
|
|
17812
17823
|
* LogCapture service.
|
|
17813
17824
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17814
|
-
* @version
|
|
17825
|
+
* @version 236.0.0
|
|
17815
17826
|
*//**
|
|
17816
17827
|
* Constructs a new LogCaptureApi.
|
|
17817
17828
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17860,7 +17871,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17860
17871
|
if(userId===undefined||userId===null||userId===''){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(){/**
|
|
17861
17872
|
* Messaging service.
|
|
17862
17873
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17863
|
-
* @version
|
|
17874
|
+
* @version 236.0.0
|
|
17864
17875
|
*//**
|
|
17865
17876
|
* Constructs a new MessagingApi.
|
|
17866
17877
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -17950,7 +17961,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17950
17961
|
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(){/**
|
|
17951
17962
|
* MobileDevices service.
|
|
17952
17963
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
17953
|
-
* @version
|
|
17964
|
+
* @version 236.0.0
|
|
17954
17965
|
*//**
|
|
17955
17966
|
* Constructs a new MobileDevicesApi.
|
|
17956
17967
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -17989,7 +18000,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17989
18000
|
if(deviceId===undefined||deviceId===null||deviceId===''){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(){/**
|
|
17990
18001
|
* Notifications service.
|
|
17991
18002
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
17992
|
-
* @version
|
|
18003
|
+
* @version 236.0.0
|
|
17993
18004
|
*//**
|
|
17994
18005
|
* Constructs a new NotificationsApi.
|
|
17995
18006
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18046,7 +18057,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18046
18057
|
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(){/**
|
|
18047
18058
|
* OAuth service.
|
|
18048
18059
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18049
|
-
* @version
|
|
18060
|
+
* @version 236.0.0
|
|
18050
18061
|
*//**
|
|
18051
18062
|
* Constructs a new OAuthApi.
|
|
18052
18063
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18131,7 +18142,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18131
18142
|
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(){/**
|
|
18132
18143
|
* Objects service.
|
|
18133
18144
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18134
|
-
* @version
|
|
18145
|
+
* @version 236.0.0
|
|
18135
18146
|
*//**
|
|
18136
18147
|
* Constructs a new ObjectsApi.
|
|
18137
18148
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18183,7 +18194,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18183
18194
|
* @param {Object} opts Optional parameters
|
|
18184
18195
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
18185
18196
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
18186
|
-
* @param {String} opts.pageSize
|
|
18197
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
18187
18198
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
18188
18199
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
18189
18200
|
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -18217,7 +18228,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18217
18228
|
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(){/**
|
|
18218
18229
|
* OperationalEvents service.
|
|
18219
18230
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18220
|
-
* @version
|
|
18231
|
+
* @version 236.0.0
|
|
18221
18232
|
*//**
|
|
18222
18233
|
* Constructs a new OperationalEventsApi.
|
|
18223
18234
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18248,7 +18259,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18248
18259
|
*/},{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(){/**
|
|
18249
18260
|
* Organization service.
|
|
18250
18261
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18251
|
-
* @version
|
|
18262
|
+
* @version 236.0.0
|
|
18252
18263
|
*//**
|
|
18253
18264
|
* Constructs a new OrganizationApi.
|
|
18254
18265
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18353,7 +18364,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18353
18364
|
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(){/**
|
|
18354
18365
|
* OrganizationAuthorization service.
|
|
18355
18366
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18356
|
-
* @version
|
|
18367
|
+
* @version 236.0.0
|
|
18357
18368
|
*//**
|
|
18358
18369
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18359
18370
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18687,7 +18698,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18687
18698
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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(){/**
|
|
18688
18699
|
* Outbound service.
|
|
18689
18700
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18690
|
-
* @version
|
|
18701
|
+
* @version 236.0.0
|
|
18691
18702
|
*//**
|
|
18692
18703
|
* Constructs a new OutboundApi.
|
|
18693
18704
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19843,7 +19854,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19843
19854
|
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(){/**
|
|
19844
19855
|
* Presence service.
|
|
19845
19856
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19846
|
-
* @version
|
|
19857
|
+
* @version 236.0.0
|
|
19847
19858
|
*//**
|
|
19848
19859
|
* Constructs a new PresenceApi.
|
|
19849
19860
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20016,7 +20027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20016
20027
|
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(){/**
|
|
20017
20028
|
* ProcessAutomation service.
|
|
20018
20029
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20019
|
-
* @version
|
|
20030
|
+
* @version 236.0.0
|
|
20020
20031
|
*//**
|
|
20021
20032
|
* Constructs a new ProcessAutomationApi.
|
|
20022
20033
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20079,7 +20090,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20079
20090
|
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(){/**
|
|
20080
20091
|
* Quality service.
|
|
20081
20092
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20082
|
-
* @version
|
|
20093
|
+
* @version 236.0.0
|
|
20083
20094
|
*//**
|
|
20084
20095
|
* Constructs a new QualityApi.
|
|
20085
20096
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20569,7 +20580,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20569
20580
|
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(){/**
|
|
20570
20581
|
* Recording service.
|
|
20571
20582
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20572
|
-
* @version
|
|
20583
|
+
* @version 236.0.0
|
|
20573
20584
|
*//**
|
|
20574
20585
|
* Constructs a new RecordingApi.
|
|
20575
20586
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20968,7 +20979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20968
20979
|
*/},{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(){/**
|
|
20969
20980
|
* ResponseManagement service.
|
|
20970
20981
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20971
|
-
* @version
|
|
20982
|
+
* @version 236.0.0
|
|
20972
20983
|
*//**
|
|
20973
20984
|
* Constructs a new ResponseManagementApi.
|
|
20974
20985
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21089,7 +21100,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21089
21100
|
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(){/**
|
|
21090
21101
|
* Routing service.
|
|
21091
21102
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21092
|
-
* @version
|
|
21103
|
+
* @version 236.0.0
|
|
21093
21104
|
*//**
|
|
21094
21105
|
* Constructs a new RoutingApi.
|
|
21095
21106
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -22180,7 +22191,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22180
22191
|
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(){/**
|
|
22181
22192
|
* SCIM service.
|
|
22182
22193
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22183
|
-
* @version
|
|
22194
|
+
* @version 236.0.0
|
|
22184
22195
|
*//**
|
|
22185
22196
|
* Constructs a new SCIMApi.
|
|
22186
22197
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22405,7 +22416,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22405
22416
|
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(){/**
|
|
22406
22417
|
* ScreenRecording service.
|
|
22407
22418
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22408
|
-
* @version
|
|
22419
|
+
* @version 236.0.0
|
|
22409
22420
|
*//**
|
|
22410
22421
|
* Constructs a new ScreenRecordingApi.
|
|
22411
22422
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22420,7 +22431,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22420
22431
|
*/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(){/**
|
|
22421
22432
|
* Scripts service.
|
|
22422
22433
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22423
|
-
* @version
|
|
22434
|
+
* @version 236.0.0
|
|
22424
22435
|
*//**
|
|
22425
22436
|
* Constructs a new ScriptsApi.
|
|
22426
22437
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22566,7 +22577,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22566
22577
|
*/},{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(){/**
|
|
22567
22578
|
* Search service.
|
|
22568
22579
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22569
|
-
* @version
|
|
22580
|
+
* @version 236.0.0
|
|
22570
22581
|
*//**
|
|
22571
22582
|
* Constructs a new SearchApi.
|
|
22572
22583
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22725,7 +22736,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22725
22736
|
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(){/**
|
|
22726
22737
|
* Settings service.
|
|
22727
22738
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22728
|
-
* @version
|
|
22739
|
+
* @version 236.0.0
|
|
22729
22740
|
*//**
|
|
22730
22741
|
* Constructs a new SettingsApi.
|
|
22731
22742
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22797,7 +22808,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22797
22808
|
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(){/**
|
|
22798
22809
|
* SocialMedia service.
|
|
22799
22810
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22800
|
-
* @version
|
|
22811
|
+
* @version 236.0.0
|
|
22801
22812
|
*//**
|
|
22802
22813
|
* Constructs a new SocialMediaApi.
|
|
22803
22814
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23212,7 +23223,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23212
23223
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){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(){/**
|
|
23213
23224
|
* SpeechTextAnalytics service.
|
|
23214
23225
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23215
|
-
* @version
|
|
23226
|
+
* @version 236.0.0
|
|
23216
23227
|
*//**
|
|
23217
23228
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23218
23229
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23582,7 +23593,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23582
23593
|
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(){/**
|
|
23583
23594
|
* Stations service.
|
|
23584
23595
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23585
|
-
* @version
|
|
23596
|
+
* @version 236.0.0
|
|
23586
23597
|
*//**
|
|
23587
23598
|
* Constructs a new StationsApi.
|
|
23588
23599
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23614,7 +23625,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23614
23625
|
*/},{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(){/**
|
|
23615
23626
|
* Suggest service.
|
|
23616
23627
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23617
|
-
* @version
|
|
23628
|
+
* @version 236.0.0
|
|
23618
23629
|
*//**
|
|
23619
23630
|
* Constructs a new SuggestApi.
|
|
23620
23631
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23654,7 +23665,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23654
23665
|
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(){/**
|
|
23655
23666
|
* TaskManagement service.
|
|
23656
23667
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23657
|
-
* @version
|
|
23668
|
+
* @version 236.0.0
|
|
23658
23669
|
*//**
|
|
23659
23670
|
* Constructs a new TaskManagementApi.
|
|
23660
23671
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24162,7 +24173,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24162
24173
|
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(){/**
|
|
24163
24174
|
* Teams service.
|
|
24164
24175
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24165
|
-
* @version
|
|
24176
|
+
* @version 236.0.0
|
|
24166
24177
|
*//**
|
|
24167
24178
|
* Constructs a new TeamsApi.
|
|
24168
24179
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24242,7 +24253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24242
24253
|
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(){/**
|
|
24243
24254
|
* Telephony service.
|
|
24244
24255
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24245
|
-
* @version
|
|
24256
|
+
* @version 236.0.0
|
|
24246
24257
|
*//**
|
|
24247
24258
|
* Constructs a new TelephonyApi.
|
|
24248
24259
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24313,7 +24324,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24313
24324
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24314
24325
|
* TelephonyProvidersEdge service.
|
|
24315
24326
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24316
|
-
* @version
|
|
24327
|
+
* @version 236.0.0
|
|
24317
24328
|
*//**
|
|
24318
24329
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24319
24330
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25161,7 +25172,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25161
25172
|
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(){/**
|
|
25162
25173
|
* Textbots service.
|
|
25163
25174
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25164
|
-
* @version
|
|
25175
|
+
* @version 236.0.0
|
|
25165
25176
|
*//**
|
|
25166
25177
|
* Constructs a new TextbotsApi.
|
|
25167
25178
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25197,7 +25208,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25197
25208
|
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(){/**
|
|
25198
25209
|
* Tokens service.
|
|
25199
25210
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25200
|
-
* @version
|
|
25211
|
+
* @version 236.0.0
|
|
25201
25212
|
*//**
|
|
25202
25213
|
* Constructs a new TokensApi.
|
|
25203
25214
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25231,7 +25242,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25231
25242
|
*/},{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(){/**
|
|
25232
25243
|
* Uploads service.
|
|
25233
25244
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25234
|
-
* @version
|
|
25245
|
+
* @version 236.0.0
|
|
25235
25246
|
*//**
|
|
25236
25247
|
* Constructs a new UploadsApi.
|
|
25237
25248
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25299,7 +25310,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25299
25310
|
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(){/**
|
|
25300
25311
|
* Usage service.
|
|
25301
25312
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25302
|
-
* @version
|
|
25313
|
+
* @version 236.0.0
|
|
25303
25314
|
*//**
|
|
25304
25315
|
* Constructs a new UsageApi.
|
|
25305
25316
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25383,7 +25394,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25383
25394
|
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(){/**
|
|
25384
25395
|
* UserRecordings service.
|
|
25385
25396
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25386
|
-
* @version
|
|
25397
|
+
* @version 236.0.0
|
|
25387
25398
|
*//**
|
|
25388
25399
|
* Constructs a new UserRecordingsApi.
|
|
25389
25400
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25431,7 +25442,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25431
25442
|
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(){/**
|
|
25432
25443
|
* Users service.
|
|
25433
25444
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25434
|
-
* @version
|
|
25445
|
+
* @version 236.0.0
|
|
25435
25446
|
*//**
|
|
25436
25447
|
* Constructs a new UsersApi.
|
|
25437
25448
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26175,7 +26186,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
26175
26186
|
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(){/**
|
|
26176
26187
|
* Utilities service.
|
|
26177
26188
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26178
|
-
* @version
|
|
26189
|
+
* @version 236.0.0
|
|
26179
26190
|
*//**
|
|
26180
26191
|
* Constructs a new UtilitiesApi.
|
|
26181
26192
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26202,7 +26213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26202
26213
|
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(){/**
|
|
26203
26214
|
* Voicemail service.
|
|
26204
26215
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26205
|
-
* @version
|
|
26216
|
+
* @version 236.0.0
|
|
26206
26217
|
*//**
|
|
26207
26218
|
* Constructs a new VoicemailApi.
|
|
26208
26219
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -26364,7 +26375,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26364
26375
|
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(){/**
|
|
26365
26376
|
* WebChat service.
|
|
26366
26377
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
26367
|
-
* @version
|
|
26378
|
+
* @version 236.0.0
|
|
26368
26379
|
*//**
|
|
26369
26380
|
* Constructs a new WebChatApi.
|
|
26370
26381
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26511,7 +26522,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26511
26522
|
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(){/**
|
|
26512
26523
|
* WebDeployments service.
|
|
26513
26524
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26514
|
-
* @version
|
|
26525
|
+
* @version 236.0.0
|
|
26515
26526
|
*//**
|
|
26516
26527
|
* Constructs a new WebDeploymentsApi.
|
|
26517
26528
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26644,7 +26655,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26644
26655
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
26645
26656
|
* WebMessaging service.
|
|
26646
26657
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26647
|
-
* @version
|
|
26658
|
+
* @version 236.0.0
|
|
26648
26659
|
*//**
|
|
26649
26660
|
* Constructs a new WebMessagingApi.
|
|
26650
26661
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26685,7 +26696,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
26685
26696
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
26686
26697
|
* Widgets service.
|
|
26687
26698
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26688
|
-
* @version
|
|
26699
|
+
* @version 236.0.0
|
|
26689
26700
|
*//**
|
|
26690
26701
|
* Constructs a new WidgetsApi.
|
|
26691
26702
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26725,7 +26736,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26725
26736
|
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(){/**
|
|
26726
26737
|
* WorkforceManagement service.
|
|
26727
26738
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26728
|
-
* @version
|
|
26739
|
+
* @version 236.0.0
|
|
26729
26740
|
*//**
|
|
26730
26741
|
* Constructs a new WorkforceManagementApi.
|
|
26731
26742
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28686,7 +28697,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28686
28697
|
* </pre>
|
|
28687
28698
|
* </p>
|
|
28688
28699
|
* @module purecloud-platform-client-v2/index
|
|
28689
|
-
* @version
|
|
28700
|
+
* @version 236.0.0
|
|
28690
28701
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28691
28702
|
* The ApiClient constructor.
|
|
28692
28703
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|