purecloud-platform-client-v2 207.0.0 → 208.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 +384 -124
- package/dist/web-amd/purecloud-platform-client-v2.js +384 -124
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +185 -124
- package/dist/web-cjs/purecloud-platform-client-v2.js +202 -127
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +871 -336
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +3 -8
- 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 +31 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +12 -12
- 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 +55 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
- 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 +55 -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 +12 -12
- 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
|
@@ -2847,10 +2847,21 @@ var utilInspect = require('./util.inspect');
|
|
|
2847
2847
|
var inspectCustom = utilInspect.custom;
|
|
2848
2848
|
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
2849
2849
|
|
|
2850
|
+
var quotes = {
|
|
2851
|
+
__proto__: null,
|
|
2852
|
+
'double': '"',
|
|
2853
|
+
single: "'"
|
|
2854
|
+
};
|
|
2855
|
+
var quoteREs = {
|
|
2856
|
+
__proto__: null,
|
|
2857
|
+
'double': /(["\\])/g,
|
|
2858
|
+
single: /(['\\])/g
|
|
2859
|
+
};
|
|
2860
|
+
|
|
2850
2861
|
module.exports = function inspect_(obj, options, depth, seen) {
|
|
2851
2862
|
var opts = options || {};
|
|
2852
2863
|
|
|
2853
|
-
if (has(opts, 'quoteStyle') && (
|
|
2864
|
+
if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {
|
|
2854
2865
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
2855
2866
|
}
|
|
2856
2867
|
if (
|
|
@@ -3045,7 +3056,8 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
3045
3056
|
};
|
|
3046
3057
|
|
|
3047
3058
|
function wrapQuotes(s, defaultStyle, opts) {
|
|
3048
|
-
var
|
|
3059
|
+
var style = opts.quoteStyle || defaultStyle;
|
|
3060
|
+
var quoteChar = quotes[style];
|
|
3049
3061
|
return quoteChar + s + quoteChar;
|
|
3050
3062
|
}
|
|
3051
3063
|
|
|
@@ -3203,8 +3215,10 @@ function inspectString(str, opts) {
|
|
|
3203
3215
|
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
|
3204
3216
|
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
3205
3217
|
}
|
|
3218
|
+
var quoteRE = quoteREs[opts.quoteStyle || 'single'];
|
|
3219
|
+
quoteRE.lastIndex = 0;
|
|
3206
3220
|
// eslint-disable-next-line no-control-regex
|
|
3207
|
-
var s = $replace.call($replace.call(str,
|
|
3221
|
+
var s = $replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
|
3208
3222
|
return wrapQuotes(s, 'single', opts);
|
|
3209
3223
|
}
|
|
3210
3224
|
|
|
@@ -6180,7 +6194,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6180
6194
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6181
6195
|
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];}}}]);}();/**
|
|
6182
6196
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6183
|
-
* @version
|
|
6197
|
+
* @version 208.0.0
|
|
6184
6198
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6185
6199
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6186
6200
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6502,7 +6516,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6502
6516
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6503
6517
|
* AgentAssistants service.
|
|
6504
6518
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6505
|
-
* @version
|
|
6519
|
+
* @version 208.0.0
|
|
6506
6520
|
*//**
|
|
6507
6521
|
* Constructs a new AgentAssistantsApi.
|
|
6508
6522
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6603,7 +6617,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6603
6617
|
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(){/**
|
|
6604
6618
|
* AgentCopilot service.
|
|
6605
6619
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6606
|
-
* @version
|
|
6620
|
+
* @version 208.0.0
|
|
6607
6621
|
*//**
|
|
6608
6622
|
* Constructs a new AgentCopilotApi.
|
|
6609
6623
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6625,7 +6639,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6625
6639
|
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(){/**
|
|
6626
6640
|
* AgentUI service.
|
|
6627
6641
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6628
|
-
* @version
|
|
6642
|
+
* @version 208.0.0
|
|
6629
6643
|
*//**
|
|
6630
6644
|
* Constructs a new AgentUIApi.
|
|
6631
6645
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6659,7 +6673,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6659
6673
|
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(){/**
|
|
6660
6674
|
* Alerting service.
|
|
6661
6675
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6662
|
-
* @version
|
|
6676
|
+
* @version 208.0.0
|
|
6663
6677
|
*//**
|
|
6664
6678
|
* Constructs a new AlertingApi.
|
|
6665
6679
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6816,7 +6830,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6816
6830
|
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(){/**
|
|
6817
6831
|
* Analytics service.
|
|
6818
6832
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6819
|
-
* @version
|
|
6833
|
+
* @version 208.0.0
|
|
6820
6834
|
*//**
|
|
6821
6835
|
* Constructs a new AnalyticsApi.
|
|
6822
6836
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7438,7 +7452,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7438
7452
|
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(){/**
|
|
7439
7453
|
* Architect service.
|
|
7440
7454
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7441
|
-
* @version
|
|
7455
|
+
* @version 208.0.0
|
|
7442
7456
|
*//**
|
|
7443
7457
|
* Constructs a new ArchitectApi.
|
|
7444
7458
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8530,7 +8544,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8530
8544
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8531
8545
|
* Audit service.
|
|
8532
8546
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8533
|
-
* @version
|
|
8547
|
+
* @version 208.0.0
|
|
8534
8548
|
*//**
|
|
8535
8549
|
* Constructs a new AuditApi.
|
|
8536
8550
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8580,7 +8594,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8580
8594
|
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(){/**
|
|
8581
8595
|
* Authorization service.
|
|
8582
8596
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8583
|
-
* @version
|
|
8597
|
+
* @version 208.0.0
|
|
8584
8598
|
*//**
|
|
8585
8599
|
* Constructs a new AuthorizationApi.
|
|
8586
8600
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8903,7 +8917,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8903
8917
|
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(){/**
|
|
8904
8918
|
* Billing service.
|
|
8905
8919
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8906
|
-
* @version
|
|
8920
|
+
* @version 208.0.0
|
|
8907
8921
|
*//**
|
|
8908
8922
|
* Constructs a new BillingApi.
|
|
8909
8923
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8927,7 +8941,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8927
8941
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8928
8942
|
* CarrierServices service.
|
|
8929
8943
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8930
|
-
* @version
|
|
8944
|
+
* @version 208.0.0
|
|
8931
8945
|
*//**
|
|
8932
8946
|
* Constructs a new CarrierServicesApi.
|
|
8933
8947
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8947,7 +8961,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8947
8961
|
*/},{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(){/**
|
|
8948
8962
|
* Chat service.
|
|
8949
8963
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8950
|
-
* @version
|
|
8964
|
+
* @version 208.0.0
|
|
8951
8965
|
*//**
|
|
8952
8966
|
* Constructs a new ChatApi.
|
|
8953
8967
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9172,7 +9186,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9172
9186
|
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(){/**
|
|
9173
9187
|
* Coaching service.
|
|
9174
9188
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9175
|
-
* @version
|
|
9189
|
+
* @version 208.0.0
|
|
9176
9190
|
*//**
|
|
9177
9191
|
* Constructs a new CoachingApi.
|
|
9178
9192
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9325,7 +9339,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9325
9339
|
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(){/**
|
|
9326
9340
|
* ContentManagement service.
|
|
9327
9341
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9328
|
-
* @version
|
|
9342
|
+
* @version 208.0.0
|
|
9329
9343
|
*//**
|
|
9330
9344
|
* Constructs a new ContentManagementApi.
|
|
9331
9345
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9607,7 +9621,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9607
9621
|
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(){/**
|
|
9608
9622
|
* Conversations service.
|
|
9609
9623
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9610
|
-
* @version
|
|
9624
|
+
* @version 208.0.0
|
|
9611
9625
|
*//**
|
|
9612
9626
|
* Constructs a new ConversationsApi.
|
|
9613
9627
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11336,7 +11350,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11336
11350
|
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(){/**
|
|
11337
11351
|
* DataExtensions service.
|
|
11338
11352
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11339
|
-
* @version
|
|
11353
|
+
* @version 208.0.0
|
|
11340
11354
|
*//**
|
|
11341
11355
|
* Constructs a new DataExtensionsApi.
|
|
11342
11356
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11357,7 +11371,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11357
11371
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11358
11372
|
* Downloads service.
|
|
11359
11373
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11360
|
-
* @version
|
|
11374
|
+
* @version 208.0.0
|
|
11361
11375
|
*//**
|
|
11362
11376
|
* Constructs a new DownloadsApi.
|
|
11363
11377
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11376,7 +11390,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11376
11390
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11377
11391
|
* Emails service.
|
|
11378
11392
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11379
|
-
* @version
|
|
11393
|
+
* @version 208.0.0
|
|
11380
11394
|
*//**
|
|
11381
11395
|
* Constructs a new EmailsApi.
|
|
11382
11396
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11394,7 +11408,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11394
11408
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11395
11409
|
* EmployeeEngagement service.
|
|
11396
11410
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11397
|
-
* @version
|
|
11411
|
+
* @version 208.0.0
|
|
11398
11412
|
*//**
|
|
11399
11413
|
* Constructs a new EmployeeEngagementApi.
|
|
11400
11414
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11432,7 +11446,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11432
11446
|
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(){/**
|
|
11433
11447
|
* Events service.
|
|
11434
11448
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11435
|
-
* @version
|
|
11449
|
+
* @version 208.0.0
|
|
11436
11450
|
*//**
|
|
11437
11451
|
* Constructs a new EventsApi.
|
|
11438
11452
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11457,7 +11471,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11457
11471
|
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(){/**
|
|
11458
11472
|
* ExternalContacts service.
|
|
11459
11473
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11460
|
-
* @version
|
|
11474
|
+
* @version 208.0.0
|
|
11461
11475
|
*//**
|
|
11462
11476
|
* Constructs a new ExternalContactsApi.
|
|
11463
11477
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11485,7 +11499,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
11485
11499
|
* Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.
|
|
11486
11500
|
*
|
|
11487
11501
|
* @param {String} externalSourceId External Source ID
|
|
11488
|
-
* deleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11489
11502
|
*/},{key:"deleteExternalcontactsExternalsource",value:function deleteExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
|
|
11490
11503
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','DELETE',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11491
11504
|
* Delete settings for CSV import
|
|
@@ -11559,7 +11572,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
11559
11572
|
*
|
|
11560
11573
|
* @param {String} contactId ExternalContact ID
|
|
11561
11574
|
* @param {Object} opts Optional parameters
|
|
11562
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11575
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11563
11576
|
*/},{key:"getExternalcontactsContactUnresolved",value:function getExternalcontactsContactUnresolved(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
11564
11577
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/unresolved','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11565
11578
|
* Search for external contacts
|
|
@@ -11594,7 +11607,6 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
11594
11607
|
* Fetch an External Source
|
|
11595
11608
|
*
|
|
11596
11609
|
* @param {String} externalSourceId External Source ID
|
|
11597
|
-
* getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11598
11610
|
*/},{key:"getExternalcontactsExternalsource",value:function getExternalcontactsExternalsource(externalSourceId){// verify the required parameter 'externalSourceId' is set
|
|
11599
11611
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','GET',{'externalSourceId':externalSourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11600
11612
|
* Fetch a list of External Sources
|
|
@@ -11604,7 +11616,6 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
|
|
|
11604
11616
|
* @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
|
|
11605
11617
|
* @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
|
|
11606
11618
|
* @param {Boolean} opts.active Filter by active status of external source
|
|
11607
|
-
* getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11608
11619
|
*/},{key:"getExternalcontactsExternalsources",value:function getExternalcontactsExternalsources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','GET',{},{'cursor':opts['cursor'],'limit':opts['limit'],'name':opts['name'],'active':opts['active']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11609
11620
|
* Get settings for CSV import
|
|
11610
11621
|
*
|
|
@@ -11632,7 +11643,7 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
|
|
|
11632
11643
|
*
|
|
11633
11644
|
* @param {String} externalOrganizationId External Organization ID
|
|
11634
11645
|
* @param {Object} opts Optional parameters
|
|
11635
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11646
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11636
11647
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
11637
11648
|
*/},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11638
11649
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11862,7 +11873,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11862
11873
|
* Create an External Source
|
|
11863
11874
|
*
|
|
11864
11875
|
* @param {Object} body External Source
|
|
11865
|
-
* postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11866
11876
|
*/},{key:"postExternalcontactsExternalsources",value:function postExternalcontactsExternalsources(body){// verify the required parameter 'body' is set
|
|
11867
11877
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11868
11878
|
* Fetch a contact using an identifier type and value.
|
|
@@ -11948,7 +11958,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11948
11958
|
*
|
|
11949
11959
|
* @param {String} externalSourceId External Source ID
|
|
11950
11960
|
* @param {Object} body External Source
|
|
11951
|
-
* putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11952
11961
|
*/},{key:"putExternalcontactsExternalsource",value:function putExternalcontactsExternalsource(externalSourceId,body){// verify the required parameter 'externalSourceId' is set
|
|
11953
11962
|
if(externalSourceId===undefined||externalSourceId===null){throw'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';}// verify the required parameter 'body' is set
|
|
11954
11963
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsExternalsource';}return this.apiClient.callApi('/api/v2/externalcontacts/externalsources/{externalSourceId}','PUT',{'externalSourceId':externalSourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11998,7 +12007,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11998
12007
|
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(){/**
|
|
11999
12008
|
* Fax service.
|
|
12000
12009
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12001
|
-
* @version
|
|
12010
|
+
* @version 208.0.0
|
|
12002
12011
|
*//**
|
|
12003
12012
|
* Constructs a new FaxApi.
|
|
12004
12013
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12047,7 +12056,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12047
12056
|
*/},{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(){/**
|
|
12048
12057
|
* Flows service.
|
|
12049
12058
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12050
|
-
* @version
|
|
12059
|
+
* @version 208.0.0
|
|
12051
12060
|
*//**
|
|
12052
12061
|
* Constructs a new FlowsApi.
|
|
12053
12062
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12095,7 +12104,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12095
12104
|
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(){/**
|
|
12096
12105
|
* Gamification service.
|
|
12097
12106
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12098
|
-
* @version
|
|
12107
|
+
* @version 208.0.0
|
|
12099
12108
|
*//**
|
|
12100
12109
|
* Constructs a new GamificationApi.
|
|
12101
12110
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12635,7 +12644,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12635
12644
|
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(){/**
|
|
12636
12645
|
* GeneralDataProtectionRegulation service.
|
|
12637
12646
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12638
|
-
* @version
|
|
12647
|
+
* @version 208.0.0
|
|
12639
12648
|
*//**
|
|
12640
12649
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12641
12650
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12670,7 +12679,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12670
12679
|
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(){/**
|
|
12671
12680
|
* Geolocation service.
|
|
12672
12681
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12673
|
-
* @version
|
|
12682
|
+
* @version 208.0.0
|
|
12674
12683
|
*//**
|
|
12675
12684
|
* Constructs a new GeolocationApi.
|
|
12676
12685
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12704,7 +12713,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12704
12713
|
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(){/**
|
|
12705
12714
|
* Greetings service.
|
|
12706
12715
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12707
|
-
* @version
|
|
12716
|
+
* @version 208.0.0
|
|
12708
12717
|
*//**
|
|
12709
12718
|
* Constructs a new GreetingsApi.
|
|
12710
12719
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12811,7 +12820,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12811
12820
|
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(){/**
|
|
12812
12821
|
* Groups service.
|
|
12813
12822
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12814
|
-
* @version
|
|
12823
|
+
* @version 208.0.0
|
|
12815
12824
|
*//**
|
|
12816
12825
|
* Constructs a new GroupsApi.
|
|
12817
12826
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12944,7 +12953,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12944
12953
|
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(){/**
|
|
12945
12954
|
* IdentityProvider service.
|
|
12946
12955
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12947
|
-
* @version
|
|
12956
|
+
* @version 208.0.0
|
|
12948
12957
|
*//**
|
|
12949
12958
|
* Constructs a new IdentityProviderApi.
|
|
12950
12959
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13100,7 +13109,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13100
13109
|
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(){/**
|
|
13101
13110
|
* InfrastructureAsCode service.
|
|
13102
13111
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13103
|
-
* @version
|
|
13112
|
+
* @version 208.0.0
|
|
13104
13113
|
*//**
|
|
13105
13114
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13106
13115
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13154,7 +13163,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13154
13163
|
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(){/**
|
|
13155
13164
|
* Integrations service.
|
|
13156
13165
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13157
|
-
* @version
|
|
13166
|
+
* @version 208.0.0
|
|
13158
13167
|
*//**
|
|
13159
13168
|
* Constructs a new IntegrationsApi.
|
|
13160
13169
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13235,9 +13244,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
13235
13244
|
*
|
|
13236
13245
|
* @param {String} actionId actionId
|
|
13237
13246
|
* @param {String} fileName Name of schema file to be retrieved for this draft.
|
|
13238
|
-
|
|
13247
|
+
* @param {Object} opts Optional parameters
|
|
13248
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13249
|
+
*/},{key:"getIntegrationsActionDraftSchema",value:function getIntegrationsActionDraftSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13239
13250
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';}// verify the required parameter 'fileName' is set
|
|
13240
|
-
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13251
|
+
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13241
13252
|
* Retrieve templates for a Draft based on filename.
|
|
13242
13253
|
*
|
|
13243
13254
|
* @param {String} actionId actionId
|
|
@@ -13260,9 +13271,11 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
13260
13271
|
*
|
|
13261
13272
|
* @param {String} actionId actionId
|
|
13262
13273
|
* @param {String} fileName Name of schema file to be retrieved for this action.
|
|
13263
|
-
|
|
13274
|
+
* @param {Object} opts Optional parameters
|
|
13275
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13276
|
+
*/},{key:"getIntegrationsActionSchema",value:function getIntegrationsActionSchema(actionId,fileName,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13264
13277
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';}// verify the required parameter 'fileName' is set
|
|
13265
|
-
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13278
|
+
if(fileName===undefined||fileName===null){throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/schemas/{fileName}','GET',{'actionId':actionId,'fileName':fileName},{'flatten':opts['flatten']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13266
13279
|
* Retrieve text of templates for an action based on filename.
|
|
13267
13280
|
*
|
|
13268
13281
|
* @param {String} actionId actionId
|
|
@@ -13671,23 +13684,29 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13671
13684
|
*
|
|
13672
13685
|
* @param {String} actionId actionId
|
|
13673
13686
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
13674
|
-
|
|
13687
|
+
* @param {Object} opts Optional parameters
|
|
13688
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13689
|
+
*/},{key:"postIntegrationsActionDraftTest",value:function postIntegrationsActionDraftTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13675
13690
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';}// verify the required parameter 'body' is set
|
|
13676
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13691
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13677
13692
|
* Execute Action and return response from 3rd party. Responses will follow the schemas defined on the Action for success and error.
|
|
13678
13693
|
*
|
|
13679
13694
|
* @param {String} actionId actionId
|
|
13680
13695
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
13681
|
-
|
|
13696
|
+
* @param {Object} opts Optional parameters
|
|
13697
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13698
|
+
*/},{key:"postIntegrationsActionExecute",value:function postIntegrationsActionExecute(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13682
13699
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';}// verify the required parameter 'body' is set
|
|
13683
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13700
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/execute','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13684
13701
|
* Test the execution of an action. Responses will show execution steps broken out with intermediate results to help in debugging.
|
|
13685
13702
|
*
|
|
13686
13703
|
* @param {String} actionId actionId
|
|
13687
13704
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
13688
|
-
|
|
13705
|
+
* @param {Object} opts Optional parameters
|
|
13706
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13707
|
+
*/},{key:"postIntegrationsActionTest",value:function postIntegrationsActionTest(actionId,body,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13689
13708
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';}// verify the required parameter 'body' is set
|
|
13690
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13709
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionTest';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/test','POST',{'actionId':actionId},{'flatten':opts['flatten']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13691
13710
|
* Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
|
|
13692
13711
|
*
|
|
13693
13712
|
* @param {Object} body Input used to create Action.
|
|
@@ -13779,7 +13798,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13779
13798
|
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(){/**
|
|
13780
13799
|
* Journey service.
|
|
13781
13800
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13782
|
-
* @version
|
|
13801
|
+
* @version 208.0.0
|
|
13783
13802
|
*//**
|
|
13784
13803
|
* Constructs a new JourneyApi.
|
|
13785
13804
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13819,6 +13838,11 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
|
|
|
13819
13838
|
* @param {String} viewId viewId
|
|
13820
13839
|
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13821
13840
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13841
|
+
* Delete the Schedule of a JourneyView
|
|
13842
|
+
* used for long descriptions
|
|
13843
|
+
* @param {String} viewId Journey View Id
|
|
13844
|
+
*/},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
13845
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13822
13846
|
* Get status for async query for journey aggregates
|
|
13823
13847
|
*
|
|
13824
13848
|
* @param {String} jobId jobId
|
|
@@ -13984,6 +14008,11 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
13984
14008
|
* @param {String} viewId viewId
|
|
13985
14009
|
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13986
14010
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14011
|
+
* Get the Schedule for a JourneyView
|
|
14012
|
+
* used for long descriptions
|
|
14013
|
+
* @param {String} viewId Journey View Id
|
|
14014
|
+
*/},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
14015
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13987
14016
|
* Get a Journey View by ID and version
|
|
13988
14017
|
*
|
|
13989
14018
|
* @param {String} viewId viewId
|
|
@@ -14072,6 +14101,12 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
14072
14101
|
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
14073
14102
|
* @param {String} opts.statuses Job statuses to filter for
|
|
14074
14103
|
*/},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14104
|
+
* Get the journey schedules for an organization.
|
|
14105
|
+
*
|
|
14106
|
+
* @param {Object} opts Optional parameters
|
|
14107
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
14108
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
14109
|
+
*/},{key:"getJourneyViewsSchedules",value:function getJourneyViewsSchedules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/schedules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14075
14110
|
* Update single action map.
|
|
14076
14111
|
*
|
|
14077
14112
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -14191,6 +14226,13 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
14191
14226
|
* @param {Object} opts Optional parameters
|
|
14192
14227
|
* @param {Object} opts.body
|
|
14193
14228
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14229
|
+
* Add a new Schedule to a JourneyView
|
|
14230
|
+
*
|
|
14231
|
+
* @param {String} viewId Journey View Id
|
|
14232
|
+
* @param {Object} body journeyViewSchedule
|
|
14233
|
+
*/},{key:"postJourneyViewSchedules",value:function postJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
14234
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
14235
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14194
14236
|
* Submit a job request for a journey view version.
|
|
14195
14237
|
* used for long descriptions
|
|
14196
14238
|
* @param {String} viewId Journey View Id
|
|
@@ -14215,6 +14257,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14215
14257
|
* @param {Object} opts Optional parameters
|
|
14216
14258
|
* @param {Array.<Object>} opts.body
|
|
14217
14259
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14260
|
+
* Update the Schedule for a JourneyView
|
|
14261
|
+
* used for long descriptions
|
|
14262
|
+
* @param {String} viewId Journey View Id
|
|
14263
|
+
* @param {Object} body journeyViewSchedule
|
|
14264
|
+
*/},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
14265
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling putJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
14266
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','PUT',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14218
14267
|
* Update a Journey View by ID and version
|
|
14219
14268
|
* does not create a new version
|
|
14220
14269
|
* @param {String} viewId viewId
|
|
@@ -14226,7 +14275,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14226
14275
|
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(){/**
|
|
14227
14276
|
* Knowledge service.
|
|
14228
14277
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14229
|
-
* @version
|
|
14278
|
+
* @version 208.0.0
|
|
14230
14279
|
*//**
|
|
14231
14280
|
* Constructs a new KnowledgeApi.
|
|
14232
14281
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14441,10 +14490,11 @@ if(feedbackId===undefined||feedbackId===null){throw'Missing the required paramet
|
|
|
14441
14490
|
* @param {String} knowledgeBaseId Globally unique identifier for a knowledge base.
|
|
14442
14491
|
* @param {Object} opts Optional parameters
|
|
14443
14492
|
* @param {Object} opts.documentState The state of the document.
|
|
14493
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
14444
14494
|
*/},{key:"getKnowledgeKnowledgebaseDocumentVariation",value:function getKnowledgeKnowledgebaseDocumentVariation(documentVariationId,documentId,knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'documentVariationId' is set
|
|
14445
14495
|
if(documentVariationId===undefined||documentVariationId===null){throw'Missing the required parameter "documentVariationId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'documentId' is set
|
|
14446
14496
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariation';}// verify the required parameter 'knowledgeBaseId' is set
|
|
14447
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14497
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}','GET',{'documentVariationId':documentVariationId,'documentId':documentId,'knowledgeBaseId':knowledgeBaseId},{'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14448
14498
|
* Get variations for a document.
|
|
14449
14499
|
*
|
|
14450
14500
|
* @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
|
|
@@ -14454,9 +14504,10 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14454
14504
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
14455
14505
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
14456
14506
|
* @param {Object} opts.documentState The state of the document.
|
|
14507
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
14457
14508
|
*/},{key:"getKnowledgeKnowledgebaseDocumentVariations",value:function getKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14458
14509
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariations';}// verify the required parameter 'documentId' is set
|
|
14459
|
-
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14510
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations','GET',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'documentState':opts['documentState'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14460
14511
|
* Get document version.
|
|
14461
14512
|
*
|
|
14462
14513
|
* @param {String} knowledgeBaseId Globally unique identifier for the knowledge base.
|
|
@@ -15292,7 +15343,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15292
15343
|
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(){/**
|
|
15293
15344
|
* LanguageUnderstanding service.
|
|
15294
15345
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15295
|
-
* @version
|
|
15346
|
+
* @version 208.0.0
|
|
15296
15347
|
*//**
|
|
15297
15348
|
* Constructs a new LanguageUnderstandingApi.
|
|
15298
15349
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15552,7 +15603,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15552
15603
|
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(){/**
|
|
15553
15604
|
* Languages service.
|
|
15554
15605
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15555
|
-
* @version
|
|
15606
|
+
* @version 208.0.0
|
|
15556
15607
|
*//**
|
|
15557
15608
|
* Constructs a new LanguagesApi.
|
|
15558
15609
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15607,7 +15658,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15607
15658
|
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(){/**
|
|
15608
15659
|
* Learning service.
|
|
15609
15660
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15610
|
-
* @version
|
|
15661
|
+
* @version 208.0.0
|
|
15611
15662
|
*//**
|
|
15612
15663
|
* Constructs a new LearningApi.
|
|
15613
15664
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15878,7 +15929,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15878
15929
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15879
15930
|
* License service.
|
|
15880
15931
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15881
|
-
* @version
|
|
15932
|
+
* @version 208.0.0
|
|
15882
15933
|
*//**
|
|
15883
15934
|
* Constructs a new LicenseApi.
|
|
15884
15935
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15932,7 +15983,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15932
15983
|
*/},{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(){/**
|
|
15933
15984
|
* Locations service.
|
|
15934
15985
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15935
|
-
* @version
|
|
15986
|
+
* @version 208.0.0
|
|
15936
15987
|
*//**
|
|
15937
15988
|
* Constructs a new LocationsApi.
|
|
15938
15989
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15991,7 +16042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15991
16042
|
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(){/**
|
|
15992
16043
|
* LogCapture service.
|
|
15993
16044
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15994
|
-
* @version
|
|
16045
|
+
* @version 208.0.0
|
|
15995
16046
|
*//**
|
|
15996
16047
|
* Constructs a new LogCaptureApi.
|
|
15997
16048
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16041,7 +16092,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16041
16092
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16042
16093
|
* Messaging service.
|
|
16043
16094
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16044
|
-
* @version
|
|
16095
|
+
* @version 208.0.0
|
|
16045
16096
|
*//**
|
|
16046
16097
|
* Constructs a new MessagingApi.
|
|
16047
16098
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16131,7 +16182,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16131
16182
|
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(){/**
|
|
16132
16183
|
* MobileDevices service.
|
|
16133
16184
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16134
|
-
* @version
|
|
16185
|
+
* @version 208.0.0
|
|
16135
16186
|
*//**
|
|
16136
16187
|
* Constructs a new MobileDevicesApi.
|
|
16137
16188
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16170,7 +16221,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16170
16221
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16171
16222
|
* Notifications service.
|
|
16172
16223
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16173
|
-
* @version
|
|
16224
|
+
* @version 208.0.0
|
|
16174
16225
|
*//**
|
|
16175
16226
|
* Constructs a new NotificationsApi.
|
|
16176
16227
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16227,7 +16278,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16227
16278
|
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(){/**
|
|
16228
16279
|
* OAuth service.
|
|
16229
16280
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16230
|
-
* @version
|
|
16281
|
+
* @version 208.0.0
|
|
16231
16282
|
*//**
|
|
16232
16283
|
* Constructs a new OAuthApi.
|
|
16233
16284
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16312,7 +16363,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16312
16363
|
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(){/**
|
|
16313
16364
|
* Objects service.
|
|
16314
16365
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16315
|
-
* @version
|
|
16366
|
+
* @version 208.0.0
|
|
16316
16367
|
*//**
|
|
16317
16368
|
* Constructs a new ObjectsApi.
|
|
16318
16369
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16383,7 +16434,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16383
16434
|
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(){/**
|
|
16384
16435
|
* OperationalEvents service.
|
|
16385
16436
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16386
|
-
* @version
|
|
16437
|
+
* @version 208.0.0
|
|
16387
16438
|
*//**
|
|
16388
16439
|
* Constructs a new OperationalEventsApi.
|
|
16389
16440
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16401,7 +16452,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
16401
16452
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16402
16453
|
* Organization service.
|
|
16403
16454
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16404
|
-
* @version
|
|
16455
|
+
* @version 208.0.0
|
|
16405
16456
|
*//**
|
|
16406
16457
|
* Constructs a new OrganizationApi.
|
|
16407
16458
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16526,7 +16577,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16526
16577
|
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(){/**
|
|
16527
16578
|
* OrganizationAuthorization service.
|
|
16528
16579
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16529
|
-
* @version
|
|
16580
|
+
* @version 208.0.0
|
|
16530
16581
|
*//**
|
|
16531
16582
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16532
16583
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16860,7 +16911,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16860
16911
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16861
16912
|
* Outbound service.
|
|
16862
16913
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16863
|
-
* @version
|
|
16914
|
+
* @version 208.0.0
|
|
16864
16915
|
*//**
|
|
16865
16916
|
* Constructs a new OutboundApi.
|
|
16866
16917
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17967,7 +18018,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17967
18018
|
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(){/**
|
|
17968
18019
|
* Presence service.
|
|
17969
18020
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17970
|
-
* @version
|
|
18021
|
+
* @version 208.0.0
|
|
17971
18022
|
*//**
|
|
17972
18023
|
* Constructs a new PresenceApi.
|
|
17973
18024
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18140,7 +18191,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18140
18191
|
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(){/**
|
|
18141
18192
|
* ProcessAutomation service.
|
|
18142
18193
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18143
|
-
* @version
|
|
18194
|
+
* @version 208.0.0
|
|
18144
18195
|
*//**
|
|
18145
18196
|
* Constructs a new ProcessAutomationApi.
|
|
18146
18197
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18203,7 +18254,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18203
18254
|
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(){/**
|
|
18204
18255
|
* Quality service.
|
|
18205
18256
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18206
|
-
* @version
|
|
18257
|
+
* @version 208.0.0
|
|
18207
18258
|
*//**
|
|
18208
18259
|
* Constructs a new QualityApi.
|
|
18209
18260
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18680,7 +18731,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18680
18731
|
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(){/**
|
|
18681
18732
|
* Recording service.
|
|
18682
18733
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18683
|
-
* @version
|
|
18734
|
+
* @version 208.0.0
|
|
18684
18735
|
*//**
|
|
18685
18736
|
* Constructs a new RecordingApi.
|
|
18686
18737
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19092,7 +19143,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19092
19143
|
*/},{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(){/**
|
|
19093
19144
|
* ResponseManagement service.
|
|
19094
19145
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19095
|
-
* @version
|
|
19146
|
+
* @version 208.0.0
|
|
19096
19147
|
*//**
|
|
19097
19148
|
* Constructs a new ResponseManagementApi.
|
|
19098
19149
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19213,7 +19264,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19213
19264
|
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(){/**
|
|
19214
19265
|
* Routing service.
|
|
19215
19266
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19216
|
-
* @version
|
|
19267
|
+
* @version 208.0.0
|
|
19217
19268
|
*//**
|
|
19218
19269
|
* Constructs a new RoutingApi.
|
|
19219
19270
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19341,14 +19392,14 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
19341
19392
|
* @param {String} codeId Wrapup Code ID
|
|
19342
19393
|
*/},{key:"deleteRoutingWrapupcode",value:function deleteRoutingWrapupcode(codeId){// verify the required parameter 'codeId' is set
|
|
19343
19394
|
if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','DELETE',{'codeId':codeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19344
|
-
* Remove routing language from user
|
|
19395
|
+
* Remove a routing language from a user
|
|
19345
19396
|
*
|
|
19346
19397
|
* @param {String} userId User ID
|
|
19347
19398
|
* @param {String} languageId languageId
|
|
19348
19399
|
*/},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
|
|
19349
19400
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
19350
19401
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19351
|
-
* Remove routing skill from user
|
|
19402
|
+
* Remove a routing skill from a user
|
|
19352
19403
|
*
|
|
19353
19404
|
* @param {String} userId User ID
|
|
19354
19405
|
* @param {String} skillId skillId
|
|
@@ -19808,7 +19859,7 @@ if(codeId===undefined||codeId===null){throw'Missing the required parameter "code
|
|
|
19808
19859
|
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
19809
19860
|
*/},{key:"getUserQueues",value:function getUserQueues(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
19810
19861
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'joined':opts['joined'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19811
|
-
* List routing
|
|
19862
|
+
* List routing languages assigned to a user
|
|
19812
19863
|
*
|
|
19813
19864
|
* @param {String} userId User ID
|
|
19814
19865
|
* @param {Object} opts Optional parameters
|
|
@@ -19817,7 +19868,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19817
19868
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
19818
19869
|
*/},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
19819
19870
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19820
|
-
* List routing skills
|
|
19871
|
+
* List routing skills assigned to a user
|
|
19821
19872
|
*
|
|
19822
19873
|
* @param {String} userId User ID
|
|
19823
19874
|
* @param {Object} opts Optional parameters
|
|
@@ -19932,7 +19983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19932
19983
|
*/},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
19933
19984
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
|
|
19934
19985
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19935
|
-
* Update routing language proficiency
|
|
19986
|
+
* Update an assigned routing language's proficiency
|
|
19936
19987
|
*
|
|
19937
19988
|
* @param {String} userId User ID
|
|
19938
19989
|
* @param {String} languageId languageId
|
|
@@ -19941,14 +19992,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19941
19992
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
19942
19993
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
|
|
19943
19994
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19944
|
-
*
|
|
19995
|
+
* Assign multiple routing languages to a user. Max 50 routing languages in request body
|
|
19945
19996
|
*
|
|
19946
19997
|
* @param {String} userId User ID
|
|
19947
19998
|
* @param {Array.<Object>} body Language
|
|
19948
19999
|
*/},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
|
|
19949
20000
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
|
|
19950
20001
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19951
|
-
*
|
|
20002
|
+
* Assign multiple routing skills to a user
|
|
19952
20003
|
*
|
|
19953
20004
|
* @param {String} userId User ID
|
|
19954
20005
|
* @param {Array.<Object>} body Skill
|
|
@@ -20102,14 +20153,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20102
20153
|
* @param {Object} body WrapupCode
|
|
20103
20154
|
*/},{key:"postRoutingWrapupcodes",value:function postRoutingWrapupcodes(body){// verify the required parameter 'body' is set
|
|
20104
20155
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20105
|
-
*
|
|
20156
|
+
* Assign a routing language to a user
|
|
20106
20157
|
*
|
|
20107
20158
|
* @param {String} userId User ID
|
|
20108
20159
|
* @param {Object} body Language
|
|
20109
20160
|
*/},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
|
|
20110
20161
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
|
|
20111
20162
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20112
|
-
*
|
|
20163
|
+
* Assign a routing skill to a user
|
|
20113
20164
|
*
|
|
20114
20165
|
* @param {String} userId User ID
|
|
20115
20166
|
* @param {Object} body Skill
|
|
@@ -20199,7 +20250,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20199
20250
|
*/},{key:"putRoutingWrapupcode",value:function putRoutingWrapupcode(codeId,body){// verify the required parameter 'codeId' is set
|
|
20200
20251
|
if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling putRoutingWrapupcode';}// verify the required parameter 'body' is set
|
|
20201
20252
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingWrapupcode';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/{codeId}','PUT',{'codeId':codeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20202
|
-
* Update routing skill proficiency
|
|
20253
|
+
* Update an assigned routing skill's proficiency
|
|
20203
20254
|
*
|
|
20204
20255
|
* @param {String} userId User ID
|
|
20205
20256
|
* @param {String} skillId skillId
|
|
@@ -20208,7 +20259,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20208
20259
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
|
|
20209
20260
|
if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
|
|
20210
20261
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20211
|
-
*
|
|
20262
|
+
* Assign multiple routing skills to a user, replacing any current assignments
|
|
20212
20263
|
*
|
|
20213
20264
|
* @param {String} userId User ID
|
|
20214
20265
|
* @param {Array.<Object>} body Skill
|
|
@@ -20217,7 +20268,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20217
20268
|
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(){/**
|
|
20218
20269
|
* SCIM service.
|
|
20219
20270
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20220
|
-
* @version
|
|
20271
|
+
* @version 208.0.0
|
|
20221
20272
|
*//**
|
|
20222
20273
|
* Constructs a new SCIMApi.
|
|
20223
20274
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20442,7 +20493,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20442
20493
|
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(){/**
|
|
20443
20494
|
* ScreenRecording service.
|
|
20444
20495
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20445
|
-
* @version
|
|
20496
|
+
* @version 208.0.0
|
|
20446
20497
|
*//**
|
|
20447
20498
|
* Constructs a new ScreenRecordingApi.
|
|
20448
20499
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20457,7 +20508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20457
20508
|
*/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(){/**
|
|
20458
20509
|
* Scripts service.
|
|
20459
20510
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20460
|
-
* @version
|
|
20511
|
+
* @version 208.0.0
|
|
20461
20512
|
*//**
|
|
20462
20513
|
* Constructs a new ScriptsApi.
|
|
20463
20514
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20593,7 +20644,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20593
20644
|
*/},{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(){/**
|
|
20594
20645
|
* Search service.
|
|
20595
20646
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20596
|
-
* @version
|
|
20647
|
+
* @version 208.0.0
|
|
20597
20648
|
*//**
|
|
20598
20649
|
* Constructs a new SearchApi.
|
|
20599
20650
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20641,6 +20692,13 @@ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when
|
|
|
20641
20692
|
* @param {Boolean} opts.profile profile (default to true)
|
|
20642
20693
|
*/},{key:"getSearchSuggest",value:function getSearchSuggest(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
20643
20694
|
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'profile':opts['profile']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20695
|
+
* Search sites using the q64 value returned from a previous search
|
|
20696
|
+
*
|
|
20697
|
+
* @param {String} q64 q64
|
|
20698
|
+
* @param {Object} opts Optional parameters
|
|
20699
|
+
* @param {Array.<String>} opts.expand expand
|
|
20700
|
+
*/},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
20701
|
+
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20644
20702
|
* Search users using the q64 value returned from a previous search
|
|
20645
20703
|
*
|
|
20646
20704
|
* @param {String} q64 q64
|
|
@@ -20724,6 +20782,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20724
20782
|
* @param {Object} body Search request options
|
|
20725
20783
|
*/},{key:"postTeamsSearch",value:function postTeamsSearch(body){// verify the required parameter 'body' is set
|
|
20726
20784
|
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']);}/**
|
|
20785
|
+
* Search sites
|
|
20786
|
+
*
|
|
20787
|
+
* @param {Object} body Search request options
|
|
20788
|
+
*/},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
|
|
20789
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20727
20790
|
* Search users
|
|
20728
20791
|
*
|
|
20729
20792
|
* @param {Object} body Search request options
|
|
@@ -20753,7 +20816,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20753
20816
|
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(){/**
|
|
20754
20817
|
* Settings service.
|
|
20755
20818
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20756
|
-
* @version
|
|
20819
|
+
* @version 208.0.0
|
|
20757
20820
|
*//**
|
|
20758
20821
|
* Constructs a new SettingsApi.
|
|
20759
20822
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20803,7 +20866,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20803
20866
|
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 SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
20804
20867
|
* SpeechTextAnalytics service.
|
|
20805
20868
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20806
|
-
* @version
|
|
20869
|
+
* @version 208.0.0
|
|
20807
20870
|
*//**
|
|
20808
20871
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20809
20872
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20988,13 +21051,13 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20988
21051
|
* @param {String} jobId The id of the publish topics job
|
|
20989
21052
|
*/},{key:"getSpeechandtextanalyticsTopicsPublishjob",value:function getSpeechandtextanalyticsTopicsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
20990
21053
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20991
|
-
* Translate
|
|
21054
|
+
* Translate a single interaction recording (or an email conversation)
|
|
20992
21055
|
*
|
|
20993
21056
|
* @param {String} languageId Target translation language
|
|
20994
21057
|
* @param {String} conversationId Conversation id
|
|
20995
21058
|
* @param {Object} opts Optional parameters
|
|
20996
|
-
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
20997
|
-
* @param {String} opts.recordingId Recording id associated with the communication
|
|
21059
|
+
* @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
|
|
21060
|
+
* @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
|
|
20998
21061
|
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20999
21062
|
*/},{key:"getSpeechandtextanalyticsTranslationsLanguageConversation",value:function getSpeechandtextanalyticsTranslationsLanguageConversation(languageId,conversationId,opts){opts=opts||{};// verify the required parameter 'languageId' is set
|
|
21000
21063
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}// verify the required parameter 'conversationId' is set
|
|
@@ -21102,7 +21165,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21102
21165
|
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(){/**
|
|
21103
21166
|
* Stations service.
|
|
21104
21167
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21105
|
-
* @version
|
|
21168
|
+
* @version 208.0.0
|
|
21106
21169
|
*//**
|
|
21107
21170
|
* Constructs a new StationsApi.
|
|
21108
21171
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21134,7 +21197,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21134
21197
|
*/},{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(){/**
|
|
21135
21198
|
* Suggest service.
|
|
21136
21199
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21137
|
-
* @version
|
|
21200
|
+
* @version 208.0.0
|
|
21138
21201
|
*//**
|
|
21139
21202
|
* Constructs a new SuggestApi.
|
|
21140
21203
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21174,7 +21237,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21174
21237
|
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(){/**
|
|
21175
21238
|
* TaskManagement service.
|
|
21176
21239
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21177
|
-
* @version
|
|
21240
|
+
* @version 208.0.0
|
|
21178
21241
|
*//**
|
|
21179
21242
|
* Constructs a new TaskManagementApi.
|
|
21180
21243
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21580,7 +21643,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21580
21643
|
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(){/**
|
|
21581
21644
|
* Teams service.
|
|
21582
21645
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21583
|
-
* @version
|
|
21646
|
+
* @version 208.0.0
|
|
21584
21647
|
*//**
|
|
21585
21648
|
* Constructs a new TeamsApi.
|
|
21586
21649
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -21660,7 +21723,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21660
21723
|
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(){/**
|
|
21661
21724
|
* Telephony service.
|
|
21662
21725
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
21663
|
-
* @version
|
|
21726
|
+
* @version 208.0.0
|
|
21664
21727
|
*//**
|
|
21665
21728
|
* Constructs a new TelephonyApi.
|
|
21666
21729
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21707,7 +21770,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21707
21770
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
21708
21771
|
* TelephonyProvidersEdge service.
|
|
21709
21772
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21710
|
-
* @version
|
|
21773
|
+
* @version 208.0.0
|
|
21711
21774
|
*//**
|
|
21712
21775
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21713
21776
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -22199,6 +22262,13 @@ if(siteId===undefined||siteId===null){throw'Missing the required parameter "site
|
|
|
22199
22262
|
* @param {Boolean} opts.managed Filter by managed
|
|
22200
22263
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
22201
22264
|
*/},{key:"getTelephonyProvidersEdgesSites",value:function getTelephonyProvidersEdgesSites(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'location.id':opts['locationId'],'managed':opts['managed'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22265
|
+
* Search sites using the q64 value returned from a previous search
|
|
22266
|
+
*
|
|
22267
|
+
* @param {String} q64 q64
|
|
22268
|
+
* @param {Object} opts Optional parameters
|
|
22269
|
+
* @param {Array.<String>} opts.expand expand
|
|
22270
|
+
*/},{key:"getTelephonyProvidersEdgesSitesSearch",value:function getTelephonyProvidersEdgesSitesSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
22271
|
+
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22202
22272
|
* Get a list of Edge-compatible time zones
|
|
22203
22273
|
*
|
|
22204
22274
|
* @param {Object} opts Optional parameters
|
|
@@ -22414,6 +22484,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22414
22484
|
* @param {Object} body Site
|
|
22415
22485
|
*/},{key:"postTelephonyProvidersEdgesSites",value:function postTelephonyProvidersEdgesSites(body){// verify the required parameter 'body' is set
|
|
22416
22486
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22487
|
+
* Search sites
|
|
22488
|
+
*
|
|
22489
|
+
* @param {Object} body Search request options
|
|
22490
|
+
*/},{key:"postTelephonyProvidersEdgesSitesSearch",value:function postTelephonyProvidersEdgesSitesSearch(body){// verify the required parameter 'body' is set
|
|
22491
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22417
22492
|
* Create a Trunk Base Settings object
|
|
22418
22493
|
*
|
|
22419
22494
|
* @param {Object} body Trunk base settings
|
|
@@ -22530,7 +22605,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
22530
22605
|
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(){/**
|
|
22531
22606
|
* Textbots service.
|
|
22532
22607
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
22533
|
-
* @version
|
|
22608
|
+
* @version 208.0.0
|
|
22534
22609
|
*//**
|
|
22535
22610
|
* Constructs a new TextbotsApi.
|
|
22536
22611
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -22565,7 +22640,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
22565
22640
|
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(){/**
|
|
22566
22641
|
* Tokens service.
|
|
22567
22642
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
22568
|
-
* @version
|
|
22643
|
+
* @version 208.0.0
|
|
22569
22644
|
*//**
|
|
22570
22645
|
* Constructs a new TokensApi.
|
|
22571
22646
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -22599,7 +22674,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22599
22674
|
*/},{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(){/**
|
|
22600
22675
|
* Uploads service.
|
|
22601
22676
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
22602
|
-
* @version
|
|
22677
|
+
* @version 208.0.0
|
|
22603
22678
|
*//**
|
|
22604
22679
|
* Constructs a new UploadsApi.
|
|
22605
22680
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -22665,7 +22740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22665
22740
|
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(){/**
|
|
22666
22741
|
* Usage service.
|
|
22667
22742
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
22668
|
-
* @version
|
|
22743
|
+
* @version 208.0.0
|
|
22669
22744
|
*//**
|
|
22670
22745
|
* Constructs a new UsageApi.
|
|
22671
22746
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22719,7 +22794,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22719
22794
|
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(){/**
|
|
22720
22795
|
* UserRecordings service.
|
|
22721
22796
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22722
|
-
* @version
|
|
22797
|
+
* @version 208.0.0
|
|
22723
22798
|
*//**
|
|
22724
22799
|
* Constructs a new UserRecordingsApi.
|
|
22725
22800
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22776,7 +22851,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22776
22851
|
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(){/**
|
|
22777
22852
|
* Users service.
|
|
22778
22853
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22779
|
-
* @version
|
|
22854
|
+
* @version 208.0.0
|
|
22780
22855
|
*//**
|
|
22781
22856
|
* Constructs a new UsersApi.
|
|
22782
22857
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22816,14 +22891,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22816
22891
|
* @param {String} userId User ID
|
|
22817
22892
|
*/},{key:"deleteUser",value:function deleteUser(userId){// verify the required parameter 'userId' is set
|
|
22818
22893
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUser';}return this.apiClient.callApi('/api/v2/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22819
|
-
* Remove routing language from user
|
|
22894
|
+
* Remove a routing language from a user
|
|
22820
22895
|
*
|
|
22821
22896
|
* @param {String} userId User ID
|
|
22822
22897
|
* @param {String} languageId languageId
|
|
22823
22898
|
*/},{key:"deleteUserRoutinglanguage",value:function deleteUserRoutinglanguage(userId,languageId){// verify the required parameter 'userId' is set
|
|
22824
22899
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
22825
22900
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','DELETE',{'userId':userId,'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22826
|
-
* Remove routing skill from user
|
|
22901
|
+
* Remove a routing skill from a user
|
|
22827
22902
|
*
|
|
22828
22903
|
* @param {String} userId User ID
|
|
22829
22904
|
* @param {String} skillId skillId
|
|
@@ -23027,7 +23102,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23027
23102
|
* @param {String} subjectId User ID
|
|
23028
23103
|
*/},{key:"getUserRoles",value:function getUserRoles(subjectId){// verify the required parameter 'subjectId' is set
|
|
23029
23104
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling getUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','GET',{'subjectId':subjectId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23030
|
-
* List routing
|
|
23105
|
+
* List routing languages assigned to a user
|
|
23031
23106
|
*
|
|
23032
23107
|
* @param {String} userId User ID
|
|
23033
23108
|
* @param {Object} opts Optional parameters
|
|
@@ -23036,7 +23111,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
23036
23111
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
23037
23112
|
*/},{key:"getUserRoutinglanguages",value:function getUserRoutinglanguages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
23038
23113
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23039
|
-
* List routing skills
|
|
23114
|
+
* List routing skills assigned to a user
|
|
23040
23115
|
*
|
|
23041
23116
|
* @param {String} userId User ID
|
|
23042
23117
|
* @param {Object} opts Optional parameters
|
|
@@ -23201,7 +23276,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23201
23276
|
*/},{key:"patchUserQueues",value:function patchUserQueues(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
23202
23277
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserQueues';}// verify the required parameter 'body' is set
|
|
23203
23278
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserQueues';}return this.apiClient.callApi('/api/v2/users/{userId}/queues','PATCH',{'userId':userId},{'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23204
|
-
* Update routing language proficiency
|
|
23279
|
+
* Update an assigned routing language's proficiency
|
|
23205
23280
|
*
|
|
23206
23281
|
* @param {String} userId User ID
|
|
23207
23282
|
* @param {String} languageId languageId
|
|
@@ -23210,14 +23285,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23210
23285
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';}// verify the required parameter 'languageId' is set
|
|
23211
23286
|
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';}// verify the required parameter 'body' is set
|
|
23212
23287
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/{languageId}','PATCH',{'userId':userId,'languageId':languageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23213
|
-
*
|
|
23288
|
+
* Assign multiple routing languages to a user. Max 50 routing languages in request body
|
|
23214
23289
|
*
|
|
23215
23290
|
* @param {String} userId User ID
|
|
23216
23291
|
* @param {Array.<Object>} body Language
|
|
23217
23292
|
*/},{key:"patchUserRoutinglanguagesBulk",value:function patchUserRoutinglanguagesBulk(userId,body){// verify the required parameter 'userId' is set
|
|
23218
23293
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';}// verify the required parameter 'body' is set
|
|
23219
23294
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages/bulk','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23220
|
-
*
|
|
23295
|
+
* Assign multiple routing skills to a user
|
|
23221
23296
|
*
|
|
23222
23297
|
* @param {String} userId User ID
|
|
23223
23298
|
* @param {Array.<Object>} body Skill
|
|
@@ -23320,14 +23395,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23320
23395
|
*/},{key:"postUserPassword",value:function postUserPassword(userId,body){// verify the required parameter 'userId' is set
|
|
23321
23396
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserPassword';}// verify the required parameter 'body' is set
|
|
23322
23397
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserPassword';}return this.apiClient.callApi('/api/v2/users/{userId}/password','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23323
|
-
*
|
|
23398
|
+
* Assign a routing language to a user
|
|
23324
23399
|
*
|
|
23325
23400
|
* @param {String} userId User ID
|
|
23326
23401
|
* @param {Object} body Language
|
|
23327
23402
|
*/},{key:"postUserRoutinglanguages",value:function postUserRoutinglanguages(userId,body){// verify the required parameter 'userId' is set
|
|
23328
23403
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';}// verify the required parameter 'body' is set
|
|
23329
23404
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutinglanguages';}return this.apiClient.callApi('/api/v2/users/{userId}/routinglanguages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23330
|
-
*
|
|
23405
|
+
* Assign a routing skill to a user
|
|
23331
23406
|
*
|
|
23332
23407
|
* @param {String} userId User ID
|
|
23333
23408
|
* @param {Object} body Skill
|
|
@@ -23418,7 +23493,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23418
23493
|
*/},{key:"putUserRoles",value:function putUserRoles(subjectId,body){// verify the required parameter 'subjectId' is set
|
|
23419
23494
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling putUserRoles';}// verify the required parameter 'body' is set
|
|
23420
23495
|
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']);}/**
|
|
23421
|
-
* Update routing skill proficiency
|
|
23496
|
+
* Update an assigned routing skill's proficiency
|
|
23422
23497
|
*
|
|
23423
23498
|
* @param {String} userId User ID
|
|
23424
23499
|
* @param {String} skillId skillId
|
|
@@ -23427,7 +23502,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23427
23502
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskill';}// verify the required parameter 'skillId' is set
|
|
23428
23503
|
if(skillId===undefined||skillId===null){throw'Missing the required parameter "skillId" when calling putUserRoutingskill';}// verify the required parameter 'body' is set
|
|
23429
23504
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskill';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/{skillId}','PUT',{'userId':userId,'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23430
|
-
*
|
|
23505
|
+
* Assign multiple routing skills to a user, replacing any current assignments
|
|
23431
23506
|
*
|
|
23432
23507
|
* @param {String} userId User ID
|
|
23433
23508
|
* @param {Array.<Object>} body Skill
|
|
@@ -23473,7 +23548,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
23473
23548
|
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(){/**
|
|
23474
23549
|
* Utilities service.
|
|
23475
23550
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
23476
|
-
* @version
|
|
23551
|
+
* @version 208.0.0
|
|
23477
23552
|
*//**
|
|
23478
23553
|
* Constructs a new UtilitiesApi.
|
|
23479
23554
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -23500,7 +23575,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23500
23575
|
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(){/**
|
|
23501
23576
|
* Voicemail service.
|
|
23502
23577
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
23503
|
-
* @version
|
|
23578
|
+
* @version 208.0.0
|
|
23504
23579
|
*//**
|
|
23505
23580
|
* Constructs a new VoicemailApi.
|
|
23506
23581
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -23662,7 +23737,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23662
23737
|
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(){/**
|
|
23663
23738
|
* WebChat service.
|
|
23664
23739
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
23665
|
-
* @version
|
|
23740
|
+
* @version 208.0.0
|
|
23666
23741
|
*//**
|
|
23667
23742
|
* Constructs a new WebChatApi.
|
|
23668
23743
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23797,7 +23872,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23797
23872
|
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(){/**
|
|
23798
23873
|
* WebDeployments service.
|
|
23799
23874
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23800
|
-
* @version
|
|
23875
|
+
* @version 208.0.0
|
|
23801
23876
|
*//**
|
|
23802
23877
|
* Constructs a new WebDeploymentsApi.
|
|
23803
23878
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23918,7 +23993,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23918
23993
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
23919
23994
|
* WebMessaging service.
|
|
23920
23995
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23921
|
-
* @version
|
|
23996
|
+
* @version 208.0.0
|
|
23922
23997
|
*//**
|
|
23923
23998
|
* Constructs a new WebMessagingApi.
|
|
23924
23999
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23934,7 +24009,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23934
24009
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
23935
24010
|
* Widgets service.
|
|
23936
24011
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23937
|
-
* @version
|
|
24012
|
+
* @version 208.0.0
|
|
23938
24013
|
*//**
|
|
23939
24014
|
* Constructs a new WidgetsApi.
|
|
23940
24015
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23969,7 +24044,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23969
24044
|
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(){/**
|
|
23970
24045
|
* WorkforceManagement service.
|
|
23971
24046
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23972
|
-
* @version
|
|
24047
|
+
* @version 208.0.0
|
|
23973
24048
|
*//**
|
|
23974
24049
|
* Constructs a new WorkforceManagementApi.
|
|
23975
24050
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -25750,7 +25825,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25750
25825
|
* </pre>
|
|
25751
25826
|
* </p>
|
|
25752
25827
|
* @module purecloud-platform-client-v2/index
|
|
25753
|
-
* @version
|
|
25828
|
+
* @version 208.0.0
|
|
25754
25829
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
25755
25830
|
* The ApiClient constructor.
|
|
25756
25831
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|