purecloud-platform-client-v2 233.0.0 → 234.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 +311 -965
- package/dist/web-amd/purecloud-platform-client-v2.js +311 -965
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +137 -366
- package/dist/web-cjs/purecloud-platform-client-v2.js +137 -366
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +804 -821
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -30
- 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 +41 -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 +61 -880
- 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 +26 -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 +156 -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 -31
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
- 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 +2 -2
- 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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -911,7 +911,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
911
911
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
912
912
|
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];}}}]);}();/**
|
|
913
913
|
* @module purecloud-platform-client-v2/ApiClient
|
|
914
|
-
* @version
|
|
914
|
+
* @version 234.0.0
|
|
915
915
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
916
916
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
917
917
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1257,7 +1257,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1257
1257
|
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(){/**
|
|
1258
1258
|
* AIStudio service.
|
|
1259
1259
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1260
|
-
* @version
|
|
1260
|
+
* @version 234.0.0
|
|
1261
1261
|
*//**
|
|
1262
1262
|
* Constructs a new AIStudioApi.
|
|
1263
1263
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1408,7 +1408,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1408
1408
|
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(){/**
|
|
1409
1409
|
* AgentAssistants service.
|
|
1410
1410
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1411
|
-
* @version
|
|
1411
|
+
* @version 234.0.0
|
|
1412
1412
|
*//**
|
|
1413
1413
|
* Constructs a new AgentAssistantsApi.
|
|
1414
1414
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1539,7 +1539,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
1539
1539
|
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(){/**
|
|
1540
1540
|
* AgentCopilot service.
|
|
1541
1541
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1542
|
-
* @version
|
|
1542
|
+
* @version 234.0.0
|
|
1543
1543
|
*//**
|
|
1544
1544
|
* Constructs a new AgentCopilotApi.
|
|
1545
1545
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1566,7 +1566,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1566
1566
|
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(){/**
|
|
1567
1567
|
* AgentUI service.
|
|
1568
1568
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1569
|
-
* @version
|
|
1569
|
+
* @version 234.0.0
|
|
1570
1570
|
*//**
|
|
1571
1571
|
* Constructs a new AgentUIApi.
|
|
1572
1572
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1600,7 +1600,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1600
1600
|
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(){/**
|
|
1601
1601
|
* Alerting service.
|
|
1602
1602
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1603
|
-
* @version
|
|
1603
|
+
* @version 234.0.0
|
|
1604
1604
|
*//**
|
|
1605
1605
|
* Constructs a new AlertingApi.
|
|
1606
1606
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1689,7 +1689,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1689
1689
|
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(){/**
|
|
1690
1690
|
* Analytics service.
|
|
1691
1691
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1692
|
-
* @version
|
|
1692
|
+
* @version 234.0.0
|
|
1693
1693
|
*//**
|
|
1694
1694
|
* Constructs a new AnalyticsApi.
|
|
1695
1695
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2465,7 +2465,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2465
2465
|
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(){/**
|
|
2466
2466
|
* Architect service.
|
|
2467
2467
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2468
|
-
* @version
|
|
2468
|
+
* @version 234.0.0
|
|
2469
2469
|
*//**
|
|
2470
2470
|
* Constructs a new ArchitectApi.
|
|
2471
2471
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3599,7 +3599,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3599
3599
|
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(){/**
|
|
3600
3600
|
* Audit service.
|
|
3601
3601
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3602
|
-
* @version
|
|
3602
|
+
* @version 234.0.0
|
|
3603
3603
|
*//**
|
|
3604
3604
|
* Constructs a new AuditApi.
|
|
3605
3605
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3649,7 +3649,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3649
3649
|
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(){/**
|
|
3650
3650
|
* Authorization service.
|
|
3651
3651
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3652
|
-
* @version
|
|
3652
|
+
* @version 234.0.0
|
|
3653
3653
|
*//**
|
|
3654
3654
|
* Constructs a new AuthorizationApi.
|
|
3655
3655
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -4084,7 +4084,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4084
4084
|
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(){/**
|
|
4085
4085
|
* Billing service.
|
|
4086
4086
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4087
|
-
* @version
|
|
4087
|
+
* @version 234.0.0
|
|
4088
4088
|
*//**
|
|
4089
4089
|
* Constructs a new BillingApi.
|
|
4090
4090
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4161,7 +4161,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4161
4161
|
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(){/**
|
|
4162
4162
|
* BusinessRules service.
|
|
4163
4163
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4164
|
-
* @version
|
|
4164
|
+
* @version 234.0.0
|
|
4165
4165
|
*//**
|
|
4166
4166
|
* Constructs a new BusinessRulesApi.
|
|
4167
4167
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4174,14 +4174,12 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
4174
4174
|
* @param {String} tableId Table ID
|
|
4175
4175
|
* @param {Object} opts Optional parameters
|
|
4176
4176
|
* @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
|
|
4177
|
-
* deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4178
4177
|
*/return _createClass(BusinessRulesApi,[{key:"deleteBusinessrulesDecisiontable",value:function deleteBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
4179
4178
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','DELETE',{'tableId':tableId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4180
4179
|
* Delete a decision table version
|
|
4181
4180
|
*
|
|
4182
4181
|
* @param {String} tableId Table ID
|
|
4183
4182
|
* @param {Number} tableVersion Table Version
|
|
4184
|
-
* deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4185
4183
|
*/},{key:"deleteBusinessrulesDecisiontableVersion",value:function deleteBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
4186
4184
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
4187
4185
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4190,7 +4188,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
4190
4188
|
* @param {String} tableId Table ID
|
|
4191
4189
|
* @param {Number} tableVersion Table Version
|
|
4192
4190
|
* @param {String} rowId Row ID
|
|
4193
|
-
* deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4194
4191
|
*/},{key:"deleteBusinessrulesDecisiontableVersionRow",value:function deleteBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
|
|
4195
4192
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
4196
4193
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -4198,20 +4195,17 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
|
|
|
4198
4195
|
* Delete a schema
|
|
4199
4196
|
*
|
|
4200
4197
|
* @param {String} schemaId Schema ID
|
|
4201
|
-
* deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4202
4198
|
*/},{key:"deleteBusinessrulesSchema",value:function deleteBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
4203
4199
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','DELETE',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4204
4200
|
* Get a decision table
|
|
4205
4201
|
*
|
|
4206
4202
|
* @param {String} tableId Table ID
|
|
4207
|
-
* getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4208
4203
|
*/},{key:"getBusinessrulesDecisiontable",value:function getBusinessrulesDecisiontable(tableId){// verify the required parameter 'tableId' is set
|
|
4209
4204
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','GET',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4210
4205
|
* Get a decision table version
|
|
4211
4206
|
*
|
|
4212
4207
|
* @param {String} tableId Table ID
|
|
4213
4208
|
* @param {Number} tableVersion Table Version
|
|
4214
|
-
* getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4215
4209
|
*/},{key:"getBusinessrulesDecisiontableVersion",value:function getBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
4216
4210
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
4217
4211
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','GET',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4220,7 +4214,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
4220
4214
|
* @param {String} tableId Table ID
|
|
4221
4215
|
* @param {Number} tableVersion Table Version
|
|
4222
4216
|
* @param {String} rowId Row ID
|
|
4223
|
-
* getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4224
4217
|
*/},{key:"getBusinessrulesDecisiontableVersionRow",value:function getBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
|
|
4225
4218
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
4226
4219
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -4232,7 +4225,6 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
|
|
|
4232
4225
|
* @param {Object} opts Optional parameters
|
|
4233
4226
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
4234
4227
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
4235
|
-
* getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4236
4228
|
*/},{key:"getBusinessrulesDecisiontableVersionRows",value:function getBusinessrulesDecisiontableVersionRows(tableId,tableVersion,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
4237
4229
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
4238
4230
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows','GET',{'tableId':tableId,'tableVersion':tableVersion},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4242,7 +4234,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
4242
4234
|
* @param {Object} opts Optional parameters
|
|
4243
4235
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4244
4236
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
4245
|
-
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4246
4237
|
*/},{key:"getBusinessrulesDecisiontableVersions",value:function getBusinessrulesDecisiontableVersions(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
4247
4238
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4248
4239
|
* Get a list of decision tables.
|
|
@@ -4252,7 +4243,6 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
4252
4243
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
4253
4244
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
4254
4245
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name.
|
|
4255
|
-
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4256
4246
|
*/},{key:"getBusinessrulesDecisiontables",value:function getBusinessrulesDecisiontables(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4257
4247
|
* Search for decision tables.
|
|
4258
4248
|
*
|
|
@@ -4264,33 +4254,27 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
4264
4254
|
* @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
|
|
4265
4255
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
4266
4256
|
* @param {Array.<String>} opts.ids Decision table IDs to search for
|
|
4267
|
-
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4268
4257
|
*/},{key:"getBusinessrulesDecisiontablesSearch",value:function getBusinessrulesDecisiontablesSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables/search','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'schemaId':opts['schemaId'],'name':opts['name'],'withPublishedVersion':opts['withPublishedVersion'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4269
4258
|
* Get a schema
|
|
4270
4259
|
*
|
|
4271
4260
|
* @param {String} schemaId Schema ID
|
|
4272
|
-
* getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4273
4261
|
*/},{key:"getBusinessrulesSchema",value:function getBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
4274
4262
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4275
4263
|
* Get a list of schemas.
|
|
4276
4264
|
*
|
|
4277
|
-
* getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4278
4265
|
*/},{key:"getBusinessrulesSchemas",value:function getBusinessrulesSchemas(){return this.apiClient.callApi('/api/v2/businessrules/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4279
4266
|
* Get a specific named core type.
|
|
4280
4267
|
*
|
|
4281
4268
|
* @param {String} coreTypeName The core type's name
|
|
4282
|
-
* getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4283
4269
|
*/},{key:"getBusinessrulesSchemasCoretype",value:function getBusinessrulesSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
4284
4270
|
if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';}return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4285
4271
|
* Get the core types from which all schemas are built.
|
|
4286
4272
|
*
|
|
4287
|
-
* getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4288
4273
|
*/},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4289
4274
|
* Update a decision table
|
|
4290
4275
|
*
|
|
4291
4276
|
* @param {String} tableId Table ID
|
|
4292
4277
|
* @param {Object} body Decision Table
|
|
4293
|
-
* patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4294
4278
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
|
|
4295
4279
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';}// verify the required parameter 'body' is set
|
|
4296
4280
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','PATCH',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4299,7 +4283,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4299
4283
|
* @param {String} tableId Table ID
|
|
4300
4284
|
* @param {Number} tableVersion Table Version
|
|
4301
4285
|
* @param {Object} body Decision Table
|
|
4302
|
-
* patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4303
4286
|
*/},{key:"patchBusinessrulesDecisiontableVersion",value:function patchBusinessrulesDecisiontableVersion(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
4304
4287
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
4305
4288
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'body' is set
|
|
@@ -4308,7 +4291,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4308
4291
|
*
|
|
4309
4292
|
* @param {String} tableId Table ID
|
|
4310
4293
|
* @param {Object} body Decision Table
|
|
4311
|
-
* postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4312
4294
|
*/},{key:"postBusinessrulesDecisiontableExecute",value:function postBusinessrulesDecisiontableExecute(tableId,body){// verify the required parameter 'tableId' is set
|
|
4313
4295
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';}// verify the required parameter 'body' is set
|
|
4314
4296
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/execute','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4317,7 +4299,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4317
4299
|
* @param {String} tableId Table ID
|
|
4318
4300
|
* @param {Number} tableVersion Table Version
|
|
4319
4301
|
* @param {Object} body Decision Table
|
|
4320
|
-
* postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4321
4302
|
*/},{key:"postBusinessrulesDecisiontableVersionCopy",value:function postBusinessrulesDecisiontableVersionCopy(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
4322
4303
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'tableVersion' is set
|
|
4323
4304
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'body' is set
|
|
@@ -4327,7 +4308,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4327
4308
|
* @param {String} tableId Table ID
|
|
4328
4309
|
* @param {Number} tableVersion Table Version
|
|
4329
4310
|
* @param {Object} body Decision Table
|
|
4330
|
-
* postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4331
4311
|
*/},{key:"postBusinessrulesDecisiontableVersionExecute",value:function postBusinessrulesDecisiontableVersionExecute(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
4332
4312
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'tableVersion' is set
|
|
4333
4313
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
|
|
@@ -4337,7 +4317,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4337
4317
|
* @param {String} tableId Table ID
|
|
4338
4318
|
* @param {Number} tableVersion Table Version
|
|
4339
4319
|
* @param {Object} body Create decision table row request
|
|
4340
|
-
* postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4341
4320
|
*/},{key:"postBusinessrulesDecisiontableVersionRows",value:function postBusinessrulesDecisiontableVersionRows(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
4342
4321
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
4343
4322
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'body' is set
|
|
@@ -4350,7 +4329,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4350
4329
|
* @param {Object} opts Optional parameters
|
|
4351
4330
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
4352
4331
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
4353
|
-
* postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4354
4332
|
*/},{key:"postBusinessrulesDecisiontableVersionRowsSearch",value:function postBusinessrulesDecisiontableVersionRowsSearch(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
4355
4333
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'tableVersion' is set
|
|
4356
4334
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'body' is set
|
|
@@ -4359,33 +4337,28 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4359
4337
|
*
|
|
4360
4338
|
* @param {String} tableId Table ID
|
|
4361
4339
|
* @param {Number} tableVersion Table Version
|
|
4362
|
-
* postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4363
4340
|
*/},{key:"postBusinessrulesDecisiontableVersionSync",value:function postBusinessrulesDecisiontableVersionSync(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
4364
4341
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';}// verify the required parameter 'tableVersion' is set
|
|
4365
4342
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4366
4343
|
* Create a new decision table version
|
|
4367
4344
|
*
|
|
4368
4345
|
* @param {String} tableId Table ID
|
|
4369
|
-
* postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4370
4346
|
*/},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
|
|
4371
4347
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4372
4348
|
* Create a decision table
|
|
4373
4349
|
*
|
|
4374
4350
|
* @param {Object} body Decision Table
|
|
4375
|
-
* postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4376
4351
|
*/},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
|
|
4377
4352
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4378
4353
|
* Create a schema
|
|
4379
4354
|
*
|
|
4380
4355
|
* @param {Object} body Business Rules Schema Create Request
|
|
4381
|
-
* postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4382
4356
|
*/},{key:"postBusinessrulesSchemas",value:function postBusinessrulesSchemas(body){// verify the required parameter 'body' is set
|
|
4383
4357
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';}return this.apiClient.callApi('/api/v2/businessrules/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4384
4358
|
* Publish a decision table version
|
|
4385
4359
|
*
|
|
4386
4360
|
* @param {String} tableId Table ID
|
|
4387
4361
|
* @param {Number} tableVersion Table Version
|
|
4388
|
-
* putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4389
4362
|
*/},{key:"putBusinessrulesDecisiontableVersionPublish",value:function putBusinessrulesDecisiontableVersionPublish(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
4390
4363
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
|
|
4391
4364
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4395,7 +4368,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
4395
4368
|
* @param {Number} tableVersion Table Version
|
|
4396
4369
|
* @param {String} rowId Row ID
|
|
4397
4370
|
* @param {Object} body Full update decision table row request
|
|
4398
|
-
* putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4399
4371
|
*/},{key:"putBusinessrulesDecisiontableVersionRow",value:function putBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId,body){// verify the required parameter 'tableId' is set
|
|
4400
4372
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
4401
4373
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -4405,13 +4377,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4405
4377
|
*
|
|
4406
4378
|
* @param {String} schemaId Schema ID
|
|
4407
4379
|
* @param {Object} body Business Rules Schema Update Request
|
|
4408
|
-
* putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4409
4380
|
*/},{key:"putBusinessrulesSchema",value:function putBusinessrulesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
|
|
4410
4381
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';}// verify the required parameter 'body' is set
|
|
4411
4382
|
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(){/**
|
|
4412
4383
|
* CarrierServices service.
|
|
4413
4384
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4414
|
-
* @version
|
|
4385
|
+
* @version 234.0.0
|
|
4415
4386
|
*//**
|
|
4416
4387
|
* Constructs a new CarrierServicesApi.
|
|
4417
4388
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4431,7 +4402,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4431
4402
|
*/},{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(){/**
|
|
4432
4403
|
* Chat service.
|
|
4433
4404
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4434
|
-
* @version
|
|
4405
|
+
* @version 234.0.0
|
|
4435
4406
|
*//**
|
|
4436
4407
|
* Constructs a new ChatApi.
|
|
4437
4408
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4662,7 +4633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4662
4633
|
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(){/**
|
|
4663
4634
|
* Coaching service.
|
|
4664
4635
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4665
|
-
* @version
|
|
4636
|
+
* @version 234.0.0
|
|
4666
4637
|
*//**
|
|
4667
4638
|
* Constructs a new CoachingApi.
|
|
4668
4639
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4815,7 +4786,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4815
4786
|
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(){/**
|
|
4816
4787
|
* ContentManagement service.
|
|
4817
4788
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4818
|
-
* @version
|
|
4789
|
+
* @version 234.0.0
|
|
4819
4790
|
*//**
|
|
4820
4791
|
* Constructs a new ContentManagementApi.
|
|
4821
4792
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5097,7 +5068,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5097
5068
|
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(){/**
|
|
5098
5069
|
* Conversations service.
|
|
5099
5070
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5100
|
-
* @version
|
|
5071
|
+
* @version 234.0.0
|
|
5101
5072
|
*//**
|
|
5102
5073
|
* Constructs a new ConversationsApi.
|
|
5103
5074
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6013,6 +5984,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6013
5984
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'participantId' is set
|
|
6014
5985
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'body' is set
|
|
6015
5986
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantConsult';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5987
|
+
* Update conversation participant on behalf of a user
|
|
5988
|
+
*
|
|
5989
|
+
* @param {String} conversationId conversationId
|
|
5990
|
+
* @param {String} participantId participantId
|
|
5991
|
+
* @param {String} userId userId
|
|
5992
|
+
* @param {Object} body Participant request
|
|
5993
|
+
*/},{key:"patchConversationsCallParticipantUserUserId",value:function patchConversationsCallParticipantUserUserId(conversationId,participantId,userId,body){// verify the required parameter 'conversationId' is set
|
|
5994
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'participantId' is set
|
|
5995
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'userId' is set
|
|
5996
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'body' is set
|
|
5997
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6016
5998
|
* Update a conversation by disconnecting all of the participants
|
|
6017
5999
|
*
|
|
6018
6000
|
* @param {String} conversationId conversationId
|
|
@@ -7184,7 +7166,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7184
7166
|
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(){/**
|
|
7185
7167
|
* DataExtensions service.
|
|
7186
7168
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7187
|
-
* @version
|
|
7169
|
+
* @version 234.0.0
|
|
7188
7170
|
*//**
|
|
7189
7171
|
* Constructs a new DataExtensionsApi.
|
|
7190
7172
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7205,7 +7187,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7205
7187
|
*/},{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(){/**
|
|
7206
7188
|
* DataPrivacy service.
|
|
7207
7189
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7208
|
-
* @version
|
|
7190
|
+
* @version 234.0.0
|
|
7209
7191
|
*//**
|
|
7210
7192
|
* Constructs a new DataPrivacyApi.
|
|
7211
7193
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7245,7 +7227,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7245
7227
|
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(){/**
|
|
7246
7228
|
* Downloads service.
|
|
7247
7229
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7248
|
-
* @version
|
|
7230
|
+
* @version 234.0.0
|
|
7249
7231
|
*//**
|
|
7250
7232
|
* Constructs a new DownloadsApi.
|
|
7251
7233
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7264,7 +7246,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7264
7246
|
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(){/**
|
|
7265
7247
|
* Emails service.
|
|
7266
7248
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7267
|
-
* @version
|
|
7249
|
+
* @version 234.0.0
|
|
7268
7250
|
*//**
|
|
7269
7251
|
* Constructs a new EmailsApi.
|
|
7270
7252
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7293,7 +7275,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7293
7275
|
*/},{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(){/**
|
|
7294
7276
|
* EmployeeEngagement service.
|
|
7295
7277
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7296
|
-
* @version
|
|
7278
|
+
* @version 234.0.0
|
|
7297
7279
|
*//**
|
|
7298
7280
|
* Constructs a new EmployeeEngagementApi.
|
|
7299
7281
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7331,7 +7313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7331
7313
|
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(){/**
|
|
7332
7314
|
* Events service.
|
|
7333
7315
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7334
|
-
* @version
|
|
7316
|
+
* @version 234.0.0
|
|
7335
7317
|
*//**
|
|
7336
7318
|
* Constructs a new EventsApi.
|
|
7337
7319
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7356,7 +7338,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7356
7338
|
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(){/**
|
|
7357
7339
|
* ExternalContacts service.
|
|
7358
7340
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7359
|
-
* @version
|
|
7341
|
+
* @version 234.0.0
|
|
7360
7342
|
*//**
|
|
7361
7343
|
* Constructs a new ExternalContactsApi.
|
|
7362
7344
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8106,7 +8088,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8106
8088
|
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(){/**
|
|
8107
8089
|
* Fax service.
|
|
8108
8090
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8109
|
-
* @version
|
|
8091
|
+
* @version 234.0.0
|
|
8110
8092
|
*//**
|
|
8111
8093
|
* Constructs a new FaxApi.
|
|
8112
8094
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8155,7 +8137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8155
8137
|
*/},{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(){/**
|
|
8156
8138
|
* Flows service.
|
|
8157
8139
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8158
|
-
* @version
|
|
8140
|
+
* @version 234.0.0
|
|
8159
8141
|
*//**
|
|
8160
8142
|
* Constructs a new FlowsApi.
|
|
8161
8143
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8209,7 +8191,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8209
8191
|
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(){/**
|
|
8210
8192
|
* Gamification service.
|
|
8211
8193
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8212
|
-
* @version
|
|
8194
|
+
* @version 234.0.0
|
|
8213
8195
|
*//**
|
|
8214
8196
|
* Constructs a new GamificationApi.
|
|
8215
8197
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8866,7 +8848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8866
8848
|
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(){/**
|
|
8867
8849
|
* GeneralDataProtectionRegulation service.
|
|
8868
8850
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8869
|
-
* @version
|
|
8851
|
+
* @version 234.0.0
|
|
8870
8852
|
*//**
|
|
8871
8853
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8872
8854
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8901,7 +8883,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8901
8883
|
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(){/**
|
|
8902
8884
|
* Geolocation service.
|
|
8903
8885
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8904
|
-
* @version
|
|
8886
|
+
* @version 234.0.0
|
|
8905
8887
|
*//**
|
|
8906
8888
|
* Constructs a new GeolocationApi.
|
|
8907
8889
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8935,7 +8917,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8935
8917
|
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(){/**
|
|
8936
8918
|
* Greetings service.
|
|
8937
8919
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8938
|
-
* @version
|
|
8920
|
+
* @version 234.0.0
|
|
8939
8921
|
*//**
|
|
8940
8922
|
* Constructs a new GreetingsApi.
|
|
8941
8923
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9063,7 +9045,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9063
9045
|
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(){/**
|
|
9064
9046
|
* Groups service.
|
|
9065
9047
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9066
|
-
* @version
|
|
9048
|
+
* @version 234.0.0
|
|
9067
9049
|
*//**
|
|
9068
9050
|
* Constructs a new GroupsApi.
|
|
9069
9051
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9196,7 +9178,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9196
9178
|
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(){/**
|
|
9197
9179
|
* IdentityProvider service.
|
|
9198
9180
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9199
|
-
* @version
|
|
9181
|
+
* @version 234.0.0
|
|
9200
9182
|
*//**
|
|
9201
9183
|
* Constructs a new IdentityProviderApi.
|
|
9202
9184
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9352,7 +9334,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9352
9334
|
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(){/**
|
|
9353
9335
|
* InfrastructureAsCode service.
|
|
9354
9336
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9355
|
-
* @version
|
|
9337
|
+
* @version 234.0.0
|
|
9356
9338
|
*//**
|
|
9357
9339
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9358
9340
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9406,7 +9388,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9406
9388
|
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(){/**
|
|
9407
9389
|
* Integrations service.
|
|
9408
9390
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9409
|
-
* @version
|
|
9391
|
+
* @version 234.0.0
|
|
9410
9392
|
*//**
|
|
9411
9393
|
* Constructs a new IntegrationsApi.
|
|
9412
9394
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10096,7 +10078,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10096
10078
|
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(){/**
|
|
10097
10079
|
* Journey service.
|
|
10098
10080
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10099
|
-
* @version
|
|
10081
|
+
* @version 234.0.0
|
|
10100
10082
|
*//**
|
|
10101
10083
|
* Constructs a new JourneyApi.
|
|
10102
10084
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10605,7 +10587,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10605
10587
|
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(){/**
|
|
10606
10588
|
* Knowledge service.
|
|
10607
10589
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10608
|
-
* @version
|
|
10590
|
+
* @version 234.0.0
|
|
10609
10591
|
*//**
|
|
10610
10592
|
* Constructs a new KnowledgeApi.
|
|
10611
10593
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -10662,36 +10644,6 @@ if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing
|
|
|
10662
10644
|
*/},{key:"deleteKnowledgeKnowledgebaseLabel",value:function deleteKnowledgeKnowledgebaseLabel(knowledgeBaseId,labelId){// verify the required parameter 'knowledgeBaseId' is set
|
|
10663
10645
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
|
|
10664
10646
|
if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling deleteKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10665
|
-
* Delete category
|
|
10666
|
-
*
|
|
10667
|
-
* @param {String} categoryId Category ID
|
|
10668
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10669
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10670
|
-
* @deprecated
|
|
10671
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageCategory",value:function deleteKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
|
|
10672
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10673
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
10674
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','DELETE',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10675
|
-
* Delete document
|
|
10676
|
-
*
|
|
10677
|
-
* @param {String} documentId Document ID
|
|
10678
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10679
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10680
|
-
* @deprecated
|
|
10681
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageDocument",value:function deleteKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
|
|
10682
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10683
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
10684
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','DELETE',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10685
|
-
* Delete import operation
|
|
10686
|
-
*
|
|
10687
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10688
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10689
|
-
* @param {String} importId Import ID
|
|
10690
|
-
* @deprecated
|
|
10691
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageDocumentsImport",value:function deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
|
|
10692
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
10693
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
10694
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10695
10647
|
* Delete Salesforce Knowledge integration source
|
|
10696
10648
|
*
|
|
10697
10649
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -10938,104 +10890,6 @@ if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required
|
|
|
10938
10890
|
* @param {Boolean} opts.includeDocumentCount If specified, retrieves the number of documents related to label.
|
|
10939
10891
|
*/},{key:"getKnowledgeKnowledgebaseLabels",value:function getKnowledgeKnowledgebaseLabels(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
10940
10892
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'includeDocumentCount':opts['includeDocumentCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10941
|
-
* Get categories
|
|
10942
|
-
*
|
|
10943
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10944
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10945
|
-
* @param {Object} opts Optional parameters
|
|
10946
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10947
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10948
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
10949
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10950
|
-
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
10951
|
-
* @deprecated
|
|
10952
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageCategories",value:function getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
10953
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
|
|
10954
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10955
|
-
* Get category
|
|
10956
|
-
*
|
|
10957
|
-
* @param {String} categoryId Category ID
|
|
10958
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10959
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10960
|
-
* @deprecated
|
|
10961
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageCategory",value:function getKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
|
|
10962
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10963
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
10964
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','GET',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10965
|
-
* Get document
|
|
10966
|
-
*
|
|
10967
|
-
* @param {String} documentId Document ID
|
|
10968
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10969
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10970
|
-
* @deprecated
|
|
10971
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocument",value:function getKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
|
|
10972
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10973
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
10974
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10975
|
-
* Get document content upload status
|
|
10976
|
-
*
|
|
10977
|
-
* @param {String} documentId Document ID
|
|
10978
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10979
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10980
|
-
* @param {String} uploadId UploadId
|
|
10981
|
-
* @deprecated
|
|
10982
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
|
|
10983
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
|
|
10984
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
|
|
10985
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'uploadId' is set
|
|
10986
|
-
if(uploadId===undefined||uploadId===null||uploadId===''){throw'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10987
|
-
* Get documents
|
|
10988
|
-
*
|
|
10989
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
10990
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
10991
|
-
* @param {Object} opts Optional parameters
|
|
10992
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10993
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10994
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
10995
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10996
|
-
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
10997
|
-
* @param {String} opts.title Filter by document title.
|
|
10998
|
-
* @param {Object} opts.sortBy Sort by.
|
|
10999
|
-
* @param {Object} opts.sortOrder Sort Order.
|
|
11000
|
-
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
11001
|
-
* @deprecated
|
|
11002
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocuments",value:function getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
11003
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
11004
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'categories':opts['categories'],'title':opts['title'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'documentIds':this.apiClient.buildCollectionParam(opts['documentIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11005
|
-
* Get import operation report
|
|
11006
|
-
*
|
|
11007
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11008
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11009
|
-
* @param {String} importId Import ID
|
|
11010
|
-
* @deprecated
|
|
11011
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocumentsImport",value:function getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
|
|
11012
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
11013
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
11014
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11015
|
-
* Get training detail
|
|
11016
|
-
*
|
|
11017
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11018
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11019
|
-
* @param {String} trainingId Training ID
|
|
11020
|
-
* @deprecated
|
|
11021
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageTraining",value:function getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
|
|
11022
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'languageCode' is set
|
|
11023
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'trainingId' is set
|
|
11024
|
-
if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11025
|
-
* Get all trainings information for a knowledgebase
|
|
11026
|
-
*
|
|
11027
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11028
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11029
|
-
* @param {Object} opts Optional parameters
|
|
11030
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
11031
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11032
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
11033
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
11034
|
-
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
11035
|
-
* @deprecated
|
|
11036
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
11037
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
11038
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11039
10893
|
* Get operations
|
|
11040
10894
|
*
|
|
11041
10895
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -11234,52 +11088,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11234
11088
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
|
|
11235
11089
|
if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'body' is set
|
|
11236
11090
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11237
|
-
* Update category
|
|
11238
|
-
*
|
|
11239
|
-
* @param {String} categoryId Category ID
|
|
11240
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11241
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11242
|
-
* @param {Object} body
|
|
11243
|
-
* @deprecated
|
|
11244
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageCategory",value:function patchKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode,body){// verify the required parameter 'categoryId' is set
|
|
11245
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
11246
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
11247
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'body' is set
|
|
11248
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','PATCH',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11249
|
-
* Update document
|
|
11250
|
-
*
|
|
11251
|
-
* @param {String} documentId Document ID
|
|
11252
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11253
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11254
|
-
* @param {Object} body
|
|
11255
|
-
* @deprecated
|
|
11256
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocument",value:function patchKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
|
|
11257
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
11258
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
11259
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'body' is set
|
|
11260
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','PATCH',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11261
|
-
* Update documents collection
|
|
11262
|
-
*
|
|
11263
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11264
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11265
|
-
* @param {Array.<Object>} body
|
|
11266
|
-
* @deprecated
|
|
11267
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocuments",value:function patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11268
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
11269
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
|
|
11270
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11271
|
-
* Start import operation
|
|
11272
|
-
*
|
|
11273
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11274
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11275
|
-
* @param {String} importId Import ID
|
|
11276
|
-
* @param {Object} body
|
|
11277
|
-
* @deprecated
|
|
11278
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocumentsImport",value:function patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11279
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
11280
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
11281
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
|
|
11282
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11283
11091
|
* Send update to the parse operation
|
|
11284
11092
|
*
|
|
11285
11093
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -11520,66 +11328,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11520
11328
|
*/},{key:"postKnowledgeKnowledgebaseLabels",value:function postKnowledgeKnowledgebaseLabels(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11521
11329
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLabels';}// verify the required parameter 'body' is set
|
|
11522
11330
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11523
|
-
* Create new category
|
|
11524
|
-
*
|
|
11525
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11526
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11527
|
-
* @param {Object} body
|
|
11528
|
-
* @deprecated
|
|
11529
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageCategories",value:function postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11530
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
|
|
11531
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'body' is set
|
|
11532
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11533
|
-
* Upload Article Content
|
|
11534
|
-
*
|
|
11535
|
-
* @param {String} documentId Document ID
|
|
11536
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11537
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11538
|
-
* @param {Object} body
|
|
11539
|
-
* @deprecated
|
|
11540
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
|
|
11541
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
|
|
11542
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
|
|
11543
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'body' is set
|
|
11544
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads','POST',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11545
|
-
* Create document
|
|
11546
|
-
*
|
|
11547
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11548
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11549
|
-
* @param {Object} body
|
|
11550
|
-
* @deprecated
|
|
11551
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocuments",value:function postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11552
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
11553
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
|
|
11554
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11555
|
-
* Create import operation
|
|
11556
|
-
*
|
|
11557
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11558
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11559
|
-
* @param {Object} body
|
|
11560
|
-
* @deprecated
|
|
11561
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocumentsImports",value:function postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11562
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'languageCode' is set
|
|
11563
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'body' is set
|
|
11564
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11565
|
-
* Promote trained documents from draft state to active.
|
|
11566
|
-
*
|
|
11567
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11568
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11569
|
-
* @param {String} trainingId Training ID
|
|
11570
|
-
* @deprecated
|
|
11571
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainingPromote",value:function postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
|
|
11572
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'languageCode' is set
|
|
11573
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'trainingId' is set
|
|
11574
|
-
if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11575
|
-
* Trigger training
|
|
11576
|
-
*
|
|
11577
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11578
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
11579
|
-
* @deprecated
|
|
11580
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
|
|
11581
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
11582
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11583
11331
|
* Import the parsed articles
|
|
11584
11332
|
*
|
|
11585
11333
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -11596,14 +11344,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11596
11344
|
*/},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
11597
11345
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
|
|
11598
11346
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11599
|
-
* Search Documents
|
|
11600
|
-
*
|
|
11601
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11602
|
-
* @param {Object} opts Optional parameters
|
|
11603
|
-
* @param {Object} opts.body
|
|
11604
|
-
* @deprecated
|
|
11605
|
-
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
11606
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11607
11347
|
* Create Salesforce Knowledge integration source
|
|
11608
11348
|
*
|
|
11609
11349
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -11675,7 +11415,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11675
11415
|
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(){/**
|
|
11676
11416
|
* LanguageUnderstanding service.
|
|
11677
11417
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11678
|
-
* @version
|
|
11418
|
+
* @version 234.0.0
|
|
11679
11419
|
*//**
|
|
11680
11420
|
* Constructs a new LanguageUnderstandingApi.
|
|
11681
11421
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11984,7 +11724,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11984
11724
|
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(){/**
|
|
11985
11725
|
* Languages service.
|
|
11986
11726
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11987
|
-
* @version
|
|
11727
|
+
* @version 234.0.0
|
|
11988
11728
|
*//**
|
|
11989
11729
|
* Constructs a new LanguagesApi.
|
|
11990
11730
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -12039,7 +11779,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12039
11779
|
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(){/**
|
|
12040
11780
|
* Learning service.
|
|
12041
11781
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
12042
|
-
* @version
|
|
11782
|
+
* @version 234.0.0
|
|
12043
11783
|
*//**
|
|
12044
11784
|
* Constructs a new LearningApi.
|
|
12045
11785
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12312,7 +12052,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12312
12052
|
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(){/**
|
|
12313
12053
|
* License service.
|
|
12314
12054
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12315
|
-
* @version
|
|
12055
|
+
* @version 234.0.0
|
|
12316
12056
|
*//**
|
|
12317
12057
|
* Constructs a new LicenseApi.
|
|
12318
12058
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12366,7 +12106,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12366
12106
|
*/},{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(){/**
|
|
12367
12107
|
* Locations service.
|
|
12368
12108
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12369
|
-
* @version
|
|
12109
|
+
* @version 234.0.0
|
|
12370
12110
|
*//**
|
|
12371
12111
|
* Constructs a new LocationsApi.
|
|
12372
12112
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12425,7 +12165,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12425
12165
|
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(){/**
|
|
12426
12166
|
* LogCapture service.
|
|
12427
12167
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12428
|
-
* @version
|
|
12168
|
+
* @version 234.0.0
|
|
12429
12169
|
*//**
|
|
12430
12170
|
* Constructs a new LogCaptureApi.
|
|
12431
12171
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12474,7 +12214,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12474
12214
|
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(){/**
|
|
12475
12215
|
* Messaging service.
|
|
12476
12216
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12477
|
-
* @version
|
|
12217
|
+
* @version 234.0.0
|
|
12478
12218
|
*//**
|
|
12479
12219
|
* Constructs a new MessagingApi.
|
|
12480
12220
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12564,7 +12304,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12564
12304
|
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(){/**
|
|
12565
12305
|
* MobileDevices service.
|
|
12566
12306
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12567
|
-
* @version
|
|
12307
|
+
* @version 234.0.0
|
|
12568
12308
|
*//**
|
|
12569
12309
|
* Constructs a new MobileDevicesApi.
|
|
12570
12310
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12603,7 +12343,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12603
12343
|
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(){/**
|
|
12604
12344
|
* Notifications service.
|
|
12605
12345
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12606
|
-
* @version
|
|
12346
|
+
* @version 234.0.0
|
|
12607
12347
|
*//**
|
|
12608
12348
|
* Constructs a new NotificationsApi.
|
|
12609
12349
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12660,7 +12400,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12660
12400
|
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(){/**
|
|
12661
12401
|
* OAuth service.
|
|
12662
12402
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12663
|
-
* @version
|
|
12403
|
+
* @version 234.0.0
|
|
12664
12404
|
*//**
|
|
12665
12405
|
* Constructs a new OAuthApi.
|
|
12666
12406
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12745,7 +12485,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12745
12485
|
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(){/**
|
|
12746
12486
|
* Objects service.
|
|
12747
12487
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12748
|
-
* @version
|
|
12488
|
+
* @version 234.0.0
|
|
12749
12489
|
*//**
|
|
12750
12490
|
* Constructs a new ObjectsApi.
|
|
12751
12491
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12831,7 +12571,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12831
12571
|
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(){/**
|
|
12832
12572
|
* OperationalEvents service.
|
|
12833
12573
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12834
|
-
* @version
|
|
12574
|
+
* @version 234.0.0
|
|
12835
12575
|
*//**
|
|
12836
12576
|
* Constructs a new OperationalEventsApi.
|
|
12837
12577
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12862,7 +12602,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12862
12602
|
*/},{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(){/**
|
|
12863
12603
|
* Organization service.
|
|
12864
12604
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12865
|
-
* @version
|
|
12605
|
+
* @version 234.0.0
|
|
12866
12606
|
*//**
|
|
12867
12607
|
* Constructs a new OrganizationApi.
|
|
12868
12608
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12967,7 +12707,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12967
12707
|
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(){/**
|
|
12968
12708
|
* OrganizationAuthorization service.
|
|
12969
12709
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12970
|
-
* @version
|
|
12710
|
+
* @version 234.0.0
|
|
12971
12711
|
*//**
|
|
12972
12712
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12973
12713
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13301,7 +13041,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13301
13041
|
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(){/**
|
|
13302
13042
|
* Outbound service.
|
|
13303
13043
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13304
|
-
* @version
|
|
13044
|
+
* @version 234.0.0
|
|
13305
13045
|
*//**
|
|
13306
13046
|
* Constructs a new OutboundApi.
|
|
13307
13047
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14113,6 +13853,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14113
13853
|
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
14114
13854
|
*/},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
14115
13855
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13856
|
+
* Get performance data for a list of campaigns
|
|
13857
|
+
*
|
|
13858
|
+
* @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
|
|
13859
|
+
*/},{key:"postOutboundCampaignsPerformanceQuery",value:function postOutboundCampaignsPerformanceQuery(body){// verify the required parameter 'body' is set
|
|
13860
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';}return this.apiClient.callApi('/api/v2/outbound/campaigns/performance/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14116
13861
|
* Get progress for a list of campaigns
|
|
14117
13862
|
*
|
|
14118
13863
|
* @param {Array.<String>} body Campaign IDs
|
|
@@ -14452,7 +14197,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14452
14197
|
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(){/**
|
|
14453
14198
|
* Presence service.
|
|
14454
14199
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14455
|
-
* @version
|
|
14200
|
+
* @version 234.0.0
|
|
14456
14201
|
*//**
|
|
14457
14202
|
* Constructs a new PresenceApi.
|
|
14458
14203
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14625,7 +14370,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14625
14370
|
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(){/**
|
|
14626
14371
|
* ProcessAutomation service.
|
|
14627
14372
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14628
|
-
* @version
|
|
14373
|
+
* @version 234.0.0
|
|
14629
14374
|
*//**
|
|
14630
14375
|
* Constructs a new ProcessAutomationApi.
|
|
14631
14376
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14688,7 +14433,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14688
14433
|
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(){/**
|
|
14689
14434
|
* Quality service.
|
|
14690
14435
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14691
|
-
* @version
|
|
14436
|
+
* @version 234.0.0
|
|
14692
14437
|
*//**
|
|
14693
14438
|
* Constructs a new QualityApi.
|
|
14694
14439
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15206,7 +14951,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15206
14951
|
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(){/**
|
|
15207
14952
|
* Recording service.
|
|
15208
14953
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15209
|
-
* @version
|
|
14954
|
+
* @version 234.0.0
|
|
15210
14955
|
*//**
|
|
15211
14956
|
* Constructs a new RecordingApi.
|
|
15212
14957
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15605,7 +15350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15605
15350
|
*/},{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(){/**
|
|
15606
15351
|
* ResponseManagement service.
|
|
15607
15352
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15608
|
-
* @version
|
|
15353
|
+
* @version 234.0.0
|
|
15609
15354
|
*//**
|
|
15610
15355
|
* Constructs a new ResponseManagementApi.
|
|
15611
15356
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15726,7 +15471,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15726
15471
|
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(){/**
|
|
15727
15472
|
* Routing service.
|
|
15728
15473
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15729
|
-
* @version
|
|
15474
|
+
* @version 234.0.0
|
|
15730
15475
|
*//**
|
|
15731
15476
|
* Constructs a new RoutingApi.
|
|
15732
15477
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15905,6 +15650,16 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15905
15650
|
* @param {Object} opts.expand Expand options. Valid values: settings
|
|
15906
15651
|
*/},{key:"getRoutingEmailDomain",value:function getRoutingEmailDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
15907
15652
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}','GET',{'domainId':domainId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15653
|
+
* Get domain dkim settings
|
|
15654
|
+
*
|
|
15655
|
+
* @param {String} domainId domain ID
|
|
15656
|
+
*/},{key:"getRoutingEmailDomainDkim",value:function getRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
|
|
15657
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15658
|
+
* Get domain mail from settings
|
|
15659
|
+
*
|
|
15660
|
+
* @param {String} domainId domain ID
|
|
15661
|
+
*/},{key:"getRoutingEmailDomainMailfrom",value:function getRoutingEmailDomainMailfrom(domainId){// verify the required parameter 'domainId' is set
|
|
15662
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15908
15663
|
* Get a route
|
|
15909
15664
|
*
|
|
15910
15665
|
* @param {String} domainName email domain
|
|
@@ -15931,6 +15686,11 @@ if(routeId===undefined||routeId===null||routeId===''){throw'Missing the required
|
|
|
15931
15686
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
15932
15687
|
*/},{key:"getRoutingEmailDomainRoutes",value:function getRoutingEmailDomainRoutes(domainName,opts){opts=opts||{};// verify the required parameter 'domainName' is set
|
|
15933
15688
|
if(domainName===undefined||domainName===null||domainName===''){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes','GET',{'domainName':domainName},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'pattern':opts['pattern'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15689
|
+
* Get domain verification settings
|
|
15690
|
+
*
|
|
15691
|
+
* @param {String} domainId domain ID
|
|
15692
|
+
*/},{key:"getRoutingEmailDomainVerification",value:function getRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
|
|
15693
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15934
15694
|
* Get domains
|
|
15935
15695
|
*
|
|
15936
15696
|
* @param {Object} opts Optional parameters
|
|
@@ -16530,6 +16290,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16530
16290
|
* @param {Object} opts Optional parameters
|
|
16531
16291
|
* @param {Object} opts.body
|
|
16532
16292
|
*/},{key:"postRoutingAssessmentsJobs",value:function postRoutingAssessmentsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/assessments/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16293
|
+
* Restart domain dkim
|
|
16294
|
+
*
|
|
16295
|
+
* @param {String} domainId domain ID
|
|
16296
|
+
*/},{key:"postRoutingEmailDomainDkim",value:function postRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
|
|
16297
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16298
|
+
* Set domain mail from settings
|
|
16299
|
+
*
|
|
16300
|
+
* @param {String} domainId domain ID
|
|
16301
|
+
* @param {Object} body Mail From Settings
|
|
16302
|
+
*/},{key:"postRoutingEmailDomainMailfrom",value:function postRoutingEmailDomainMailfrom(domainId,body){// verify the required parameter 'domainId' is set
|
|
16303
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';}// verify the required parameter 'body' is set
|
|
16304
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','POST',{'domainId':domainId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16533
16305
|
* Create a route
|
|
16534
16306
|
*
|
|
16535
16307
|
* @param {String} domainName email domain
|
|
@@ -16544,6 +16316,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16544
16316
|
* @param {Object} opts.body TestMessage
|
|
16545
16317
|
*/},{key:"postRoutingEmailDomainTestconnection",value:function postRoutingEmailDomainTestconnection(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
16546
16318
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/testconnection','POST',{'domainId':domainId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16319
|
+
* Restart domain verification
|
|
16320
|
+
*
|
|
16321
|
+
* @param {String} domainId domain ID
|
|
16322
|
+
*/},{key:"postRoutingEmailDomainVerification",value:function postRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
|
|
16323
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16547
16324
|
* Create a domain
|
|
16548
16325
|
*
|
|
16549
16326
|
* @param {Object} body Domain
|
|
@@ -16785,7 +16562,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16785
16562
|
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(){/**
|
|
16786
16563
|
* SCIM service.
|
|
16787
16564
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16788
|
-
* @version
|
|
16565
|
+
* @version 234.0.0
|
|
16789
16566
|
*//**
|
|
16790
16567
|
* Constructs a new SCIMApi.
|
|
16791
16568
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -17010,7 +16787,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17010
16787
|
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(){/**
|
|
17011
16788
|
* ScreenRecording service.
|
|
17012
16789
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
17013
|
-
* @version
|
|
16790
|
+
* @version 234.0.0
|
|
17014
16791
|
*//**
|
|
17015
16792
|
* Constructs a new ScreenRecordingApi.
|
|
17016
16793
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -17025,7 +16802,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17025
16802
|
*/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(){/**
|
|
17026
16803
|
* Scripts service.
|
|
17027
16804
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
17028
|
-
* @version
|
|
16805
|
+
* @version 234.0.0
|
|
17029
16806
|
*//**
|
|
17030
16807
|
* Constructs a new ScriptsApi.
|
|
17031
16808
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17171,7 +16948,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17171
16948
|
*/},{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(){/**
|
|
17172
16949
|
* Search service.
|
|
17173
16950
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17174
|
-
* @version
|
|
16951
|
+
* @version 234.0.0
|
|
17175
16952
|
*//**
|
|
17176
16953
|
* Constructs a new SearchApi.
|
|
17177
16954
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17267,14 +17044,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17267
17044
|
* @param {Object} body Search request options
|
|
17268
17045
|
*/},{key:"postGroupsSearch",value:function postGroupsSearch(body){// verify the required parameter 'body' is set
|
|
17269
17046
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGroupsSearch';}return this.apiClient.callApi('/api/v2/groups/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17270
|
-
* Search Documents
|
|
17271
|
-
*
|
|
17272
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17273
|
-
* @param {Object} opts Optional parameters
|
|
17274
|
-
* @param {Object} opts.body
|
|
17275
|
-
* @deprecated
|
|
17276
|
-
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
17277
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17278
17047
|
* Search locations
|
|
17279
17048
|
*
|
|
17280
17049
|
* @param {Object} body Search request options
|
|
@@ -17338,7 +17107,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17338
17107
|
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(){/**
|
|
17339
17108
|
* Settings service.
|
|
17340
17109
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17341
|
-
* @version
|
|
17110
|
+
* @version 234.0.0
|
|
17342
17111
|
*//**
|
|
17343
17112
|
* Constructs a new SettingsApi.
|
|
17344
17113
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17410,7 +17179,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17410
17179
|
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(){/**
|
|
17411
17180
|
* SocialMedia service.
|
|
17412
17181
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17413
|
-
* @version
|
|
17182
|
+
* @version 234.0.0
|
|
17414
17183
|
*//**
|
|
17415
17184
|
* Constructs a new SocialMediaApi.
|
|
17416
17185
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17499,8 +17268,10 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
17499
17268
|
* Get a single escalation rule.
|
|
17500
17269
|
*
|
|
17501
17270
|
* @param {String} escalationRuleId escalationRuleId
|
|
17502
|
-
|
|
17503
|
-
|
|
17271
|
+
* @param {Object} opts Optional parameters
|
|
17272
|
+
* @param {Object} opts.expand which fields, if any, to expand
|
|
17273
|
+
*/},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
|
|
17274
|
+
if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId===''){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17504
17275
|
* Retrieve all escalation rules for a division.
|
|
17505
17276
|
*
|
|
17506
17277
|
* @param {String} divisionId One division ID
|
|
@@ -17823,7 +17594,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17823
17594
|
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(){/**
|
|
17824
17595
|
* SpeechTextAnalytics service.
|
|
17825
17596
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17826
|
-
* @version
|
|
17597
|
+
* @version 234.0.0
|
|
17827
17598
|
*//**
|
|
17828
17599
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17829
17600
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18193,7 +17964,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18193
17964
|
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(){/**
|
|
18194
17965
|
* Stations service.
|
|
18195
17966
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18196
|
-
* @version
|
|
17967
|
+
* @version 234.0.0
|
|
18197
17968
|
*//**
|
|
18198
17969
|
* Constructs a new StationsApi.
|
|
18199
17970
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18225,7 +17996,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18225
17996
|
*/},{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(){/**
|
|
18226
17997
|
* Suggest service.
|
|
18227
17998
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18228
|
-
* @version
|
|
17999
|
+
* @version 234.0.0
|
|
18229
18000
|
*//**
|
|
18230
18001
|
* Constructs a new SuggestApi.
|
|
18231
18002
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18265,7 +18036,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18265
18036
|
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(){/**
|
|
18266
18037
|
* TaskManagement service.
|
|
18267
18038
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18268
|
-
* @version
|
|
18039
|
+
* @version 234.0.0
|
|
18269
18040
|
*//**
|
|
18270
18041
|
* Constructs a new TaskManagementApi.
|
|
18271
18042
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18773,7 +18544,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18773
18544
|
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(){/**
|
|
18774
18545
|
* Teams service.
|
|
18775
18546
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18776
|
-
* @version
|
|
18547
|
+
* @version 234.0.0
|
|
18777
18548
|
*//**
|
|
18778
18549
|
* Constructs a new TeamsApi.
|
|
18779
18550
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18853,7 +18624,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18853
18624
|
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(){/**
|
|
18854
18625
|
* Telephony service.
|
|
18855
18626
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18856
|
-
* @version
|
|
18627
|
+
* @version 234.0.0
|
|
18857
18628
|
*//**
|
|
18858
18629
|
* Constructs a new TelephonyApi.
|
|
18859
18630
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18924,7 +18695,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18924
18695
|
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(){/**
|
|
18925
18696
|
* TelephonyProvidersEdge service.
|
|
18926
18697
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18927
|
-
* @version
|
|
18698
|
+
* @version 234.0.0
|
|
18928
18699
|
*//**
|
|
18929
18700
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18930
18701
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19772,7 +19543,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19772
19543
|
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(){/**
|
|
19773
19544
|
* Textbots service.
|
|
19774
19545
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19775
|
-
* @version
|
|
19546
|
+
* @version 234.0.0
|
|
19776
19547
|
*//**
|
|
19777
19548
|
* Constructs a new TextbotsApi.
|
|
19778
19549
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19808,7 +19579,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19808
19579
|
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(){/**
|
|
19809
19580
|
* Tokens service.
|
|
19810
19581
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19811
|
-
* @version
|
|
19582
|
+
* @version 234.0.0
|
|
19812
19583
|
*//**
|
|
19813
19584
|
* Constructs a new TokensApi.
|
|
19814
19585
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19842,7 +19613,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19842
19613
|
*/},{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(){/**
|
|
19843
19614
|
* Uploads service.
|
|
19844
19615
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19845
|
-
* @version
|
|
19616
|
+
* @version 234.0.0
|
|
19846
19617
|
*//**
|
|
19847
19618
|
* Constructs a new UploadsApi.
|
|
19848
19619
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19910,7 +19681,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19910
19681
|
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(){/**
|
|
19911
19682
|
* Usage service.
|
|
19912
19683
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19913
|
-
* @version
|
|
19684
|
+
* @version 234.0.0
|
|
19914
19685
|
*//**
|
|
19915
19686
|
* Constructs a new UsageApi.
|
|
19916
19687
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19994,7 +19765,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19994
19765
|
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(){/**
|
|
19995
19766
|
* UserRecordings service.
|
|
19996
19767
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19997
|
-
* @version
|
|
19768
|
+
* @version 234.0.0
|
|
19998
19769
|
*//**
|
|
19999
19770
|
* Constructs a new UserRecordingsApi.
|
|
20000
19771
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20042,7 +19813,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
20042
19813
|
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(){/**
|
|
20043
19814
|
* Users service.
|
|
20044
19815
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20045
|
-
* @version
|
|
19816
|
+
* @version 234.0.0
|
|
20046
19817
|
*//**
|
|
20047
19818
|
* Constructs a new UsersApi.
|
|
20048
19819
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20786,7 +20557,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20786
20557
|
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(){/**
|
|
20787
20558
|
* Utilities service.
|
|
20788
20559
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20789
|
-
* @version
|
|
20560
|
+
* @version 234.0.0
|
|
20790
20561
|
*//**
|
|
20791
20562
|
* Constructs a new UtilitiesApi.
|
|
20792
20563
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20813,7 +20584,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20813
20584
|
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(){/**
|
|
20814
20585
|
* Voicemail service.
|
|
20815
20586
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20816
|
-
* @version
|
|
20587
|
+
* @version 234.0.0
|
|
20817
20588
|
*//**
|
|
20818
20589
|
* Constructs a new VoicemailApi.
|
|
20819
20590
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20975,7 +20746,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20975
20746
|
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(){/**
|
|
20976
20747
|
* WebChat service.
|
|
20977
20748
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20978
|
-
* @version
|
|
20749
|
+
* @version 234.0.0
|
|
20979
20750
|
*//**
|
|
20980
20751
|
* Constructs a new WebChatApi.
|
|
20981
20752
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21122,7 +20893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21122
20893
|
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(){/**
|
|
21123
20894
|
* WebDeployments service.
|
|
21124
20895
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21125
|
-
* @version
|
|
20896
|
+
* @version 234.0.0
|
|
21126
20897
|
*//**
|
|
21127
20898
|
* Constructs a new WebDeploymentsApi.
|
|
21128
20899
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21222,7 +20993,7 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
|
|
|
21222
20993
|
* @param {Object} deployment
|
|
21223
20994
|
*/},{key:"postWebdeploymentsDeployments",value:function postWebdeploymentsDeployments(deployment){// verify the required parameter 'deployment' is set
|
|
21224
20995
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling postWebdeploymentsDeployments';}return this.apiClient.callApi('/api/v2/webdeployments/deployments','POST',{},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21225
|
-
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
20996
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow or Implicit flow) for a JWT that can be used by webdeployments.
|
|
21226
20997
|
*
|
|
21227
20998
|
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
21228
20999
|
*/},{key:"postWebdeploymentsTokenOauthcodegrantjwtexchange",value:function postWebdeploymentsTokenOauthcodegrantjwtexchange(body){// verify the required parameter 'body' is set
|
|
@@ -21255,7 +21026,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21255
21026
|
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(){/**
|
|
21256
21027
|
* WebMessaging service.
|
|
21257
21028
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21258
|
-
* @version
|
|
21029
|
+
* @version 234.0.0
|
|
21259
21030
|
*//**
|
|
21260
21031
|
* Constructs a new WebMessagingApi.
|
|
21261
21032
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21296,7 +21067,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
21296
21067
|
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(){/**
|
|
21297
21068
|
* Widgets service.
|
|
21298
21069
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21299
|
-
* @version
|
|
21070
|
+
* @version 234.0.0
|
|
21300
21071
|
*//**
|
|
21301
21072
|
* Constructs a new WidgetsApi.
|
|
21302
21073
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21336,7 +21107,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21336
21107
|
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(){/**
|
|
21337
21108
|
* WorkforceManagement service.
|
|
21338
21109
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21339
|
-
* @version
|
|
21110
|
+
* @version 234.0.0
|
|
21340
21111
|
*//**
|
|
21341
21112
|
* Constructs a new WorkforceManagementApi.
|
|
21342
21113
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23296,7 +23067,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23296
23067
|
* </pre>
|
|
23297
23068
|
* </p>
|
|
23298
23069
|
* @module purecloud-platform-client-v2/index
|
|
23299
|
-
* @version
|
|
23070
|
+
* @version 234.0.0
|
|
23300
23071
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23301
23072
|
* The ApiClient constructor.
|
|
23302
23073
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|