purecloud-platform-client-v2 188.0.0 → 188.1.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 +426 -83
- package/dist/web-amd/purecloud-platform-client-v2.js +426 -83
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +166 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +224 -152
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +300 -3
- 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 +1 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +5 -5
- 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 +187 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +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 -3
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -847,7 +847,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
847
847
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
848
848
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
|
|
849
849
|
* @module purecloud-platform-client-v2/ApiClient
|
|
850
|
-
* @version 188.
|
|
850
|
+
* @version 188.1.0
|
|
851
851
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
852
852
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
853
853
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1159,7 +1159,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1159
1159
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1160
1160
|
* Alerting service.
|
|
1161
1161
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1162
|
-
* @version 188.
|
|
1162
|
+
* @version 188.1.0
|
|
1163
1163
|
*/ /**
|
|
1164
1164
|
* Constructs a new AlertingApi.
|
|
1165
1165
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1316,7 +1316,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1316
1316
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1317
1317
|
* Analytics service.
|
|
1318
1318
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1319
|
-
* @version 188.
|
|
1319
|
+
* @version 188.1.0
|
|
1320
1320
|
*/ /**
|
|
1321
1321
|
* Constructs a new AnalyticsApi.
|
|
1322
1322
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1789,7 +1789,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1789
1789
|
* Query for knowledge aggregates
|
|
1790
1790
|
*
|
|
1791
1791
|
* @param {Object} body query
|
|
1792
|
-
* postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1793
1792
|
*/},{key:"postAnalyticsKnowledgeAggregatesQuery",value:function postAnalyticsKnowledgeAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1794
1793
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1795
1794
|
* Query for queue observations
|
|
@@ -1927,7 +1926,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
1927
1926
|
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(){/**
|
|
1928
1927
|
* Architect service.
|
|
1929
1928
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1930
|
-
* @version 188.
|
|
1929
|
+
* @version 188.1.0
|
|
1931
1930
|
*/ /**
|
|
1932
1931
|
* Constructs a new ArchitectApi.
|
|
1933
1932
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -2974,7 +2973,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
2974
2973
|
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(){/**
|
|
2975
2974
|
* Audit service.
|
|
2976
2975
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
2977
|
-
* @version 188.
|
|
2976
|
+
* @version 188.1.0
|
|
2978
2977
|
*/ /**
|
|
2979
2978
|
* Constructs a new AuditApi.
|
|
2980
2979
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3016,7 +3015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3016
3015
|
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(){/**
|
|
3017
3016
|
* Authorization service.
|
|
3018
3017
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3019
|
-
* @version 188.
|
|
3018
|
+
* @version 188.1.0
|
|
3020
3019
|
*/ /**
|
|
3021
3020
|
* Constructs a new AuthorizationApi.
|
|
3022
3021
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3327,7 +3326,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3327
3326
|
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(){/**
|
|
3328
3327
|
* Billing service.
|
|
3329
3328
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3330
|
-
* @version 188.
|
|
3329
|
+
* @version 188.1.0
|
|
3331
3330
|
*/ /**
|
|
3332
3331
|
* Constructs a new BillingApi.
|
|
3333
3332
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3351,7 +3350,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3351
3350
|
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(){/**
|
|
3352
3351
|
* CarrierServices service.
|
|
3353
3352
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3354
|
-
* @version 188.
|
|
3353
|
+
* @version 188.1.0
|
|
3355
3354
|
*/ /**
|
|
3356
3355
|
* Constructs a new CarrierServicesApi.
|
|
3357
3356
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3371,7 +3370,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3371
3370
|
*/},{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(){/**
|
|
3372
3371
|
* Chat service.
|
|
3373
3372
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3374
|
-
* @version 188.
|
|
3373
|
+
* @version 188.1.0
|
|
3375
3374
|
*/ /**
|
|
3376
3375
|
* Constructs a new ChatApi.
|
|
3377
3376
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3564,7 +3563,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3564
3563
|
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(){/**
|
|
3565
3564
|
* Coaching service.
|
|
3566
3565
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3567
|
-
* @version 188.
|
|
3566
|
+
* @version 188.1.0
|
|
3568
3567
|
*/ /**
|
|
3569
3568
|
* Constructs a new CoachingApi.
|
|
3570
3569
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3717,7 +3716,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3717
3716
|
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(){/**
|
|
3718
3717
|
* ContentManagement service.
|
|
3719
3718
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3720
|
-
* @version 188.
|
|
3719
|
+
* @version 188.1.0
|
|
3721
3720
|
*/ /**
|
|
3722
3721
|
* Constructs a new ContentManagementApi.
|
|
3723
3722
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4000,7 +3999,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4000
3999
|
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(){/**
|
|
4001
4000
|
* Conversations service.
|
|
4002
4001
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4003
|
-
* @version 188.
|
|
4002
|
+
* @version 188.1.0
|
|
4004
4003
|
*/ /**
|
|
4005
4004
|
* Constructs a new ConversationsApi.
|
|
4006
4005
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5727,7 +5726,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5727
5726
|
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(){/**
|
|
5728
5727
|
* DataExtensions service.
|
|
5729
5728
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5730
|
-
* @version 188.
|
|
5729
|
+
* @version 188.1.0
|
|
5731
5730
|
*/ /**
|
|
5732
5731
|
* Constructs a new DataExtensionsApi.
|
|
5733
5732
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5748,7 +5747,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5748
5747
|
*/},{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(){/**
|
|
5749
5748
|
* Downloads service.
|
|
5750
5749
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5751
|
-
* @version 188.
|
|
5750
|
+
* @version 188.1.0
|
|
5752
5751
|
*/ /**
|
|
5753
5752
|
* Constructs a new DownloadsApi.
|
|
5754
5753
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5767,7 +5766,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5767
5766
|
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(){/**
|
|
5768
5767
|
* Emails service.
|
|
5769
5768
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5770
|
-
* @version 188.
|
|
5769
|
+
* @version 188.1.0
|
|
5771
5770
|
*/ /**
|
|
5772
5771
|
* Constructs a new EmailsApi.
|
|
5773
5772
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5785,7 +5784,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5785
5784
|
*/},{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(){/**
|
|
5786
5785
|
* Events service.
|
|
5787
5786
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5788
|
-
* @version 188.
|
|
5787
|
+
* @version 188.1.0
|
|
5789
5788
|
*/ /**
|
|
5790
5789
|
* Constructs a new EventsApi.
|
|
5791
5790
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5810,7 +5809,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5810
5809
|
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(){/**
|
|
5811
5810
|
* ExternalContacts service.
|
|
5812
5811
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5813
|
-
* @version 188.
|
|
5812
|
+
* @version 188.1.0
|
|
5814
5813
|
*/ /**
|
|
5815
5814
|
* Constructs a new ExternalContactsApi.
|
|
5816
5815
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6029,25 +6028,25 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
6029
6028
|
* Scan for external contacts using paging
|
|
6030
6029
|
*
|
|
6031
6030
|
* @param {Object} opts Optional parameters
|
|
6032
|
-
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
6031
|
+
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
6033
6032
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
6034
6033
|
*/},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6035
6034
|
* Scan for notes using paging
|
|
6036
6035
|
*
|
|
6037
6036
|
* @param {Object} opts Optional parameters
|
|
6038
|
-
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
6037
|
+
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
6039
6038
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
6040
6039
|
*/},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6041
6040
|
* Scan for external organizations using paging
|
|
6042
6041
|
*
|
|
6043
6042
|
* @param {Object} opts Optional parameters
|
|
6044
|
-
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
6043
|
+
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
6045
6044
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
6046
6045
|
*/},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6047
6046
|
* Scan for relationships
|
|
6048
6047
|
*
|
|
6049
6048
|
* @param {Object} opts Optional parameters
|
|
6050
|
-
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
6049
|
+
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
6051
6050
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
6052
6051
|
*/},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6053
6052
|
* Claim or release identifiers for a contact
|
|
@@ -6265,7 +6264,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6265
6264
|
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(){/**
|
|
6266
6265
|
* Fax service.
|
|
6267
6266
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6268
|
-
* @version 188.
|
|
6267
|
+
* @version 188.1.0
|
|
6269
6268
|
*/ /**
|
|
6270
6269
|
* Constructs a new FaxApi.
|
|
6271
6270
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6306,7 +6305,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
6306
6305
|
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(){/**
|
|
6307
6306
|
* Flows service.
|
|
6308
6307
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6309
|
-
* @version 188.
|
|
6308
|
+
* @version 188.1.0
|
|
6310
6309
|
*/ /**
|
|
6311
6310
|
* Constructs a new FlowsApi.
|
|
6312
6311
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6355,7 +6354,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6355
6354
|
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(){/**
|
|
6356
6355
|
* Gamification service.
|
|
6357
6356
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6358
|
-
* @version 188.
|
|
6357
|
+
* @version 188.1.0
|
|
6359
6358
|
*/ /**
|
|
6360
6359
|
* Constructs a new GamificationApi.
|
|
6361
6360
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6895,7 +6894,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6895
6894
|
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(){/**
|
|
6896
6895
|
* GeneralDataProtectionRegulation service.
|
|
6897
6896
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6898
|
-
* @version 188.
|
|
6897
|
+
* @version 188.1.0
|
|
6899
6898
|
*/ /**
|
|
6900
6899
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6901
6900
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -6930,7 +6929,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
6930
6929
|
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(){/**
|
|
6931
6930
|
* Geolocation service.
|
|
6932
6931
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
6933
|
-
* @version 188.
|
|
6932
|
+
* @version 188.1.0
|
|
6934
6933
|
*/ /**
|
|
6935
6934
|
* Constructs a new GeolocationApi.
|
|
6936
6935
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -6964,7 +6963,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
6964
6963
|
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(){/**
|
|
6965
6964
|
* Greetings service.
|
|
6966
6965
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
6967
|
-
* @version 188.
|
|
6966
|
+
* @version 188.1.0
|
|
6968
6967
|
*/ /**
|
|
6969
6968
|
* Constructs a new GreetingsApi.
|
|
6970
6969
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7071,7 +7070,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7071
7070
|
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(){/**
|
|
7072
7071
|
* Groups service.
|
|
7073
7072
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7074
|
-
* @version 188.
|
|
7073
|
+
* @version 188.1.0
|
|
7075
7074
|
*/ /**
|
|
7076
7075
|
* Constructs a new GroupsApi.
|
|
7077
7076
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7204,7 +7203,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7204
7203
|
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(){/**
|
|
7205
7204
|
* IdentityProvider service.
|
|
7206
7205
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7207
|
-
* @version 188.
|
|
7206
|
+
* @version 188.1.0
|
|
7208
7207
|
*/ /**
|
|
7209
7208
|
* Constructs a new IdentityProviderApi.
|
|
7210
7209
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7360,7 +7359,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7360
7359
|
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(){/**
|
|
7361
7360
|
* InfrastructureAsCode service.
|
|
7362
7361
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7363
|
-
* @version 188.
|
|
7362
|
+
* @version 188.1.0
|
|
7364
7363
|
*/ /**
|
|
7365
7364
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7366
7365
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7414,7 +7413,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7414
7413
|
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(){/**
|
|
7415
7414
|
* Integrations service.
|
|
7416
7415
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7417
|
-
* @version 188.
|
|
7416
|
+
* @version 188.1.0
|
|
7418
7417
|
*/ /**
|
|
7419
7418
|
* Constructs a new IntegrationsApi.
|
|
7420
7419
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -7973,7 +7972,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
7973
7972
|
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(){/**
|
|
7974
7973
|
* Journey service.
|
|
7975
7974
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
7976
|
-
* @version 188.
|
|
7975
|
+
* @version 188.1.0
|
|
7977
7976
|
*/ /**
|
|
7978
7977
|
* Constructs a new JourneyApi.
|
|
7979
7978
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8008,6 +8007,12 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
|
|
|
8008
8007
|
* @param {String} segmentId ID of the segment.
|
|
8009
8008
|
*/},{key:"deleteJourneySegment",value:function deleteJourneySegment(segmentId){// verify the required parameter 'segmentId' is set
|
|
8010
8009
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling deleteJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','DELETE',{'segmentId':segmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8010
|
+
* Delete a Journey View by ID
|
|
8011
|
+
* deletes all versions
|
|
8012
|
+
* @param {String} viewId viewId
|
|
8013
|
+
* deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8014
|
+
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8015
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8011
8016
|
* Get status for async query for journey aggregates
|
|
8012
8017
|
*
|
|
8013
8018
|
* @param {String} jobId jobId
|
|
@@ -8168,6 +8173,24 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
8168
8173
|
* @param {String} sessionId ID of the session.
|
|
8169
8174
|
*/},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
|
|
8170
8175
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8176
|
+
* Get a Journey View by ID
|
|
8177
|
+
* returns the latest version
|
|
8178
|
+
* @param {String} viewId viewId
|
|
8179
|
+
* getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8180
|
+
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
8181
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8182
|
+
* Get a Journey View by ID and version
|
|
8183
|
+
*
|
|
8184
|
+
* @param {String} viewId viewId
|
|
8185
|
+
* @param {String} versionId versionId
|
|
8186
|
+
* getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8187
|
+
*/},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
|
|
8188
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
|
|
8189
|
+
if(versionId===undefined||versionId===null){throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','GET',{'viewId':viewId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8190
|
+
* Get a list of Journey Views
|
|
8191
|
+
*
|
|
8192
|
+
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8193
|
+
*/},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8171
8194
|
* Update single action map.
|
|
8172
8195
|
*
|
|
8173
8196
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -8243,6 +8266,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8243
8266
|
* @param {Object} opts.body
|
|
8244
8267
|
*/},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
|
|
8245
8268
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/appevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8269
|
+
* Query for flow paths.
|
|
8270
|
+
*
|
|
8271
|
+
* @param {Object} opts Optional parameters
|
|
8272
|
+
* @param {Object} opts.body
|
|
8273
|
+
* postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8274
|
+
*/},{key:"postJourneyFlowsPathsQuery",value:function postJourneyFlowsPathsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/flows/paths/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8246
8275
|
* Create an outcome.
|
|
8247
8276
|
*
|
|
8248
8277
|
* @param {Object} opts Optional parameters
|
|
@@ -8263,10 +8292,24 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8263
8292
|
*
|
|
8264
8293
|
* @param {Object} opts Optional parameters
|
|
8265
8294
|
* @param {Object} opts.body
|
|
8266
|
-
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
8295
|
+
*/},{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']);}/**
|
|
8296
|
+
* Update a Journey View by ID
|
|
8297
|
+
* creates a new version
|
|
8298
|
+
* @param {String} viewId viewId
|
|
8299
|
+
* @param {Object} body JourneyView
|
|
8300
|
+
* postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8301
|
+
*/},{key:"postJourneyViewVersions",value:function postJourneyViewVersions(viewId,body){// verify the required parameter 'viewId' is set
|
|
8302
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';}// verify the required parameter 'body' is set
|
|
8303
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewVersions';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8304
|
+
* Create a new Journey View
|
|
8305
|
+
*
|
|
8306
|
+
* @param {Object} body JourneyView
|
|
8307
|
+
* postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8308
|
+
*/},{key:"postJourneyViews",value:function postJourneyViews(body){// verify the required parameter 'body' is set
|
|
8309
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8267
8310
|
* Knowledge service.
|
|
8268
8311
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8269
|
-
* @version 188.
|
|
8312
|
+
* @version 188.1.0
|
|
8270
8313
|
*/ /**
|
|
8271
8314
|
* Constructs a new KnowledgeApi.
|
|
8272
8315
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8896,6 +8939,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8896
8939
|
* @param {Object} body query
|
|
8897
8940
|
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
8898
8941
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8942
|
+
* Indicate that the document was copied by the user.
|
|
8943
|
+
*
|
|
8944
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
8945
|
+
* @param {String} documentId Document ID
|
|
8946
|
+
* @param {Object} opts Optional parameters
|
|
8947
|
+
* @param {Object} opts.body
|
|
8948
|
+
*/},{key:"postKnowledgeGuestSessionDocumentCopies",value:function postKnowledgeGuestSessionDocumentCopies(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8949
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
8950
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8899
8951
|
* Give feedback on a document
|
|
8900
8952
|
*
|
|
8901
8953
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -8905,6 +8957,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8905
8957
|
*/},{key:"postKnowledgeGuestSessionDocumentFeedback",value:function postKnowledgeGuestSessionDocumentFeedback(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8906
8958
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';}// verify the required parameter 'documentId' is set
|
|
8907
8959
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentFeedback';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8960
|
+
* Create view event for a document.
|
|
8961
|
+
*
|
|
8962
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
8963
|
+
* @param {String} documentId Document ID
|
|
8964
|
+
* @param {Object} opts Optional parameters
|
|
8965
|
+
* @param {Object} opts.body
|
|
8966
|
+
*/},{key:"postKnowledgeGuestSessionDocumentViews",value:function postKnowledgeGuestSessionDocumentViews(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8967
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';}// verify the required parameter 'documentId' is set
|
|
8968
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8969
|
+
* Indicate that documents were presented to the user.
|
|
8970
|
+
*
|
|
8971
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
8972
|
+
* @param {Object} opts Optional parameters
|
|
8973
|
+
* @param {Object} opts.body
|
|
8974
|
+
*/},{key:"postKnowledgeGuestSessionDocumentsPresentations",value:function postKnowledgeGuestSessionDocumentsPresentations(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8975
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations','POST',{'sessionId':sessionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8908
8976
|
* Search the documents in a guest session.
|
|
8909
8977
|
*
|
|
8910
8978
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -8932,6 +9000,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8932
9000
|
*/},{key:"postKnowledgeKnowledgebaseCategories",value:function postKnowledgeKnowledgebaseCategories(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
8933
9001
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';}// verify the required parameter 'body' is set
|
|
8934
9002
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9003
|
+
* Indicate that the document was copied by the user.
|
|
9004
|
+
*
|
|
9005
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
9006
|
+
* @param {String} documentId Document ID.
|
|
9007
|
+
* @param {Object} opts Optional parameters
|
|
9008
|
+
* @param {Object} opts.body
|
|
9009
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentCopies",value:function postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9010
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
9011
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies','POST',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8935
9012
|
* Give feedback on a document
|
|
8936
9013
|
*
|
|
8937
9014
|
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
@@ -8991,6 +9068,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8991
9068
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
8992
9069
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
|
|
8993
9070
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9071
|
+
* Indicate that documents were presented to the user.
|
|
9072
|
+
*
|
|
9073
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
9074
|
+
* @param {Object} opts Optional parameters
|
|
9075
|
+
* @param {Object} opts.body
|
|
9076
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentsPresentations",value:function postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9077
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8994
9078
|
* Search the documents in a knowledge base.
|
|
8995
9079
|
*
|
|
8996
9080
|
* @param {String} knowledgeBaseId The ID of knowledge base containing the documents to query.
|
|
@@ -9137,7 +9221,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9137
9221
|
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(){/**
|
|
9138
9222
|
* LanguageUnderstanding service.
|
|
9139
9223
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9140
|
-
* @version 188.
|
|
9224
|
+
* @version 188.1.0
|
|
9141
9225
|
*/ /**
|
|
9142
9226
|
* Constructs a new LanguageUnderstandingApi.
|
|
9143
9227
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9393,7 +9477,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9393
9477
|
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(){/**
|
|
9394
9478
|
* Languages service.
|
|
9395
9479
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9396
|
-
* @version 188.
|
|
9480
|
+
* @version 188.1.0
|
|
9397
9481
|
*/ /**
|
|
9398
9482
|
* Constructs a new LanguagesApi.
|
|
9399
9483
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9448,7 +9532,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9448
9532
|
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(){/**
|
|
9449
9533
|
* Learning service.
|
|
9450
9534
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9451
|
-
* @version 188.
|
|
9535
|
+
* @version 188.1.0
|
|
9452
9536
|
*/ /**
|
|
9453
9537
|
* Constructs a new LearningApi.
|
|
9454
9538
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9678,7 +9762,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9678
9762
|
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(){/**
|
|
9679
9763
|
* License service.
|
|
9680
9764
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9681
|
-
* @version 188.
|
|
9765
|
+
* @version 188.1.0
|
|
9682
9766
|
*/ /**
|
|
9683
9767
|
* Constructs a new LicenseApi.
|
|
9684
9768
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -9732,7 +9816,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
9732
9816
|
*/},{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(){/**
|
|
9733
9817
|
* Locations service.
|
|
9734
9818
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
9735
|
-
* @version 188.
|
|
9819
|
+
* @version 188.1.0
|
|
9736
9820
|
*/ /**
|
|
9737
9821
|
* Constructs a new LocationsApi.
|
|
9738
9822
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -9791,7 +9875,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9791
9875
|
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(){/**
|
|
9792
9876
|
* LogCapture service.
|
|
9793
9877
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
9794
|
-
* @version 188.
|
|
9878
|
+
* @version 188.1.0
|
|
9795
9879
|
*/ /**
|
|
9796
9880
|
* Constructs a new LogCaptureApi.
|
|
9797
9881
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -9841,7 +9925,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9841
9925
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
9842
9926
|
* Messaging service.
|
|
9843
9927
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
9844
|
-
* @version 188.
|
|
9928
|
+
* @version 188.1.0
|
|
9845
9929
|
*/ /**
|
|
9846
9930
|
* Constructs a new MessagingApi.
|
|
9847
9931
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -9931,7 +10015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9931
10015
|
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(){/**
|
|
9932
10016
|
* MobileDevices service.
|
|
9933
10017
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
9934
|
-
* @version 188.
|
|
10018
|
+
* @version 188.1.0
|
|
9935
10019
|
*/ /**
|
|
9936
10020
|
* Constructs a new MobileDevicesApi.
|
|
9937
10021
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -9970,7 +10054,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9970
10054
|
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(){/**
|
|
9971
10055
|
* Notifications service.
|
|
9972
10056
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
9973
|
-
* @version 188.
|
|
10057
|
+
* @version 188.1.0
|
|
9974
10058
|
*/ /**
|
|
9975
10059
|
* Constructs a new NotificationsApi.
|
|
9976
10060
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10027,7 +10111,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10027
10111
|
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(){/**
|
|
10028
10112
|
* OAuth service.
|
|
10029
10113
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10030
|
-
* @version 188.
|
|
10114
|
+
* @version 188.1.0
|
|
10031
10115
|
*/ /**
|
|
10032
10116
|
* Constructs a new OAuthApi.
|
|
10033
10117
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10112,7 +10196,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10112
10196
|
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(){/**
|
|
10113
10197
|
* Objects service.
|
|
10114
10198
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10115
|
-
* @version 188.
|
|
10199
|
+
* @version 188.1.0
|
|
10116
10200
|
*/ /**
|
|
10117
10201
|
* Constructs a new ObjectsApi.
|
|
10118
10202
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10183,7 +10267,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10183
10267
|
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(){/**
|
|
10184
10268
|
* OperationalEvents service.
|
|
10185
10269
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10186
|
-
* @version 188.
|
|
10270
|
+
* @version 188.1.0
|
|
10187
10271
|
*/ /**
|
|
10188
10272
|
* Constructs a new OperationalEventsApi.
|
|
10189
10273
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10201,7 +10285,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10201
10285
|
*/},{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(){/**
|
|
10202
10286
|
* Organization service.
|
|
10203
10287
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10204
|
-
* @version 188.
|
|
10288
|
+
* @version 188.1.0
|
|
10205
10289
|
*/ /**
|
|
10206
10290
|
* Constructs a new OrganizationApi.
|
|
10207
10291
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10303,7 +10387,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10303
10387
|
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(){/**
|
|
10304
10388
|
* OrganizationAuthorization service.
|
|
10305
10389
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10306
|
-
* @version 188.
|
|
10390
|
+
* @version 188.1.0
|
|
10307
10391
|
*/ /**
|
|
10308
10392
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10309
10393
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10626,7 +10710,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10626
10710
|
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(){/**
|
|
10627
10711
|
* Outbound service.
|
|
10628
10712
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10629
|
-
* @version 188.
|
|
10713
|
+
* @version 188.1.0
|
|
10630
10714
|
*/ /**
|
|
10631
10715
|
* Constructs a new OutboundApi.
|
|
10632
10716
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11662,7 +11746,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11662
11746
|
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(){/**
|
|
11663
11747
|
* Presence service.
|
|
11664
11748
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11665
|
-
* @version 188.
|
|
11749
|
+
* @version 188.1.0
|
|
11666
11750
|
*/ /**
|
|
11667
11751
|
* Constructs a new PresenceApi.
|
|
11668
11752
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -11835,7 +11919,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11835
11919
|
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(){/**
|
|
11836
11920
|
* ProcessAutomation service.
|
|
11837
11921
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
11838
|
-
* @version 188.
|
|
11922
|
+
* @version 188.1.0
|
|
11839
11923
|
*/ /**
|
|
11840
11924
|
* Constructs a new ProcessAutomationApi.
|
|
11841
11925
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -11898,7 +11982,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
11898
11982
|
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(){/**
|
|
11899
11983
|
* Quality service.
|
|
11900
11984
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
11901
|
-
* @version 188.
|
|
11985
|
+
* @version 188.1.0
|
|
11902
11986
|
*/ /**
|
|
11903
11987
|
* Constructs a new QualityApi.
|
|
11904
11988
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12369,7 +12453,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12369
12453
|
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(){/**
|
|
12370
12454
|
* Recording service.
|
|
12371
12455
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12372
|
-
* @version 188.
|
|
12456
|
+
* @version 188.1.0
|
|
12373
12457
|
*/ /**
|
|
12374
12458
|
* Constructs a new RecordingApi.
|
|
12375
12459
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -12776,7 +12860,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12776
12860
|
*/},{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(){/**
|
|
12777
12861
|
* ResponseManagement service.
|
|
12778
12862
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
12779
|
-
* @version 188.
|
|
12863
|
+
* @version 188.1.0
|
|
12780
12864
|
*/ /**
|
|
12781
12865
|
* Constructs a new ResponseManagementApi.
|
|
12782
12866
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -12892,7 +12976,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
12892
12976
|
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(){/**
|
|
12893
12977
|
* Routing service.
|
|
12894
12978
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
12895
|
-
* @version 188.
|
|
12979
|
+
* @version 188.1.0
|
|
12896
12980
|
*/ /**
|
|
12897
12981
|
* Constructs a new RoutingApi.
|
|
12898
12982
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13860,7 +13944,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13860
13944
|
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(){/**
|
|
13861
13945
|
* SCIM service.
|
|
13862
13946
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
13863
|
-
* @version 188.
|
|
13947
|
+
* @version 188.1.0
|
|
13864
13948
|
*/ /**
|
|
13865
13949
|
* Constructs a new SCIMApi.
|
|
13866
13950
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14085,7 +14169,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14085
14169
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
14086
14170
|
* ScreenRecording service.
|
|
14087
14171
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14088
|
-
* @version 188.
|
|
14172
|
+
* @version 188.1.0
|
|
14089
14173
|
*/ /**
|
|
14090
14174
|
* Constructs a new ScreenRecordingApi.
|
|
14091
14175
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14100,7 +14184,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14100
14184
|
*/_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
14101
14185
|
* Scripts service.
|
|
14102
14186
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14103
|
-
* @version 188.
|
|
14187
|
+
* @version 188.1.0
|
|
14104
14188
|
*/ /**
|
|
14105
14189
|
* Constructs a new ScriptsApi.
|
|
14106
14190
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14236,7 +14320,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14236
14320
|
*/},{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(){/**
|
|
14237
14321
|
* Search service.
|
|
14238
14322
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14239
|
-
* @version 188.
|
|
14323
|
+
* @version 188.1.0
|
|
14240
14324
|
*/ /**
|
|
14241
14325
|
* Constructs a new SearchApi.
|
|
14242
14326
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14396,7 +14480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14396
14480
|
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(){/**
|
|
14397
14481
|
* Settings service.
|
|
14398
14482
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14399
|
-
* @version 188.
|
|
14483
|
+
* @version 188.1.0
|
|
14400
14484
|
*/ /**
|
|
14401
14485
|
* Constructs a new SettingsApi.
|
|
14402
14486
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14414,7 +14498,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14414
14498
|
*/},{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(){/**
|
|
14415
14499
|
* SpeechTextAnalytics service.
|
|
14416
14500
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14417
|
-
* @version 188.
|
|
14501
|
+
* @version 188.1.0
|
|
14418
14502
|
*/ /**
|
|
14419
14503
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14420
14504
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14658,7 +14742,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14658
14742
|
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(){/**
|
|
14659
14743
|
* Stations service.
|
|
14660
14744
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
14661
|
-
* @version 188.
|
|
14745
|
+
* @version 188.1.0
|
|
14662
14746
|
*/ /**
|
|
14663
14747
|
* Constructs a new StationsApi.
|
|
14664
14748
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -14690,7 +14774,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
14690
14774
|
*/},{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(){/**
|
|
14691
14775
|
* Suggest service.
|
|
14692
14776
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
14693
|
-
* @version 188.
|
|
14777
|
+
* @version 188.1.0
|
|
14694
14778
|
*/ /**
|
|
14695
14779
|
* Constructs a new SuggestApi.
|
|
14696
14780
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -14730,7 +14814,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14730
14814
|
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(){/**
|
|
14731
14815
|
* TaskManagement service.
|
|
14732
14816
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
14733
|
-
* @version 188.
|
|
14817
|
+
* @version 188.1.0
|
|
14734
14818
|
*/ /**
|
|
14735
14819
|
* Constructs a new TaskManagementApi.
|
|
14736
14820
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15072,7 +15156,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15072
15156
|
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(){/**
|
|
15073
15157
|
* Teams service.
|
|
15074
15158
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15075
|
-
* @version 188.
|
|
15159
|
+
* @version 188.1.0
|
|
15076
15160
|
*/ /**
|
|
15077
15161
|
* Constructs a new TeamsApi.
|
|
15078
15162
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15151,7 +15235,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15151
15235
|
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(){/**
|
|
15152
15236
|
* Telephony service.
|
|
15153
15237
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15154
|
-
* @version 188.
|
|
15238
|
+
* @version 188.1.0
|
|
15155
15239
|
*/ /**
|
|
15156
15240
|
* Constructs a new TelephonyApi.
|
|
15157
15241
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15198,7 +15282,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15198
15282
|
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(){/**
|
|
15199
15283
|
* TelephonyProvidersEdge service.
|
|
15200
15284
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15201
|
-
* @version 188.
|
|
15285
|
+
* @version 188.1.0
|
|
15202
15286
|
*/ /**
|
|
15203
15287
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15204
15288
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16012,7 +16096,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16012
16096
|
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(){/**
|
|
16013
16097
|
* Textbots service.
|
|
16014
16098
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16015
|
-
* @version 188.
|
|
16099
|
+
* @version 188.1.0
|
|
16016
16100
|
*/ /**
|
|
16017
16101
|
* Constructs a new TextbotsApi.
|
|
16018
16102
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16047,7 +16131,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16047
16131
|
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(){/**
|
|
16048
16132
|
* Tokens service.
|
|
16049
16133
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16050
|
-
* @version 188.
|
|
16134
|
+
* @version 188.1.0
|
|
16051
16135
|
*/ /**
|
|
16052
16136
|
* Constructs a new TokensApi.
|
|
16053
16137
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16070,7 +16154,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16070
16154
|
*/},{key:"getTokensMe",value:function getTokensMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/me','GET',{},{'preserveIdleTTL':opts['preserveIdleTTL']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16071
16155
|
* Get the current Idle Token Timeout Value
|
|
16072
16156
|
*
|
|
16073
|
-
* getTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16074
16157
|
*/},{key:"getTokensTimeout",value:function getTokensTimeout(){return this.apiClient.callApi('/api/v2/tokens/timeout','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16075
16158
|
* Verify user token
|
|
16076
16159
|
*
|
|
@@ -16079,11 +16162,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16079
16162
|
*
|
|
16080
16163
|
* @param {Object} opts Optional parameters
|
|
16081
16164
|
* @param {Object} opts.body
|
|
16082
|
-
* putTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16083
16165
|
*/},{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(){/**
|
|
16084
16166
|
* Uploads service.
|
|
16085
16167
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16086
|
-
* @version 188.
|
|
16168
|
+
* @version 188.1.0
|
|
16087
16169
|
*/ /**
|
|
16088
16170
|
* Constructs a new UploadsApi.
|
|
16089
16171
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16149,7 +16231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16149
16231
|
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(){/**
|
|
16150
16232
|
* Usage service.
|
|
16151
16233
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16152
|
-
* @version 188.
|
|
16234
|
+
* @version 188.1.0
|
|
16153
16235
|
*/ /**
|
|
16154
16236
|
* Constructs a new UsageApi.
|
|
16155
16237
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16200,7 +16282,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16200
16282
|
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(){/**
|
|
16201
16283
|
* UserRecordings service.
|
|
16202
16284
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16203
|
-
* @version 188.
|
|
16285
|
+
* @version 188.1.0
|
|
16204
16286
|
*/ /**
|
|
16205
16287
|
* Constructs a new UserRecordingsApi.
|
|
16206
16288
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16249,7 +16331,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16249
16331
|
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(){/**
|
|
16250
16332
|
* Users service.
|
|
16251
16333
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16252
|
-
* @version 188.
|
|
16334
|
+
* @version 188.1.0
|
|
16253
16335
|
*/ /**
|
|
16254
16336
|
* Constructs a new UsersApi.
|
|
16255
16337
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16908,7 +16990,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
16908
16990
|
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(){/**
|
|
16909
16991
|
* Utilities service.
|
|
16910
16992
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
16911
|
-
* @version 188.
|
|
16993
|
+
* @version 188.1.0
|
|
16912
16994
|
*/ /**
|
|
16913
16995
|
* Constructs a new UtilitiesApi.
|
|
16914
16996
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -16935,7 +17017,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16935
17017
|
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(){/**
|
|
16936
17018
|
* Voicemail service.
|
|
16937
17019
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
16938
|
-
* @version 188.
|
|
17020
|
+
* @version 188.1.0
|
|
16939
17021
|
*/ /**
|
|
16940
17022
|
* Constructs a new VoicemailApi.
|
|
16941
17023
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17084,7 +17166,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17084
17166
|
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(){/**
|
|
17085
17167
|
* WebChat service.
|
|
17086
17168
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17087
|
-
* @version 188.
|
|
17169
|
+
* @version 188.1.0
|
|
17088
17170
|
*/ /**
|
|
17089
17171
|
* Constructs a new WebChatApi.
|
|
17090
17172
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17217,7 +17299,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17217
17299
|
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(){/**
|
|
17218
17300
|
* WebDeployments service.
|
|
17219
17301
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17220
|
-
* @version 188.
|
|
17302
|
+
* @version 188.1.0
|
|
17221
17303
|
*/ /**
|
|
17222
17304
|
* Constructs a new WebDeploymentsApi.
|
|
17223
17305
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17338,7 +17420,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17338
17420
|
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(){/**
|
|
17339
17421
|
* WebMessaging service.
|
|
17340
17422
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17341
|
-
* @version 188.
|
|
17423
|
+
* @version 188.1.0
|
|
17342
17424
|
*/ /**
|
|
17343
17425
|
* Constructs a new WebMessagingApi.
|
|
17344
17426
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17354,7 +17436,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17354
17436
|
*/_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(){/**
|
|
17355
17437
|
* Widgets service.
|
|
17356
17438
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17357
|
-
* @version 188.
|
|
17439
|
+
* @version 188.1.0
|
|
17358
17440
|
*/ /**
|
|
17359
17441
|
* Constructs a new WidgetsApi.
|
|
17360
17442
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17389,7 +17471,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17389
17471
|
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(){/**
|
|
17390
17472
|
* WorkforceManagement service.
|
|
17391
17473
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17392
|
-
* @version 188.
|
|
17474
|
+
* @version 188.1.0
|
|
17393
17475
|
*/ /**
|
|
17394
17476
|
* Constructs a new WorkforceManagementApi.
|
|
17395
17477
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -18740,7 +18822,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18740
18822
|
* </pre>
|
|
18741
18823
|
* </p>
|
|
18742
18824
|
* @module purecloud-platform-client-v2/index
|
|
18743
|
-
* @version 188.
|
|
18825
|
+
* @version 188.1.0
|
|
18744
18826
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
18745
18827
|
* The ApiClient constructor.
|
|
18746
18828
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|