purecloud-platform-client-v2 183.0.0 → 184.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 +669 -88
- package/dist/web-amd/purecloud-platform-client-v2.js +669 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +226 -83
- package/dist/web-cjs/purecloud-platform-client-v2.js +226 -83
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +266 -21
- 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 +109 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +7 -8
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +75 -0
- 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 +7 -8
- 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 +401 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5930,7 +5930,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5930
5930
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5931
5931
|
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;}();/**
|
|
5932
5932
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5933
|
-
* @version
|
|
5933
|
+
* @version 184.0.0
|
|
5934
5934
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5935
5935
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5936
5936
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6185,7 +6185,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6185
6185
|
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(){/**
|
|
6186
6186
|
* Alerting service.
|
|
6187
6187
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6188
|
-
* @version
|
|
6188
|
+
* @version 184.0.0
|
|
6189
6189
|
*/ /**
|
|
6190
6190
|
* Constructs a new AlertingApi.
|
|
6191
6191
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6342,7 +6342,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6342
6342
|
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(){/**
|
|
6343
6343
|
* Analytics service.
|
|
6344
6344
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6345
|
-
* @version
|
|
6345
|
+
* @version 184.0.0
|
|
6346
6346
|
*/ /**
|
|
6347
6347
|
* Constructs a new AnalyticsApi.
|
|
6348
6348
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6474,6 +6474,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6474
6474
|
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6475
6475
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6476
6476
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6477
|
+
* Get status for async query for flow execution aggregates
|
|
6478
|
+
*
|
|
6479
|
+
* @param {String} jobId jobId
|
|
6480
|
+
* getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6481
|
+
*/},{key:"getAnalyticsFlowexecutionsAggregatesJob",value:function getAnalyticsFlowexecutionsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
6482
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6483
|
+
* Fetch a page of results for an async aggregates query
|
|
6484
|
+
*
|
|
6485
|
+
* @param {String} jobId jobId
|
|
6486
|
+
* @param {Object} opts Optional parameters
|
|
6487
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
6488
|
+
* getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6489
|
+
*/},{key:"getAnalyticsFlowexecutionsAggregatesJobResults",value:function getAnalyticsFlowexecutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6490
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6477
6491
|
* Get status for async query for Flow aggregates
|
|
6478
6492
|
*
|
|
6479
6493
|
* @param {String} jobId jobId
|
|
@@ -6745,6 +6759,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6745
6759
|
* @param {Object} body query
|
|
6746
6760
|
*/},{key:"postAnalyticsEvaluationsAggregatesQuery",value:function postAnalyticsEvaluationsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6747
6761
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6762
|
+
* Query for flow execution aggregates asynchronously
|
|
6763
|
+
*
|
|
6764
|
+
* @param {Object} body query
|
|
6765
|
+
* postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6766
|
+
*/},{key:"postAnalyticsFlowexecutionsAggregatesJobs",value:function postAnalyticsFlowexecutionsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
6767
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6768
|
+
* Query for flow execution aggregates
|
|
6769
|
+
*
|
|
6770
|
+
* @param {Object} body query
|
|
6771
|
+
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6772
|
+
*/},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6773
|
+
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']);}/**
|
|
6748
6774
|
* Query for flow activity observations
|
|
6749
6775
|
*
|
|
6750
6776
|
* @param {Object} body query
|
|
@@ -6923,7 +6949,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
6923
6949
|
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(){/**
|
|
6924
6950
|
* Architect service.
|
|
6925
6951
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6926
|
-
* @version
|
|
6952
|
+
* @version 184.0.0
|
|
6927
6953
|
*/ /**
|
|
6928
6954
|
* Constructs a new ArchitectApi.
|
|
6929
6955
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -7955,7 +7981,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
7955
7981
|
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(){/**
|
|
7956
7982
|
* Audit service.
|
|
7957
7983
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7958
|
-
* @version
|
|
7984
|
+
* @version 184.0.0
|
|
7959
7985
|
*/ /**
|
|
7960
7986
|
* Constructs a new AuditApi.
|
|
7961
7987
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -7997,7 +8023,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7997
8023
|
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(){/**
|
|
7998
8024
|
* Authorization service.
|
|
7999
8025
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8000
|
-
* @version
|
|
8026
|
+
* @version 184.0.0
|
|
8001
8027
|
*/ /**
|
|
8002
8028
|
* Constructs a new AuthorizationApi.
|
|
8003
8029
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8193,10 +8219,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8193
8219
|
* Recreate a previously deleted division.
|
|
8194
8220
|
*
|
|
8195
8221
|
* @param {String} divisionId Division ID
|
|
8196
|
-
* @param {Object}
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
if(
|
|
8222
|
+
* @param {Object} opts Optional parameters
|
|
8223
|
+
* @param {Object} opts.body Recreated division data
|
|
8224
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
8225
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8200
8226
|
* Create a division.
|
|
8201
8227
|
*
|
|
8202
8228
|
* @param {Object} body Division
|
|
@@ -8308,7 +8334,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8308
8334
|
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(){/**
|
|
8309
8335
|
* Billing service.
|
|
8310
8336
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8311
|
-
* @version
|
|
8337
|
+
* @version 184.0.0
|
|
8312
8338
|
*/ /**
|
|
8313
8339
|
* Constructs a new BillingApi.
|
|
8314
8340
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8332,7 +8358,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8332
8358
|
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(){/**
|
|
8333
8359
|
* CarrierServices service.
|
|
8334
8360
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8335
|
-
* @version
|
|
8361
|
+
* @version 184.0.0
|
|
8336
8362
|
*/ /**
|
|
8337
8363
|
* Constructs a new CarrierServicesApi.
|
|
8338
8364
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8352,7 +8378,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8352
8378
|
*/},{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(){/**
|
|
8353
8379
|
* Chat service.
|
|
8354
8380
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8355
|
-
* @version
|
|
8381
|
+
* @version 184.0.0
|
|
8356
8382
|
*/ /**
|
|
8357
8383
|
* Constructs a new ChatApi.
|
|
8358
8384
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8549,7 +8575,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8549
8575
|
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(){/**
|
|
8550
8576
|
* Coaching service.
|
|
8551
8577
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8552
|
-
* @version
|
|
8578
|
+
* @version 184.0.0
|
|
8553
8579
|
*/ /**
|
|
8554
8580
|
* Constructs a new CoachingApi.
|
|
8555
8581
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8702,7 +8728,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8702
8728
|
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(){/**
|
|
8703
8729
|
* ContentManagement service.
|
|
8704
8730
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8705
|
-
* @version
|
|
8731
|
+
* @version 184.0.0
|
|
8706
8732
|
*/ /**
|
|
8707
8733
|
* Constructs a new ContentManagementApi.
|
|
8708
8734
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9004,7 +9030,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9004
9030
|
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(){/**
|
|
9005
9031
|
* Conversations service.
|
|
9006
9032
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9007
|
-
* @version
|
|
9033
|
+
* @version 184.0.0
|
|
9008
9034
|
*/ /**
|
|
9009
9035
|
* Constructs a new ConversationsApi.
|
|
9010
9036
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10728,7 +10754,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10728
10754
|
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(){/**
|
|
10729
10755
|
* DataExtensions service.
|
|
10730
10756
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10731
|
-
* @version
|
|
10757
|
+
* @version 184.0.0
|
|
10732
10758
|
*/ /**
|
|
10733
10759
|
* Constructs a new DataExtensionsApi.
|
|
10734
10760
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10749,7 +10775,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10749
10775
|
*/},{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(){/**
|
|
10750
10776
|
* Downloads service.
|
|
10751
10777
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10752
|
-
* @version
|
|
10778
|
+
* @version 184.0.0
|
|
10753
10779
|
*/ /**
|
|
10754
10780
|
* Constructs a new DownloadsApi.
|
|
10755
10781
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10768,7 +10794,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10768
10794
|
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(){/**
|
|
10769
10795
|
* Emails service.
|
|
10770
10796
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10771
|
-
* @version
|
|
10797
|
+
* @version 184.0.0
|
|
10772
10798
|
*/ /**
|
|
10773
10799
|
* Constructs a new EmailsApi.
|
|
10774
10800
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10786,7 +10812,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10786
10812
|
*/},{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(){/**
|
|
10787
10813
|
* Events service.
|
|
10788
10814
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10789
|
-
* @version
|
|
10815
|
+
* @version 184.0.0
|
|
10790
10816
|
*/ /**
|
|
10791
10817
|
* Constructs a new EventsApi.
|
|
10792
10818
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10811,7 +10837,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10811
10837
|
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(){/**
|
|
10812
10838
|
* ExternalContacts service.
|
|
10813
10839
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10814
|
-
* @version
|
|
10840
|
+
* @version 184.0.0
|
|
10815
10841
|
*/ /**
|
|
10816
10842
|
* Constructs a new ExternalContactsApi.
|
|
10817
10843
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11266,7 +11292,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11266
11292
|
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(){/**
|
|
11267
11293
|
* Fax service.
|
|
11268
11294
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11269
|
-
* @version
|
|
11295
|
+
* @version 184.0.0
|
|
11270
11296
|
*/ /**
|
|
11271
11297
|
* Constructs a new FaxApi.
|
|
11272
11298
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11307,7 +11333,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11307
11333
|
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(){/**
|
|
11308
11334
|
* Flows service.
|
|
11309
11335
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11310
|
-
* @version
|
|
11336
|
+
* @version 184.0.0
|
|
11311
11337
|
*/ /**
|
|
11312
11338
|
* Constructs a new FlowsApi.
|
|
11313
11339
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11356,7 +11382,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11356
11382
|
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(){/**
|
|
11357
11383
|
* Gamification service.
|
|
11358
11384
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11359
|
-
* @version
|
|
11385
|
+
* @version 184.0.0
|
|
11360
11386
|
*/ /**
|
|
11361
11387
|
* Constructs a new GamificationApi.
|
|
11362
11388
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11896,7 +11922,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11896
11922
|
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(){/**
|
|
11897
11923
|
* GeneralDataProtectionRegulation service.
|
|
11898
11924
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11899
|
-
* @version
|
|
11925
|
+
* @version 184.0.0
|
|
11900
11926
|
*/ /**
|
|
11901
11927
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11902
11928
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -11931,7 +11957,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
11931
11957
|
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(){/**
|
|
11932
11958
|
* Geolocation service.
|
|
11933
11959
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
11934
|
-
* @version
|
|
11960
|
+
* @version 184.0.0
|
|
11935
11961
|
*/ /**
|
|
11936
11962
|
* Constructs a new GeolocationApi.
|
|
11937
11963
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -11965,7 +11991,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11965
11991
|
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(){/**
|
|
11966
11992
|
* Greetings service.
|
|
11967
11993
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
11968
|
-
* @version
|
|
11994
|
+
* @version 184.0.0
|
|
11969
11995
|
*/ /**
|
|
11970
11996
|
* Constructs a new GreetingsApi.
|
|
11971
11997
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12072,7 +12098,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12072
12098
|
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(){/**
|
|
12073
12099
|
* Groups service.
|
|
12074
12100
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12075
|
-
* @version
|
|
12101
|
+
* @version 184.0.0
|
|
12076
12102
|
*/ /**
|
|
12077
12103
|
* Constructs a new GroupsApi.
|
|
12078
12104
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12205,7 +12231,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12205
12231
|
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(){/**
|
|
12206
12232
|
* IdentityProvider service.
|
|
12207
12233
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12208
|
-
* @version
|
|
12234
|
+
* @version 184.0.0
|
|
12209
12235
|
*/ /**
|
|
12210
12236
|
* Constructs a new IdentityProviderApi.
|
|
12211
12237
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12339,7 +12365,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12339
12365
|
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(){/**
|
|
12340
12366
|
* InfrastructureAsCode service.
|
|
12341
12367
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12342
|
-
* @version
|
|
12368
|
+
* @version 184.0.0
|
|
12343
12369
|
*/ /**
|
|
12344
12370
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12345
12371
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12393,7 +12419,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12393
12419
|
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(){/**
|
|
12394
12420
|
* Integrations service.
|
|
12395
12421
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12396
|
-
* @version
|
|
12422
|
+
* @version 184.0.0
|
|
12397
12423
|
*/ /**
|
|
12398
12424
|
* Constructs a new IntegrationsApi.
|
|
12399
12425
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12914,7 +12940,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
12914
12940
|
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(){/**
|
|
12915
12941
|
* Journey service.
|
|
12916
12942
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
12917
|
-
* @version
|
|
12943
|
+
* @version 184.0.0
|
|
12918
12944
|
*/ /**
|
|
12919
12945
|
* Constructs a new JourneyApi.
|
|
12920
12946
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13218,7 +13244,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13218
13244
|
*/},{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(){/**
|
|
13219
13245
|
* Knowledge service.
|
|
13220
13246
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13221
|
-
* @version
|
|
13247
|
+
* @version 184.0.0
|
|
13222
13248
|
*/ /**
|
|
13223
13249
|
* Constructs a new KnowledgeApi.
|
|
13224
13250
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14015,7 +14041,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14015
14041
|
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(){/**
|
|
14016
14042
|
* LanguageUnderstanding service.
|
|
14017
14043
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14018
|
-
* @version
|
|
14044
|
+
* @version 184.0.0
|
|
14019
14045
|
*/ /**
|
|
14020
14046
|
* Constructs a new LanguageUnderstandingApi.
|
|
14021
14047
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14271,7 +14297,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14271
14297
|
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(){/**
|
|
14272
14298
|
* Languages service.
|
|
14273
14299
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14274
|
-
* @version
|
|
14300
|
+
* @version 184.0.0
|
|
14275
14301
|
*/ /**
|
|
14276
14302
|
* Constructs a new LanguagesApi.
|
|
14277
14303
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14326,7 +14352,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14326
14352
|
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(){/**
|
|
14327
14353
|
* Learning service.
|
|
14328
14354
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14329
|
-
* @version
|
|
14355
|
+
* @version 184.0.0
|
|
14330
14356
|
*/ /**
|
|
14331
14357
|
* Constructs a new LearningApi.
|
|
14332
14358
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14556,7 +14582,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14556
14582
|
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(){/**
|
|
14557
14583
|
* License service.
|
|
14558
14584
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14559
|
-
* @version
|
|
14585
|
+
* @version 184.0.0
|
|
14560
14586
|
*/ /**
|
|
14561
14587
|
* Constructs a new LicenseApi.
|
|
14562
14588
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14610,7 +14636,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14610
14636
|
*/},{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(){/**
|
|
14611
14637
|
* Locations service.
|
|
14612
14638
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14613
|
-
* @version
|
|
14639
|
+
* @version 184.0.0
|
|
14614
14640
|
*/ /**
|
|
14615
14641
|
* Constructs a new LocationsApi.
|
|
14616
14642
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14666,10 +14692,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14666
14692
|
*
|
|
14667
14693
|
* @param {Object} body Search request options
|
|
14668
14694
|
*/},{key:"postLocationsSearch",value:function postLocationsSearch(body){// verify the required parameter 'body' is set
|
|
14669
|
-
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
|
|
14695
|
+
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(){/**
|
|
14696
|
+
* LogCapture service.
|
|
14697
|
+
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14698
|
+
* @version 184.0.0
|
|
14699
|
+
*/ /**
|
|
14700
|
+
* Constructs a new LogCaptureApi.
|
|
14701
|
+
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
14702
|
+
* @class
|
|
14703
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14704
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14705
|
+
*/function LogCaptureApi(apiClient){_classCallCheck(this,LogCaptureApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14706
|
+
* Gets status of async download execution
|
|
14707
|
+
*
|
|
14708
|
+
* @param {String} jobId Job ID
|
|
14709
|
+
*/_createClass(LogCaptureApi,[{key:"getDiagnosticsLogcaptureBrowserEntriesDownloadJob",value:function getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId){// verify the required parameter 'jobId' is set
|
|
14710
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/download/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14711
|
+
* Creates an async download execution
|
|
14712
|
+
*
|
|
14713
|
+
* @param {Object} opts Optional parameters
|
|
14714
|
+
* @param {Object} opts.body
|
|
14715
|
+
*/},{key:"postDiagnosticsLogcaptureBrowserEntriesDownloadJobs",value:function postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/download/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
14670
14716
|
* Messaging service.
|
|
14671
14717
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14672
|
-
* @version
|
|
14718
|
+
* @version 184.0.0
|
|
14673
14719
|
*/ /**
|
|
14674
14720
|
* Constructs a new MessagingApi.
|
|
14675
14721
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -14759,7 +14805,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14759
14805
|
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(){/**
|
|
14760
14806
|
* MobileDevices service.
|
|
14761
14807
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
14762
|
-
* @version
|
|
14808
|
+
* @version 184.0.0
|
|
14763
14809
|
*/ /**
|
|
14764
14810
|
* Constructs a new MobileDevicesApi.
|
|
14765
14811
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -14798,7 +14844,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14798
14844
|
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(){/**
|
|
14799
14845
|
* Notifications service.
|
|
14800
14846
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
14801
|
-
* @version
|
|
14847
|
+
* @version 184.0.0
|
|
14802
14848
|
*/ /**
|
|
14803
14849
|
* Constructs a new NotificationsApi.
|
|
14804
14850
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -14855,7 +14901,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
14855
14901
|
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(){/**
|
|
14856
14902
|
* OAuth service.
|
|
14857
14903
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
14858
|
-
* @version
|
|
14904
|
+
* @version 184.0.0
|
|
14859
14905
|
*/ /**
|
|
14860
14906
|
* Constructs a new OAuthApi.
|
|
14861
14907
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -14940,7 +14986,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
14940
14986
|
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(){/**
|
|
14941
14987
|
* Objects service.
|
|
14942
14988
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
14943
|
-
* @version
|
|
14989
|
+
* @version 184.0.0
|
|
14944
14990
|
*/ /**
|
|
14945
14991
|
* Constructs a new ObjectsApi.
|
|
14946
14992
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -14993,10 +15039,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14993
15039
|
* Recreate a previously deleted division.
|
|
14994
15040
|
*
|
|
14995
15041
|
* @param {String} divisionId Division ID
|
|
14996
|
-
* @param {Object}
|
|
14997
|
-
|
|
14998
|
-
|
|
14999
|
-
if(
|
|
15042
|
+
* @param {Object} opts Optional parameters
|
|
15043
|
+
* @param {Object} opts.body Recreated division data
|
|
15044
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
15045
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15000
15046
|
* Create a division.
|
|
15001
15047
|
*
|
|
15002
15048
|
* @param {Object} body Division
|
|
@@ -15011,7 +15057,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15011
15057
|
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(){/**
|
|
15012
15058
|
* OperationalEvents service.
|
|
15013
15059
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15014
|
-
* @version
|
|
15060
|
+
* @version 184.0.0
|
|
15015
15061
|
*/ /**
|
|
15016
15062
|
* Constructs a new OperationalEventsApi.
|
|
15017
15063
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15029,7 +15075,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15029
15075
|
*/},{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(){/**
|
|
15030
15076
|
* Organization service.
|
|
15031
15077
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15032
|
-
* @version
|
|
15078
|
+
* @version 184.0.0
|
|
15033
15079
|
*/ /**
|
|
15034
15080
|
* Constructs a new OrganizationApi.
|
|
15035
15081
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15131,7 +15177,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15131
15177
|
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(){/**
|
|
15132
15178
|
* OrganizationAuthorization service.
|
|
15133
15179
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15134
|
-
* @version
|
|
15180
|
+
* @version 184.0.0
|
|
15135
15181
|
*/ /**
|
|
15136
15182
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15137
15183
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15454,7 +15500,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15454
15500
|
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(){/**
|
|
15455
15501
|
* Outbound service.
|
|
15456
15502
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15457
|
-
* @version
|
|
15503
|
+
* @version 184.0.0
|
|
15458
15504
|
*/ /**
|
|
15459
15505
|
* Constructs a new OutboundApi.
|
|
15460
15506
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -15521,6 +15567,16 @@ if(contactListFilterId===undefined||contactListFilterId===null){throw'Missing th
|
|
|
15521
15567
|
* @param {Array.<String>} id contact list id(s) to delete
|
|
15522
15568
|
*/},{key:"deleteOutboundContactlists",value:function deleteOutboundContactlists(id){// verify the required parameter 'id' is set
|
|
15523
15569
|
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundContactlists';}return this.apiClient.callApi('/api/v2/outbound/contactlists','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15570
|
+
* Delete Contact List Template
|
|
15571
|
+
*
|
|
15572
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
15573
|
+
*/},{key:"deleteOutboundContactlisttemplate",value:function deleteOutboundContactlisttemplate(contactListTemplateId){// verify the required parameter 'contactListTemplateId' is set
|
|
15574
|
+
if(contactListTemplateId===undefined||contactListTemplateId===null){throw'Missing the required parameter "contactListTemplateId" when calling deleteOutboundContactlisttemplate';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/{contactListTemplateId}','DELETE',{'contactListTemplateId':contactListTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15575
|
+
* Delete multiple contact list templates.
|
|
15576
|
+
*
|
|
15577
|
+
* @param {Array.<String>} id contact list template id(s) to delete
|
|
15578
|
+
*/},{key:"deleteOutboundContactlisttemplates",value:function deleteOutboundContactlisttemplates(id){// verify the required parameter 'id' is set
|
|
15579
|
+
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundContactlisttemplates';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15524
15580
|
* Delete an Outbound Digital Rule Set
|
|
15525
15581
|
*
|
|
15526
15582
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -15552,6 +15608,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
|
|
|
15552
15608
|
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
15553
15609
|
*/},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
15554
15610
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15611
|
+
* Delete Import Template
|
|
15612
|
+
*
|
|
15613
|
+
* @param {String} importTemplateId Import Template ID
|
|
15614
|
+
*/},{key:"deleteOutboundImporttemplate",value:function deleteOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
|
|
15615
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling deleteOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','DELETE',{'importTemplateId':importTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15616
|
+
* Delete multiple import templates.
|
|
15617
|
+
*
|
|
15618
|
+
* @param {Array.<String>} id import template id(s) to delete
|
|
15619
|
+
*/},{key:"deleteOutboundImporttemplates",value:function deleteOutboundImporttemplates(id){// verify the required parameter 'id' is set
|
|
15620
|
+
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundImporttemplates';}return this.apiClient.callApi('/api/v2/outbound/importtemplates','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15555
15621
|
* Delete an Outbound Messaging Campaign
|
|
15556
15622
|
*
|
|
15557
15623
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -15826,6 +15892,22 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
15826
15892
|
* @param {String} opts.sortBy Sort by
|
|
15827
15893
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
15828
15894
|
*/},{key:"getOutboundContactlistsDivisionviews",value:function getOutboundContactlistsDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlists/divisionviews','GET',{},{'includeImportStatus':opts['includeImportStatus'],'includeSize':opts['includeSize'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15895
|
+
* Get Contact List Template
|
|
15896
|
+
*
|
|
15897
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
15898
|
+
*/},{key:"getOutboundContactlisttemplate",value:function getOutboundContactlisttemplate(contactListTemplateId){// verify the required parameter 'contactListTemplateId' is set
|
|
15899
|
+
if(contactListTemplateId===undefined||contactListTemplateId===null){throw'Missing the required parameter "contactListTemplateId" when calling getOutboundContactlisttemplate';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/{contactListTemplateId}','GET',{'contactListTemplateId':contactListTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15900
|
+
* Query a list of contact list templates
|
|
15901
|
+
*
|
|
15902
|
+
* @param {Object} opts Optional parameters
|
|
15903
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
15904
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15905
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
15906
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
15907
|
+
* @param {String} opts.name Name
|
|
15908
|
+
* @param {String} opts.sortBy Sort by
|
|
15909
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
15910
|
+
*/},{key:"getOutboundContactlisttemplates",value:function getOutboundContactlisttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15829
15911
|
* Get an Outbound Digital Rule Set
|
|
15830
15912
|
*
|
|
15831
15913
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -15914,6 +15996,30 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
|
|
|
15914
15996
|
* @param {String} opts.sortBy Sort by
|
|
15915
15997
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
15916
15998
|
*/},{key:"getOutboundEvents",value:function getOutboundEvents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/events','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'category':opts['category'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15999
|
+
* Get Import Template
|
|
16000
|
+
*
|
|
16001
|
+
* @param {String} importTemplateId Import Template ID
|
|
16002
|
+
*/},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
|
|
16003
|
+
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},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16004
|
+
* Get the import status for an import template.
|
|
16005
|
+
*
|
|
16006
|
+
* @param {String} importTemplateId importTemplateId
|
|
16007
|
+
* @param {Object} opts Optional parameters
|
|
16008
|
+
* @param {String} opts.listNamePrefix listNamePrefix
|
|
16009
|
+
*/},{key:"getOutboundImporttemplateImportstatus",value:function getOutboundImporttemplateImportstatus(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
|
|
16010
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplateImportstatus';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}/importstatus','GET',{'importTemplateId':importTemplateId},{'listNamePrefix':opts['listNamePrefix']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16011
|
+
* Query Import Templates
|
|
16012
|
+
*
|
|
16013
|
+
* @param {Object} opts Optional parameters
|
|
16014
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
16015
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16016
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
16017
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
16018
|
+
* @param {String} opts.name Name
|
|
16019
|
+
* @param {String} opts.sortBy Sort by
|
|
16020
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
16021
|
+
* @param {String} opts.contactListTemplateId Contact List Template ID
|
|
16022
|
+
*/},{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']);}/**
|
|
15917
16023
|
* Get an Outbound Messaging Campaign
|
|
15918
16024
|
*
|
|
15919
16025
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -16152,6 +16258,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16152
16258
|
* @param {Object} body ContactList
|
|
16153
16259
|
*/},{key:"postOutboundContactlists",value:function postOutboundContactlists(body){// verify the required parameter 'body' is set
|
|
16154
16260
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlists';}return this.apiClient.callApi('/api/v2/outbound/contactlists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16261
|
+
* Create Contact List Template
|
|
16262
|
+
*
|
|
16263
|
+
* @param {Object} body ContactListTemplate
|
|
16264
|
+
*/},{key:"postOutboundContactlisttemplates",value:function postOutboundContactlisttemplates(body){// verify the required parameter 'body' is set
|
|
16265
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplates';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16266
|
+
* Add multiple contact list templates
|
|
16267
|
+
*
|
|
16268
|
+
* @param {Array.<Object>} body contact list template(s) to add
|
|
16269
|
+
*/},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
16270
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16155
16271
|
* Add phone numbers to a Dialer DNC list.
|
|
16156
16272
|
*
|
|
16157
16273
|
* @param {String} conversationId Conversation ID
|
|
@@ -16188,6 +16304,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16188
16304
|
* @param {Object} body DncList
|
|
16189
16305
|
*/},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
|
|
16190
16306
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundDnclists';}return this.apiClient.callApi('/api/v2/outbound/dnclists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16307
|
+
* Create Import Template
|
|
16308
|
+
*
|
|
16309
|
+
* @param {Object} body ImportTemplate
|
|
16310
|
+
*/},{key:"postOutboundImporttemplates",value:function postOutboundImporttemplates(body){// verify the required parameter 'body' is set
|
|
16311
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundImporttemplates';}return this.apiClient.callApi('/api/v2/outbound/importtemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16312
|
+
* Add multiple import templates
|
|
16313
|
+
*
|
|
16314
|
+
* @param {Array.<Object>} body import template(s) to add
|
|
16315
|
+
*/},{key:"postOutboundImporttemplatesBulkAdd",value:function postOutboundImporttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
16316
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundImporttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16191
16317
|
* Create a Messaging Campaign
|
|
16192
16318
|
*
|
|
16193
16319
|
* @param {Object} body Messaging Campaign
|
|
@@ -16275,6 +16401,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16275
16401
|
*/},{key:"putOutboundContactlistfilter",value:function putOutboundContactlistfilter(contactListFilterId,body){// verify the required parameter 'contactListFilterId' is set
|
|
16276
16402
|
if(contactListFilterId===undefined||contactListFilterId===null){throw'Missing the required parameter "contactListFilterId" when calling putOutboundContactlistfilter';}// verify the required parameter 'body' is set
|
|
16277
16403
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundContactlistfilter';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters/{contactListFilterId}','PUT',{'contactListFilterId':contactListFilterId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16404
|
+
* Update a contact list template.
|
|
16405
|
+
*
|
|
16406
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
16407
|
+
* @param {Object} body ContactListTemplate
|
|
16408
|
+
*/},{key:"putOutboundContactlisttemplate",value:function putOutboundContactlisttemplate(contactListTemplateId,body){// verify the required parameter 'contactListTemplateId' is set
|
|
16409
|
+
if(contactListTemplateId===undefined||contactListTemplateId===null){throw'Missing the required parameter "contactListTemplateId" when calling putOutboundContactlisttemplate';}// verify the required parameter 'body' is set
|
|
16410
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundContactlisttemplate';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/{contactListTemplateId}','PUT',{'contactListTemplateId':contactListTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16278
16411
|
* Update an Outbound Digital Rule Set
|
|
16279
16412
|
*
|
|
16280
16413
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -16289,6 +16422,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16289
16422
|
*/},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
16290
16423
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
|
|
16291
16424
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundDnclist';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}','PUT',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16425
|
+
* Update Import Template
|
|
16426
|
+
*
|
|
16427
|
+
* @param {String} importTemplateId Import Template ID
|
|
16428
|
+
* @param {Object} body importTemplate
|
|
16429
|
+
*/},{key:"putOutboundImporttemplate",value:function putOutboundImporttemplate(importTemplateId,body){// verify the required parameter 'importTemplateId' is set
|
|
16430
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling putOutboundImporttemplate';}// verify the required parameter 'body' is set
|
|
16431
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','PUT',{'importTemplateId':importTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16292
16432
|
* Update an Outbound Messaging Campaign
|
|
16293
16433
|
*
|
|
16294
16434
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -16345,7 +16485,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16345
16485
|
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(){/**
|
|
16346
16486
|
* Presence service.
|
|
16347
16487
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16348
|
-
* @version
|
|
16488
|
+
* @version 184.0.0
|
|
16349
16489
|
*/ /**
|
|
16350
16490
|
* Constructs a new PresenceApi.
|
|
16351
16491
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16513,7 +16653,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16513
16653
|
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(){/**
|
|
16514
16654
|
* ProcessAutomation service.
|
|
16515
16655
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16516
|
-
* @version
|
|
16656
|
+
* @version 184.0.0
|
|
16517
16657
|
*/ /**
|
|
16518
16658
|
* Constructs a new ProcessAutomationApi.
|
|
16519
16659
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -16576,7 +16716,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
16576
16716
|
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(){/**
|
|
16577
16717
|
* Quality service.
|
|
16578
16718
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
16579
|
-
* @version
|
|
16719
|
+
* @version 184.0.0
|
|
16580
16720
|
*/ /**
|
|
16581
16721
|
* Constructs a new QualityApi.
|
|
16582
16722
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17047,7 +17187,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17047
17187
|
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(){/**
|
|
17048
17188
|
* Recording service.
|
|
17049
17189
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17050
|
-
* @version
|
|
17190
|
+
* @version 184.0.0
|
|
17051
17191
|
*/ /**
|
|
17052
17192
|
* Constructs a new RecordingApi.
|
|
17053
17193
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17454,7 +17594,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17454
17594
|
*/},{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(){/**
|
|
17455
17595
|
* ResponseManagement service.
|
|
17456
17596
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17457
|
-
* @version
|
|
17597
|
+
* @version 184.0.0
|
|
17458
17598
|
*/ /**
|
|
17459
17599
|
* Constructs a new ResponseManagementApi.
|
|
17460
17600
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -17570,7 +17710,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
17570
17710
|
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(){/**
|
|
17571
17711
|
* Routing service.
|
|
17572
17712
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
17573
|
-
* @version
|
|
17713
|
+
* @version 184.0.0
|
|
17574
17714
|
*/ /**
|
|
17575
17715
|
* Constructs a new RoutingApi.
|
|
17576
17716
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18476,7 +18616,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18476
18616
|
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(){/**
|
|
18477
18617
|
* SCIM service.
|
|
18478
18618
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18479
|
-
* @version
|
|
18619
|
+
* @version 184.0.0
|
|
18480
18620
|
*/ /**
|
|
18481
18621
|
* Constructs a new SCIMApi.
|
|
18482
18622
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -18701,7 +18841,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18701
18841
|
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 ScriptsApi=/*#__PURE__*/function(){/**
|
|
18702
18842
|
* Scripts service.
|
|
18703
18843
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
18704
|
-
* @version
|
|
18844
|
+
* @version 184.0.0
|
|
18705
18845
|
*/ /**
|
|
18706
18846
|
* Constructs a new ScriptsApi.
|
|
18707
18847
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -18837,7 +18977,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
18837
18977
|
*/},{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(){/**
|
|
18838
18978
|
* Search service.
|
|
18839
18979
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
18840
|
-
* @version
|
|
18980
|
+
* @version 184.0.0
|
|
18841
18981
|
*/ /**
|
|
18842
18982
|
* Constructs a new SearchApi.
|
|
18843
18983
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -18997,7 +19137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18997
19137
|
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(){/**
|
|
18998
19138
|
* Settings service.
|
|
18999
19139
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19000
|
-
* @version
|
|
19140
|
+
* @version 184.0.0
|
|
19001
19141
|
*/ /**
|
|
19002
19142
|
* Constructs a new SettingsApi.
|
|
19003
19143
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19015,7 +19155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19015
19155
|
*/},{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(){/**
|
|
19016
19156
|
* SpeechTextAnalytics service.
|
|
19017
19157
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19018
|
-
* @version
|
|
19158
|
+
* @version 184.0.0
|
|
19019
19159
|
*/ /**
|
|
19020
19160
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19021
19161
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19258,7 +19398,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19258
19398
|
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(){/**
|
|
19259
19399
|
* Stations service.
|
|
19260
19400
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19261
|
-
* @version
|
|
19401
|
+
* @version 184.0.0
|
|
19262
19402
|
*/ /**
|
|
19263
19403
|
* Constructs a new StationsApi.
|
|
19264
19404
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19290,7 +19430,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19290
19430
|
*/},{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(){/**
|
|
19291
19431
|
* Suggest service.
|
|
19292
19432
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19293
|
-
* @version
|
|
19433
|
+
* @version 184.0.0
|
|
19294
19434
|
*/ /**
|
|
19295
19435
|
* Constructs a new SuggestApi.
|
|
19296
19436
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19330,7 +19470,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19330
19470
|
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(){/**
|
|
19331
19471
|
* TaskManagement service.
|
|
19332
19472
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19333
|
-
* @version
|
|
19473
|
+
* @version 184.0.0
|
|
19334
19474
|
*/ /**
|
|
19335
19475
|
* Constructs a new TaskManagementApi.
|
|
19336
19476
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19672,7 +19812,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
19672
19812
|
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(){/**
|
|
19673
19813
|
* Teams service.
|
|
19674
19814
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19675
|
-
* @version
|
|
19815
|
+
* @version 184.0.0
|
|
19676
19816
|
*/ /**
|
|
19677
19817
|
* Constructs a new TeamsApi.
|
|
19678
19818
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19751,7 +19891,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19751
19891
|
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(){/**
|
|
19752
19892
|
* Telephony service.
|
|
19753
19893
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19754
|
-
* @version
|
|
19894
|
+
* @version 184.0.0
|
|
19755
19895
|
*/ /**
|
|
19756
19896
|
* Constructs a new TelephonyApi.
|
|
19757
19897
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -19800,7 +19940,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
19800
19940
|
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(){/**
|
|
19801
19941
|
* TelephonyProvidersEdge service.
|
|
19802
19942
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
19803
|
-
* @version
|
|
19943
|
+
* @version 184.0.0
|
|
19804
19944
|
*/ /**
|
|
19805
19945
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
19806
19946
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20619,7 +20759,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
20619
20759
|
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(){/**
|
|
20620
20760
|
* Textbots service.
|
|
20621
20761
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20622
|
-
* @version
|
|
20762
|
+
* @version 184.0.0
|
|
20623
20763
|
*/ /**
|
|
20624
20764
|
* Constructs a new TextbotsApi.
|
|
20625
20765
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20654,7 +20794,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20654
20794
|
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(){/**
|
|
20655
20795
|
* Tokens service.
|
|
20656
20796
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20657
|
-
* @version
|
|
20797
|
+
* @version 184.0.0
|
|
20658
20798
|
*/ /**
|
|
20659
20799
|
* Constructs a new TokensApi.
|
|
20660
20800
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20690,7 +20830,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20690
20830
|
*/},{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(){/**
|
|
20691
20831
|
* Uploads service.
|
|
20692
20832
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20693
|
-
* @version
|
|
20833
|
+
* @version 184.0.0
|
|
20694
20834
|
*/ /**
|
|
20695
20835
|
* Constructs a new UploadsApi.
|
|
20696
20836
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20732,7 +20872,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20732
20872
|
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(){/**
|
|
20733
20873
|
* Usage service.
|
|
20734
20874
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20735
|
-
* @version
|
|
20875
|
+
* @version 184.0.0
|
|
20736
20876
|
*/ /**
|
|
20737
20877
|
* Constructs a new UsageApi.
|
|
20738
20878
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20783,7 +20923,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20783
20923
|
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(){/**
|
|
20784
20924
|
* UserRecordings service.
|
|
20785
20925
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20786
|
-
* @version
|
|
20926
|
+
* @version 184.0.0
|
|
20787
20927
|
*/ /**
|
|
20788
20928
|
* Constructs a new UserRecordingsApi.
|
|
20789
20929
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20832,7 +20972,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
20832
20972
|
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(){/**
|
|
20833
20973
|
* Users service.
|
|
20834
20974
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20835
|
-
* @version
|
|
20975
|
+
* @version 184.0.0
|
|
20836
20976
|
*/ /**
|
|
20837
20977
|
* Constructs a new UsersApi.
|
|
20838
20978
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21491,7 +21631,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
21491
21631
|
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(){/**
|
|
21492
21632
|
* Utilities service.
|
|
21493
21633
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21494
|
-
* @version
|
|
21634
|
+
* @version 184.0.0
|
|
21495
21635
|
*/ /**
|
|
21496
21636
|
* Constructs a new UtilitiesApi.
|
|
21497
21637
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21518,7 +21658,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21518
21658
|
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(){/**
|
|
21519
21659
|
* Voicemail service.
|
|
21520
21660
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21521
|
-
* @version
|
|
21661
|
+
* @version 184.0.0
|
|
21522
21662
|
*/ /**
|
|
21523
21663
|
* Constructs a new VoicemailApi.
|
|
21524
21664
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21667,7 +21807,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21667
21807
|
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(){/**
|
|
21668
21808
|
* WebChat service.
|
|
21669
21809
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21670
|
-
* @version
|
|
21810
|
+
* @version 184.0.0
|
|
21671
21811
|
*/ /**
|
|
21672
21812
|
* Constructs a new WebChatApi.
|
|
21673
21813
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21800,7 +21940,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21800
21940
|
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(){/**
|
|
21801
21941
|
* WebDeployments service.
|
|
21802
21942
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21803
|
-
* @version
|
|
21943
|
+
* @version 184.0.0
|
|
21804
21944
|
*/ /**
|
|
21805
21945
|
* Constructs a new WebDeploymentsApi.
|
|
21806
21946
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21921,7 +22061,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
21921
22061
|
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(){/**
|
|
21922
22062
|
* WebMessaging service.
|
|
21923
22063
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21924
|
-
* @version
|
|
22064
|
+
* @version 184.0.0
|
|
21925
22065
|
*/ /**
|
|
21926
22066
|
* Constructs a new WebMessagingApi.
|
|
21927
22067
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21937,7 +22077,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
21937
22077
|
*/_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(){/**
|
|
21938
22078
|
* Widgets service.
|
|
21939
22079
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21940
|
-
* @version
|
|
22080
|
+
* @version 184.0.0
|
|
21941
22081
|
*/ /**
|
|
21942
22082
|
* Constructs a new WidgetsApi.
|
|
21943
22083
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21972,7 +22112,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
21972
22112
|
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(){/**
|
|
21973
22113
|
* WorkforceManagement service.
|
|
21974
22114
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21975
|
-
* @version
|
|
22115
|
+
* @version 184.0.0
|
|
21976
22116
|
*/ /**
|
|
21977
22117
|
* Constructs a new WorkforceManagementApi.
|
|
21978
22118
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23263,7 +23403,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23263
23403
|
* </pre>
|
|
23264
23404
|
* </p>
|
|
23265
23405
|
* @module purecloud-platform-client-v2/index
|
|
23266
|
-
* @version
|
|
23406
|
+
* @version 184.0.0
|
|
23267
23407
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23268
23408
|
* The ApiClient constructor.
|
|
23269
23409
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -23370,6 +23510,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23370
23510
|
* The LocationsApi service constructor.
|
|
23371
23511
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
23372
23512
|
*/this.LocationsApi=LocationsApi;/**
|
|
23513
|
+
* The LogCaptureApi service constructor.
|
|
23514
|
+
* @property {module:purecloud-platform-client-v2/api/LogCaptureApi}
|
|
23515
|
+
*/this.LogCaptureApi=LogCaptureApi;/**
|
|
23373
23516
|
* The MessagingApi service constructor.
|
|
23374
23517
|
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
23375
23518
|
*/this.MessagingApi=MessagingApi;/**
|