purecloud-platform-client-v2 188.0.1 → 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 +166 -84
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +200 -1
- 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
|
@@ -5968,7 +5968,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5968
5968
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5969
5969
|
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;}();/**
|
|
5970
5970
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5971
|
-
* @version 188.0
|
|
5971
|
+
* @version 188.1.0
|
|
5972
5972
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5973
5973
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5974
5974
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6280,7 +6280,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6280
6280
|
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(){/**
|
|
6281
6281
|
* Alerting service.
|
|
6282
6282
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6283
|
-
* @version 188.0
|
|
6283
|
+
* @version 188.1.0
|
|
6284
6284
|
*/ /**
|
|
6285
6285
|
* Constructs a new AlertingApi.
|
|
6286
6286
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6437,7 +6437,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6437
6437
|
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(){/**
|
|
6438
6438
|
* Analytics service.
|
|
6439
6439
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6440
|
-
* @version 188.0
|
|
6440
|
+
* @version 188.1.0
|
|
6441
6441
|
*/ /**
|
|
6442
6442
|
* Constructs a new AnalyticsApi.
|
|
6443
6443
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6910,7 +6910,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6910
6910
|
* Query for knowledge aggregates
|
|
6911
6911
|
*
|
|
6912
6912
|
* @param {Object} body query
|
|
6913
|
-
* postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6914
6913
|
*/},{key:"postAnalyticsKnowledgeAggregatesQuery",value:function postAnalyticsKnowledgeAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6915
6914
|
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']);}/**
|
|
6916
6915
|
* Query for queue observations
|
|
@@ -7048,7 +7047,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7048
7047
|
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(){/**
|
|
7049
7048
|
* Architect service.
|
|
7050
7049
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7051
|
-
* @version 188.0
|
|
7050
|
+
* @version 188.1.0
|
|
7052
7051
|
*/ /**
|
|
7053
7052
|
* Constructs a new ArchitectApi.
|
|
7054
7053
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8095,7 +8094,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8095
8094
|
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(){/**
|
|
8096
8095
|
* Audit service.
|
|
8097
8096
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8098
|
-
* @version 188.0
|
|
8097
|
+
* @version 188.1.0
|
|
8099
8098
|
*/ /**
|
|
8100
8099
|
* Constructs a new AuditApi.
|
|
8101
8100
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8137,7 +8136,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8137
8136
|
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(){/**
|
|
8138
8137
|
* Authorization service.
|
|
8139
8138
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8140
|
-
* @version 188.0
|
|
8139
|
+
* @version 188.1.0
|
|
8141
8140
|
*/ /**
|
|
8142
8141
|
* Constructs a new AuthorizationApi.
|
|
8143
8142
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8448,7 +8447,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8448
8447
|
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(){/**
|
|
8449
8448
|
* Billing service.
|
|
8450
8449
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8451
|
-
* @version 188.0
|
|
8450
|
+
* @version 188.1.0
|
|
8452
8451
|
*/ /**
|
|
8453
8452
|
* Constructs a new BillingApi.
|
|
8454
8453
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8472,7 +8471,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8472
8471
|
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(){/**
|
|
8473
8472
|
* CarrierServices service.
|
|
8474
8473
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8475
|
-
* @version 188.0
|
|
8474
|
+
* @version 188.1.0
|
|
8476
8475
|
*/ /**
|
|
8477
8476
|
* Constructs a new CarrierServicesApi.
|
|
8478
8477
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8492,7 +8491,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8492
8491
|
*/},{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(){/**
|
|
8493
8492
|
* Chat service.
|
|
8494
8493
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8495
|
-
* @version 188.0
|
|
8494
|
+
* @version 188.1.0
|
|
8496
8495
|
*/ /**
|
|
8497
8496
|
* Constructs a new ChatApi.
|
|
8498
8497
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8685,7 +8684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8685
8684
|
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(){/**
|
|
8686
8685
|
* Coaching service.
|
|
8687
8686
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8688
|
-
* @version 188.0
|
|
8687
|
+
* @version 188.1.0
|
|
8689
8688
|
*/ /**
|
|
8690
8689
|
* Constructs a new CoachingApi.
|
|
8691
8690
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8838,7 +8837,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8838
8837
|
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(){/**
|
|
8839
8838
|
* ContentManagement service.
|
|
8840
8839
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8841
|
-
* @version 188.0
|
|
8840
|
+
* @version 188.1.0
|
|
8842
8841
|
*/ /**
|
|
8843
8842
|
* Constructs a new ContentManagementApi.
|
|
8844
8843
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9121,7 +9120,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9121
9120
|
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(){/**
|
|
9122
9121
|
* Conversations service.
|
|
9123
9122
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9124
|
-
* @version 188.0
|
|
9123
|
+
* @version 188.1.0
|
|
9125
9124
|
*/ /**
|
|
9126
9125
|
* Constructs a new ConversationsApi.
|
|
9127
9126
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10848,7 +10847,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10848
10847
|
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(){/**
|
|
10849
10848
|
* DataExtensions service.
|
|
10850
10849
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10851
|
-
* @version 188.0
|
|
10850
|
+
* @version 188.1.0
|
|
10852
10851
|
*/ /**
|
|
10853
10852
|
* Constructs a new DataExtensionsApi.
|
|
10854
10853
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10869,7 +10868,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10869
10868
|
*/},{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(){/**
|
|
10870
10869
|
* Downloads service.
|
|
10871
10870
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10872
|
-
* @version 188.0
|
|
10871
|
+
* @version 188.1.0
|
|
10873
10872
|
*/ /**
|
|
10874
10873
|
* Constructs a new DownloadsApi.
|
|
10875
10874
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10888,7 +10887,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10888
10887
|
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(){/**
|
|
10889
10888
|
* Emails service.
|
|
10890
10889
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10891
|
-
* @version 188.0
|
|
10890
|
+
* @version 188.1.0
|
|
10892
10891
|
*/ /**
|
|
10893
10892
|
* Constructs a new EmailsApi.
|
|
10894
10893
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10906,7 +10905,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10906
10905
|
*/},{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(){/**
|
|
10907
10906
|
* Events service.
|
|
10908
10907
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10909
|
-
* @version 188.0
|
|
10908
|
+
* @version 188.1.0
|
|
10910
10909
|
*/ /**
|
|
10911
10910
|
* Constructs a new EventsApi.
|
|
10912
10911
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10931,7 +10930,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10931
10930
|
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(){/**
|
|
10932
10931
|
* ExternalContacts service.
|
|
10933
10932
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10934
|
-
* @version 188.0
|
|
10933
|
+
* @version 188.1.0
|
|
10935
10934
|
*/ /**
|
|
10936
10935
|
* Constructs a new ExternalContactsApi.
|
|
10937
10936
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11150,25 +11149,25 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
11150
11149
|
* Scan for external contacts using paging
|
|
11151
11150
|
*
|
|
11152
11151
|
* @param {Object} opts Optional parameters
|
|
11153
|
-
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
11152
|
+
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
11154
11153
|
* @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
|
|
11155
11154
|
*/},{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']);}/**
|
|
11156
11155
|
* Scan for notes using paging
|
|
11157
11156
|
*
|
|
11158
11157
|
* @param {Object} opts Optional parameters
|
|
11159
|
-
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
11158
|
+
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
11160
11159
|
* @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
|
|
11161
11160
|
*/},{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']);}/**
|
|
11162
11161
|
* Scan for external organizations using paging
|
|
11163
11162
|
*
|
|
11164
11163
|
* @param {Object} opts Optional parameters
|
|
11165
|
-
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
11164
|
+
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
11166
11165
|
* @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
|
|
11167
11166
|
*/},{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']);}/**
|
|
11168
11167
|
* Scan for relationships
|
|
11169
11168
|
*
|
|
11170
11169
|
* @param {Object} opts Optional parameters
|
|
11171
|
-
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
11170
|
+
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
11172
11171
|
* @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
|
|
11173
11172
|
*/},{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']);}/**
|
|
11174
11173
|
* Claim or release identifiers for a contact
|
|
@@ -11386,7 +11385,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11386
11385
|
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(){/**
|
|
11387
11386
|
* Fax service.
|
|
11388
11387
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11389
|
-
* @version 188.0
|
|
11388
|
+
* @version 188.1.0
|
|
11390
11389
|
*/ /**
|
|
11391
11390
|
* Constructs a new FaxApi.
|
|
11392
11391
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11427,7 +11426,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11427
11426
|
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(){/**
|
|
11428
11427
|
* Flows service.
|
|
11429
11428
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11430
|
-
* @version 188.0
|
|
11429
|
+
* @version 188.1.0
|
|
11431
11430
|
*/ /**
|
|
11432
11431
|
* Constructs a new FlowsApi.
|
|
11433
11432
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11476,7 +11475,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11476
11475
|
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(){/**
|
|
11477
11476
|
* Gamification service.
|
|
11478
11477
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11479
|
-
* @version 188.0
|
|
11478
|
+
* @version 188.1.0
|
|
11480
11479
|
*/ /**
|
|
11481
11480
|
* Constructs a new GamificationApi.
|
|
11482
11481
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12016,7 +12015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12016
12015
|
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(){/**
|
|
12017
12016
|
* GeneralDataProtectionRegulation service.
|
|
12018
12017
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12019
|
-
* @version 188.0
|
|
12018
|
+
* @version 188.1.0
|
|
12020
12019
|
*/ /**
|
|
12021
12020
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12022
12021
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12051,7 +12050,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12051
12050
|
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(){/**
|
|
12052
12051
|
* Geolocation service.
|
|
12053
12052
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12054
|
-
* @version 188.0
|
|
12053
|
+
* @version 188.1.0
|
|
12055
12054
|
*/ /**
|
|
12056
12055
|
* Constructs a new GeolocationApi.
|
|
12057
12056
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12085,7 +12084,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12085
12084
|
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(){/**
|
|
12086
12085
|
* Greetings service.
|
|
12087
12086
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12088
|
-
* @version 188.0
|
|
12087
|
+
* @version 188.1.0
|
|
12089
12088
|
*/ /**
|
|
12090
12089
|
* Constructs a new GreetingsApi.
|
|
12091
12090
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12192,7 +12191,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12192
12191
|
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(){/**
|
|
12193
12192
|
* Groups service.
|
|
12194
12193
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12195
|
-
* @version 188.0
|
|
12194
|
+
* @version 188.1.0
|
|
12196
12195
|
*/ /**
|
|
12197
12196
|
* Constructs a new GroupsApi.
|
|
12198
12197
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12325,7 +12324,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12325
12324
|
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(){/**
|
|
12326
12325
|
* IdentityProvider service.
|
|
12327
12326
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12328
|
-
* @version 188.0
|
|
12327
|
+
* @version 188.1.0
|
|
12329
12328
|
*/ /**
|
|
12330
12329
|
* Constructs a new IdentityProviderApi.
|
|
12331
12330
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12481,7 +12480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12481
12480
|
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(){/**
|
|
12482
12481
|
* InfrastructureAsCode service.
|
|
12483
12482
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12484
|
-
* @version 188.0
|
|
12483
|
+
* @version 188.1.0
|
|
12485
12484
|
*/ /**
|
|
12486
12485
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12487
12486
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12535,7 +12534,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12535
12534
|
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(){/**
|
|
12536
12535
|
* Integrations service.
|
|
12537
12536
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12538
|
-
* @version 188.0
|
|
12537
|
+
* @version 188.1.0
|
|
12539
12538
|
*/ /**
|
|
12540
12539
|
* Constructs a new IntegrationsApi.
|
|
12541
12540
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13094,7 +13093,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13094
13093
|
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(){/**
|
|
13095
13094
|
* Journey service.
|
|
13096
13095
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13097
|
-
* @version 188.0
|
|
13096
|
+
* @version 188.1.0
|
|
13098
13097
|
*/ /**
|
|
13099
13098
|
* Constructs a new JourneyApi.
|
|
13100
13099
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13129,6 +13128,12 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
|
|
|
13129
13128
|
* @param {String} segmentId ID of the segment.
|
|
13130
13129
|
*/},{key:"deleteJourneySegment",value:function deleteJourneySegment(segmentId){// verify the required parameter 'segmentId' is set
|
|
13131
13130
|
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']);}/**
|
|
13131
|
+
* Delete a Journey View by ID
|
|
13132
|
+
* deletes all versions
|
|
13133
|
+
* @param {String} viewId viewId
|
|
13134
|
+
* deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13135
|
+
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13136
|
+
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']);}/**
|
|
13132
13137
|
* Get status for async query for journey aggregates
|
|
13133
13138
|
*
|
|
13134
13139
|
* @param {String} jobId jobId
|
|
@@ -13289,6 +13294,24 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
13289
13294
|
* @param {String} sessionId ID of the session.
|
|
13290
13295
|
*/},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
|
|
13291
13296
|
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']);}/**
|
|
13297
|
+
* Get a Journey View by ID
|
|
13298
|
+
* returns the latest version
|
|
13299
|
+
* @param {String} viewId viewId
|
|
13300
|
+
* getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13301
|
+
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13302
|
+
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']);}/**
|
|
13303
|
+
* Get a Journey View by ID and version
|
|
13304
|
+
*
|
|
13305
|
+
* @param {String} viewId viewId
|
|
13306
|
+
* @param {String} versionId versionId
|
|
13307
|
+
* getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13308
|
+
*/},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
|
|
13309
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
|
|
13310
|
+
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']);}/**
|
|
13311
|
+
* Get a list of Journey Views
|
|
13312
|
+
*
|
|
13313
|
+
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13314
|
+
*/},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13292
13315
|
* Update single action map.
|
|
13293
13316
|
*
|
|
13294
13317
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -13364,6 +13387,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13364
13387
|
* @param {Object} opts.body
|
|
13365
13388
|
*/},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
|
|
13366
13389
|
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']);}/**
|
|
13390
|
+
* Query for flow paths.
|
|
13391
|
+
*
|
|
13392
|
+
* @param {Object} opts Optional parameters
|
|
13393
|
+
* @param {Object} opts.body
|
|
13394
|
+
* postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13395
|
+
*/},{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']);}/**
|
|
13367
13396
|
* Create an outcome.
|
|
13368
13397
|
*
|
|
13369
13398
|
* @param {Object} opts Optional parameters
|
|
@@ -13384,10 +13413,24 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13384
13413
|
*
|
|
13385
13414
|
* @param {Object} opts Optional parameters
|
|
13386
13415
|
* @param {Object} opts.body
|
|
13387
|
-
*/},{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']);}
|
|
13416
|
+
*/},{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']);}/**
|
|
13417
|
+
* Update a Journey View by ID
|
|
13418
|
+
* creates a new version
|
|
13419
|
+
* @param {String} viewId viewId
|
|
13420
|
+
* @param {Object} body JourneyView
|
|
13421
|
+
* postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13422
|
+
*/},{key:"postJourneyViewVersions",value:function postJourneyViewVersions(viewId,body){// verify the required parameter 'viewId' is set
|
|
13423
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';}// verify the required parameter 'body' is set
|
|
13424
|
+
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']);}/**
|
|
13425
|
+
* Create a new Journey View
|
|
13426
|
+
*
|
|
13427
|
+
* @param {Object} body JourneyView
|
|
13428
|
+
* postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13429
|
+
*/},{key:"postJourneyViews",value:function postJourneyViews(body){// verify the required parameter 'body' is set
|
|
13430
|
+
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(){/**
|
|
13388
13431
|
* Knowledge service.
|
|
13389
13432
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13390
|
-
* @version 188.0
|
|
13433
|
+
* @version 188.1.0
|
|
13391
13434
|
*/ /**
|
|
13392
13435
|
* Constructs a new KnowledgeApi.
|
|
13393
13436
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14017,6 +14060,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14017
14060
|
* @param {Object} body query
|
|
14018
14061
|
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
14019
14062
|
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']);}/**
|
|
14063
|
+
* Indicate that the document was copied by the user.
|
|
14064
|
+
*
|
|
14065
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14066
|
+
* @param {String} documentId Document ID
|
|
14067
|
+
* @param {Object} opts Optional parameters
|
|
14068
|
+
* @param {Object} opts.body
|
|
14069
|
+
*/},{key:"postKnowledgeGuestSessionDocumentCopies",value:function postKnowledgeGuestSessionDocumentCopies(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14070
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
14071
|
+
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']);}/**
|
|
14020
14072
|
* Give feedback on a document
|
|
14021
14073
|
*
|
|
14022
14074
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -14026,6 +14078,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14026
14078
|
*/},{key:"postKnowledgeGuestSessionDocumentFeedback",value:function postKnowledgeGuestSessionDocumentFeedback(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14027
14079
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';}// verify the required parameter 'documentId' is set
|
|
14028
14080
|
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']);}/**
|
|
14081
|
+
* Create view event for a document.
|
|
14082
|
+
*
|
|
14083
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14084
|
+
* @param {String} documentId Document ID
|
|
14085
|
+
* @param {Object} opts Optional parameters
|
|
14086
|
+
* @param {Object} opts.body
|
|
14087
|
+
*/},{key:"postKnowledgeGuestSessionDocumentViews",value:function postKnowledgeGuestSessionDocumentViews(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14088
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';}// verify the required parameter 'documentId' is set
|
|
14089
|
+
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']);}/**
|
|
14090
|
+
* Indicate that documents were presented to the user.
|
|
14091
|
+
*
|
|
14092
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14093
|
+
* @param {Object} opts Optional parameters
|
|
14094
|
+
* @param {Object} opts.body
|
|
14095
|
+
*/},{key:"postKnowledgeGuestSessionDocumentsPresentations",value:function postKnowledgeGuestSessionDocumentsPresentations(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14096
|
+
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']);}/**
|
|
14029
14097
|
* Search the documents in a guest session.
|
|
14030
14098
|
*
|
|
14031
14099
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -14053,6 +14121,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14053
14121
|
*/},{key:"postKnowledgeKnowledgebaseCategories",value:function postKnowledgeKnowledgebaseCategories(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14054
14122
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';}// verify the required parameter 'body' is set
|
|
14055
14123
|
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']);}/**
|
|
14124
|
+
* Indicate that the document was copied by the user.
|
|
14125
|
+
*
|
|
14126
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
14127
|
+
* @param {String} documentId Document ID.
|
|
14128
|
+
* @param {Object} opts Optional parameters
|
|
14129
|
+
* @param {Object} opts.body
|
|
14130
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentCopies",value:function postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14131
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
14132
|
+
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']);}/**
|
|
14056
14133
|
* Give feedback on a document
|
|
14057
14134
|
*
|
|
14058
14135
|
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
@@ -14112,6 +14189,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14112
14189
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14113
14190
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
|
|
14114
14191
|
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']);}/**
|
|
14192
|
+
* Indicate that documents were presented to the user.
|
|
14193
|
+
*
|
|
14194
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
14195
|
+
* @param {Object} opts Optional parameters
|
|
14196
|
+
* @param {Object} opts.body
|
|
14197
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentsPresentations",value:function postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14198
|
+
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']);}/**
|
|
14115
14199
|
* Search the documents in a knowledge base.
|
|
14116
14200
|
*
|
|
14117
14201
|
* @param {String} knowledgeBaseId The ID of knowledge base containing the documents to query.
|
|
@@ -14258,7 +14342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14258
14342
|
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(){/**
|
|
14259
14343
|
* LanguageUnderstanding service.
|
|
14260
14344
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14261
|
-
* @version 188.0
|
|
14345
|
+
* @version 188.1.0
|
|
14262
14346
|
*/ /**
|
|
14263
14347
|
* Constructs a new LanguageUnderstandingApi.
|
|
14264
14348
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14514,7 +14598,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14514
14598
|
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(){/**
|
|
14515
14599
|
* Languages service.
|
|
14516
14600
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14517
|
-
* @version 188.0
|
|
14601
|
+
* @version 188.1.0
|
|
14518
14602
|
*/ /**
|
|
14519
14603
|
* Constructs a new LanguagesApi.
|
|
14520
14604
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14569,7 +14653,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14569
14653
|
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(){/**
|
|
14570
14654
|
* Learning service.
|
|
14571
14655
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14572
|
-
* @version 188.0
|
|
14656
|
+
* @version 188.1.0
|
|
14573
14657
|
*/ /**
|
|
14574
14658
|
* Constructs a new LearningApi.
|
|
14575
14659
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14799,7 +14883,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14799
14883
|
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(){/**
|
|
14800
14884
|
* License service.
|
|
14801
14885
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14802
|
-
* @version 188.0
|
|
14886
|
+
* @version 188.1.0
|
|
14803
14887
|
*/ /**
|
|
14804
14888
|
* Constructs a new LicenseApi.
|
|
14805
14889
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14853,7 +14937,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14853
14937
|
*/},{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(){/**
|
|
14854
14938
|
* Locations service.
|
|
14855
14939
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14856
|
-
* @version 188.0
|
|
14940
|
+
* @version 188.1.0
|
|
14857
14941
|
*/ /**
|
|
14858
14942
|
* Constructs a new LocationsApi.
|
|
14859
14943
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14912,7 +14996,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14912
14996
|
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(){/**
|
|
14913
14997
|
* LogCapture service.
|
|
14914
14998
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14915
|
-
* @version 188.0
|
|
14999
|
+
* @version 188.1.0
|
|
14916
15000
|
*/ /**
|
|
14917
15001
|
* Constructs a new LogCaptureApi.
|
|
14918
15002
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -14962,7 +15046,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14962
15046
|
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(){/**
|
|
14963
15047
|
* Messaging service.
|
|
14964
15048
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14965
|
-
* @version 188.0
|
|
15049
|
+
* @version 188.1.0
|
|
14966
15050
|
*/ /**
|
|
14967
15051
|
* Constructs a new MessagingApi.
|
|
14968
15052
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15052,7 +15136,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15052
15136
|
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(){/**
|
|
15053
15137
|
* MobileDevices service.
|
|
15054
15138
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15055
|
-
* @version 188.0
|
|
15139
|
+
* @version 188.1.0
|
|
15056
15140
|
*/ /**
|
|
15057
15141
|
* Constructs a new MobileDevicesApi.
|
|
15058
15142
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15091,7 +15175,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15091
15175
|
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(){/**
|
|
15092
15176
|
* Notifications service.
|
|
15093
15177
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15094
|
-
* @version 188.0
|
|
15178
|
+
* @version 188.1.0
|
|
15095
15179
|
*/ /**
|
|
15096
15180
|
* Constructs a new NotificationsApi.
|
|
15097
15181
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15148,7 +15232,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15148
15232
|
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(){/**
|
|
15149
15233
|
* OAuth service.
|
|
15150
15234
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15151
|
-
* @version 188.0
|
|
15235
|
+
* @version 188.1.0
|
|
15152
15236
|
*/ /**
|
|
15153
15237
|
* Constructs a new OAuthApi.
|
|
15154
15238
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15233,7 +15317,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15233
15317
|
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(){/**
|
|
15234
15318
|
* Objects service.
|
|
15235
15319
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15236
|
-
* @version 188.0
|
|
15320
|
+
* @version 188.1.0
|
|
15237
15321
|
*/ /**
|
|
15238
15322
|
* Constructs a new ObjectsApi.
|
|
15239
15323
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15304,7 +15388,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15304
15388
|
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(){/**
|
|
15305
15389
|
* OperationalEvents service.
|
|
15306
15390
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15307
|
-
* @version 188.0
|
|
15391
|
+
* @version 188.1.0
|
|
15308
15392
|
*/ /**
|
|
15309
15393
|
* Constructs a new OperationalEventsApi.
|
|
15310
15394
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15322,7 +15406,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15322
15406
|
*/},{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(){/**
|
|
15323
15407
|
* Organization service.
|
|
15324
15408
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15325
|
-
* @version 188.0
|
|
15409
|
+
* @version 188.1.0
|
|
15326
15410
|
*/ /**
|
|
15327
15411
|
* Constructs a new OrganizationApi.
|
|
15328
15412
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15424,7 +15508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15424
15508
|
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(){/**
|
|
15425
15509
|
* OrganizationAuthorization service.
|
|
15426
15510
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15427
|
-
* @version 188.0
|
|
15511
|
+
* @version 188.1.0
|
|
15428
15512
|
*/ /**
|
|
15429
15513
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15430
15514
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15747,7 +15831,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15747
15831
|
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(){/**
|
|
15748
15832
|
* Outbound service.
|
|
15749
15833
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15750
|
-
* @version 188.0
|
|
15834
|
+
* @version 188.1.0
|
|
15751
15835
|
*/ /**
|
|
15752
15836
|
* Constructs a new OutboundApi.
|
|
15753
15837
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16783,7 +16867,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16783
16867
|
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(){/**
|
|
16784
16868
|
* Presence service.
|
|
16785
16869
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16786
|
-
* @version 188.0
|
|
16870
|
+
* @version 188.1.0
|
|
16787
16871
|
*/ /**
|
|
16788
16872
|
* Constructs a new PresenceApi.
|
|
16789
16873
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16956,7 +17040,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16956
17040
|
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(){/**
|
|
16957
17041
|
* ProcessAutomation service.
|
|
16958
17042
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16959
|
-
* @version 188.0
|
|
17043
|
+
* @version 188.1.0
|
|
16960
17044
|
*/ /**
|
|
16961
17045
|
* Constructs a new ProcessAutomationApi.
|
|
16962
17046
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17019,7 +17103,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17019
17103
|
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(){/**
|
|
17020
17104
|
* Quality service.
|
|
17021
17105
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17022
|
-
* @version 188.0
|
|
17106
|
+
* @version 188.1.0
|
|
17023
17107
|
*/ /**
|
|
17024
17108
|
* Constructs a new QualityApi.
|
|
17025
17109
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17490,7 +17574,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17490
17574
|
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(){/**
|
|
17491
17575
|
* Recording service.
|
|
17492
17576
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17493
|
-
* @version 188.0
|
|
17577
|
+
* @version 188.1.0
|
|
17494
17578
|
*/ /**
|
|
17495
17579
|
* Constructs a new RecordingApi.
|
|
17496
17580
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17897,7 +17981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17897
17981
|
*/},{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(){/**
|
|
17898
17982
|
* ResponseManagement service.
|
|
17899
17983
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17900
|
-
* @version 188.0
|
|
17984
|
+
* @version 188.1.0
|
|
17901
17985
|
*/ /**
|
|
17902
17986
|
* Constructs a new ResponseManagementApi.
|
|
17903
17987
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18013,7 +18097,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18013
18097
|
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(){/**
|
|
18014
18098
|
* Routing service.
|
|
18015
18099
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18016
|
-
* @version 188.0
|
|
18100
|
+
* @version 188.1.0
|
|
18017
18101
|
*/ /**
|
|
18018
18102
|
* Constructs a new RoutingApi.
|
|
18019
18103
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18981,7 +19065,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18981
19065
|
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(){/**
|
|
18982
19066
|
* SCIM service.
|
|
18983
19067
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18984
|
-
* @version 188.0
|
|
19068
|
+
* @version 188.1.0
|
|
18985
19069
|
*/ /**
|
|
18986
19070
|
* Constructs a new SCIMApi.
|
|
18987
19071
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19206,7 +19290,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19206
19290
|
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(){/**
|
|
19207
19291
|
* ScreenRecording service.
|
|
19208
19292
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19209
|
-
* @version 188.0
|
|
19293
|
+
* @version 188.1.0
|
|
19210
19294
|
*/ /**
|
|
19211
19295
|
* Constructs a new ScreenRecordingApi.
|
|
19212
19296
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19221,7 +19305,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19221
19305
|
*/_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(){/**
|
|
19222
19306
|
* Scripts service.
|
|
19223
19307
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19224
|
-
* @version 188.0
|
|
19308
|
+
* @version 188.1.0
|
|
19225
19309
|
*/ /**
|
|
19226
19310
|
* Constructs a new ScriptsApi.
|
|
19227
19311
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19357,7 +19441,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19357
19441
|
*/},{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(){/**
|
|
19358
19442
|
* Search service.
|
|
19359
19443
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19360
|
-
* @version 188.0
|
|
19444
|
+
* @version 188.1.0
|
|
19361
19445
|
*/ /**
|
|
19362
19446
|
* Constructs a new SearchApi.
|
|
19363
19447
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19517,7 +19601,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19517
19601
|
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(){/**
|
|
19518
19602
|
* Settings service.
|
|
19519
19603
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19520
|
-
* @version 188.0
|
|
19604
|
+
* @version 188.1.0
|
|
19521
19605
|
*/ /**
|
|
19522
19606
|
* Constructs a new SettingsApi.
|
|
19523
19607
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19535,7 +19619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19535
19619
|
*/},{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(){/**
|
|
19536
19620
|
* SpeechTextAnalytics service.
|
|
19537
19621
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19538
|
-
* @version 188.0
|
|
19622
|
+
* @version 188.1.0
|
|
19539
19623
|
*/ /**
|
|
19540
19624
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19541
19625
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19779,7 +19863,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19779
19863
|
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(){/**
|
|
19780
19864
|
* Stations service.
|
|
19781
19865
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19782
|
-
* @version 188.0
|
|
19866
|
+
* @version 188.1.0
|
|
19783
19867
|
*/ /**
|
|
19784
19868
|
* Constructs a new StationsApi.
|
|
19785
19869
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19811,7 +19895,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19811
19895
|
*/},{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(){/**
|
|
19812
19896
|
* Suggest service.
|
|
19813
19897
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19814
|
-
* @version 188.0
|
|
19898
|
+
* @version 188.1.0
|
|
19815
19899
|
*/ /**
|
|
19816
19900
|
* Constructs a new SuggestApi.
|
|
19817
19901
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19851,7 +19935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19851
19935
|
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(){/**
|
|
19852
19936
|
* TaskManagement service.
|
|
19853
19937
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19854
|
-
* @version 188.0
|
|
19938
|
+
* @version 188.1.0
|
|
19855
19939
|
*/ /**
|
|
19856
19940
|
* Constructs a new TaskManagementApi.
|
|
19857
19941
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20193,7 +20277,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20193
20277
|
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(){/**
|
|
20194
20278
|
* Teams service.
|
|
20195
20279
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20196
|
-
* @version 188.0
|
|
20280
|
+
* @version 188.1.0
|
|
20197
20281
|
*/ /**
|
|
20198
20282
|
* Constructs a new TeamsApi.
|
|
20199
20283
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20272,7 +20356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20272
20356
|
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(){/**
|
|
20273
20357
|
* Telephony service.
|
|
20274
20358
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20275
|
-
* @version 188.0
|
|
20359
|
+
* @version 188.1.0
|
|
20276
20360
|
*/ /**
|
|
20277
20361
|
* Constructs a new TelephonyApi.
|
|
20278
20362
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20319,7 +20403,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20319
20403
|
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(){/**
|
|
20320
20404
|
* TelephonyProvidersEdge service.
|
|
20321
20405
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20322
|
-
* @version 188.0
|
|
20406
|
+
* @version 188.1.0
|
|
20323
20407
|
*/ /**
|
|
20324
20408
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20325
20409
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21133,7 +21217,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21133
21217
|
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(){/**
|
|
21134
21218
|
* Textbots service.
|
|
21135
21219
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21136
|
-
* @version 188.0
|
|
21220
|
+
* @version 188.1.0
|
|
21137
21221
|
*/ /**
|
|
21138
21222
|
* Constructs a new TextbotsApi.
|
|
21139
21223
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21168,7 +21252,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21168
21252
|
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(){/**
|
|
21169
21253
|
* Tokens service.
|
|
21170
21254
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21171
|
-
* @version 188.0
|
|
21255
|
+
* @version 188.1.0
|
|
21172
21256
|
*/ /**
|
|
21173
21257
|
* Constructs a new TokensApi.
|
|
21174
21258
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21191,7 +21275,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21191
21275
|
*/},{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']);}/**
|
|
21192
21276
|
* Get the current Idle Token Timeout Value
|
|
21193
21277
|
*
|
|
21194
|
-
* getTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21195
21278
|
*/},{key:"getTokensTimeout",value:function getTokensTimeout(){return this.apiClient.callApi('/api/v2/tokens/timeout','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21196
21279
|
* Verify user token
|
|
21197
21280
|
*
|
|
@@ -21200,11 +21283,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21200
21283
|
*
|
|
21201
21284
|
* @param {Object} opts Optional parameters
|
|
21202
21285
|
* @param {Object} opts.body
|
|
21203
|
-
* putTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21204
21286
|
*/},{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(){/**
|
|
21205
21287
|
* Uploads service.
|
|
21206
21288
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21207
|
-
* @version 188.0
|
|
21289
|
+
* @version 188.1.0
|
|
21208
21290
|
*/ /**
|
|
21209
21291
|
* Constructs a new UploadsApi.
|
|
21210
21292
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21270,7 +21352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21270
21352
|
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(){/**
|
|
21271
21353
|
* Usage service.
|
|
21272
21354
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21273
|
-
* @version 188.0
|
|
21355
|
+
* @version 188.1.0
|
|
21274
21356
|
*/ /**
|
|
21275
21357
|
* Constructs a new UsageApi.
|
|
21276
21358
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21321,7 +21403,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21321
21403
|
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(){/**
|
|
21322
21404
|
* UserRecordings service.
|
|
21323
21405
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21324
|
-
* @version 188.0
|
|
21406
|
+
* @version 188.1.0
|
|
21325
21407
|
*/ /**
|
|
21326
21408
|
* Constructs a new UserRecordingsApi.
|
|
21327
21409
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21370,7 +21452,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21370
21452
|
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(){/**
|
|
21371
21453
|
* Users service.
|
|
21372
21454
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21373
|
-
* @version 188.0
|
|
21455
|
+
* @version 188.1.0
|
|
21374
21456
|
*/ /**
|
|
21375
21457
|
* Constructs a new UsersApi.
|
|
21376
21458
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22029,7 +22111,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22029
22111
|
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(){/**
|
|
22030
22112
|
* Utilities service.
|
|
22031
22113
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22032
|
-
* @version 188.0
|
|
22114
|
+
* @version 188.1.0
|
|
22033
22115
|
*/ /**
|
|
22034
22116
|
* Constructs a new UtilitiesApi.
|
|
22035
22117
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22056,7 +22138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22056
22138
|
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(){/**
|
|
22057
22139
|
* Voicemail service.
|
|
22058
22140
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22059
|
-
* @version 188.0
|
|
22141
|
+
* @version 188.1.0
|
|
22060
22142
|
*/ /**
|
|
22061
22143
|
* Constructs a new VoicemailApi.
|
|
22062
22144
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22205,7 +22287,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22205
22287
|
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(){/**
|
|
22206
22288
|
* WebChat service.
|
|
22207
22289
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22208
|
-
* @version 188.0
|
|
22290
|
+
* @version 188.1.0
|
|
22209
22291
|
*/ /**
|
|
22210
22292
|
* Constructs a new WebChatApi.
|
|
22211
22293
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22338,7 +22420,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22338
22420
|
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(){/**
|
|
22339
22421
|
* WebDeployments service.
|
|
22340
22422
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22341
|
-
* @version 188.0
|
|
22423
|
+
* @version 188.1.0
|
|
22342
22424
|
*/ /**
|
|
22343
22425
|
* Constructs a new WebDeploymentsApi.
|
|
22344
22426
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22459,7 +22541,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22459
22541
|
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(){/**
|
|
22460
22542
|
* WebMessaging service.
|
|
22461
22543
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22462
|
-
* @version 188.0
|
|
22544
|
+
* @version 188.1.0
|
|
22463
22545
|
*/ /**
|
|
22464
22546
|
* Constructs a new WebMessagingApi.
|
|
22465
22547
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22475,7 +22557,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22475
22557
|
*/_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(){/**
|
|
22476
22558
|
* Widgets service.
|
|
22477
22559
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22478
|
-
* @version 188.0
|
|
22560
|
+
* @version 188.1.0
|
|
22479
22561
|
*/ /**
|
|
22480
22562
|
* Constructs a new WidgetsApi.
|
|
22481
22563
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22510,7 +22592,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22510
22592
|
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(){/**
|
|
22511
22593
|
* WorkforceManagement service.
|
|
22512
22594
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22513
|
-
* @version 188.0
|
|
22595
|
+
* @version 188.1.0
|
|
22514
22596
|
*/ /**
|
|
22515
22597
|
* Constructs a new WorkforceManagementApi.
|
|
22516
22598
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23861,7 +23943,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23861
23943
|
* </pre>
|
|
23862
23944
|
* </p>
|
|
23863
23945
|
* @module purecloud-platform-client-v2/index
|
|
23864
|
-
* @version 188.0
|
|
23946
|
+
* @version 188.1.0
|
|
23865
23947
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23866
23948
|
* The ApiClient constructor.
|
|
23867
23949
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|