purecloud-platform-client-v2 205.0.0 → 206.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/node/purecloud-platform-client-v2.js +646 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +646 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +228 -85
- package/dist/web-cjs/purecloud-platform-client-v2.js +228 -85
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +467 -5
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +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 +7 -4
- 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/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +191 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +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 +311 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- 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 +60 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -879,7 +879,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
879
879
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
880
880
|
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];}}}]);}();/**
|
|
881
881
|
* @module purecloud-platform-client-v2/ApiClient
|
|
882
|
-
* @version
|
|
882
|
+
* @version 206.0.0
|
|
883
883
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
884
884
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
885
885
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1191,7 +1191,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1191
1191
|
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);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1192
1192
|
* AgentAssistants service.
|
|
1193
1193
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1194
|
-
* @version
|
|
1194
|
+
* @version 206.0.0
|
|
1195
1195
|
*//**
|
|
1196
1196
|
* Constructs a new AgentAssistantsApi.
|
|
1197
1197
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1292,7 +1292,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1292
1292
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1293
1293
|
* AgentCopilot service.
|
|
1294
1294
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1295
|
-
* @version
|
|
1295
|
+
* @version 206.0.0
|
|
1296
1296
|
*//**
|
|
1297
1297
|
* Constructs a new AgentCopilotApi.
|
|
1298
1298
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1314,7 +1314,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1314
1314
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1315
1315
|
* AgentUI service.
|
|
1316
1316
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1317
|
-
* @version
|
|
1317
|
+
* @version 206.0.0
|
|
1318
1318
|
*//**
|
|
1319
1319
|
* Constructs a new AgentUIApi.
|
|
1320
1320
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1348,7 +1348,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1348
1348
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1349
1349
|
* Alerting service.
|
|
1350
1350
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1351
|
-
* @version
|
|
1351
|
+
* @version 206.0.0
|
|
1352
1352
|
*//**
|
|
1353
1353
|
* Constructs a new AlertingApi.
|
|
1354
1354
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1505,7 +1505,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1505
1505
|
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']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1506
1506
|
* Analytics service.
|
|
1507
1507
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1508
|
-
* @version
|
|
1508
|
+
* @version 206.0.0
|
|
1509
1509
|
*//**
|
|
1510
1510
|
* Constructs a new AnalyticsApi.
|
|
1511
1511
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2126,7 +2126,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2126
2126
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
2127
2127
|
* Architect service.
|
|
2128
2128
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2129
|
-
* @version
|
|
2129
|
+
* @version 206.0.0
|
|
2130
2130
|
*//**
|
|
2131
2131
|
* Constructs a new ArchitectApi.
|
|
2132
2132
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3218,7 +3218,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3218
3218
|
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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3219
3219
|
* Audit service.
|
|
3220
3220
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3221
|
-
* @version
|
|
3221
|
+
* @version 206.0.0
|
|
3222
3222
|
*//**
|
|
3223
3223
|
* Constructs a new AuditApi.
|
|
3224
3224
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3268,7 +3268,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3268
3268
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3269
3269
|
* Authorization service.
|
|
3270
3270
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3271
|
-
* @version
|
|
3271
|
+
* @version 206.0.0
|
|
3272
3272
|
*//**
|
|
3273
3273
|
* Constructs a new AuthorizationApi.
|
|
3274
3274
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3591,7 +3591,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3591
3591
|
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']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3592
3592
|
* Billing service.
|
|
3593
3593
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3594
|
-
* @version
|
|
3594
|
+
* @version 206.0.0
|
|
3595
3595
|
*//**
|
|
3596
3596
|
* Constructs a new BillingApi.
|
|
3597
3597
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3615,7 +3615,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3615
3615
|
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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3616
3616
|
* CarrierServices service.
|
|
3617
3617
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3618
|
-
* @version
|
|
3618
|
+
* @version 206.0.0
|
|
3619
3619
|
*//**
|
|
3620
3620
|
* Constructs a new CarrierServicesApi.
|
|
3621
3621
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3635,7 +3635,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3635
3635
|
*/},{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']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3636
3636
|
* Chat service.
|
|
3637
3637
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3638
|
-
* @version
|
|
3638
|
+
* @version 206.0.0
|
|
3639
3639
|
*//**
|
|
3640
3640
|
* Constructs a new ChatApi.
|
|
3641
3641
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3860,7 +3860,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3860
3860
|
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']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3861
3861
|
* Coaching service.
|
|
3862
3862
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3863
|
-
* @version
|
|
3863
|
+
* @version 206.0.0
|
|
3864
3864
|
*//**
|
|
3865
3865
|
* Constructs a new CoachingApi.
|
|
3866
3866
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4013,7 +4013,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4013
4013
|
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']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
4014
4014
|
* ContentManagement service.
|
|
4015
4015
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4016
|
-
* @version
|
|
4016
|
+
* @version 206.0.0
|
|
4017
4017
|
*//**
|
|
4018
4018
|
* Constructs a new ContentManagementApi.
|
|
4019
4019
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4296,7 +4296,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4296
4296
|
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']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
4297
4297
|
* Conversations service.
|
|
4298
4298
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4299
|
-
* @version
|
|
4299
|
+
* @version 206.0.0
|
|
4300
4300
|
*//**
|
|
4301
4301
|
* Constructs a new ConversationsApi.
|
|
4302
4302
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5210,7 +5210,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5210
5210
|
* @param {String} conversationId conversationId
|
|
5211
5211
|
* @param {String} participantId participantId
|
|
5212
5212
|
* @param {Object} body Parking update request
|
|
5213
|
-
* patchConversationsEmailParticipantParkingstate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5214
5213
|
*/},{key:"patchConversationsEmailParticipantParkingstate",value:function patchConversationsEmailParticipantParkingstate(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
5215
5214
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'participantId' is set
|
|
5216
5215
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';}// verify the required parameter 'body' is set
|
|
@@ -5754,9 +5753,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5754
5753
|
* Send an inbound message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
5755
5754
|
* @param {String} integrationId integrationId
|
|
5756
5755
|
* @param {Object} body NormalizedMessage
|
|
5757
|
-
|
|
5756
|
+
* @param {Object} opts Optional parameters
|
|
5757
|
+
* @param {Boolean} opts.prefetchConversationId Indicates whether or not to prefetch conversationId (default to false)
|
|
5758
|
+
*/},{key:"postConversationsMessageInboundOpenMessage",value:function postConversationsMessageInboundOpenMessage(integrationId,body,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
5758
5759
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';}// verify the required parameter 'body' is set
|
|
5759
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{integrationId}/inbound/open/message','POST',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5760
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{integrationId}/inbound/open/message','POST',{'integrationId':integrationId},{'prefetchConversationId':opts['prefetchConversationId']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5760
5761
|
* Send an inbound Open Receipt Message
|
|
5761
5762
|
* Send an inbound open Receipt to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
|
|
5762
5763
|
* @param {String} integrationId integrationId
|
|
@@ -6023,7 +6024,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6023
6024
|
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']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
6024
6025
|
* DataExtensions service.
|
|
6025
6026
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6026
|
-
* @version
|
|
6027
|
+
* @version 206.0.0
|
|
6027
6028
|
*//**
|
|
6028
6029
|
* Constructs a new DataExtensionsApi.
|
|
6029
6030
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6044,7 +6045,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6044
6045
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6045
6046
|
* Downloads service.
|
|
6046
6047
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6047
|
-
* @version
|
|
6048
|
+
* @version 206.0.0
|
|
6048
6049
|
*//**
|
|
6049
6050
|
* Constructs a new DownloadsApi.
|
|
6050
6051
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6063,7 +6064,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6063
6064
|
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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6064
6065
|
* Emails service.
|
|
6065
6066
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6066
|
-
* @version
|
|
6067
|
+
* @version 206.0.0
|
|
6067
6068
|
*//**
|
|
6068
6069
|
* Constructs a new EmailsApi.
|
|
6069
6070
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6081,7 +6082,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6081
6082
|
*/},{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']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6082
6083
|
* EmployeeEngagement service.
|
|
6083
6084
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6084
|
-
* @version
|
|
6085
|
+
* @version 206.0.0
|
|
6085
6086
|
*//**
|
|
6086
6087
|
* Constructs a new EmployeeEngagementApi.
|
|
6087
6088
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6119,7 +6120,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6119
6120
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
6120
6121
|
* Events service.
|
|
6121
6122
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6122
|
-
* @version
|
|
6123
|
+
* @version 206.0.0
|
|
6123
6124
|
*//**
|
|
6124
6125
|
* Constructs a new EventsApi.
|
|
6125
6126
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6144,7 +6145,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6144
6145
|
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']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
6145
6146
|
* ExternalContacts service.
|
|
6146
6147
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6147
|
-
* @version
|
|
6148
|
+
* @version 206.0.0
|
|
6148
6149
|
*//**
|
|
6149
6150
|
* Constructs a new ExternalContactsApi.
|
|
6150
6151
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6636,7 +6637,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6636
6637
|
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']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6637
6638
|
* Fax service.
|
|
6638
6639
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6639
|
-
* @version
|
|
6640
|
+
* @version 206.0.0
|
|
6640
6641
|
*//**
|
|
6641
6642
|
* Constructs a new FaxApi.
|
|
6642
6643
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6685,7 +6686,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6685
6686
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6686
6687
|
* Flows service.
|
|
6687
6688
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6688
|
-
* @version
|
|
6689
|
+
* @version 206.0.0
|
|
6689
6690
|
*//**
|
|
6690
6691
|
* Constructs a new FlowsApi.
|
|
6691
6692
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6733,7 +6734,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6733
6734
|
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']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6734
6735
|
* Gamification service.
|
|
6735
6736
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6736
|
-
* @version
|
|
6737
|
+
* @version 206.0.0
|
|
6737
6738
|
*//**
|
|
6738
6739
|
* Constructs a new GamificationApi.
|
|
6739
6740
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7273,7 +7274,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7273
7274
|
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']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
7274
7275
|
* GeneralDataProtectionRegulation service.
|
|
7275
7276
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7276
|
-
* @version
|
|
7277
|
+
* @version 206.0.0
|
|
7277
7278
|
*//**
|
|
7278
7279
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7279
7280
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7308,7 +7309,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7308
7309
|
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']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
7309
7310
|
* Geolocation service.
|
|
7310
7311
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7311
|
-
* @version
|
|
7312
|
+
* @version 206.0.0
|
|
7312
7313
|
*//**
|
|
7313
7314
|
* Constructs a new GeolocationApi.
|
|
7314
7315
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7342,7 +7343,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7342
7343
|
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']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
7343
7344
|
* Greetings service.
|
|
7344
7345
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7345
|
-
* @version
|
|
7346
|
+
* @version 206.0.0
|
|
7346
7347
|
*//**
|
|
7347
7348
|
* Constructs a new GreetingsApi.
|
|
7348
7349
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7449,7 +7450,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7449
7450
|
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']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7450
7451
|
* Groups service.
|
|
7451
7452
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7452
|
-
* @version
|
|
7453
|
+
* @version 206.0.0
|
|
7453
7454
|
*//**
|
|
7454
7455
|
* Constructs a new GroupsApi.
|
|
7455
7456
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7582,7 +7583,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7582
7583
|
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']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7583
7584
|
* IdentityProvider service.
|
|
7584
7585
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7585
|
-
* @version
|
|
7586
|
+
* @version 206.0.0
|
|
7586
7587
|
*//**
|
|
7587
7588
|
* Constructs a new IdentityProviderApi.
|
|
7588
7589
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7738,7 +7739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7738
7739
|
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']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7739
7740
|
* InfrastructureAsCode service.
|
|
7740
7741
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7741
|
-
* @version
|
|
7742
|
+
* @version 206.0.0
|
|
7742
7743
|
*//**
|
|
7743
7744
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7744
7745
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7792,7 +7793,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7792
7793
|
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']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7793
7794
|
* Integrations service.
|
|
7794
7795
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7795
|
-
* @version
|
|
7796
|
+
* @version 206.0.0
|
|
7796
7797
|
*//**
|
|
7797
7798
|
* Constructs a new IntegrationsApi.
|
|
7798
7799
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8417,7 +8418,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8417
8418
|
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']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8418
8419
|
* Journey service.
|
|
8419
8420
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8420
|
-
* @version
|
|
8421
|
+
* @version 206.0.0
|
|
8421
8422
|
*//**
|
|
8422
8423
|
* Constructs a new JourneyApi.
|
|
8423
8424
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8629,6 +8630,26 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
8629
8630
|
*/},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
|
|
8630
8631
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
|
|
8631
8632
|
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']);}/**
|
|
8633
|
+
* Get a Chart by ID
|
|
8634
|
+
* returns the latest version
|
|
8635
|
+
* @param {String} viewId viewId
|
|
8636
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
8637
|
+
* @param {String} chartId chartId
|
|
8638
|
+
*/},{key:"getJourneyViewVersionChart",value:function getJourneyViewVersionChart(viewId,journeyViewVersion,chartId){// verify the required parameter 'viewId' is set
|
|
8639
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';}// verify the required parameter 'journeyViewVersion' is set
|
|
8640
|
+
if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';}// verify the required parameter 'chartId' is set
|
|
8641
|
+
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'chartId':chartId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8642
|
+
* Get a Chart by ID and version
|
|
8643
|
+
*
|
|
8644
|
+
* @param {String} viewId viewId
|
|
8645
|
+
* @param {String} journeyViewVersion Journey View Version
|
|
8646
|
+
* @param {String} chartId chartId
|
|
8647
|
+
* @param {String} chartVersion chartVersion
|
|
8648
|
+
*/},{key:"getJourneyViewVersionChartVersion",value:function getJourneyViewVersionChartVersion(viewId,journeyViewVersion,chartId,chartVersion){// verify the required parameter 'viewId' is set
|
|
8649
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'journeyViewVersion' is set
|
|
8650
|
+
if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'chartId' is set
|
|
8651
|
+
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'chartVersion' is set
|
|
8652
|
+
if(chartVersion===undefined||chartVersion===null){throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'chartId':chartId,'chartVersion':chartVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8632
8653
|
* Get the job for a journey view version.
|
|
8633
8654
|
* used for long descriptions
|
|
8634
8655
|
* @param {String} viewId Journey View Id
|
|
@@ -8647,6 +8668,17 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
8647
8668
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';}// verify the required parameter 'journeyViewVersion' is set
|
|
8648
8669
|
if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';}// verify the required parameter 'jobId' is set
|
|
8649
8670
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8671
|
+
* Get the chart result associated with a journey view job.
|
|
8672
|
+
*
|
|
8673
|
+
* @param {String} viewId Journey View Id
|
|
8674
|
+
* @param {String} journeyVersionId Journey View Version
|
|
8675
|
+
* @param {String} jobId JobId
|
|
8676
|
+
* @param {String} chartId ChartId
|
|
8677
|
+
*/},{key:"getJourneyViewVersionJobResultsChart",value:function getJourneyViewVersionJobResultsChart(viewId,journeyVersionId,jobId,chartId){// verify the required parameter 'viewId' is set
|
|
8678
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'journeyVersionId' is set
|
|
8679
|
+
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'jobId' is set
|
|
8680
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'chartId' is set
|
|
8681
|
+
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId,'chartId':chartId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8650
8682
|
* Get the latest job of a journey view version.
|
|
8651
8683
|
* used for long descriptions
|
|
8652
8684
|
* @param {String} viewId Journey View Id
|
|
@@ -8716,6 +8748,17 @@ if(outcomeId===undefined||outcomeId===null){throw'Missing the required parameter
|
|
|
8716
8748
|
* @param {Object} opts.body
|
|
8717
8749
|
*/},{key:"patchJourneySegment",value:function patchJourneySegment(segmentId,opts){opts=opts||{};// verify the required parameter 'segmentId' is set
|
|
8718
8750
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling patchJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','PATCH',{'segmentId':segmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8751
|
+
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
8752
|
+
* used for long descriptions
|
|
8753
|
+
* @param {String} viewId Journey View Id
|
|
8754
|
+
* @param {String} journeyVersionId Journey View Version
|
|
8755
|
+
* @param {String} jobId JobId
|
|
8756
|
+
* @param {Object} body journeyViewJob
|
|
8757
|
+
*/},{key:"patchJourneyViewVersionJob",value:function patchJourneyViewVersionJob(viewId,journeyVersionId,jobId,body){// verify the required parameter 'viewId' is set
|
|
8758
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';}// verify the required parameter 'journeyVersionId' is set
|
|
8759
|
+
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';}// verify the required parameter 'jobId' is set
|
|
8760
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';}// verify the required parameter 'body' is set
|
|
8761
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchJourneyViewVersionJob';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}','PATCH',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8719
8762
|
* Query for journey aggregates asynchronously
|
|
8720
8763
|
*
|
|
8721
8764
|
* @param {Object} body query
|
|
@@ -8813,10 +8856,19 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8813
8856
|
* @param {Object} opts Optional parameters
|
|
8814
8857
|
* @param {Array.<Object>} opts.body
|
|
8815
8858
|
* postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8816
|
-
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
8859
|
+
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8860
|
+
* Update a Journey View by ID and version
|
|
8861
|
+
* does not create a new version
|
|
8862
|
+
* @param {String} viewId viewId
|
|
8863
|
+
* @param {String} versionId versionId
|
|
8864
|
+
* @param {Object} body JourneyView
|
|
8865
|
+
*/},{key:"putJourneyViewVersion",value:function putJourneyViewVersion(viewId,versionId,body){// verify the required parameter 'viewId' is set
|
|
8866
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling putJourneyViewVersion';}// verify the required parameter 'versionId' is set
|
|
8867
|
+
if(versionId===undefined||versionId===null){throw'Missing the required parameter "versionId" when calling putJourneyViewVersion';}// verify the required parameter 'body' is set
|
|
8868
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8817
8869
|
* Knowledge service.
|
|
8818
8870
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8819
|
-
* @version
|
|
8871
|
+
* @version 206.0.0
|
|
8820
8872
|
*//**
|
|
8821
8873
|
* Constructs a new KnowledgeApi.
|
|
8822
8874
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9900,7 +9952,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
9900
9952
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9901
9953
|
* LanguageUnderstanding service.
|
|
9902
9954
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9903
|
-
* @version
|
|
9955
|
+
* @version 206.0.0
|
|
9904
9956
|
*//**
|
|
9905
9957
|
* Constructs a new LanguageUnderstandingApi.
|
|
9906
9958
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10160,7 +10212,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10160
10212
|
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']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
10161
10213
|
* Languages service.
|
|
10162
10214
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10163
|
-
* @version
|
|
10215
|
+
* @version 206.0.0
|
|
10164
10216
|
*//**
|
|
10165
10217
|
* Constructs a new LanguagesApi.
|
|
10166
10218
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10215,7 +10267,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10215
10267
|
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']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
10216
10268
|
* Learning service.
|
|
10217
10269
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10218
|
-
* @version
|
|
10270
|
+
* @version 206.0.0
|
|
10219
10271
|
*//**
|
|
10220
10272
|
* Constructs a new LearningApi.
|
|
10221
10273
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10486,7 +10538,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10486
10538
|
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']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
10487
10539
|
* License service.
|
|
10488
10540
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10489
|
-
* @version
|
|
10541
|
+
* @version 206.0.0
|
|
10490
10542
|
*//**
|
|
10491
10543
|
* Constructs a new LicenseApi.
|
|
10492
10544
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10540,7 +10592,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10540
10592
|
*/},{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']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
10541
10593
|
* Locations service.
|
|
10542
10594
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10543
|
-
* @version
|
|
10595
|
+
* @version 206.0.0
|
|
10544
10596
|
*//**
|
|
10545
10597
|
* Constructs a new LocationsApi.
|
|
10546
10598
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10599,7 +10651,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10599
10651
|
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']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
10600
10652
|
* LogCapture service.
|
|
10601
10653
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10602
|
-
* @version
|
|
10654
|
+
* @version 206.0.0
|
|
10603
10655
|
*//**
|
|
10604
10656
|
* Constructs a new LogCaptureApi.
|
|
10605
10657
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10649,7 +10701,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10649
10701
|
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']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10650
10702
|
* Messaging service.
|
|
10651
10703
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10652
|
-
* @version
|
|
10704
|
+
* @version 206.0.0
|
|
10653
10705
|
*//**
|
|
10654
10706
|
* Constructs a new MessagingApi.
|
|
10655
10707
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10739,7 +10791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10739
10791
|
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']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
10740
10792
|
* MobileDevices service.
|
|
10741
10793
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10742
|
-
* @version
|
|
10794
|
+
* @version 206.0.0
|
|
10743
10795
|
*//**
|
|
10744
10796
|
* Constructs a new MobileDevicesApi.
|
|
10745
10797
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10778,7 +10830,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10778
10830
|
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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
10779
10831
|
* Notifications service.
|
|
10780
10832
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10781
|
-
* @version
|
|
10833
|
+
* @version 206.0.0
|
|
10782
10834
|
*//**
|
|
10783
10835
|
* Constructs a new NotificationsApi.
|
|
10784
10836
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10835,7 +10887,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10835
10887
|
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']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
10836
10888
|
* OAuth service.
|
|
10837
10889
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10838
|
-
* @version
|
|
10890
|
+
* @version 206.0.0
|
|
10839
10891
|
*//**
|
|
10840
10892
|
* Constructs a new OAuthApi.
|
|
10841
10893
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10920,7 +10972,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10920
10972
|
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']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
10921
10973
|
* Objects service.
|
|
10922
10974
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10923
|
-
* @version
|
|
10975
|
+
* @version 206.0.0
|
|
10924
10976
|
*//**
|
|
10925
10977
|
* Constructs a new ObjectsApi.
|
|
10926
10978
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10991,7 +11043,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10991
11043
|
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']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
10992
11044
|
* OperationalEvents service.
|
|
10993
11045
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10994
|
-
* @version
|
|
11046
|
+
* @version 206.0.0
|
|
10995
11047
|
*//**
|
|
10996
11048
|
* Constructs a new OperationalEventsApi.
|
|
10997
11049
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11009,7 +11061,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
11009
11061
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
11010
11062
|
* Organization service.
|
|
11011
11063
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11012
|
-
* @version
|
|
11064
|
+
* @version 206.0.0
|
|
11013
11065
|
*//**
|
|
11014
11066
|
* Constructs a new OrganizationApi.
|
|
11015
11067
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11134,7 +11186,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11134
11186
|
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']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
11135
11187
|
* OrganizationAuthorization service.
|
|
11136
11188
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11137
|
-
* @version
|
|
11189
|
+
* @version 206.0.0
|
|
11138
11190
|
*//**
|
|
11139
11191
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11140
11192
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11457,7 +11509,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11457
11509
|
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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11458
11510
|
* Outbound service.
|
|
11459
11511
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11460
|
-
* @version
|
|
11512
|
+
* @version 206.0.0
|
|
11461
11513
|
*//**
|
|
11462
11514
|
* Constructs a new OutboundApi.
|
|
11463
11515
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12544,7 +12596,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12544
12596
|
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']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
12545
12597
|
* Presence service.
|
|
12546
12598
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12547
|
-
* @version
|
|
12599
|
+
* @version 206.0.0
|
|
12548
12600
|
*//**
|
|
12549
12601
|
* Constructs a new PresenceApi.
|
|
12550
12602
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12717,7 +12769,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12717
12769
|
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']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
12718
12770
|
* ProcessAutomation service.
|
|
12719
12771
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12720
|
-
* @version
|
|
12772
|
+
* @version 206.0.0
|
|
12721
12773
|
*//**
|
|
12722
12774
|
* Constructs a new ProcessAutomationApi.
|
|
12723
12775
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12780,7 +12832,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12780
12832
|
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']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
12781
12833
|
* Quality service.
|
|
12782
12834
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12783
|
-
* @version
|
|
12835
|
+
* @version 206.0.0
|
|
12784
12836
|
*//**
|
|
12785
12837
|
* Constructs a new QualityApi.
|
|
12786
12838
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13257,7 +13309,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13257
13309
|
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']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
13258
13310
|
* Recording service.
|
|
13259
13311
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13260
|
-
* @version
|
|
13312
|
+
* @version 206.0.0
|
|
13261
13313
|
*//**
|
|
13262
13314
|
* Constructs a new RecordingApi.
|
|
13263
13315
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13669,7 +13721,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13669
13721
|
*/},{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']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
13670
13722
|
* ResponseManagement service.
|
|
13671
13723
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13672
|
-
* @version
|
|
13724
|
+
* @version 206.0.0
|
|
13673
13725
|
*//**
|
|
13674
13726
|
* Constructs a new ResponseManagementApi.
|
|
13675
13727
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13790,7 +13842,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13790
13842
|
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']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
13791
13843
|
* Routing service.
|
|
13792
13844
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13793
|
-
* @version
|
|
13845
|
+
* @version 206.0.0
|
|
13794
13846
|
*//**
|
|
13795
13847
|
* Constructs a new RoutingApi.
|
|
13796
13848
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14794,7 +14846,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14794
14846
|
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']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
14795
14847
|
* SCIM service.
|
|
14796
14848
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14797
|
-
* @version
|
|
14849
|
+
* @version 206.0.0
|
|
14798
14850
|
*//**
|
|
14799
14851
|
* Constructs a new SCIMApi.
|
|
14800
14852
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15019,7 +15071,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15019
15071
|
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']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
15020
15072
|
* ScreenRecording service.
|
|
15021
15073
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15022
|
-
* @version
|
|
15074
|
+
* @version 206.0.0
|
|
15023
15075
|
*//**
|
|
15024
15076
|
* Constructs a new ScreenRecordingApi.
|
|
15025
15077
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15034,7 +15086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15034
15086
|
*/return _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']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
15035
15087
|
* Scripts service.
|
|
15036
15088
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15037
|
-
* @version
|
|
15089
|
+
* @version 206.0.0
|
|
15038
15090
|
*//**
|
|
15039
15091
|
* Constructs a new ScriptsApi.
|
|
15040
15092
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15170,7 +15222,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15170
15222
|
*/},{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']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
15171
15223
|
* Search service.
|
|
15172
15224
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15173
|
-
* @version
|
|
15225
|
+
* @version 206.0.0
|
|
15174
15226
|
*//**
|
|
15175
15227
|
* Constructs a new SearchApi.
|
|
15176
15228
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15330,7 +15382,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15330
15382
|
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']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
15331
15383
|
* Settings service.
|
|
15332
15384
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15333
|
-
* @version
|
|
15385
|
+
* @version 206.0.0
|
|
15334
15386
|
*//**
|
|
15335
15387
|
* Constructs a new SettingsApi.
|
|
15336
15388
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15380,7 +15432,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15380
15432
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
15381
15433
|
* SpeechTextAnalytics service.
|
|
15382
15434
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15383
|
-
* @version
|
|
15435
|
+
* @version 206.0.0
|
|
15384
15436
|
*//**
|
|
15385
15437
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15386
15438
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15679,7 +15731,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15679
15731
|
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']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
15680
15732
|
* Stations service.
|
|
15681
15733
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15682
|
-
* @version
|
|
15734
|
+
* @version 206.0.0
|
|
15683
15735
|
*//**
|
|
15684
15736
|
* Constructs a new StationsApi.
|
|
15685
15737
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15711,7 +15763,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15711
15763
|
*/},{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']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
15712
15764
|
* Suggest service.
|
|
15713
15765
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15714
|
-
* @version
|
|
15766
|
+
* @version 206.0.0
|
|
15715
15767
|
*//**
|
|
15716
15768
|
* Constructs a new SuggestApi.
|
|
15717
15769
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15751,7 +15803,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15751
15803
|
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']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
15752
15804
|
* TaskManagement service.
|
|
15753
15805
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15754
|
-
* @version
|
|
15806
|
+
* @version 206.0.0
|
|
15755
15807
|
*//**
|
|
15756
15808
|
* Constructs a new TaskManagementApi.
|
|
15757
15809
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15779,6 +15831,20 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15779
15831
|
* @param {String} worktypeId Worktype id
|
|
15780
15832
|
*/},{key:"deleteTaskmanagementWorktype",value:function deleteTaskmanagementWorktype(worktypeId){// verify the required parameter 'worktypeId' is set
|
|
15781
15833
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','DELETE',{'worktypeId':worktypeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15834
|
+
* Delete a rule
|
|
15835
|
+
*
|
|
15836
|
+
* @param {String} worktypeId Worktype id
|
|
15837
|
+
* @param {String} ruleId ruleId
|
|
15838
|
+
*/},{key:"deleteTaskmanagementWorktypeFlowsOnattributechangeRule",value:function deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
15839
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';}// verify the required parameter 'ruleId' is set
|
|
15840
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}','DELETE',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15841
|
+
* Delete a rule
|
|
15842
|
+
*
|
|
15843
|
+
* @param {String} worktypeId Worktype id
|
|
15844
|
+
* @param {String} ruleId ruleId
|
|
15845
|
+
*/},{key:"deleteTaskmanagementWorktypeFlowsOncreateRule",value:function deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
15846
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';}// verify the required parameter 'ruleId' is set
|
|
15847
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}','DELETE',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15782
15848
|
* Delete a status
|
|
15783
15849
|
*
|
|
15784
15850
|
* @param {String} worktypeId Worktype id
|
|
@@ -15913,6 +15979,36 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15913
15979
|
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
15914
15980
|
*/},{key:"getTaskmanagementWorktype",value:function getTaskmanagementWorktype(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
15915
15981
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','GET',{'worktypeId':worktypeId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15982
|
+
* Get an attribute change rule
|
|
15983
|
+
*
|
|
15984
|
+
* @param {String} worktypeId Worktype id
|
|
15985
|
+
* @param {String} ruleId ruleId
|
|
15986
|
+
*/},{key:"getTaskmanagementWorktypeFlowsOnattributechangeRule",value:function getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
15987
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';}// verify the required parameter 'ruleId' is set
|
|
15988
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}','GET',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15989
|
+
* Get all attribute-change rules for a worktype
|
|
15990
|
+
*
|
|
15991
|
+
* @param {String} worktypeId Worktype id
|
|
15992
|
+
* @param {Object} opts Optional parameters
|
|
15993
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
15994
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
15995
|
+
*/},{key:"getTaskmanagementWorktypeFlowsOnattributechangeRules",value:function getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
15996
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules','GET',{'worktypeId':worktypeId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15997
|
+
* Get an on-create rule
|
|
15998
|
+
*
|
|
15999
|
+
* @param {String} worktypeId Worktype id
|
|
16000
|
+
* @param {String} ruleId ruleId
|
|
16001
|
+
*/},{key:"getTaskmanagementWorktypeFlowsOncreateRule",value:function getTaskmanagementWorktypeFlowsOncreateRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
16002
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';}// verify the required parameter 'ruleId' is set
|
|
16003
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}','GET',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16004
|
+
* Get all on-create rules for a worktype
|
|
16005
|
+
*
|
|
16006
|
+
* @param {String} worktypeId Worktype id
|
|
16007
|
+
* @param {Object} opts Optional parameters
|
|
16008
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16009
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
16010
|
+
*/},{key:"getTaskmanagementWorktypeFlowsOncreateRules",value:function getTaskmanagementWorktypeFlowsOncreateRules(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
16011
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules','GET',{'worktypeId':worktypeId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15916
16012
|
* Get a listing of a worktype's attribute change history
|
|
15917
16013
|
*
|
|
15918
16014
|
* @param {String} worktypeId Worktype id
|
|
@@ -15998,6 +16094,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15998
16094
|
*/},{key:"patchTaskmanagementWorktype",value:function patchTaskmanagementWorktype(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
15999
16095
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';}// verify the required parameter 'body' is set
|
|
16000
16096
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','PATCH',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16097
|
+
* Update the attributes of a rule
|
|
16098
|
+
*
|
|
16099
|
+
* @param {String} worktypeId Worktype id
|
|
16100
|
+
* @param {String} ruleId ruleId
|
|
16101
|
+
* @param {Object} body Rule
|
|
16102
|
+
*/},{key:"patchTaskmanagementWorktypeFlowsOnattributechangeRule",value:function patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId,ruleId,body){// verify the required parameter 'worktypeId' is set
|
|
16103
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';}// verify the required parameter 'ruleId' is set
|
|
16104
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';}// verify the required parameter 'body' is set
|
|
16105
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}','PATCH',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16106
|
+
* Update the attributes of a rule
|
|
16107
|
+
*
|
|
16108
|
+
* @param {String} worktypeId Worktype id
|
|
16109
|
+
* @param {String} ruleId ruleId
|
|
16110
|
+
* @param {Object} body Rule
|
|
16111
|
+
*/},{key:"patchTaskmanagementWorktypeFlowsOncreateRule",value:function patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId,ruleId,body){// verify the required parameter 'worktypeId' is set
|
|
16112
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';}// verify the required parameter 'ruleId' is set
|
|
16113
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';}// verify the required parameter 'body' is set
|
|
16114
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}','PATCH',{'worktypeId':worktypeId,'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16001
16115
|
* Update the attributes of a status
|
|
16002
16116
|
*
|
|
16003
16117
|
* @param {String} worktypeId Worktype id
|
|
@@ -16055,6 +16169,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16055
16169
|
* @param {Object} body Schema
|
|
16056
16170
|
*/},{key:"postTaskmanagementWorkitemsSchemas",value:function postTaskmanagementWorkitemsSchemas(body){// verify the required parameter 'body' is set
|
|
16057
16171
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16172
|
+
* Add an attribute-change rule to a worktype
|
|
16173
|
+
*
|
|
16174
|
+
* @param {String} worktypeId Worktype id
|
|
16175
|
+
* @param {Object} body Rule
|
|
16176
|
+
*/},{key:"postTaskmanagementWorktypeFlowsOnattributechangeRules",value:function postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
16177
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';}// verify the required parameter 'body' is set
|
|
16178
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules','POST',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16179
|
+
* Add an on-create rule to a worktype
|
|
16180
|
+
*
|
|
16181
|
+
* @param {String} worktypeId Worktype id
|
|
16182
|
+
* @param {Object} body Rule
|
|
16183
|
+
*/},{key:"postTaskmanagementWorktypeFlowsOncreateRules",value:function postTaskmanagementWorktypeFlowsOncreateRules(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
16184
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';}// verify the required parameter 'body' is set
|
|
16185
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules','POST',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16058
16186
|
* Add a status to a worktype
|
|
16059
16187
|
*
|
|
16060
16188
|
* @param {String} worktypeId Worktype id
|
|
@@ -16081,7 +16209,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16081
16209
|
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']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
16082
16210
|
* Teams service.
|
|
16083
16211
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16084
|
-
* @version
|
|
16212
|
+
* @version 206.0.0
|
|
16085
16213
|
*//**
|
|
16086
16214
|
* Constructs a new TeamsApi.
|
|
16087
16215
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16159,7 +16287,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16159
16287
|
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']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
16160
16288
|
* Telephony service.
|
|
16161
16289
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16162
|
-
* @version
|
|
16290
|
+
* @version 206.0.0
|
|
16163
16291
|
*//**
|
|
16164
16292
|
* Constructs a new TelephonyApi.
|
|
16165
16293
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16206,7 +16334,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16206
16334
|
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']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
16207
16335
|
* TelephonyProvidersEdge service.
|
|
16208
16336
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16209
|
-
* @version
|
|
16337
|
+
* @version 206.0.0
|
|
16210
16338
|
*//**
|
|
16211
16339
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16212
16340
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17029,7 +17157,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17029
17157
|
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']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
17030
17158
|
* Textbots service.
|
|
17031
17159
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17032
|
-
* @version
|
|
17160
|
+
* @version 206.0.0
|
|
17033
17161
|
*//**
|
|
17034
17162
|
* Constructs a new TextbotsApi.
|
|
17035
17163
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17064,7 +17192,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17064
17192
|
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']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
17065
17193
|
* Tokens service.
|
|
17066
17194
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17067
|
-
* @version
|
|
17195
|
+
* @version 206.0.0
|
|
17068
17196
|
*//**
|
|
17069
17197
|
* Constructs a new TokensApi.
|
|
17070
17198
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17098,7 +17226,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17098
17226
|
*/},{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']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
17099
17227
|
* Uploads service.
|
|
17100
17228
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17101
|
-
* @version
|
|
17229
|
+
* @version 206.0.0
|
|
17102
17230
|
*//**
|
|
17103
17231
|
* Constructs a new UploadsApi.
|
|
17104
17232
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17164,7 +17292,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17164
17292
|
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']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
17165
17293
|
* Usage service.
|
|
17166
17294
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
17167
|
-
* @version
|
|
17295
|
+
* @version 206.0.0
|
|
17168
17296
|
*//**
|
|
17169
17297
|
* Constructs a new UsageApi.
|
|
17170
17298
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17218,7 +17346,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17218
17346
|
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']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
17219
17347
|
* UserRecordings service.
|
|
17220
17348
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17221
|
-
* @version
|
|
17349
|
+
* @version 206.0.0
|
|
17222
17350
|
*//**
|
|
17223
17351
|
* Constructs a new UserRecordingsApi.
|
|
17224
17352
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17275,7 +17403,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17275
17403
|
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']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
17276
17404
|
* Users service.
|
|
17277
17405
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17278
|
-
* @version
|
|
17406
|
+
* @version 206.0.0
|
|
17279
17407
|
*//**
|
|
17280
17408
|
* Constructs a new UsersApi.
|
|
17281
17409
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17965,7 +18093,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17965
18093
|
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']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
17966
18094
|
* Utilities service.
|
|
17967
18095
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17968
|
-
* @version
|
|
18096
|
+
* @version 206.0.0
|
|
17969
18097
|
*//**
|
|
17970
18098
|
* Constructs a new UtilitiesApi.
|
|
17971
18099
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17992,7 +18120,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17992
18120
|
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']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
17993
18121
|
* Voicemail service.
|
|
17994
18122
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17995
|
-
* @version
|
|
18123
|
+
* @version 206.0.0
|
|
17996
18124
|
*//**
|
|
17997
18125
|
* Constructs a new VoicemailApi.
|
|
17998
18126
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -18141,7 +18269,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18141
18269
|
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']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
18142
18270
|
* WebChat service.
|
|
18143
18271
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
18144
|
-
* @version
|
|
18272
|
+
* @version 206.0.0
|
|
18145
18273
|
*//**
|
|
18146
18274
|
* Constructs a new WebChatApi.
|
|
18147
18275
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18276,7 +18404,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18276
18404
|
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']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
18277
18405
|
* WebDeployments service.
|
|
18278
18406
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18279
|
-
* @version
|
|
18407
|
+
* @version 206.0.0
|
|
18280
18408
|
*//**
|
|
18281
18409
|
* Constructs a new WebDeploymentsApi.
|
|
18282
18410
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18327,7 +18455,7 @@ if(configurationId===undefined||configurationId===null){throw'Missing the requir
|
|
|
18327
18455
|
* View configuration drafts
|
|
18328
18456
|
*
|
|
18329
18457
|
* @param {Object} opts Optional parameters
|
|
18330
|
-
* @param {Boolean} opts.showOnlyPublished
|
|
18458
|
+
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
18331
18459
|
*/},{key:"getWebdeploymentsConfigurations",value:function getWebdeploymentsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/configurations','GET',{},{'showOnlyPublished':opts['showOnlyPublished']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18332
18460
|
* Get a deployment
|
|
18333
18461
|
*
|
|
@@ -18397,7 +18525,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18397
18525
|
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']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
18398
18526
|
* WebMessaging service.
|
|
18399
18527
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18400
|
-
* @version
|
|
18528
|
+
* @version 206.0.0
|
|
18401
18529
|
*//**
|
|
18402
18530
|
* Constructs a new WebMessagingApi.
|
|
18403
18531
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18413,7 +18541,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18413
18541
|
*/return _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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
18414
18542
|
* Widgets service.
|
|
18415
18543
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18416
|
-
* @version
|
|
18544
|
+
* @version 206.0.0
|
|
18417
18545
|
*//**
|
|
18418
18546
|
* Constructs a new WidgetsApi.
|
|
18419
18547
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -18448,7 +18576,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18448
18576
|
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']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
18449
18577
|
* WorkforceManagement service.
|
|
18450
18578
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
18451
|
-
* @version
|
|
18579
|
+
* @version 206.0.0
|
|
18452
18580
|
*//**
|
|
18453
18581
|
* Constructs a new WorkforceManagementApi.
|
|
18454
18582
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19422,6 +19550,13 @@ if(managementUnitId===undefined||managementUnitId===null){throw'Missing the requ
|
|
|
19422
19550
|
* @param {Object} opts.body body
|
|
19423
19551
|
*/},{key:"patchWorkforcemanagementManagementunitAgents",value:function patchWorkforcemanagementManagementunitAgents(managementUnitId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
19424
19552
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents','PATCH',{'managementUnitId':managementUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19553
|
+
* Updates agent work plan configuration
|
|
19554
|
+
*
|
|
19555
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19556
|
+
* @param {Object} opts Optional parameters
|
|
19557
|
+
* @param {Object} opts.body body
|
|
19558
|
+
*/},{key:"patchWorkforcemanagementManagementunitAgentsWorkplansBulk",value:function patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
19559
|
+
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk','PATCH',{'managementUnitId':managementUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19425
19560
|
* Updates a time off limit object.
|
|
19426
19561
|
* Updates time off limit object properties, but not daily values.
|
|
19427
19562
|
* @param {String} managementUnitId The ID of the management unit.
|
|
@@ -19906,6 +20041,14 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
19906
20041
|
* @param {String} hrisIntegrationId The ID of the HRIS integration for which time off types are queried.
|
|
19907
20042
|
*/},{key:"postWorkforcemanagementIntegrationsHriTimeofftypesJobs",value:function postWorkforcemanagementIntegrationsHriTimeofftypesJobs(hrisIntegrationId){// verify the required parameter 'hrisIntegrationId' is set
|
|
19908
20043
|
if(hrisIntegrationId===undefined||hrisIntegrationId===null){throw'Missing the required parameter "hrisIntegrationId" when calling postWorkforcemanagementIntegrationsHriTimeofftypesJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/integrations/hris/{hrisIntegrationId}/timeofftypes/jobs','POST',{'hrisIntegrationId':hrisIntegrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20044
|
+
* Get agents work plans configuration
|
|
20045
|
+
*
|
|
20046
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20047
|
+
* @param {Object} opts Optional parameters
|
|
20048
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
20049
|
+
* @param {Object} opts.body body
|
|
20050
|
+
*/},{key:"postWorkforcemanagementManagementunitAgentsWorkplansQuery",value:function postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
20051
|
+
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query','POST',{'managementUnitId':managementUnitId},{'forceDownloadService':opts['forceDownloadService']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19909
20052
|
* Query published schedules for given given time range for set of users
|
|
19910
20053
|
*
|
|
19911
20054
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -20214,7 +20357,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20214
20357
|
* </pre>
|
|
20215
20358
|
* </p>
|
|
20216
20359
|
* @module purecloud-platform-client-v2/index
|
|
20217
|
-
* @version
|
|
20360
|
+
* @version 206.0.0
|
|
20218
20361
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20219
20362
|
* The ApiClient constructor.
|
|
20220
20363
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|