purecloud-platform-client-v2 235.0.0 → 236.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +122 -86
- package/dist/web-amd/purecloud-platform-client-v2.js +122 -86
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +97 -86
- package/dist/web-cjs/purecloud-platform-client-v2.js +97 -86
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +845 -753
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +37 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -953,7 +953,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
953
953
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
954
954
|
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];}}}]);}();/**
|
|
955
955
|
* @module purecloud-platform-client-v2/ApiClient
|
|
956
|
-
* @version
|
|
956
|
+
* @version 236.0.0
|
|
957
957
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
958
958
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
959
959
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1309,7 +1309,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1309
1309
|
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(){/**
|
|
1310
1310
|
* AIStudio service.
|
|
1311
1311
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1312
|
-
* @version
|
|
1312
|
+
* @version 236.0.0
|
|
1313
1313
|
*//**
|
|
1314
1314
|
* Constructs a new AIStudioApi.
|
|
1315
1315
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1460,7 +1460,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1460
1460
|
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(){/**
|
|
1461
1461
|
* AgentAssistants service.
|
|
1462
1462
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1463
|
-
* @version
|
|
1463
|
+
* @version 236.0.0
|
|
1464
1464
|
*//**
|
|
1465
1465
|
* Constructs a new AgentAssistantsApi.
|
|
1466
1466
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1591,7 +1591,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
1591
1591
|
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(){/**
|
|
1592
1592
|
* AgentCopilot service.
|
|
1593
1593
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1594
|
-
* @version
|
|
1594
|
+
* @version 236.0.0
|
|
1595
1595
|
*//**
|
|
1596
1596
|
* Constructs a new AgentCopilotApi.
|
|
1597
1597
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1618,7 +1618,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1618
1618
|
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(){/**
|
|
1619
1619
|
* AgentUI service.
|
|
1620
1620
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1621
|
-
* @version
|
|
1621
|
+
* @version 236.0.0
|
|
1622
1622
|
*//**
|
|
1623
1623
|
* Constructs a new AgentUIApi.
|
|
1624
1624
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1652,7 +1652,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1652
1652
|
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(){/**
|
|
1653
1653
|
* Alerting service.
|
|
1654
1654
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1655
|
-
* @version
|
|
1655
|
+
* @version 236.0.0
|
|
1656
1656
|
*//**
|
|
1657
1657
|
* Constructs a new AlertingApi.
|
|
1658
1658
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1741,7 +1741,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1741
1741
|
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(){/**
|
|
1742
1742
|
* Analytics service.
|
|
1743
1743
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1744
|
-
* @version
|
|
1744
|
+
* @version 236.0.0
|
|
1745
1745
|
*//**
|
|
1746
1746
|
* Constructs a new AnalyticsApi.
|
|
1747
1747
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2517,7 +2517,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2517
2517
|
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(){/**
|
|
2518
2518
|
* Architect service.
|
|
2519
2519
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2520
|
-
* @version
|
|
2520
|
+
* @version 236.0.0
|
|
2521
2521
|
*//**
|
|
2522
2522
|
* Constructs a new ArchitectApi.
|
|
2523
2523
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3651,7 +3651,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3651
3651
|
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(){/**
|
|
3652
3652
|
* Audit service.
|
|
3653
3653
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3654
|
-
* @version
|
|
3654
|
+
* @version 236.0.0
|
|
3655
3655
|
*//**
|
|
3656
3656
|
* Constructs a new AuditApi.
|
|
3657
3657
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3701,7 +3701,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3701
3701
|
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(){/**
|
|
3702
3702
|
* Authorization service.
|
|
3703
3703
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3704
|
-
* @version
|
|
3704
|
+
* @version 236.0.0
|
|
3705
3705
|
*//**
|
|
3706
3706
|
* Constructs a new AuthorizationApi.
|
|
3707
3707
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3783,7 +3783,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
3783
3783
|
* @param {Object} opts Optional parameters
|
|
3784
3784
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
3785
3785
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
3786
|
-
* @param {String} opts.pageSize
|
|
3786
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
3787
3787
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
3788
3788
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
3789
3789
|
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4136,7 +4136,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4136
4136
|
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(){/**
|
|
4137
4137
|
* Billing service.
|
|
4138
4138
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4139
|
-
* @version
|
|
4139
|
+
* @version 236.0.0
|
|
4140
4140
|
*//**
|
|
4141
4141
|
* Constructs a new BillingApi.
|
|
4142
4142
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4213,7 +4213,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4213
4213
|
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(){/**
|
|
4214
4214
|
* BusinessRules service.
|
|
4215
4215
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4216
|
-
* @version
|
|
4216
|
+
* @version 236.0.0
|
|
4217
4217
|
*//**
|
|
4218
4218
|
* Constructs a new BusinessRulesApi.
|
|
4219
4219
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4434,7 +4434,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4434
4434
|
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(){/**
|
|
4435
4435
|
* CarrierServices service.
|
|
4436
4436
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4437
|
-
* @version
|
|
4437
|
+
* @version 236.0.0
|
|
4438
4438
|
*//**
|
|
4439
4439
|
* Constructs a new CarrierServicesApi.
|
|
4440
4440
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4454,7 +4454,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4454
4454
|
*/},{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(){/**
|
|
4455
4455
|
* Chat service.
|
|
4456
4456
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4457
|
-
* @version
|
|
4457
|
+
* @version 236.0.0
|
|
4458
4458
|
*//**
|
|
4459
4459
|
* Constructs a new ChatApi.
|
|
4460
4460
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4685,7 +4685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4685
4685
|
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(){/**
|
|
4686
4686
|
* Coaching service.
|
|
4687
4687
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4688
|
-
* @version
|
|
4688
|
+
* @version 236.0.0
|
|
4689
4689
|
*//**
|
|
4690
4690
|
* Constructs a new CoachingApi.
|
|
4691
4691
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4848,7 +4848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4848
4848
|
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(){/**
|
|
4849
4849
|
* ContentManagement service.
|
|
4850
4850
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4851
|
-
* @version
|
|
4851
|
+
* @version 236.0.0
|
|
4852
4852
|
*//**
|
|
4853
4853
|
* Constructs a new ContentManagementApi.
|
|
4854
4854
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5130,7 +5130,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5130
5130
|
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(){/**
|
|
5131
5131
|
* Conversations service.
|
|
5132
5132
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5133
|
-
* @version
|
|
5133
|
+
* @version 236.0.0
|
|
5134
5134
|
*//**
|
|
5135
5135
|
* Constructs a new ConversationsApi.
|
|
5136
5136
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5617,6 +5617,17 @@ if(keyconfigurationsId===undefined||keyconfigurationsId===null||keyconfiguration
|
|
|
5617
5617
|
* @param {String} conversationId conversationId
|
|
5618
5618
|
*/},{key:"getConversationsMessage",value:function getConversationsMessage(conversationId){// verify the required parameter 'conversationId' is set
|
|
5619
5619
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5620
|
+
* Get message media list by status
|
|
5621
|
+
*
|
|
5622
|
+
* @param {String} conversationId conversationId
|
|
5623
|
+
* @param {String} communicationId communicationId
|
|
5624
|
+
* @param {Object} opts Optional parameters
|
|
5625
|
+
* @param {Object} opts.status The status on which to filter the response.
|
|
5626
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
5627
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
5628
|
+
*/},{key:"getConversationsMessageCommunicationMessagesMedia",value:function getConversationsMessageCommunicationMessagesMedia(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5629
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
5630
|
+
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5620
5631
|
* Get media
|
|
5621
5632
|
* See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
|
|
5622
5633
|
* @param {String} conversationId conversationId
|
|
@@ -7222,7 +7233,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7222
7233
|
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(){/**
|
|
7223
7234
|
* DataExtensions service.
|
|
7224
7235
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7225
|
-
* @version
|
|
7236
|
+
* @version 236.0.0
|
|
7226
7237
|
*//**
|
|
7227
7238
|
* Constructs a new DataExtensionsApi.
|
|
7228
7239
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7243,7 +7254,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7243
7254
|
*/},{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(){/**
|
|
7244
7255
|
* DataPrivacy service.
|
|
7245
7256
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7246
|
-
* @version
|
|
7257
|
+
* @version 236.0.0
|
|
7247
7258
|
*//**
|
|
7248
7259
|
* Constructs a new DataPrivacyApi.
|
|
7249
7260
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7283,7 +7294,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7283
7294
|
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(){/**
|
|
7284
7295
|
* Downloads service.
|
|
7285
7296
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7286
|
-
* @version
|
|
7297
|
+
* @version 236.0.0
|
|
7287
7298
|
*//**
|
|
7288
7299
|
* Constructs a new DownloadsApi.
|
|
7289
7300
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7302,7 +7313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7302
7313
|
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(){/**
|
|
7303
7314
|
* Emails service.
|
|
7304
7315
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7305
|
-
* @version
|
|
7316
|
+
* @version 236.0.0
|
|
7306
7317
|
*//**
|
|
7307
7318
|
* Constructs a new EmailsApi.
|
|
7308
7319
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7331,7 +7342,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7331
7342
|
*/},{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(){/**
|
|
7332
7343
|
* EmployeeEngagement service.
|
|
7333
7344
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7334
|
-
* @version
|
|
7345
|
+
* @version 236.0.0
|
|
7335
7346
|
*//**
|
|
7336
7347
|
* Constructs a new EmployeeEngagementApi.
|
|
7337
7348
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7369,7 +7380,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7369
7380
|
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(){/**
|
|
7370
7381
|
* Events service.
|
|
7371
7382
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7372
|
-
* @version
|
|
7383
|
+
* @version 236.0.0
|
|
7373
7384
|
*//**
|
|
7374
7385
|
* Constructs a new EventsApi.
|
|
7375
7386
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7394,7 +7405,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7394
7405
|
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(){/**
|
|
7395
7406
|
* ExternalContacts service.
|
|
7396
7407
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7397
|
-
* @version
|
|
7408
|
+
* @version 236.0.0
|
|
7398
7409
|
*//**
|
|
7399
7410
|
* Constructs a new ExternalContactsApi.
|
|
7400
7411
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8144,7 +8155,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8144
8155
|
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(){/**
|
|
8145
8156
|
* Fax service.
|
|
8146
8157
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8147
|
-
* @version
|
|
8158
|
+
* @version 236.0.0
|
|
8148
8159
|
*//**
|
|
8149
8160
|
* Constructs a new FaxApi.
|
|
8150
8161
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8193,7 +8204,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8193
8204
|
*/},{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(){/**
|
|
8194
8205
|
* Flows service.
|
|
8195
8206
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8196
|
-
* @version
|
|
8207
|
+
* @version 236.0.0
|
|
8197
8208
|
*//**
|
|
8198
8209
|
* Constructs a new FlowsApi.
|
|
8199
8210
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8247,7 +8258,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8247
8258
|
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(){/**
|
|
8248
8259
|
* Gamification service.
|
|
8249
8260
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8250
|
-
* @version
|
|
8261
|
+
* @version 236.0.0
|
|
8251
8262
|
*//**
|
|
8252
8263
|
* Constructs a new GamificationApi.
|
|
8253
8264
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8918,7 +8929,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8918
8929
|
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(){/**
|
|
8919
8930
|
* GeneralDataProtectionRegulation service.
|
|
8920
8931
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8921
|
-
* @version
|
|
8932
|
+
* @version 236.0.0
|
|
8922
8933
|
*//**
|
|
8923
8934
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8924
8935
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8953,7 +8964,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8953
8964
|
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(){/**
|
|
8954
8965
|
* Geolocation service.
|
|
8955
8966
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8956
|
-
* @version
|
|
8967
|
+
* @version 236.0.0
|
|
8957
8968
|
*//**
|
|
8958
8969
|
* Constructs a new GeolocationApi.
|
|
8959
8970
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8987,7 +8998,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8987
8998
|
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(){/**
|
|
8988
8999
|
* Greetings service.
|
|
8989
9000
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8990
|
-
* @version
|
|
9001
|
+
* @version 236.0.0
|
|
8991
9002
|
*//**
|
|
8992
9003
|
* Constructs a new GreetingsApi.
|
|
8993
9004
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9115,7 +9126,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9115
9126
|
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(){/**
|
|
9116
9127
|
* Groups service.
|
|
9117
9128
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9118
|
-
* @version
|
|
9129
|
+
* @version 236.0.0
|
|
9119
9130
|
*//**
|
|
9120
9131
|
* Constructs a new GroupsApi.
|
|
9121
9132
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9248,7 +9259,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9248
9259
|
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(){/**
|
|
9249
9260
|
* IdentityProvider service.
|
|
9250
9261
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9251
|
-
* @version
|
|
9262
|
+
* @version 236.0.0
|
|
9252
9263
|
*//**
|
|
9253
9264
|
* Constructs a new IdentityProviderApi.
|
|
9254
9265
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9404,7 +9415,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9404
9415
|
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(){/**
|
|
9405
9416
|
* InfrastructureAsCode service.
|
|
9406
9417
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9407
|
-
* @version
|
|
9418
|
+
* @version 236.0.0
|
|
9408
9419
|
*//**
|
|
9409
9420
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9410
9421
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9458,7 +9469,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9458
9469
|
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(){/**
|
|
9459
9470
|
* Integrations service.
|
|
9460
9471
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9461
|
-
* @version
|
|
9472
|
+
* @version 236.0.0
|
|
9462
9473
|
*//**
|
|
9463
9474
|
* Constructs a new IntegrationsApi.
|
|
9464
9475
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10148,7 +10159,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10148
10159
|
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(){/**
|
|
10149
10160
|
* Journey service.
|
|
10150
10161
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10151
|
-
* @version
|
|
10162
|
+
* @version 236.0.0
|
|
10152
10163
|
*//**
|
|
10153
10164
|
* Constructs a new JourneyApi.
|
|
10154
10165
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10657,7 +10668,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10657
10668
|
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(){/**
|
|
10658
10669
|
* Knowledge service.
|
|
10659
10670
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10660
|
-
* @version
|
|
10671
|
+
* @version 236.0.0
|
|
10661
10672
|
*//**
|
|
10662
10673
|
* Constructs a new KnowledgeApi.
|
|
10663
10674
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11485,7 +11496,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11485
11496
|
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(){/**
|
|
11486
11497
|
* LanguageUnderstanding service.
|
|
11487
11498
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11488
|
-
* @version
|
|
11499
|
+
* @version 236.0.0
|
|
11489
11500
|
*//**
|
|
11490
11501
|
* Constructs a new LanguageUnderstandingApi.
|
|
11491
11502
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11794,7 +11805,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11794
11805
|
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(){/**
|
|
11795
11806
|
* Languages service.
|
|
11796
11807
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11797
|
-
* @version
|
|
11808
|
+
* @version 236.0.0
|
|
11798
11809
|
*//**
|
|
11799
11810
|
* Constructs a new LanguagesApi.
|
|
11800
11811
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -11849,7 +11860,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
11849
11860
|
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(){/**
|
|
11850
11861
|
* Learning service.
|
|
11851
11862
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
11852
|
-
* @version
|
|
11863
|
+
* @version 236.0.0
|
|
11853
11864
|
*//**
|
|
11854
11865
|
* Constructs a new LearningApi.
|
|
11855
11866
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12132,7 +12143,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12132
12143
|
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(){/**
|
|
12133
12144
|
* License service.
|
|
12134
12145
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12135
|
-
* @version
|
|
12146
|
+
* @version 236.0.0
|
|
12136
12147
|
*//**
|
|
12137
12148
|
* Constructs a new LicenseApi.
|
|
12138
12149
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12186,7 +12197,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12186
12197
|
*/},{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(){/**
|
|
12187
12198
|
* Locations service.
|
|
12188
12199
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12189
|
-
* @version
|
|
12200
|
+
* @version 236.0.0
|
|
12190
12201
|
*//**
|
|
12191
12202
|
* Constructs a new LocationsApi.
|
|
12192
12203
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12245,7 +12256,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12245
12256
|
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(){/**
|
|
12246
12257
|
* LogCapture service.
|
|
12247
12258
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12248
|
-
* @version
|
|
12259
|
+
* @version 236.0.0
|
|
12249
12260
|
*//**
|
|
12250
12261
|
* Constructs a new LogCaptureApi.
|
|
12251
12262
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12294,7 +12305,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12294
12305
|
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(){/**
|
|
12295
12306
|
* Messaging service.
|
|
12296
12307
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12297
|
-
* @version
|
|
12308
|
+
* @version 236.0.0
|
|
12298
12309
|
*//**
|
|
12299
12310
|
* Constructs a new MessagingApi.
|
|
12300
12311
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12384,7 +12395,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12384
12395
|
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(){/**
|
|
12385
12396
|
* MobileDevices service.
|
|
12386
12397
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12387
|
-
* @version
|
|
12398
|
+
* @version 236.0.0
|
|
12388
12399
|
*//**
|
|
12389
12400
|
* Constructs a new MobileDevicesApi.
|
|
12390
12401
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12423,7 +12434,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12423
12434
|
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(){/**
|
|
12424
12435
|
* Notifications service.
|
|
12425
12436
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12426
|
-
* @version
|
|
12437
|
+
* @version 236.0.0
|
|
12427
12438
|
*//**
|
|
12428
12439
|
* Constructs a new NotificationsApi.
|
|
12429
12440
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12480,7 +12491,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12480
12491
|
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(){/**
|
|
12481
12492
|
* OAuth service.
|
|
12482
12493
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12483
|
-
* @version
|
|
12494
|
+
* @version 236.0.0
|
|
12484
12495
|
*//**
|
|
12485
12496
|
* Constructs a new OAuthApi.
|
|
12486
12497
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12565,7 +12576,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12565
12576
|
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(){/**
|
|
12566
12577
|
* Objects service.
|
|
12567
12578
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12568
|
-
* @version
|
|
12579
|
+
* @version 236.0.0
|
|
12569
12580
|
*//**
|
|
12570
12581
|
* Constructs a new ObjectsApi.
|
|
12571
12582
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12617,7 +12628,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12617
12628
|
* @param {Object} opts Optional parameters
|
|
12618
12629
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12619
12630
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12620
|
-
* @param {String} opts.pageSize
|
|
12631
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
12621
12632
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
12622
12633
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
12623
12634
|
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -12651,7 +12662,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12651
12662
|
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(){/**
|
|
12652
12663
|
* OperationalEvents service.
|
|
12653
12664
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12654
|
-
* @version
|
|
12665
|
+
* @version 236.0.0
|
|
12655
12666
|
*//**
|
|
12656
12667
|
* Constructs a new OperationalEventsApi.
|
|
12657
12668
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12682,7 +12693,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12682
12693
|
*/},{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(){/**
|
|
12683
12694
|
* Organization service.
|
|
12684
12695
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12685
|
-
* @version
|
|
12696
|
+
* @version 236.0.0
|
|
12686
12697
|
*//**
|
|
12687
12698
|
* Constructs a new OrganizationApi.
|
|
12688
12699
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12787,7 +12798,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12787
12798
|
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(){/**
|
|
12788
12799
|
* OrganizationAuthorization service.
|
|
12789
12800
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12790
|
-
* @version
|
|
12801
|
+
* @version 236.0.0
|
|
12791
12802
|
*//**
|
|
12792
12803
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12793
12804
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13121,7 +13132,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13121
13132
|
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(){/**
|
|
13122
13133
|
* Outbound service.
|
|
13123
13134
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13124
|
-
* @version
|
|
13135
|
+
* @version 236.0.0
|
|
13125
13136
|
*//**
|
|
13126
13137
|
* Constructs a new OutboundApi.
|
|
13127
13138
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14277,7 +14288,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14277
14288
|
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(){/**
|
|
14278
14289
|
* Presence service.
|
|
14279
14290
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14280
|
-
* @version
|
|
14291
|
+
* @version 236.0.0
|
|
14281
14292
|
*//**
|
|
14282
14293
|
* Constructs a new PresenceApi.
|
|
14283
14294
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14450,7 +14461,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14450
14461
|
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(){/**
|
|
14451
14462
|
* ProcessAutomation service.
|
|
14452
14463
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14453
|
-
* @version
|
|
14464
|
+
* @version 236.0.0
|
|
14454
14465
|
*//**
|
|
14455
14466
|
* Constructs a new ProcessAutomationApi.
|
|
14456
14467
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14513,7 +14524,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14513
14524
|
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(){/**
|
|
14514
14525
|
* Quality service.
|
|
14515
14526
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14516
|
-
* @version
|
|
14527
|
+
* @version 236.0.0
|
|
14517
14528
|
*//**
|
|
14518
14529
|
* Constructs a new QualityApi.
|
|
14519
14530
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15003,7 +15014,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15003
15014
|
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(){/**
|
|
15004
15015
|
* Recording service.
|
|
15005
15016
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15006
|
-
* @version
|
|
15017
|
+
* @version 236.0.0
|
|
15007
15018
|
*//**
|
|
15008
15019
|
* Constructs a new RecordingApi.
|
|
15009
15020
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15402,7 +15413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15402
15413
|
*/},{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(){/**
|
|
15403
15414
|
* ResponseManagement service.
|
|
15404
15415
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15405
|
-
* @version
|
|
15416
|
+
* @version 236.0.0
|
|
15406
15417
|
*//**
|
|
15407
15418
|
* Constructs a new ResponseManagementApi.
|
|
15408
15419
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15523,7 +15534,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15523
15534
|
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(){/**
|
|
15524
15535
|
* Routing service.
|
|
15525
15536
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15526
|
-
* @version
|
|
15537
|
+
* @version 236.0.0
|
|
15527
15538
|
*//**
|
|
15528
15539
|
* Constructs a new RoutingApi.
|
|
15529
15540
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -16614,7 +16625,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16614
16625
|
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(){/**
|
|
16615
16626
|
* SCIM service.
|
|
16616
16627
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16617
|
-
* @version
|
|
16628
|
+
* @version 236.0.0
|
|
16618
16629
|
*//**
|
|
16619
16630
|
* Constructs a new SCIMApi.
|
|
16620
16631
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -16839,7 +16850,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16839
16850
|
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(){/**
|
|
16840
16851
|
* ScreenRecording service.
|
|
16841
16852
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
16842
|
-
* @version
|
|
16853
|
+
* @version 236.0.0
|
|
16843
16854
|
*//**
|
|
16844
16855
|
* Constructs a new ScreenRecordingApi.
|
|
16845
16856
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -16854,7 +16865,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16854
16865
|
*/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(){/**
|
|
16855
16866
|
* Scripts service.
|
|
16856
16867
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
16857
|
-
* @version
|
|
16868
|
+
* @version 236.0.0
|
|
16858
16869
|
*//**
|
|
16859
16870
|
* Constructs a new ScriptsApi.
|
|
16860
16871
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17000,7 +17011,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17000
17011
|
*/},{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(){/**
|
|
17001
17012
|
* Search service.
|
|
17002
17013
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17003
|
-
* @version
|
|
17014
|
+
* @version 236.0.0
|
|
17004
17015
|
*//**
|
|
17005
17016
|
* Constructs a new SearchApi.
|
|
17006
17017
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17159,7 +17170,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17159
17170
|
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(){/**
|
|
17160
17171
|
* Settings service.
|
|
17161
17172
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17162
|
-
* @version
|
|
17173
|
+
* @version 236.0.0
|
|
17163
17174
|
*//**
|
|
17164
17175
|
* Constructs a new SettingsApi.
|
|
17165
17176
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17231,7 +17242,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17231
17242
|
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(){/**
|
|
17232
17243
|
* SocialMedia service.
|
|
17233
17244
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17234
|
-
* @version
|
|
17245
|
+
* @version 236.0.0
|
|
17235
17246
|
*//**
|
|
17236
17247
|
* Constructs a new SocialMediaApi.
|
|
17237
17248
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17646,7 +17657,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17646
17657
|
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(){/**
|
|
17647
17658
|
* SpeechTextAnalytics service.
|
|
17648
17659
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17649
|
-
* @version
|
|
17660
|
+
* @version 236.0.0
|
|
17650
17661
|
*//**
|
|
17651
17662
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17652
17663
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18016,7 +18027,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18016
18027
|
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(){/**
|
|
18017
18028
|
* Stations service.
|
|
18018
18029
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18019
|
-
* @version
|
|
18030
|
+
* @version 236.0.0
|
|
18020
18031
|
*//**
|
|
18021
18032
|
* Constructs a new StationsApi.
|
|
18022
18033
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18048,7 +18059,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18048
18059
|
*/},{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(){/**
|
|
18049
18060
|
* Suggest service.
|
|
18050
18061
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18051
|
-
* @version
|
|
18062
|
+
* @version 236.0.0
|
|
18052
18063
|
*//**
|
|
18053
18064
|
* Constructs a new SuggestApi.
|
|
18054
18065
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18088,7 +18099,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18088
18099
|
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(){/**
|
|
18089
18100
|
* TaskManagement service.
|
|
18090
18101
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18091
|
-
* @version
|
|
18102
|
+
* @version 236.0.0
|
|
18092
18103
|
*//**
|
|
18093
18104
|
* Constructs a new TaskManagementApi.
|
|
18094
18105
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18596,7 +18607,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18596
18607
|
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(){/**
|
|
18597
18608
|
* Teams service.
|
|
18598
18609
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18599
|
-
* @version
|
|
18610
|
+
* @version 236.0.0
|
|
18600
18611
|
*//**
|
|
18601
18612
|
* Constructs a new TeamsApi.
|
|
18602
18613
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18676,7 +18687,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18676
18687
|
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(){/**
|
|
18677
18688
|
* Telephony service.
|
|
18678
18689
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18679
|
-
* @version
|
|
18690
|
+
* @version 236.0.0
|
|
18680
18691
|
*//**
|
|
18681
18692
|
* Constructs a new TelephonyApi.
|
|
18682
18693
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18747,7 +18758,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18747
18758
|
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(){/**
|
|
18748
18759
|
* TelephonyProvidersEdge service.
|
|
18749
18760
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18750
|
-
* @version
|
|
18761
|
+
* @version 236.0.0
|
|
18751
18762
|
*//**
|
|
18752
18763
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18753
18764
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19595,7 +19606,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19595
19606
|
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(){/**
|
|
19596
19607
|
* Textbots service.
|
|
19597
19608
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19598
|
-
* @version
|
|
19609
|
+
* @version 236.0.0
|
|
19599
19610
|
*//**
|
|
19600
19611
|
* Constructs a new TextbotsApi.
|
|
19601
19612
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19631,7 +19642,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19631
19642
|
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(){/**
|
|
19632
19643
|
* Tokens service.
|
|
19633
19644
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19634
|
-
* @version
|
|
19645
|
+
* @version 236.0.0
|
|
19635
19646
|
*//**
|
|
19636
19647
|
* Constructs a new TokensApi.
|
|
19637
19648
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19665,7 +19676,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19665
19676
|
*/},{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(){/**
|
|
19666
19677
|
* Uploads service.
|
|
19667
19678
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19668
|
-
* @version
|
|
19679
|
+
* @version 236.0.0
|
|
19669
19680
|
*//**
|
|
19670
19681
|
* Constructs a new UploadsApi.
|
|
19671
19682
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19733,7 +19744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19733
19744
|
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(){/**
|
|
19734
19745
|
* Usage service.
|
|
19735
19746
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19736
|
-
* @version
|
|
19747
|
+
* @version 236.0.0
|
|
19737
19748
|
*//**
|
|
19738
19749
|
* Constructs a new UsageApi.
|
|
19739
19750
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19817,7 +19828,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19817
19828
|
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(){/**
|
|
19818
19829
|
* UserRecordings service.
|
|
19819
19830
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19820
|
-
* @version
|
|
19831
|
+
* @version 236.0.0
|
|
19821
19832
|
*//**
|
|
19822
19833
|
* Constructs a new UserRecordingsApi.
|
|
19823
19834
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -19865,7 +19876,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
19865
19876
|
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(){/**
|
|
19866
19877
|
* Users service.
|
|
19867
19878
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
19868
|
-
* @version
|
|
19879
|
+
* @version 236.0.0
|
|
19869
19880
|
*//**
|
|
19870
19881
|
* Constructs a new UsersApi.
|
|
19871
19882
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20609,7 +20620,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20609
20620
|
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(){/**
|
|
20610
20621
|
* Utilities service.
|
|
20611
20622
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20612
|
-
* @version
|
|
20623
|
+
* @version 236.0.0
|
|
20613
20624
|
*//**
|
|
20614
20625
|
* Constructs a new UtilitiesApi.
|
|
20615
20626
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20636,7 +20647,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20636
20647
|
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(){/**
|
|
20637
20648
|
* Voicemail service.
|
|
20638
20649
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20639
|
-
* @version
|
|
20650
|
+
* @version 236.0.0
|
|
20640
20651
|
*//**
|
|
20641
20652
|
* Constructs a new VoicemailApi.
|
|
20642
20653
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20798,7 +20809,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20798
20809
|
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(){/**
|
|
20799
20810
|
* WebChat service.
|
|
20800
20811
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20801
|
-
* @version
|
|
20812
|
+
* @version 236.0.0
|
|
20802
20813
|
*//**
|
|
20803
20814
|
* Constructs a new WebChatApi.
|
|
20804
20815
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -20945,7 +20956,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20945
20956
|
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(){/**
|
|
20946
20957
|
* WebDeployments service.
|
|
20947
20958
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
20948
|
-
* @version
|
|
20959
|
+
* @version 236.0.0
|
|
20949
20960
|
*//**
|
|
20950
20961
|
* Constructs a new WebDeploymentsApi.
|
|
20951
20962
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21078,7 +21089,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21078
21089
|
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(){/**
|
|
21079
21090
|
* WebMessaging service.
|
|
21080
21091
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21081
|
-
* @version
|
|
21092
|
+
* @version 236.0.0
|
|
21082
21093
|
*//**
|
|
21083
21094
|
* Constructs a new WebMessagingApi.
|
|
21084
21095
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21119,7 +21130,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
21119
21130
|
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(){/**
|
|
21120
21131
|
* Widgets service.
|
|
21121
21132
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21122
|
-
* @version
|
|
21133
|
+
* @version 236.0.0
|
|
21123
21134
|
*//**
|
|
21124
21135
|
* Constructs a new WidgetsApi.
|
|
21125
21136
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21159,7 +21170,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21159
21170
|
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(){/**
|
|
21160
21171
|
* WorkforceManagement service.
|
|
21161
21172
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21162
|
-
* @version
|
|
21173
|
+
* @version 236.0.0
|
|
21163
21174
|
*//**
|
|
21164
21175
|
* Constructs a new WorkforceManagementApi.
|
|
21165
21176
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23120,7 +23131,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23120
23131
|
* </pre>
|
|
23121
23132
|
* </p>
|
|
23122
23133
|
* @module purecloud-platform-client-v2/index
|
|
23123
|
-
* @version
|
|
23134
|
+
* @version 236.0.0
|
|
23124
23135
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23125
23136
|
* The ApiClient constructor.
|
|
23126
23137
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|