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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -845,7 +845,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
845
845
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
846
846
|
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;}();/**
|
|
847
847
|
* @module purecloud-platform-client-v2/ApiClient
|
|
848
|
-
* @version
|
|
848
|
+
* @version 184.0.0
|
|
849
849
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
850
850
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
851
851
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1100,7 +1100,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1100
1100
|
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(){/**
|
|
1101
1101
|
* Alerting service.
|
|
1102
1102
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1103
|
-
* @version
|
|
1103
|
+
* @version 184.0.0
|
|
1104
1104
|
*/ /**
|
|
1105
1105
|
* Constructs a new AlertingApi.
|
|
1106
1106
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1257,7 +1257,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1257
1257
|
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(){/**
|
|
1258
1258
|
* Analytics service.
|
|
1259
1259
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1260
|
-
* @version
|
|
1260
|
+
* @version 184.0.0
|
|
1261
1261
|
*/ /**
|
|
1262
1262
|
* Constructs a new AnalyticsApi.
|
|
1263
1263
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1389,6 +1389,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1389
1389
|
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1390
1390
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1391
1391
|
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']);}/**
|
|
1392
|
+
* Get status for async query for flow execution aggregates
|
|
1393
|
+
*
|
|
1394
|
+
* @param {String} jobId jobId
|
|
1395
|
+
* getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1396
|
+
*/},{key:"getAnalyticsFlowexecutionsAggregatesJob",value:function getAnalyticsFlowexecutionsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
1397
|
+
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']);}/**
|
|
1398
|
+
* Fetch a page of results for an async aggregates query
|
|
1399
|
+
*
|
|
1400
|
+
* @param {String} jobId jobId
|
|
1401
|
+
* @param {Object} opts Optional parameters
|
|
1402
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
1403
|
+
* getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1404
|
+
*/},{key:"getAnalyticsFlowexecutionsAggregatesJobResults",value:function getAnalyticsFlowexecutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1405
|
+
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']);}/**
|
|
1392
1406
|
* Get status for async query for Flow aggregates
|
|
1393
1407
|
*
|
|
1394
1408
|
* @param {String} jobId jobId
|
|
@@ -1660,6 +1674,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1660
1674
|
* @param {Object} body query
|
|
1661
1675
|
*/},{key:"postAnalyticsEvaluationsAggregatesQuery",value:function postAnalyticsEvaluationsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1662
1676
|
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']);}/**
|
|
1677
|
+
* Query for flow execution aggregates asynchronously
|
|
1678
|
+
*
|
|
1679
|
+
* @param {Object} body query
|
|
1680
|
+
* postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1681
|
+
*/},{key:"postAnalyticsFlowexecutionsAggregatesJobs",value:function postAnalyticsFlowexecutionsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
1682
|
+
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']);}/**
|
|
1683
|
+
* Query for flow execution aggregates
|
|
1684
|
+
*
|
|
1685
|
+
* @param {Object} body query
|
|
1686
|
+
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1687
|
+
*/},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1688
|
+
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']);}/**
|
|
1663
1689
|
* Query for flow activity observations
|
|
1664
1690
|
*
|
|
1665
1691
|
* @param {Object} body query
|
|
@@ -1838,7 +1864,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
1838
1864
|
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(){/**
|
|
1839
1865
|
* Architect service.
|
|
1840
1866
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1841
|
-
* @version
|
|
1867
|
+
* @version 184.0.0
|
|
1842
1868
|
*/ /**
|
|
1843
1869
|
* Constructs a new ArchitectApi.
|
|
1844
1870
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -2870,7 +2896,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
2870
2896
|
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(){/**
|
|
2871
2897
|
* Audit service.
|
|
2872
2898
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
2873
|
-
* @version
|
|
2899
|
+
* @version 184.0.0
|
|
2874
2900
|
*/ /**
|
|
2875
2901
|
* Constructs a new AuditApi.
|
|
2876
2902
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -2912,7 +2938,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2912
2938
|
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(){/**
|
|
2913
2939
|
* Authorization service.
|
|
2914
2940
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
2915
|
-
* @version
|
|
2941
|
+
* @version 184.0.0
|
|
2916
2942
|
*/ /**
|
|
2917
2943
|
* Constructs a new AuthorizationApi.
|
|
2918
2944
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3108,10 +3134,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3108
3134
|
* Recreate a previously deleted division.
|
|
3109
3135
|
*
|
|
3110
3136
|
* @param {String} divisionId Division ID
|
|
3111
|
-
* @param {Object}
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
if(
|
|
3137
|
+
* @param {Object} opts Optional parameters
|
|
3138
|
+
* @param {Object} opts.body Recreated division data
|
|
3139
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
3140
|
+
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']);}/**
|
|
3115
3141
|
* Create a division.
|
|
3116
3142
|
*
|
|
3117
3143
|
* @param {Object} body Division
|
|
@@ -3223,7 +3249,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3223
3249
|
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(){/**
|
|
3224
3250
|
* Billing service.
|
|
3225
3251
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3226
|
-
* @version
|
|
3252
|
+
* @version 184.0.0
|
|
3227
3253
|
*/ /**
|
|
3228
3254
|
* Constructs a new BillingApi.
|
|
3229
3255
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3247,7 +3273,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3247
3273
|
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(){/**
|
|
3248
3274
|
* CarrierServices service.
|
|
3249
3275
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3250
|
-
* @version
|
|
3276
|
+
* @version 184.0.0
|
|
3251
3277
|
*/ /**
|
|
3252
3278
|
* Constructs a new CarrierServicesApi.
|
|
3253
3279
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3267,7 +3293,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3267
3293
|
*/},{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(){/**
|
|
3268
3294
|
* Chat service.
|
|
3269
3295
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3270
|
-
* @version
|
|
3296
|
+
* @version 184.0.0
|
|
3271
3297
|
*/ /**
|
|
3272
3298
|
* Constructs a new ChatApi.
|
|
3273
3299
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3464,7 +3490,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3464
3490
|
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(){/**
|
|
3465
3491
|
* Coaching service.
|
|
3466
3492
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3467
|
-
* @version
|
|
3493
|
+
* @version 184.0.0
|
|
3468
3494
|
*/ /**
|
|
3469
3495
|
* Constructs a new CoachingApi.
|
|
3470
3496
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3617,7 +3643,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3617
3643
|
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(){/**
|
|
3618
3644
|
* ContentManagement service.
|
|
3619
3645
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3620
|
-
* @version
|
|
3646
|
+
* @version 184.0.0
|
|
3621
3647
|
*/ /**
|
|
3622
3648
|
* Constructs a new ContentManagementApi.
|
|
3623
3649
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -3919,7 +3945,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
3919
3945
|
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(){/**
|
|
3920
3946
|
* Conversations service.
|
|
3921
3947
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
3922
|
-
* @version
|
|
3948
|
+
* @version 184.0.0
|
|
3923
3949
|
*/ /**
|
|
3924
3950
|
* Constructs a new ConversationsApi.
|
|
3925
3951
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5643,7 +5669,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5643
5669
|
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(){/**
|
|
5644
5670
|
* DataExtensions service.
|
|
5645
5671
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5646
|
-
* @version
|
|
5672
|
+
* @version 184.0.0
|
|
5647
5673
|
*/ /**
|
|
5648
5674
|
* Constructs a new DataExtensionsApi.
|
|
5649
5675
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5664,7 +5690,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5664
5690
|
*/},{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(){/**
|
|
5665
5691
|
* Downloads service.
|
|
5666
5692
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5667
|
-
* @version
|
|
5693
|
+
* @version 184.0.0
|
|
5668
5694
|
*/ /**
|
|
5669
5695
|
* Constructs a new DownloadsApi.
|
|
5670
5696
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5683,7 +5709,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5683
5709
|
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(){/**
|
|
5684
5710
|
* Emails service.
|
|
5685
5711
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5686
|
-
* @version
|
|
5712
|
+
* @version 184.0.0
|
|
5687
5713
|
*/ /**
|
|
5688
5714
|
* Constructs a new EmailsApi.
|
|
5689
5715
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5701,7 +5727,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5701
5727
|
*/},{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(){/**
|
|
5702
5728
|
* Events service.
|
|
5703
5729
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5704
|
-
* @version
|
|
5730
|
+
* @version 184.0.0
|
|
5705
5731
|
*/ /**
|
|
5706
5732
|
* Constructs a new EventsApi.
|
|
5707
5733
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5726,7 +5752,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5726
5752
|
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(){/**
|
|
5727
5753
|
* ExternalContacts service.
|
|
5728
5754
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5729
|
-
* @version
|
|
5755
|
+
* @version 184.0.0
|
|
5730
5756
|
*/ /**
|
|
5731
5757
|
* Constructs a new ExternalContactsApi.
|
|
5732
5758
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6181,7 +6207,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6181
6207
|
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(){/**
|
|
6182
6208
|
* Fax service.
|
|
6183
6209
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6184
|
-
* @version
|
|
6210
|
+
* @version 184.0.0
|
|
6185
6211
|
*/ /**
|
|
6186
6212
|
* Constructs a new FaxApi.
|
|
6187
6213
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6222,7 +6248,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
6222
6248
|
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(){/**
|
|
6223
6249
|
* Flows service.
|
|
6224
6250
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6225
|
-
* @version
|
|
6251
|
+
* @version 184.0.0
|
|
6226
6252
|
*/ /**
|
|
6227
6253
|
* Constructs a new FlowsApi.
|
|
6228
6254
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6271,7 +6297,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6271
6297
|
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(){/**
|
|
6272
6298
|
* Gamification service.
|
|
6273
6299
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6274
|
-
* @version
|
|
6300
|
+
* @version 184.0.0
|
|
6275
6301
|
*/ /**
|
|
6276
6302
|
* Constructs a new GamificationApi.
|
|
6277
6303
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6811,7 +6837,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6811
6837
|
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(){/**
|
|
6812
6838
|
* GeneralDataProtectionRegulation service.
|
|
6813
6839
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6814
|
-
* @version
|
|
6840
|
+
* @version 184.0.0
|
|
6815
6841
|
*/ /**
|
|
6816
6842
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6817
6843
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -6846,7 +6872,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
6846
6872
|
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(){/**
|
|
6847
6873
|
* Geolocation service.
|
|
6848
6874
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
6849
|
-
* @version
|
|
6875
|
+
* @version 184.0.0
|
|
6850
6876
|
*/ /**
|
|
6851
6877
|
* Constructs a new GeolocationApi.
|
|
6852
6878
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -6880,7 +6906,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
6880
6906
|
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(){/**
|
|
6881
6907
|
* Greetings service.
|
|
6882
6908
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
6883
|
-
* @version
|
|
6909
|
+
* @version 184.0.0
|
|
6884
6910
|
*/ /**
|
|
6885
6911
|
* Constructs a new GreetingsApi.
|
|
6886
6912
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -6987,7 +7013,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
6987
7013
|
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(){/**
|
|
6988
7014
|
* Groups service.
|
|
6989
7015
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
6990
|
-
* @version
|
|
7016
|
+
* @version 184.0.0
|
|
6991
7017
|
*/ /**
|
|
6992
7018
|
* Constructs a new GroupsApi.
|
|
6993
7019
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7120,7 +7146,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7120
7146
|
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(){/**
|
|
7121
7147
|
* IdentityProvider service.
|
|
7122
7148
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7123
|
-
* @version
|
|
7149
|
+
* @version 184.0.0
|
|
7124
7150
|
*/ /**
|
|
7125
7151
|
* Constructs a new IdentityProviderApi.
|
|
7126
7152
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7254,7 +7280,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7254
7280
|
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(){/**
|
|
7255
7281
|
* InfrastructureAsCode service.
|
|
7256
7282
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7257
|
-
* @version
|
|
7283
|
+
* @version 184.0.0
|
|
7258
7284
|
*/ /**
|
|
7259
7285
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7260
7286
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7308,7 +7334,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7308
7334
|
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(){/**
|
|
7309
7335
|
* Integrations service.
|
|
7310
7336
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7311
|
-
* @version
|
|
7337
|
+
* @version 184.0.0
|
|
7312
7338
|
*/ /**
|
|
7313
7339
|
* Constructs a new IntegrationsApi.
|
|
7314
7340
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -7829,7 +7855,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
7829
7855
|
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(){/**
|
|
7830
7856
|
* Journey service.
|
|
7831
7857
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
7832
|
-
* @version
|
|
7858
|
+
* @version 184.0.0
|
|
7833
7859
|
*/ /**
|
|
7834
7860
|
* Constructs a new JourneyApi.
|
|
7835
7861
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8133,7 +8159,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8133
8159
|
*/},{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(){/**
|
|
8134
8160
|
* Knowledge service.
|
|
8135
8161
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8136
|
-
* @version
|
|
8162
|
+
* @version 184.0.0
|
|
8137
8163
|
*/ /**
|
|
8138
8164
|
* Constructs a new KnowledgeApi.
|
|
8139
8165
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8930,7 +8956,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
8930
8956
|
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(){/**
|
|
8931
8957
|
* LanguageUnderstanding service.
|
|
8932
8958
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
8933
|
-
* @version
|
|
8959
|
+
* @version 184.0.0
|
|
8934
8960
|
*/ /**
|
|
8935
8961
|
* Constructs a new LanguageUnderstandingApi.
|
|
8936
8962
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9186,7 +9212,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9186
9212
|
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(){/**
|
|
9187
9213
|
* Languages service.
|
|
9188
9214
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9189
|
-
* @version
|
|
9215
|
+
* @version 184.0.0
|
|
9190
9216
|
*/ /**
|
|
9191
9217
|
* Constructs a new LanguagesApi.
|
|
9192
9218
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9241,7 +9267,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9241
9267
|
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(){/**
|
|
9242
9268
|
* Learning service.
|
|
9243
9269
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9244
|
-
* @version
|
|
9270
|
+
* @version 184.0.0
|
|
9245
9271
|
*/ /**
|
|
9246
9272
|
* Constructs a new LearningApi.
|
|
9247
9273
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9471,7 +9497,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9471
9497
|
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(){/**
|
|
9472
9498
|
* License service.
|
|
9473
9499
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9474
|
-
* @version
|
|
9500
|
+
* @version 184.0.0
|
|
9475
9501
|
*/ /**
|
|
9476
9502
|
* Constructs a new LicenseApi.
|
|
9477
9503
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -9525,7 +9551,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
9525
9551
|
*/},{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(){/**
|
|
9526
9552
|
* Locations service.
|
|
9527
9553
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
9528
|
-
* @version
|
|
9554
|
+
* @version 184.0.0
|
|
9529
9555
|
*/ /**
|
|
9530
9556
|
* Constructs a new LocationsApi.
|
|
9531
9557
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -9581,10 +9607,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9581
9607
|
*
|
|
9582
9608
|
* @param {Object} body Search request options
|
|
9583
9609
|
*/},{key:"postLocationsSearch",value:function postLocationsSearch(body){// verify the required parameter 'body' is set
|
|
9584
|
-
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
|
|
9610
|
+
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(){/**
|
|
9611
|
+
* LogCapture service.
|
|
9612
|
+
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
9613
|
+
* @version 184.0.0
|
|
9614
|
+
*/ /**
|
|
9615
|
+
* Constructs a new LogCaptureApi.
|
|
9616
|
+
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
9617
|
+
* @class
|
|
9618
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
9619
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
9620
|
+
*/function LogCaptureApi(apiClient){_classCallCheck(this,LogCaptureApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
9621
|
+
* Gets status of async download execution
|
|
9622
|
+
*
|
|
9623
|
+
* @param {String} jobId Job ID
|
|
9624
|
+
*/_createClass(LogCaptureApi,[{key:"getDiagnosticsLogcaptureBrowserEntriesDownloadJob",value:function getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId){// verify the required parameter 'jobId' is set
|
|
9625
|
+
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']);}/**
|
|
9626
|
+
* Creates an async download execution
|
|
9627
|
+
*
|
|
9628
|
+
* @param {Object} opts Optional parameters
|
|
9629
|
+
* @param {Object} opts.body
|
|
9630
|
+
*/},{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(){/**
|
|
9585
9631
|
* Messaging service.
|
|
9586
9632
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
9587
|
-
* @version
|
|
9633
|
+
* @version 184.0.0
|
|
9588
9634
|
*/ /**
|
|
9589
9635
|
* Constructs a new MessagingApi.
|
|
9590
9636
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -9674,7 +9720,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9674
9720
|
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(){/**
|
|
9675
9721
|
* MobileDevices service.
|
|
9676
9722
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
9677
|
-
* @version
|
|
9723
|
+
* @version 184.0.0
|
|
9678
9724
|
*/ /**
|
|
9679
9725
|
* Constructs a new MobileDevicesApi.
|
|
9680
9726
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -9713,7 +9759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9713
9759
|
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(){/**
|
|
9714
9760
|
* Notifications service.
|
|
9715
9761
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
9716
|
-
* @version
|
|
9762
|
+
* @version 184.0.0
|
|
9717
9763
|
*/ /**
|
|
9718
9764
|
* Constructs a new NotificationsApi.
|
|
9719
9765
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -9770,7 +9816,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
9770
9816
|
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(){/**
|
|
9771
9817
|
* OAuth service.
|
|
9772
9818
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
9773
|
-
* @version
|
|
9819
|
+
* @version 184.0.0
|
|
9774
9820
|
*/ /**
|
|
9775
9821
|
* Constructs a new OAuthApi.
|
|
9776
9822
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -9855,7 +9901,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
9855
9901
|
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(){/**
|
|
9856
9902
|
* Objects service.
|
|
9857
9903
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
9858
|
-
* @version
|
|
9904
|
+
* @version 184.0.0
|
|
9859
9905
|
*/ /**
|
|
9860
9906
|
* Constructs a new ObjectsApi.
|
|
9861
9907
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -9908,10 +9954,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9908
9954
|
* Recreate a previously deleted division.
|
|
9909
9955
|
*
|
|
9910
9956
|
* @param {String} divisionId Division ID
|
|
9911
|
-
* @param {Object}
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
if(
|
|
9957
|
+
* @param {Object} opts Optional parameters
|
|
9958
|
+
* @param {Object} opts.body Recreated division data
|
|
9959
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
9960
|
+
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']);}/**
|
|
9915
9961
|
* Create a division.
|
|
9916
9962
|
*
|
|
9917
9963
|
* @param {Object} body Division
|
|
@@ -9926,7 +9972,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
9926
9972
|
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(){/**
|
|
9927
9973
|
* OperationalEvents service.
|
|
9928
9974
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
9929
|
-
* @version
|
|
9975
|
+
* @version 184.0.0
|
|
9930
9976
|
*/ /**
|
|
9931
9977
|
* Constructs a new OperationalEventsApi.
|
|
9932
9978
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -9944,7 +9990,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
9944
9990
|
*/},{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(){/**
|
|
9945
9991
|
* Organization service.
|
|
9946
9992
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
9947
|
-
* @version
|
|
9993
|
+
* @version 184.0.0
|
|
9948
9994
|
*/ /**
|
|
9949
9995
|
* Constructs a new OrganizationApi.
|
|
9950
9996
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10046,7 +10092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10046
10092
|
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(){/**
|
|
10047
10093
|
* OrganizationAuthorization service.
|
|
10048
10094
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10049
|
-
* @version
|
|
10095
|
+
* @version 184.0.0
|
|
10050
10096
|
*/ /**
|
|
10051
10097
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10052
10098
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10369,7 +10415,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10369
10415
|
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(){/**
|
|
10370
10416
|
* Outbound service.
|
|
10371
10417
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10372
|
-
* @version
|
|
10418
|
+
* @version 184.0.0
|
|
10373
10419
|
*/ /**
|
|
10374
10420
|
* Constructs a new OutboundApi.
|
|
10375
10421
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -10436,6 +10482,16 @@ if(contactListFilterId===undefined||contactListFilterId===null){throw'Missing th
|
|
|
10436
10482
|
* @param {Array.<String>} id contact list id(s) to delete
|
|
10437
10483
|
*/},{key:"deleteOutboundContactlists",value:function deleteOutboundContactlists(id){// verify the required parameter 'id' is set
|
|
10438
10484
|
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']);}/**
|
|
10485
|
+
* Delete Contact List Template
|
|
10486
|
+
*
|
|
10487
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
10488
|
+
*/},{key:"deleteOutboundContactlisttemplate",value:function deleteOutboundContactlisttemplate(contactListTemplateId){// verify the required parameter 'contactListTemplateId' is set
|
|
10489
|
+
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']);}/**
|
|
10490
|
+
* Delete multiple contact list templates.
|
|
10491
|
+
*
|
|
10492
|
+
* @param {Array.<String>} id contact list template id(s) to delete
|
|
10493
|
+
*/},{key:"deleteOutboundContactlisttemplates",value:function deleteOutboundContactlisttemplates(id){// verify the required parameter 'id' is set
|
|
10494
|
+
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']);}/**
|
|
10439
10495
|
* Delete an Outbound Digital Rule Set
|
|
10440
10496
|
*
|
|
10441
10497
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -10467,6 +10523,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
|
|
|
10467
10523
|
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
10468
10524
|
*/},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
10469
10525
|
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']);}/**
|
|
10526
|
+
* Delete Import Template
|
|
10527
|
+
*
|
|
10528
|
+
* @param {String} importTemplateId Import Template ID
|
|
10529
|
+
*/},{key:"deleteOutboundImporttemplate",value:function deleteOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
|
|
10530
|
+
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']);}/**
|
|
10531
|
+
* Delete multiple import templates.
|
|
10532
|
+
*
|
|
10533
|
+
* @param {Array.<String>} id import template id(s) to delete
|
|
10534
|
+
*/},{key:"deleteOutboundImporttemplates",value:function deleteOutboundImporttemplates(id){// verify the required parameter 'id' is set
|
|
10535
|
+
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']);}/**
|
|
10470
10536
|
* Delete an Outbound Messaging Campaign
|
|
10471
10537
|
*
|
|
10472
10538
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -10741,6 +10807,22 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
10741
10807
|
* @param {String} opts.sortBy Sort by
|
|
10742
10808
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
10743
10809
|
*/},{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']);}/**
|
|
10810
|
+
* Get Contact List Template
|
|
10811
|
+
*
|
|
10812
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
10813
|
+
*/},{key:"getOutboundContactlisttemplate",value:function getOutboundContactlisttemplate(contactListTemplateId){// verify the required parameter 'contactListTemplateId' is set
|
|
10814
|
+
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']);}/**
|
|
10815
|
+
* Query a list of contact list templates
|
|
10816
|
+
*
|
|
10817
|
+
* @param {Object} opts Optional parameters
|
|
10818
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
10819
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
10820
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
10821
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
10822
|
+
* @param {String} opts.name Name
|
|
10823
|
+
* @param {String} opts.sortBy Sort by
|
|
10824
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
10825
|
+
*/},{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']);}/**
|
|
10744
10826
|
* Get an Outbound Digital Rule Set
|
|
10745
10827
|
*
|
|
10746
10828
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -10829,6 +10911,30 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
|
|
|
10829
10911
|
* @param {String} opts.sortBy Sort by
|
|
10830
10912
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
10831
10913
|
*/},{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']);}/**
|
|
10914
|
+
* Get Import Template
|
|
10915
|
+
*
|
|
10916
|
+
* @param {String} importTemplateId Import Template ID
|
|
10917
|
+
*/},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
|
|
10918
|
+
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']);}/**
|
|
10919
|
+
* Get the import status for an import template.
|
|
10920
|
+
*
|
|
10921
|
+
* @param {String} importTemplateId importTemplateId
|
|
10922
|
+
* @param {Object} opts Optional parameters
|
|
10923
|
+
* @param {String} opts.listNamePrefix listNamePrefix
|
|
10924
|
+
*/},{key:"getOutboundImporttemplateImportstatus",value:function getOutboundImporttemplateImportstatus(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
|
|
10925
|
+
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']);}/**
|
|
10926
|
+
* Query Import Templates
|
|
10927
|
+
*
|
|
10928
|
+
* @param {Object} opts Optional parameters
|
|
10929
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
10930
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
10931
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
10932
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
10933
|
+
* @param {String} opts.name Name
|
|
10934
|
+
* @param {String} opts.sortBy Sort by
|
|
10935
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
10936
|
+
* @param {String} opts.contactListTemplateId Contact List Template ID
|
|
10937
|
+
*/},{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']);}/**
|
|
10832
10938
|
* Get an Outbound Messaging Campaign
|
|
10833
10939
|
*
|
|
10834
10940
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -11067,6 +11173,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11067
11173
|
* @param {Object} body ContactList
|
|
11068
11174
|
*/},{key:"postOutboundContactlists",value:function postOutboundContactlists(body){// verify the required parameter 'body' is set
|
|
11069
11175
|
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']);}/**
|
|
11176
|
+
* Create Contact List Template
|
|
11177
|
+
*
|
|
11178
|
+
* @param {Object} body ContactListTemplate
|
|
11179
|
+
*/},{key:"postOutboundContactlisttemplates",value:function postOutboundContactlisttemplates(body){// verify the required parameter 'body' is set
|
|
11180
|
+
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']);}/**
|
|
11181
|
+
* Add multiple contact list templates
|
|
11182
|
+
*
|
|
11183
|
+
* @param {Array.<Object>} body contact list template(s) to add
|
|
11184
|
+
*/},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
11185
|
+
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']);}/**
|
|
11070
11186
|
* Add phone numbers to a Dialer DNC list.
|
|
11071
11187
|
*
|
|
11072
11188
|
* @param {String} conversationId Conversation ID
|
|
@@ -11103,6 +11219,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11103
11219
|
* @param {Object} body DncList
|
|
11104
11220
|
*/},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
|
|
11105
11221
|
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']);}/**
|
|
11222
|
+
* Create Import Template
|
|
11223
|
+
*
|
|
11224
|
+
* @param {Object} body ImportTemplate
|
|
11225
|
+
*/},{key:"postOutboundImporttemplates",value:function postOutboundImporttemplates(body){// verify the required parameter 'body' is set
|
|
11226
|
+
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']);}/**
|
|
11227
|
+
* Add multiple import templates
|
|
11228
|
+
*
|
|
11229
|
+
* @param {Array.<Object>} body import template(s) to add
|
|
11230
|
+
*/},{key:"postOutboundImporttemplatesBulkAdd",value:function postOutboundImporttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
11231
|
+
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']);}/**
|
|
11106
11232
|
* Create a Messaging Campaign
|
|
11107
11233
|
*
|
|
11108
11234
|
* @param {Object} body Messaging Campaign
|
|
@@ -11190,6 +11316,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11190
11316
|
*/},{key:"putOutboundContactlistfilter",value:function putOutboundContactlistfilter(contactListFilterId,body){// verify the required parameter 'contactListFilterId' is set
|
|
11191
11317
|
if(contactListFilterId===undefined||contactListFilterId===null){throw'Missing the required parameter "contactListFilterId" when calling putOutboundContactlistfilter';}// verify the required parameter 'body' is set
|
|
11192
11318
|
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']);}/**
|
|
11319
|
+
* Update a contact list template.
|
|
11320
|
+
*
|
|
11321
|
+
* @param {String} contactListTemplateId ContactListTemplate ID
|
|
11322
|
+
* @param {Object} body ContactListTemplate
|
|
11323
|
+
*/},{key:"putOutboundContactlisttemplate",value:function putOutboundContactlisttemplate(contactListTemplateId,body){// verify the required parameter 'contactListTemplateId' is set
|
|
11324
|
+
if(contactListTemplateId===undefined||contactListTemplateId===null){throw'Missing the required parameter "contactListTemplateId" when calling putOutboundContactlisttemplate';}// verify the required parameter 'body' is set
|
|
11325
|
+
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']);}/**
|
|
11193
11326
|
* Update an Outbound Digital Rule Set
|
|
11194
11327
|
*
|
|
11195
11328
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -11204,6 +11337,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11204
11337
|
*/},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
11205
11338
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
|
|
11206
11339
|
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']);}/**
|
|
11340
|
+
* Update Import Template
|
|
11341
|
+
*
|
|
11342
|
+
* @param {String} importTemplateId Import Template ID
|
|
11343
|
+
* @param {Object} body importTemplate
|
|
11344
|
+
*/},{key:"putOutboundImporttemplate",value:function putOutboundImporttemplate(importTemplateId,body){// verify the required parameter 'importTemplateId' is set
|
|
11345
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling putOutboundImporttemplate';}// verify the required parameter 'body' is set
|
|
11346
|
+
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']);}/**
|
|
11207
11347
|
* Update an Outbound Messaging Campaign
|
|
11208
11348
|
*
|
|
11209
11349
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -11260,7 +11400,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11260
11400
|
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(){/**
|
|
11261
11401
|
* Presence service.
|
|
11262
11402
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11263
|
-
* @version
|
|
11403
|
+
* @version 184.0.0
|
|
11264
11404
|
*/ /**
|
|
11265
11405
|
* Constructs a new PresenceApi.
|
|
11266
11406
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -11428,7 +11568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11428
11568
|
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(){/**
|
|
11429
11569
|
* ProcessAutomation service.
|
|
11430
11570
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
11431
|
-
* @version
|
|
11571
|
+
* @version 184.0.0
|
|
11432
11572
|
*/ /**
|
|
11433
11573
|
* Constructs a new ProcessAutomationApi.
|
|
11434
11574
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -11491,7 +11631,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
11491
11631
|
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(){/**
|
|
11492
11632
|
* Quality service.
|
|
11493
11633
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
11494
|
-
* @version
|
|
11634
|
+
* @version 184.0.0
|
|
11495
11635
|
*/ /**
|
|
11496
11636
|
* Constructs a new QualityApi.
|
|
11497
11637
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -11962,7 +12102,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
11962
12102
|
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(){/**
|
|
11963
12103
|
* Recording service.
|
|
11964
12104
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
11965
|
-
* @version
|
|
12105
|
+
* @version 184.0.0
|
|
11966
12106
|
*/ /**
|
|
11967
12107
|
* Constructs a new RecordingApi.
|
|
11968
12108
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -12369,7 +12509,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12369
12509
|
*/},{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(){/**
|
|
12370
12510
|
* ResponseManagement service.
|
|
12371
12511
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
12372
|
-
* @version
|
|
12512
|
+
* @version 184.0.0
|
|
12373
12513
|
*/ /**
|
|
12374
12514
|
* Constructs a new ResponseManagementApi.
|
|
12375
12515
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -12485,7 +12625,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
12485
12625
|
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(){/**
|
|
12486
12626
|
* Routing service.
|
|
12487
12627
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
12488
|
-
* @version
|
|
12628
|
+
* @version 184.0.0
|
|
12489
12629
|
*/ /**
|
|
12490
12630
|
* Constructs a new RoutingApi.
|
|
12491
12631
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13391,7 +13531,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13391
13531
|
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(){/**
|
|
13392
13532
|
* SCIM service.
|
|
13393
13533
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
13394
|
-
* @version
|
|
13534
|
+
* @version 184.0.0
|
|
13395
13535
|
*/ /**
|
|
13396
13536
|
* Constructs a new SCIMApi.
|
|
13397
13537
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -13616,7 +13756,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13616
13756
|
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(){/**
|
|
13617
13757
|
* Scripts service.
|
|
13618
13758
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
13619
|
-
* @version
|
|
13759
|
+
* @version 184.0.0
|
|
13620
13760
|
*/ /**
|
|
13621
13761
|
* Constructs a new ScriptsApi.
|
|
13622
13762
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -13752,7 +13892,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
13752
13892
|
*/},{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(){/**
|
|
13753
13893
|
* Search service.
|
|
13754
13894
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
13755
|
-
* @version
|
|
13895
|
+
* @version 184.0.0
|
|
13756
13896
|
*/ /**
|
|
13757
13897
|
* Constructs a new SearchApi.
|
|
13758
13898
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -13912,7 +14052,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13912
14052
|
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(){/**
|
|
13913
14053
|
* Settings service.
|
|
13914
14054
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
13915
|
-
* @version
|
|
14055
|
+
* @version 184.0.0
|
|
13916
14056
|
*/ /**
|
|
13917
14057
|
* Constructs a new SettingsApi.
|
|
13918
14058
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -13930,7 +14070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13930
14070
|
*/},{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(){/**
|
|
13931
14071
|
* SpeechTextAnalytics service.
|
|
13932
14072
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
13933
|
-
* @version
|
|
14073
|
+
* @version 184.0.0
|
|
13934
14074
|
*/ /**
|
|
13935
14075
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
13936
14076
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14173,7 +14313,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14173
14313
|
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(){/**
|
|
14174
14314
|
* Stations service.
|
|
14175
14315
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
14176
|
-
* @version
|
|
14316
|
+
* @version 184.0.0
|
|
14177
14317
|
*/ /**
|
|
14178
14318
|
* Constructs a new StationsApi.
|
|
14179
14319
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -14205,7 +14345,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
14205
14345
|
*/},{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(){/**
|
|
14206
14346
|
* Suggest service.
|
|
14207
14347
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
14208
|
-
* @version
|
|
14348
|
+
* @version 184.0.0
|
|
14209
14349
|
*/ /**
|
|
14210
14350
|
* Constructs a new SuggestApi.
|
|
14211
14351
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -14245,7 +14385,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14245
14385
|
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(){/**
|
|
14246
14386
|
* TaskManagement service.
|
|
14247
14387
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
14248
|
-
* @version
|
|
14388
|
+
* @version 184.0.0
|
|
14249
14389
|
*/ /**
|
|
14250
14390
|
* Constructs a new TaskManagementApi.
|
|
14251
14391
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -14587,7 +14727,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
14587
14727
|
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(){/**
|
|
14588
14728
|
* Teams service.
|
|
14589
14729
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
14590
|
-
* @version
|
|
14730
|
+
* @version 184.0.0
|
|
14591
14731
|
*/ /**
|
|
14592
14732
|
* Constructs a new TeamsApi.
|
|
14593
14733
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -14666,7 +14806,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14666
14806
|
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(){/**
|
|
14667
14807
|
* Telephony service.
|
|
14668
14808
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
14669
|
-
* @version
|
|
14809
|
+
* @version 184.0.0
|
|
14670
14810
|
*/ /**
|
|
14671
14811
|
* Constructs a new TelephonyApi.
|
|
14672
14812
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -14715,7 +14855,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
14715
14855
|
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(){/**
|
|
14716
14856
|
* TelephonyProvidersEdge service.
|
|
14717
14857
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
14718
|
-
* @version
|
|
14858
|
+
* @version 184.0.0
|
|
14719
14859
|
*/ /**
|
|
14720
14860
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
14721
14861
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -15534,7 +15674,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
15534
15674
|
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(){/**
|
|
15535
15675
|
* Textbots service.
|
|
15536
15676
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
15537
|
-
* @version
|
|
15677
|
+
* @version 184.0.0
|
|
15538
15678
|
*/ /**
|
|
15539
15679
|
* Constructs a new TextbotsApi.
|
|
15540
15680
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -15569,7 +15709,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
15569
15709
|
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(){/**
|
|
15570
15710
|
* Tokens service.
|
|
15571
15711
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
15572
|
-
* @version
|
|
15712
|
+
* @version 184.0.0
|
|
15573
15713
|
*/ /**
|
|
15574
15714
|
* Constructs a new TokensApi.
|
|
15575
15715
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -15605,7 +15745,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15605
15745
|
*/},{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(){/**
|
|
15606
15746
|
* Uploads service.
|
|
15607
15747
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
15608
|
-
* @version
|
|
15748
|
+
* @version 184.0.0
|
|
15609
15749
|
*/ /**
|
|
15610
15750
|
* Constructs a new UploadsApi.
|
|
15611
15751
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -15647,7 +15787,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15647
15787
|
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(){/**
|
|
15648
15788
|
* Usage service.
|
|
15649
15789
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
15650
|
-
* @version
|
|
15790
|
+
* @version 184.0.0
|
|
15651
15791
|
*/ /**
|
|
15652
15792
|
* Constructs a new UsageApi.
|
|
15653
15793
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -15698,7 +15838,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15698
15838
|
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(){/**
|
|
15699
15839
|
* UserRecordings service.
|
|
15700
15840
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
15701
|
-
* @version
|
|
15841
|
+
* @version 184.0.0
|
|
15702
15842
|
*/ /**
|
|
15703
15843
|
* Constructs a new UserRecordingsApi.
|
|
15704
15844
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -15747,7 +15887,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
15747
15887
|
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(){/**
|
|
15748
15888
|
* Users service.
|
|
15749
15889
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
15750
|
-
* @version
|
|
15890
|
+
* @version 184.0.0
|
|
15751
15891
|
*/ /**
|
|
15752
15892
|
* Constructs a new UsersApi.
|
|
15753
15893
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16406,7 +16546,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
16406
16546
|
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(){/**
|
|
16407
16547
|
* Utilities service.
|
|
16408
16548
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
16409
|
-
* @version
|
|
16549
|
+
* @version 184.0.0
|
|
16410
16550
|
*/ /**
|
|
16411
16551
|
* Constructs a new UtilitiesApi.
|
|
16412
16552
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -16433,7 +16573,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16433
16573
|
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(){/**
|
|
16434
16574
|
* Voicemail service.
|
|
16435
16575
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
16436
|
-
* @version
|
|
16576
|
+
* @version 184.0.0
|
|
16437
16577
|
*/ /**
|
|
16438
16578
|
* Constructs a new VoicemailApi.
|
|
16439
16579
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -16582,7 +16722,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16582
16722
|
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(){/**
|
|
16583
16723
|
* WebChat service.
|
|
16584
16724
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
16585
|
-
* @version
|
|
16725
|
+
* @version 184.0.0
|
|
16586
16726
|
*/ /**
|
|
16587
16727
|
* Constructs a new WebChatApi.
|
|
16588
16728
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -16715,7 +16855,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16715
16855
|
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(){/**
|
|
16716
16856
|
* WebDeployments service.
|
|
16717
16857
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
16718
|
-
* @version
|
|
16858
|
+
* @version 184.0.0
|
|
16719
16859
|
*/ /**
|
|
16720
16860
|
* Constructs a new WebDeploymentsApi.
|
|
16721
16861
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -16836,7 +16976,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
16836
16976
|
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(){/**
|
|
16837
16977
|
* WebMessaging service.
|
|
16838
16978
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
16839
|
-
* @version
|
|
16979
|
+
* @version 184.0.0
|
|
16840
16980
|
*/ /**
|
|
16841
16981
|
* Constructs a new WebMessagingApi.
|
|
16842
16982
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -16852,7 +16992,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
16852
16992
|
*/_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(){/**
|
|
16853
16993
|
* Widgets service.
|
|
16854
16994
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
16855
|
-
* @version
|
|
16995
|
+
* @version 184.0.0
|
|
16856
16996
|
*/ /**
|
|
16857
16997
|
* Constructs a new WidgetsApi.
|
|
16858
16998
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -16887,7 +17027,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
16887
17027
|
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(){/**
|
|
16888
17028
|
* WorkforceManagement service.
|
|
16889
17029
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
16890
|
-
* @version
|
|
17030
|
+
* @version 184.0.0
|
|
16891
17031
|
*/ /**
|
|
16892
17032
|
* Constructs a new WorkforceManagementApi.
|
|
16893
17033
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -18178,7 +18318,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18178
18318
|
* </pre>
|
|
18179
18319
|
* </p>
|
|
18180
18320
|
* @module purecloud-platform-client-v2/index
|
|
18181
|
-
* @version
|
|
18321
|
+
* @version 184.0.0
|
|
18182
18322
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
18183
18323
|
* The ApiClient constructor.
|
|
18184
18324
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -18285,6 +18425,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18285
18425
|
* The LocationsApi service constructor.
|
|
18286
18426
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
18287
18427
|
*/this.LocationsApi=LocationsApi;/**
|
|
18428
|
+
* The LogCaptureApi service constructor.
|
|
18429
|
+
* @property {module:purecloud-platform-client-v2/api/LogCaptureApi}
|
|
18430
|
+
*/this.LogCaptureApi=LogCaptureApi;/**
|
|
18288
18431
|
* The MessagingApi service constructor.
|
|
18289
18432
|
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
18290
18433
|
*/this.MessagingApi=MessagingApi;/**
|