purecloud-platform-client-v2 187.0.0 → 188.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +406 -93
- package/dist/web-amd/purecloud-platform-client-v2.js +406 -93
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +173 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +261 -139
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +379 -146
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- 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 +3 -10
- 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/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +201 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +34 -4
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +63 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -847,7 +847,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
847
847
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
848
848
|
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:"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];}}}]);return Configuration;}();/**
|
|
849
849
|
* @module purecloud-platform-client-v2/ApiClient
|
|
850
|
-
* @version
|
|
850
|
+
* @version 188.0.0
|
|
851
851
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
852
852
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
853
853
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1159,7 +1159,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1159
1159
|
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);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1160
1160
|
* Alerting service.
|
|
1161
1161
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1162
|
-
* @version
|
|
1162
|
+
* @version 188.0.0
|
|
1163
1163
|
*/ /**
|
|
1164
1164
|
* Constructs a new AlertingApi.
|
|
1165
1165
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1316,7 +1316,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1316
1316
|
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']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1317
1317
|
* Analytics service.
|
|
1318
1318
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1319
|
-
* @version
|
|
1319
|
+
* @version 188.0.0
|
|
1320
1320
|
*/ /**
|
|
1321
1321
|
* Constructs a new AnalyticsApi.
|
|
1322
1322
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1742,7 +1742,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1742
1742
|
* Query for flow execution aggregates
|
|
1743
1743
|
*
|
|
1744
1744
|
* @param {Object} body query
|
|
1745
|
-
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1746
1745
|
*/},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1747
1746
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1748
1747
|
* Query for flow activity observations
|
|
@@ -1798,6 +1797,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1798
1797
|
* @param {Object} body query
|
|
1799
1798
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
1800
1799
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1800
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
1801
|
+
*
|
|
1802
|
+
* @param {Object} body query
|
|
1803
|
+
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1804
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1801
1805
|
* Generate a view export request
|
|
1802
1806
|
* This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
|
|
1803
1807
|
* @param {Object} body ReportingExportJobRequest
|
|
@@ -1923,7 +1927,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
1923
1927
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
1924
1928
|
* Architect service.
|
|
1925
1929
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1926
|
-
* @version
|
|
1930
|
+
* @version 188.0.0
|
|
1927
1931
|
*/ /**
|
|
1928
1932
|
* Constructs a new ArchitectApi.
|
|
1929
1933
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -2859,9 +2863,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2859
2863
|
* @param {Object} body query
|
|
2860
2864
|
* @param {Object} opts Optional parameters
|
|
2861
2865
|
* @param {Boolean} opts.indexOnly indexes only
|
|
2866
|
+
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
2862
2867
|
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2863
2868
|
*/},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2864
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2869
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2865
2870
|
* Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
|
|
2866
2871
|
*
|
|
2867
2872
|
*/},{key:"postFlowsJobs",value:function postFlowsJobs(){return this.apiClient.callApi('/api/v2/flows/jobs','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -2969,7 +2974,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
2969
2974
|
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']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
2970
2975
|
* Audit service.
|
|
2971
2976
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
2972
|
-
* @version
|
|
2977
|
+
* @version 188.0.0
|
|
2973
2978
|
*/ /**
|
|
2974
2979
|
* Constructs a new AuditApi.
|
|
2975
2980
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3011,7 +3016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3011
3016
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3012
3017
|
* Authorization service.
|
|
3013
3018
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3014
|
-
* @version
|
|
3019
|
+
* @version 188.0.0
|
|
3015
3020
|
*/ /**
|
|
3016
3021
|
* Constructs a new AuthorizationApi.
|
|
3017
3022
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3065,8 +3070,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
3065
3070
|
* @param {String} opts.nextPage next page token
|
|
3066
3071
|
* @param {String} opts.previousPage Previous page token
|
|
3067
3072
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
3073
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
3068
3074
|
* @param {String} opts.name Search term to filter by division name
|
|
3069
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3075
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3070
3076
|
* Retrieve the home division for the organization.
|
|
3071
3077
|
* Will not include object counts.
|
|
3072
3078
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -3321,7 +3327,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3321
3327
|
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']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3322
3328
|
* Billing service.
|
|
3323
3329
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3324
|
-
* @version
|
|
3330
|
+
* @version 188.0.0
|
|
3325
3331
|
*/ /**
|
|
3326
3332
|
* Constructs a new BillingApi.
|
|
3327
3333
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3345,7 +3351,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3345
3351
|
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']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3346
3352
|
* CarrierServices service.
|
|
3347
3353
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3348
|
-
* @version
|
|
3354
|
+
* @version 188.0.0
|
|
3349
3355
|
*/ /**
|
|
3350
3356
|
* Constructs a new CarrierServicesApi.
|
|
3351
3357
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3365,7 +3371,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3365
3371
|
*/},{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']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3366
3372
|
* Chat service.
|
|
3367
3373
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3368
|
-
* @version
|
|
3374
|
+
* @version 188.0.0
|
|
3369
3375
|
*/ /**
|
|
3370
3376
|
* Constructs a new ChatApi.
|
|
3371
3377
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3558,7 +3564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3558
3564
|
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']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3559
3565
|
* Coaching service.
|
|
3560
3566
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3561
|
-
* @version
|
|
3567
|
+
* @version 188.0.0
|
|
3562
3568
|
*/ /**
|
|
3563
3569
|
* Constructs a new CoachingApi.
|
|
3564
3570
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3711,7 +3717,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3711
3717
|
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']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
3712
3718
|
* ContentManagement service.
|
|
3713
3719
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3714
|
-
* @version
|
|
3720
|
+
* @version 188.0.0
|
|
3715
3721
|
*/ /**
|
|
3716
3722
|
* Constructs a new ContentManagementApi.
|
|
3717
3723
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -3994,7 +4000,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
3994
4000
|
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']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
3995
4001
|
* Conversations service.
|
|
3996
4002
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
3997
|
-
* @version
|
|
4003
|
+
* @version 188.0.0
|
|
3998
4004
|
*/ /**
|
|
3999
4005
|
* Constructs a new ConversationsApi.
|
|
4000
4006
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4982,8 +4988,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4982
4988
|
*/},{key:"patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
4983
4989
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}// verify the required parameter 'body' is set
|
|
4984
4990
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4985
|
-
* Update
|
|
4986
|
-
*
|
|
4991
|
+
* Update a WhatsApp messaging integration
|
|
4992
|
+
*
|
|
4987
4993
|
* @param {String} integrationId Integration ID
|
|
4988
4994
|
* @param {Object} body WhatsAppIntegrationUpdateRequest
|
|
4989
4995
|
*/},{key:"patchConversationsMessagingIntegrationsWhatsappIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
@@ -5100,7 +5106,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5100
5106
|
* @param {String} conversationId conversation ID
|
|
5101
5107
|
* @param {String} participantId participant ID
|
|
5102
5108
|
* @param {Object} body Transfer request
|
|
5103
|
-
* postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5104
5109
|
*/},{key:"postConversationParticipantReplaceAgent",value:function postConversationParticipantReplaceAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5105
5110
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
5106
5111
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
@@ -5110,7 +5115,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5110
5115
|
* @param {String} conversationId conversation ID
|
|
5111
5116
|
* @param {String} participantId participant ID
|
|
5112
5117
|
* @param {Object} body Transfer request
|
|
5113
|
-
* postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5114
5118
|
*/},{key:"postConversationParticipantReplaceExternal",value:function postConversationParticipantReplaceExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5115
5119
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'participantId' is set
|
|
5116
5120
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'body' is set
|
|
@@ -5120,7 +5124,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5120
5124
|
* @param {String} conversationId conversation ID
|
|
5121
5125
|
* @param {String} participantId participant ID
|
|
5122
5126
|
* @param {Object} body Transfer request
|
|
5123
|
-
* postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5124
5127
|
*/},{key:"postConversationParticipantReplaceQueue",value:function postConversationParticipantReplaceQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5125
5128
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'participantId' is set
|
|
5126
5129
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'body' is set
|
|
@@ -5190,7 +5193,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5190
5193
|
* @param {String} conversationId conversationId
|
|
5191
5194
|
* @param {String} participantId participantId
|
|
5192
5195
|
* @param {Object} body Destination agent and initial speak to
|
|
5193
|
-
* postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5194
5196
|
*/},{key:"postConversationsCallParticipantConsultAgent",value:function postConversationsCallParticipantConsultAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5195
5197
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
5196
5198
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
@@ -5200,7 +5202,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5200
5202
|
* @param {String} conversationId conversationId
|
|
5201
5203
|
* @param {String} participantId participantId
|
|
5202
5204
|
* @param {Object} body Destination address and initial speak to
|
|
5203
|
-
* postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5204
5205
|
*/},{key:"postConversationsCallParticipantConsultExternal",value:function postConversationsCallParticipantConsultExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5205
5206
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'participantId' is set
|
|
5206
5207
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'body' is set
|
|
@@ -5210,7 +5211,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5210
5211
|
* @param {String} conversationId conversationId
|
|
5211
5212
|
* @param {String} participantId participantId
|
|
5212
5213
|
* @param {Object} body Destination queue and initial speak to
|
|
5213
|
-
* postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5214
5214
|
*/},{key:"postConversationsCallParticipantConsultQueue",value:function postConversationsCallParticipantConsultQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5215
5215
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'participantId' is set
|
|
5216
5216
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'body' is set
|
|
@@ -5476,7 +5476,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
5476
5476
|
*
|
|
5477
5477
|
* @param {String} conversationId conversationId
|
|
5478
5478
|
* @param {String} participantId participantId
|
|
5479
|
-
* postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5480
5479
|
*/},{key:"postConversationsMessageParticipantMonitor",value:function postConversationsMessageParticipantMonitor(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
5481
5480
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';}// verify the required parameter 'participantId' is set
|
|
5482
5481
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -5728,7 +5727,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5728
5727
|
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']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
5729
5728
|
* DataExtensions service.
|
|
5730
5729
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5731
|
-
* @version
|
|
5730
|
+
* @version 188.0.0
|
|
5732
5731
|
*/ /**
|
|
5733
5732
|
* Constructs a new DataExtensionsApi.
|
|
5734
5733
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5749,7 +5748,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5749
5748
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
5750
5749
|
* Downloads service.
|
|
5751
5750
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5752
|
-
* @version
|
|
5751
|
+
* @version 188.0.0
|
|
5753
5752
|
*/ /**
|
|
5754
5753
|
* Constructs a new DownloadsApi.
|
|
5755
5754
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5768,7 +5767,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5768
5767
|
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']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
5769
5768
|
* Emails service.
|
|
5770
5769
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5771
|
-
* @version
|
|
5770
|
+
* @version 188.0.0
|
|
5772
5771
|
*/ /**
|
|
5773
5772
|
* Constructs a new EmailsApi.
|
|
5774
5773
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5786,7 +5785,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5786
5785
|
*/},{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']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
5787
5786
|
* Events service.
|
|
5788
5787
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5789
|
-
* @version
|
|
5788
|
+
* @version 188.0.0
|
|
5790
5789
|
*/ /**
|
|
5791
5790
|
* Constructs a new EventsApi.
|
|
5792
5791
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5811,7 +5810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5811
5810
|
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']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
5812
5811
|
* ExternalContacts service.
|
|
5813
5812
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5814
|
-
* @version
|
|
5813
|
+
* @version 188.0.0
|
|
5815
5814
|
*/ /**
|
|
5816
5815
|
* Constructs a new ExternalContactsApi.
|
|
5817
5816
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6266,7 +6265,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6266
6265
|
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']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6267
6266
|
* Fax service.
|
|
6268
6267
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6269
|
-
* @version
|
|
6268
|
+
* @version 188.0.0
|
|
6270
6269
|
*/ /**
|
|
6271
6270
|
* Constructs a new FaxApi.
|
|
6272
6271
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6307,7 +6306,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
6307
6306
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6308
6307
|
* Flows service.
|
|
6309
6308
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6310
|
-
* @version
|
|
6309
|
+
* @version 188.0.0
|
|
6311
6310
|
*/ /**
|
|
6312
6311
|
* Constructs a new FlowsApi.
|
|
6313
6312
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6356,7 +6355,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6356
6355
|
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']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6357
6356
|
* Gamification service.
|
|
6358
6357
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6359
|
-
* @version
|
|
6358
|
+
* @version 188.0.0
|
|
6360
6359
|
*/ /**
|
|
6361
6360
|
* Constructs a new GamificationApi.
|
|
6362
6361
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6896,7 +6895,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6896
6895
|
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']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
6897
6896
|
* GeneralDataProtectionRegulation service.
|
|
6898
6897
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6899
|
-
* @version
|
|
6898
|
+
* @version 188.0.0
|
|
6900
6899
|
*/ /**
|
|
6901
6900
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6902
6901
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -6931,7 +6930,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
6931
6930
|
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']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
6932
6931
|
* Geolocation service.
|
|
6933
6932
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
6934
|
-
* @version
|
|
6933
|
+
* @version 188.0.0
|
|
6935
6934
|
*/ /**
|
|
6936
6935
|
* Constructs a new GeolocationApi.
|
|
6937
6936
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -6965,7 +6964,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
6965
6964
|
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']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
6966
6965
|
* Greetings service.
|
|
6967
6966
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
6968
|
-
* @version
|
|
6967
|
+
* @version 188.0.0
|
|
6969
6968
|
*/ /**
|
|
6970
6969
|
* Constructs a new GreetingsApi.
|
|
6971
6970
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7072,7 +7071,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7072
7071
|
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']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7073
7072
|
* Groups service.
|
|
7074
7073
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7075
|
-
* @version
|
|
7074
|
+
* @version 188.0.0
|
|
7076
7075
|
*/ /**
|
|
7077
7076
|
* Constructs a new GroupsApi.
|
|
7078
7077
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7205,7 +7204,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7205
7204
|
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']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7206
7205
|
* IdentityProvider service.
|
|
7207
7206
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7208
|
-
* @version
|
|
7207
|
+
* @version 188.0.0
|
|
7209
7208
|
*/ /**
|
|
7210
7209
|
* Constructs a new IdentityProviderApi.
|
|
7211
7210
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7361,7 +7360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7361
7360
|
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']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7362
7361
|
* InfrastructureAsCode service.
|
|
7363
7362
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7364
|
-
* @version
|
|
7363
|
+
* @version 188.0.0
|
|
7365
7364
|
*/ /**
|
|
7366
7365
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7367
7366
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7415,7 +7414,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7415
7414
|
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']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7416
7415
|
* Integrations service.
|
|
7417
7416
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7418
|
-
* @version
|
|
7417
|
+
* @version 188.0.0
|
|
7419
7418
|
*/ /**
|
|
7420
7419
|
* Constructs a new IntegrationsApi.
|
|
7421
7420
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -7974,7 +7973,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
7974
7973
|
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']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
7975
7974
|
* Journey service.
|
|
7976
7975
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
7977
|
-
* @version
|
|
7976
|
+
* @version 188.0.0
|
|
7978
7977
|
*/ /**
|
|
7979
7978
|
* Constructs a new JourneyApi.
|
|
7980
7979
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8267,7 +8266,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8267
8266
|
*/},{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']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8268
8267
|
* Knowledge service.
|
|
8269
8268
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8270
|
-
* @version
|
|
8269
|
+
* @version 188.0.0
|
|
8271
8270
|
*/ /**
|
|
8272
8271
|
* Constructs a new KnowledgeApi.
|
|
8273
8272
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8689,6 +8688,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
8689
8688
|
* getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8690
8689
|
*/},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8691
8690
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8691
|
+
* Get parse job report
|
|
8692
|
+
*
|
|
8693
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8694
|
+
* @param {String} parseJobId Parse job ID
|
|
8695
|
+
* @param {Object} opts Optional parameters
|
|
8696
|
+
* @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
|
|
8697
|
+
* getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8698
|
+
*/},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8699
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
8700
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8692
8701
|
* Get knowledge base unanswered group for a particular groupId
|
|
8693
8702
|
*
|
|
8694
8703
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -8722,6 +8731,14 @@ if(phraseGroupId===undefined||phraseGroupId===null){throw'Missing the required p
|
|
|
8722
8731
|
* @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
8723
8732
|
*/},{key:"getKnowledgeKnowledgebaseUnansweredGroups",value:function getKnowledgeKnowledgebaseUnansweredGroups(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8724
8733
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups','GET',{'knowledgeBaseId':knowledgeBaseId},{'app':opts['app'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8734
|
+
* Get content upload from URL job status
|
|
8735
|
+
*
|
|
8736
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8737
|
+
* @param {String} jobId Upload job ID
|
|
8738
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8739
|
+
*/},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8740
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
8741
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8725
8742
|
* Get knowledge bases
|
|
8726
8743
|
*
|
|
8727
8744
|
* @param {Object} opts Optional parameters
|
|
@@ -8853,6 +8870,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
8853
8870
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
8854
8871
|
if(importId===undefined||importId===null){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
|
|
8855
8872
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8873
|
+
* Send update to the parse operation
|
|
8874
|
+
*
|
|
8875
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8876
|
+
* @param {String} parseJobId Parse job ID
|
|
8877
|
+
* @param {Object} body
|
|
8878
|
+
* patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8879
|
+
*/},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
8880
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
8881
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
|
|
8882
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8856
8883
|
* Update a Knowledge base unanswered phrase group
|
|
8857
8884
|
*
|
|
8858
8885
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9069,6 +9096,24 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
|
|
|
9069
9096
|
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
|
|
9070
9097
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
9071
9098
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9099
|
+
* Import the parsed articles
|
|
9100
|
+
*
|
|
9101
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9102
|
+
* @param {String} parseJobId Parse job ID
|
|
9103
|
+
* @param {Object} body
|
|
9104
|
+
* postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9105
|
+
*/},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9106
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
|
|
9107
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
|
|
9108
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import','POST',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9109
|
+
* Create parse job
|
|
9110
|
+
*
|
|
9111
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9112
|
+
* @param {Object} body
|
|
9113
|
+
* postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9114
|
+
*/},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9115
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
|
|
9116
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9072
9117
|
* Search Documents
|
|
9073
9118
|
*
|
|
9074
9119
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9077,6 +9122,14 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
9077
9122
|
* @deprecated
|
|
9078
9123
|
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9079
9124
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9125
|
+
* Create content upload from URL job
|
|
9126
|
+
*
|
|
9127
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9128
|
+
* @param {Object} body uploadRequest
|
|
9129
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9130
|
+
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9131
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
9132
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9080
9133
|
* Create new knowledge base
|
|
9081
9134
|
*
|
|
9082
9135
|
* @param {Object} body
|
|
@@ -9084,7 +9137,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
9084
9137
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9085
9138
|
* LanguageUnderstanding service.
|
|
9086
9139
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9087
|
-
* @version
|
|
9140
|
+
* @version 188.0.0
|
|
9088
9141
|
*/ /**
|
|
9089
9142
|
* Constructs a new LanguageUnderstandingApi.
|
|
9090
9143
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9340,7 +9393,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9340
9393
|
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']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
9341
9394
|
* Languages service.
|
|
9342
9395
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9343
|
-
* @version
|
|
9396
|
+
* @version 188.0.0
|
|
9344
9397
|
*/ /**
|
|
9345
9398
|
* Constructs a new LanguagesApi.
|
|
9346
9399
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9395,7 +9448,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9395
9448
|
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']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
9396
9449
|
* Learning service.
|
|
9397
9450
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9398
|
-
* @version
|
|
9451
|
+
* @version 188.0.0
|
|
9399
9452
|
*/ /**
|
|
9400
9453
|
* Constructs a new LearningApi.
|
|
9401
9454
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9625,7 +9678,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9625
9678
|
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']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
9626
9679
|
* License service.
|
|
9627
9680
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9628
|
-
* @version
|
|
9681
|
+
* @version 188.0.0
|
|
9629
9682
|
*/ /**
|
|
9630
9683
|
* Constructs a new LicenseApi.
|
|
9631
9684
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -9679,7 +9732,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
9679
9732
|
*/},{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']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
9680
9733
|
* Locations service.
|
|
9681
9734
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
9682
|
-
* @version
|
|
9735
|
+
* @version 188.0.0
|
|
9683
9736
|
*/ /**
|
|
9684
9737
|
* Constructs a new LocationsApi.
|
|
9685
9738
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -9738,7 +9791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9738
9791
|
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']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
9739
9792
|
* LogCapture service.
|
|
9740
9793
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
9741
|
-
* @version
|
|
9794
|
+
* @version 188.0.0
|
|
9742
9795
|
*/ /**
|
|
9743
9796
|
* Constructs a new LogCaptureApi.
|
|
9744
9797
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -9788,7 +9841,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9788
9841
|
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']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
9789
9842
|
* Messaging service.
|
|
9790
9843
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
9791
|
-
* @version
|
|
9844
|
+
* @version 188.0.0
|
|
9792
9845
|
*/ /**
|
|
9793
9846
|
* Constructs a new MessagingApi.
|
|
9794
9847
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -9878,7 +9931,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9878
9931
|
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']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
9879
9932
|
* MobileDevices service.
|
|
9880
9933
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
9881
|
-
* @version
|
|
9934
|
+
* @version 188.0.0
|
|
9882
9935
|
*/ /**
|
|
9883
9936
|
* Constructs a new MobileDevicesApi.
|
|
9884
9937
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -9917,7 +9970,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9917
9970
|
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']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
9918
9971
|
* Notifications service.
|
|
9919
9972
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
9920
|
-
* @version
|
|
9973
|
+
* @version 188.0.0
|
|
9921
9974
|
*/ /**
|
|
9922
9975
|
* Constructs a new NotificationsApi.
|
|
9923
9976
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -9974,7 +10027,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
9974
10027
|
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']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
9975
10028
|
* OAuth service.
|
|
9976
10029
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
9977
|
-
* @version
|
|
10030
|
+
* @version 188.0.0
|
|
9978
10031
|
*/ /**
|
|
9979
10032
|
* Constructs a new OAuthApi.
|
|
9980
10033
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10059,7 +10112,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10059
10112
|
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']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
10060
10113
|
* Objects service.
|
|
10061
10114
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10062
|
-
* @version
|
|
10115
|
+
* @version 188.0.0
|
|
10063
10116
|
*/ /**
|
|
10064
10117
|
* Constructs a new ObjectsApi.
|
|
10065
10118
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10091,8 +10144,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10091
10144
|
* @param {String} opts.nextPage next page token
|
|
10092
10145
|
* @param {String} opts.previousPage Previous page token
|
|
10093
10146
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
10147
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
10094
10148
|
* @param {String} opts.name Search term to filter by division name
|
|
10095
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10149
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10096
10150
|
* Retrieve the home division for the organization.
|
|
10097
10151
|
* Will not include object counts.
|
|
10098
10152
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10129,7 +10183,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10129
10183
|
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']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
10130
10184
|
* OperationalEvents service.
|
|
10131
10185
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10132
|
-
* @version
|
|
10186
|
+
* @version 188.0.0
|
|
10133
10187
|
*/ /**
|
|
10134
10188
|
* Constructs a new OperationalEventsApi.
|
|
10135
10189
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10147,7 +10201,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10147
10201
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
10148
10202
|
* Organization service.
|
|
10149
10203
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10150
|
-
* @version
|
|
10204
|
+
* @version 188.0.0
|
|
10151
10205
|
*/ /**
|
|
10152
10206
|
* Constructs a new OrganizationApi.
|
|
10153
10207
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10249,7 +10303,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10249
10303
|
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']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
10250
10304
|
* OrganizationAuthorization service.
|
|
10251
10305
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10252
|
-
* @version
|
|
10306
|
+
* @version 188.0.0
|
|
10253
10307
|
*/ /**
|
|
10254
10308
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10255
10309
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10572,7 +10626,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10572
10626
|
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']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
10573
10627
|
* Outbound service.
|
|
10574
10628
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10575
|
-
* @version
|
|
10629
|
+
* @version 188.0.0
|
|
10576
10630
|
*/ /**
|
|
10577
10631
|
* Constructs a new OutboundApi.
|
|
10578
10632
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11097,8 +11151,10 @@ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){
|
|
|
11097
11151
|
* Get Import Template
|
|
11098
11152
|
*
|
|
11099
11153
|
* @param {String} importTemplateId Import Template ID
|
|
11100
|
-
|
|
11101
|
-
|
|
11154
|
+
* @param {Object} opts Optional parameters
|
|
11155
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
11156
|
+
*/},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
|
|
11157
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{'includeImportStatus':opts['includeImportStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11102
11158
|
* Get the import status for an import template.
|
|
11103
11159
|
*
|
|
11104
11160
|
* @param {String} importTemplateId importTemplateId
|
|
@@ -11109,6 +11165,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
|
|
|
11109
11165
|
* Query Import Templates
|
|
11110
11166
|
*
|
|
11111
11167
|
* @param {Object} opts Optional parameters
|
|
11168
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
11112
11169
|
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
11113
11170
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11114
11171
|
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
@@ -11117,7 +11174,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
|
|
|
11117
11174
|
* @param {String} opts.sortBy Sort by
|
|
11118
11175
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
11119
11176
|
* @param {String} opts.contactListTemplateId Contact List Template ID
|
|
11120
|
-
*/},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11177
|
+
*/},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'includeImportStatus':opts['includeImportStatus'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11121
11178
|
* Get an Outbound Messaging Campaign
|
|
11122
11179
|
*
|
|
11123
11180
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -11346,6 +11403,11 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
11346
11403
|
* @param {Object} body ContactListFilter
|
|
11347
11404
|
*/},{key:"postOutboundContactlistfilters",value:function postOutboundContactlistfilters(body){// verify the required parameter 'body' is set
|
|
11348
11405
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11406
|
+
* Retrieve multiple contact list filters
|
|
11407
|
+
*
|
|
11408
|
+
* @param {Object} body The contact list filters to retrieve
|
|
11409
|
+
*/},{key:"postOutboundContactlistfiltersBulkRetrieve",value:function postOutboundContactlistfiltersBulkRetrieve(body){// verify the required parameter 'body' is set
|
|
11410
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11349
11411
|
* Get a preview of the output of a contact list filter
|
|
11350
11412
|
*
|
|
11351
11413
|
* @param {Object} body ContactListFilter
|
|
@@ -11600,7 +11662,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11600
11662
|
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']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
11601
11663
|
* Presence service.
|
|
11602
11664
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11603
|
-
* @version
|
|
11665
|
+
* @version 188.0.0
|
|
11604
11666
|
*/ /**
|
|
11605
11667
|
* Constructs a new PresenceApi.
|
|
11606
11668
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -11773,7 +11835,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11773
11835
|
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']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
11774
11836
|
* ProcessAutomation service.
|
|
11775
11837
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
11776
|
-
* @version
|
|
11838
|
+
* @version 188.0.0
|
|
11777
11839
|
*/ /**
|
|
11778
11840
|
* Constructs a new ProcessAutomationApi.
|
|
11779
11841
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -11836,7 +11898,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
11836
11898
|
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']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
11837
11899
|
* Quality service.
|
|
11838
11900
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
11839
|
-
* @version
|
|
11901
|
+
* @version 188.0.0
|
|
11840
11902
|
*/ /**
|
|
11841
11903
|
* Constructs a new QualityApi.
|
|
11842
11904
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12307,7 +12369,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12307
12369
|
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']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
12308
12370
|
* Recording service.
|
|
12309
12371
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12310
|
-
* @version
|
|
12372
|
+
* @version 188.0.0
|
|
12311
12373
|
*/ /**
|
|
12312
12374
|
* Constructs a new RecordingApi.
|
|
12313
12375
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -12714,7 +12776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12714
12776
|
*/},{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']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
12715
12777
|
* ResponseManagement service.
|
|
12716
12778
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
12717
|
-
* @version
|
|
12779
|
+
* @version 188.0.0
|
|
12718
12780
|
*/ /**
|
|
12719
12781
|
* Constructs a new ResponseManagementApi.
|
|
12720
12782
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -12830,7 +12892,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
12830
12892
|
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']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
12831
12893
|
* Routing service.
|
|
12832
12894
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
12833
|
-
* @version
|
|
12895
|
+
* @version 188.0.0
|
|
12834
12896
|
*/ /**
|
|
12835
12897
|
* Constructs a new RoutingApi.
|
|
12836
12898
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13798,7 +13860,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13798
13860
|
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']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
13799
13861
|
* SCIM service.
|
|
13800
13862
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
13801
|
-
* @version
|
|
13863
|
+
* @version 188.0.0
|
|
13802
13864
|
*/ /**
|
|
13803
13865
|
* Constructs a new SCIMApi.
|
|
13804
13866
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14023,7 +14085,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14023
14085
|
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']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
14024
14086
|
* ScreenRecording service.
|
|
14025
14087
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14026
|
-
* @version
|
|
14088
|
+
* @version 188.0.0
|
|
14027
14089
|
*/ /**
|
|
14028
14090
|
* Constructs a new ScreenRecordingApi.
|
|
14029
14091
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14038,7 +14100,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14038
14100
|
*/_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']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
14039
14101
|
* Scripts service.
|
|
14040
14102
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14041
|
-
* @version
|
|
14103
|
+
* @version 188.0.0
|
|
14042
14104
|
*/ /**
|
|
14043
14105
|
* Constructs a new ScriptsApi.
|
|
14044
14106
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14174,7 +14236,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14174
14236
|
*/},{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']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
14175
14237
|
* Search service.
|
|
14176
14238
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14177
|
-
* @version
|
|
14239
|
+
* @version 188.0.0
|
|
14178
14240
|
*/ /**
|
|
14179
14241
|
* Constructs a new SearchApi.
|
|
14180
14242
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14334,7 +14396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14334
14396
|
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']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
14335
14397
|
* Settings service.
|
|
14336
14398
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14337
|
-
* @version
|
|
14399
|
+
* @version 188.0.0
|
|
14338
14400
|
*/ /**
|
|
14339
14401
|
* Constructs a new SettingsApi.
|
|
14340
14402
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14352,7 +14414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14352
14414
|
*/},{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']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
14353
14415
|
* SpeechTextAnalytics service.
|
|
14354
14416
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14355
|
-
* @version
|
|
14417
|
+
* @version 188.0.0
|
|
14356
14418
|
*/ /**
|
|
14357
14419
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14358
14420
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14487,9 +14549,10 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14487
14549
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
14488
14550
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
14489
14551
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
14552
|
+
* @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
|
|
14490
14553
|
* @param {Object} opts.sortBy Sort results by. Defaults to name
|
|
14491
14554
|
* @param {Object} opts.sortOrder Sort order. Defaults to asc
|
|
14492
|
-
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14555
|
+
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14493
14556
|
* Get list of supported Speech and Text Analytics topics dialects
|
|
14494
14557
|
*
|
|
14495
14558
|
*/},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14595,7 +14658,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14595
14658
|
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']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
14596
14659
|
* Stations service.
|
|
14597
14660
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
14598
|
-
* @version
|
|
14661
|
+
* @version 188.0.0
|
|
14599
14662
|
*/ /**
|
|
14600
14663
|
* Constructs a new StationsApi.
|
|
14601
14664
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -14627,7 +14690,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
14627
14690
|
*/},{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']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
14628
14691
|
* Suggest service.
|
|
14629
14692
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
14630
|
-
* @version
|
|
14693
|
+
* @version 188.0.0
|
|
14631
14694
|
*/ /**
|
|
14632
14695
|
* Constructs a new SuggestApi.
|
|
14633
14696
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -14667,7 +14730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14667
14730
|
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']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
14668
14731
|
* TaskManagement service.
|
|
14669
14732
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
14670
|
-
* @version
|
|
14733
|
+
* @version 188.0.0
|
|
14671
14734
|
*/ /**
|
|
14672
14735
|
* Constructs a new TaskManagementApi.
|
|
14673
14736
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15009,7 +15072,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15009
15072
|
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']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
15010
15073
|
* Teams service.
|
|
15011
15074
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15012
|
-
* @version
|
|
15075
|
+
* @version 188.0.0
|
|
15013
15076
|
*/ /**
|
|
15014
15077
|
* Constructs a new TeamsApi.
|
|
15015
15078
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15088,7 +15151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15088
15151
|
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']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
15089
15152
|
* Telephony service.
|
|
15090
15153
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15091
|
-
* @version
|
|
15154
|
+
* @version 188.0.0
|
|
15092
15155
|
*/ /**
|
|
15093
15156
|
* Constructs a new TelephonyApi.
|
|
15094
15157
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15135,7 +15198,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15135
15198
|
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']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
15136
15199
|
* TelephonyProvidersEdge service.
|
|
15137
15200
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15138
|
-
* @version
|
|
15201
|
+
* @version 188.0.0
|
|
15139
15202
|
*/ /**
|
|
15140
15203
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15141
15204
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -15949,7 +16012,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
15949
16012
|
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']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
15950
16013
|
* Textbots service.
|
|
15951
16014
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
15952
|
-
* @version
|
|
16015
|
+
* @version 188.0.0
|
|
15953
16016
|
*/ /**
|
|
15954
16017
|
* Constructs a new TextbotsApi.
|
|
15955
16018
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -15984,7 +16047,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
15984
16047
|
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']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
15985
16048
|
* Tokens service.
|
|
15986
16049
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
15987
|
-
* @version
|
|
16050
|
+
* @version 188.0.0
|
|
15988
16051
|
*/ /**
|
|
15989
16052
|
* Constructs a new TokensApi.
|
|
15990
16053
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16020,7 +16083,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16020
16083
|
*/},{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']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
16021
16084
|
* Uploads service.
|
|
16022
16085
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16023
|
-
* @version
|
|
16086
|
+
* @version 188.0.0
|
|
16024
16087
|
*/ /**
|
|
16025
16088
|
* Constructs a new UploadsApi.
|
|
16026
16089
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16028,12 +16091,20 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16028
16091
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16029
16092
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
16030
16093
|
*/function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
16094
|
+
* Get content upload from URL job status
|
|
16095
|
+
*
|
|
16096
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16097
|
+
* @param {String} jobId Upload job ID
|
|
16098
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16099
|
+
*/_createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16100
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
16101
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16031
16102
|
* Create upload presigned URL for draft function package file.
|
|
16032
16103
|
*
|
|
16033
16104
|
* @param {String} actionId actionId
|
|
16034
16105
|
* @param {Object} body Input used to request URL upload.
|
|
16035
16106
|
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16036
|
-
*/
|
|
16107
|
+
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
16037
16108
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
16038
16109
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16039
16110
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
@@ -16041,6 +16112,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16041
16112
|
* @param {Object} body query
|
|
16042
16113
|
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
16043
16114
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16115
|
+
* Create content upload from URL job
|
|
16116
|
+
*
|
|
16117
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16118
|
+
* @param {Object} body uploadRequest
|
|
16119
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16120
|
+
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
16121
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
16122
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16044
16123
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
16045
16124
|
*
|
|
16046
16125
|
* @param {String} minerId Miner ID
|
|
@@ -16070,7 +16149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16070
16149
|
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']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
16071
16150
|
* Usage service.
|
|
16072
16151
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16073
|
-
* @version
|
|
16152
|
+
* @version 188.0.0
|
|
16074
16153
|
*/ /**
|
|
16075
16154
|
* Constructs a new UsageApi.
|
|
16076
16155
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16121,7 +16200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16121
16200
|
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']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
16122
16201
|
* UserRecordings service.
|
|
16123
16202
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16124
|
-
* @version
|
|
16203
|
+
* @version 188.0.0
|
|
16125
16204
|
*/ /**
|
|
16126
16205
|
* Constructs a new UserRecordingsApi.
|
|
16127
16206
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16170,7 +16249,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16170
16249
|
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']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
16171
16250
|
* Users service.
|
|
16172
16251
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16173
|
-
* @version
|
|
16252
|
+
* @version 188.0.0
|
|
16174
16253
|
*/ /**
|
|
16175
16254
|
* Constructs a new UsersApi.
|
|
16176
16255
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16829,7 +16908,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
16829
16908
|
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']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
16830
16909
|
* Utilities service.
|
|
16831
16910
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
16832
|
-
* @version
|
|
16911
|
+
* @version 188.0.0
|
|
16833
16912
|
*/ /**
|
|
16834
16913
|
* Constructs a new UtilitiesApi.
|
|
16835
16914
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -16856,7 +16935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16856
16935
|
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']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
16857
16936
|
* Voicemail service.
|
|
16858
16937
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
16859
|
-
* @version
|
|
16938
|
+
* @version 188.0.0
|
|
16860
16939
|
*/ /**
|
|
16861
16940
|
* Constructs a new VoicemailApi.
|
|
16862
16941
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17005,7 +17084,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17005
17084
|
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']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
17006
17085
|
* WebChat service.
|
|
17007
17086
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17008
|
-
* @version
|
|
17087
|
+
* @version 188.0.0
|
|
17009
17088
|
*/ /**
|
|
17010
17089
|
* Constructs a new WebChatApi.
|
|
17011
17090
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17138,7 +17217,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17138
17217
|
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']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
17139
17218
|
* WebDeployments service.
|
|
17140
17219
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17141
|
-
* @version
|
|
17220
|
+
* @version 188.0.0
|
|
17142
17221
|
*/ /**
|
|
17143
17222
|
* Constructs a new WebDeploymentsApi.
|
|
17144
17223
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17259,7 +17338,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17259
17338
|
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']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
17260
17339
|
* WebMessaging service.
|
|
17261
17340
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17262
|
-
* @version
|
|
17341
|
+
* @version 188.0.0
|
|
17263
17342
|
*/ /**
|
|
17264
17343
|
* Constructs a new WebMessagingApi.
|
|
17265
17344
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17275,7 +17354,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17275
17354
|
*/_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']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
17276
17355
|
* Widgets service.
|
|
17277
17356
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17278
|
-
* @version
|
|
17357
|
+
* @version 188.0.0
|
|
17279
17358
|
*/ /**
|
|
17280
17359
|
* Constructs a new WidgetsApi.
|
|
17281
17360
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17310,7 +17389,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17310
17389
|
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']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
17311
17390
|
* WorkforceManagement service.
|
|
17312
17391
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17313
|
-
* @version
|
|
17392
|
+
* @version 188.0.0
|
|
17314
17393
|
*/ /**
|
|
17315
17394
|
* Constructs a new WorkforceManagementApi.
|
|
17316
17395
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -18661,7 +18740,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18661
18740
|
* </pre>
|
|
18662
18741
|
* </p>
|
|
18663
18742
|
* @module purecloud-platform-client-v2/index
|
|
18664
|
-
* @version
|
|
18743
|
+
* @version 188.0.0
|
|
18665
18744
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
18666
18745
|
* The ApiClient constructor.
|
|
18667
18746
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|