purecloud-platform-client-v2 199.0.0 → 200.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +381 -82
- package/dist/web-amd/purecloud-platform-client-v2.js +381 -82
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +144 -81
- package/dist/web-cjs/purecloud-platform-client-v2.js +144 -81
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +278 -223
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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 +3 -2
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +10 -3
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +146 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -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 +146 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -855,7 +855,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
855
855
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
856
856
|
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];}}}]);}();/**
|
|
857
857
|
* @module purecloud-platform-client-v2/ApiClient
|
|
858
|
-
* @version
|
|
858
|
+
* @version 200.0.0
|
|
859
859
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
860
860
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
861
861
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1167,7 +1167,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1167
1167
|
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 AgentUIApi=/*#__PURE__*/function(){/**
|
|
1168
1168
|
* AgentUI service.
|
|
1169
1169
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1170
|
-
* @version
|
|
1170
|
+
* @version 200.0.0
|
|
1171
1171
|
*/ /**
|
|
1172
1172
|
* Constructs a new AgentUIApi.
|
|
1173
1173
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1201,7 +1201,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1201
1201
|
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(){/**
|
|
1202
1202
|
* Alerting service.
|
|
1203
1203
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1204
|
-
* @version
|
|
1204
|
+
* @version 200.0.0
|
|
1205
1205
|
*/ /**
|
|
1206
1206
|
* Constructs a new AlertingApi.
|
|
1207
1207
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1358,7 +1358,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1358
1358
|
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(){/**
|
|
1359
1359
|
* Analytics service.
|
|
1360
1360
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1361
|
-
* @version
|
|
1361
|
+
* @version 200.0.0
|
|
1362
1362
|
*/ /**
|
|
1363
1363
|
* Constructs a new AnalyticsApi.
|
|
1364
1364
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1979,7 +1979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1979
1979
|
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(){/**
|
|
1980
1980
|
* Architect service.
|
|
1981
1981
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1982
|
-
* @version
|
|
1982
|
+
* @version 200.0.0
|
|
1983
1983
|
*/ /**
|
|
1984
1984
|
* Constructs a new ArchitectApi.
|
|
1985
1985
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3095,7 +3095,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3095
3095
|
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(){/**
|
|
3096
3096
|
* Audit service.
|
|
3097
3097
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3098
|
-
* @version
|
|
3098
|
+
* @version 200.0.0
|
|
3099
3099
|
*/ /**
|
|
3100
3100
|
* Constructs a new AuditApi.
|
|
3101
3101
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3121,8 +3121,9 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
3121
3121
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
3122
3122
|
* @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
|
|
3123
3123
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3124
|
+
* @param {Boolean} opts.allowRedirect Result sets with large amounts of data will respond with a download url
|
|
3124
3125
|
*/},{key:"getAuditsQueryTransactionIdResults",value:function getAuditsQueryTransactionIdResults(transactionId,opts){opts=opts||{};// verify the required parameter 'transactionId' is set
|
|
3125
|
-
if(transactionId===undefined||transactionId===null){throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';}return this.apiClient.callApi('/api/v2/audits/query/{transactionId}/results','GET',{'transactionId':transactionId},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3126
|
+
if(transactionId===undefined||transactionId===null){throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';}return this.apiClient.callApi('/api/v2/audits/query/{transactionId}/results','GET',{'transactionId':transactionId},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'allowRedirect':opts['allowRedirect']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3126
3127
|
* Create audit query execution
|
|
3127
3128
|
* Use /api/v2/audits/query/servicemapping endpoint for a list of valid values
|
|
3128
3129
|
* @param {Object} body query
|
|
@@ -3144,7 +3145,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3144
3145
|
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(){/**
|
|
3145
3146
|
* Authorization service.
|
|
3146
3147
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3147
|
-
* @version
|
|
3148
|
+
* @version 200.0.0
|
|
3148
3149
|
*/ /**
|
|
3149
3150
|
* Constructs a new AuthorizationApi.
|
|
3150
3151
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3459,7 +3460,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3459
3460
|
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(){/**
|
|
3460
3461
|
* Billing service.
|
|
3461
3462
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3462
|
-
* @version
|
|
3463
|
+
* @version 200.0.0
|
|
3463
3464
|
*/ /**
|
|
3464
3465
|
* Constructs a new BillingApi.
|
|
3465
3466
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3483,7 +3484,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3483
3484
|
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(){/**
|
|
3484
3485
|
* CarrierServices service.
|
|
3485
3486
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3486
|
-
* @version
|
|
3487
|
+
* @version 200.0.0
|
|
3487
3488
|
*/ /**
|
|
3488
3489
|
* Constructs a new CarrierServicesApi.
|
|
3489
3490
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3503,7 +3504,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3503
3504
|
*/},{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(){/**
|
|
3504
3505
|
* Chat service.
|
|
3505
3506
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3506
|
-
* @version
|
|
3507
|
+
* @version 200.0.0
|
|
3507
3508
|
*/ /**
|
|
3508
3509
|
* Constructs a new ChatApi.
|
|
3509
3510
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3728,7 +3729,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3728
3729
|
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(){/**
|
|
3729
3730
|
* Coaching service.
|
|
3730
3731
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3731
|
-
* @version
|
|
3732
|
+
* @version 200.0.0
|
|
3732
3733
|
*/ /**
|
|
3733
3734
|
* Constructs a new CoachingApi.
|
|
3734
3735
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3881,7 +3882,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3881
3882
|
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(){/**
|
|
3882
3883
|
* ContentManagement service.
|
|
3883
3884
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3884
|
-
* @version
|
|
3885
|
+
* @version 200.0.0
|
|
3885
3886
|
*/ /**
|
|
3886
3887
|
* Constructs a new ContentManagementApi.
|
|
3887
3888
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4164,7 +4165,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4164
4165
|
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(){/**
|
|
4165
4166
|
* Conversations service.
|
|
4166
4167
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4167
|
-
* @version
|
|
4168
|
+
* @version 200.0.0
|
|
4168
4169
|
*/ /**
|
|
4169
4170
|
* Constructs a new ConversationsApi.
|
|
4170
4171
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5886,7 +5887,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5886
5887
|
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(){/**
|
|
5887
5888
|
* DataExtensions service.
|
|
5888
5889
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5889
|
-
* @version
|
|
5890
|
+
* @version 200.0.0
|
|
5890
5891
|
*/ /**
|
|
5891
5892
|
* Constructs a new DataExtensionsApi.
|
|
5892
5893
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5907,7 +5908,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5907
5908
|
*/},{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(){/**
|
|
5908
5909
|
* Downloads service.
|
|
5909
5910
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5910
|
-
* @version
|
|
5911
|
+
* @version 200.0.0
|
|
5911
5912
|
*/ /**
|
|
5912
5913
|
* Constructs a new DownloadsApi.
|
|
5913
5914
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5926,7 +5927,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5926
5927
|
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(){/**
|
|
5927
5928
|
* Emails service.
|
|
5928
5929
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5929
|
-
* @version
|
|
5930
|
+
* @version 200.0.0
|
|
5930
5931
|
*/ /**
|
|
5931
5932
|
* Constructs a new EmailsApi.
|
|
5932
5933
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5944,7 +5945,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5944
5945
|
*/},{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(){/**
|
|
5945
5946
|
* EmployeeEngagement service.
|
|
5946
5947
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
5947
|
-
* @version
|
|
5948
|
+
* @version 200.0.0
|
|
5948
5949
|
*/ /**
|
|
5949
5950
|
* Constructs a new EmployeeEngagementApi.
|
|
5950
5951
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -5982,7 +5983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5982
5983
|
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(){/**
|
|
5983
5984
|
* Events service.
|
|
5984
5985
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5985
|
-
* @version
|
|
5986
|
+
* @version 200.0.0
|
|
5986
5987
|
*/ /**
|
|
5987
5988
|
* Constructs a new EventsApi.
|
|
5988
5989
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6007,7 +6008,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6007
6008
|
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(){/**
|
|
6008
6009
|
* ExternalContacts service.
|
|
6009
6010
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6010
|
-
* @version
|
|
6011
|
+
* @version 200.0.0
|
|
6011
6012
|
*/ /**
|
|
6012
6013
|
* Constructs a new ExternalContactsApi.
|
|
6013
6014
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6464,7 +6465,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6464
6465
|
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(){/**
|
|
6465
6466
|
* Fax service.
|
|
6466
6467
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6467
|
-
* @version
|
|
6468
|
+
* @version 200.0.0
|
|
6468
6469
|
*/ /**
|
|
6469
6470
|
* Constructs a new FaxApi.
|
|
6470
6471
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6513,7 +6514,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6513
6514
|
*/},{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(){/**
|
|
6514
6515
|
* Flows service.
|
|
6515
6516
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6516
|
-
* @version
|
|
6517
|
+
* @version 200.0.0
|
|
6517
6518
|
*/ /**
|
|
6518
6519
|
* Constructs a new FlowsApi.
|
|
6519
6520
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6561,7 +6562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6561
6562
|
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(){/**
|
|
6562
6563
|
* Gamification service.
|
|
6563
6564
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6564
|
-
* @version
|
|
6565
|
+
* @version 200.0.0
|
|
6565
6566
|
*/ /**
|
|
6566
6567
|
* Constructs a new GamificationApi.
|
|
6567
6568
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7101,7 +7102,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7101
7102
|
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(){/**
|
|
7102
7103
|
* GeneralDataProtectionRegulation service.
|
|
7103
7104
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7104
|
-
* @version
|
|
7105
|
+
* @version 200.0.0
|
|
7105
7106
|
*/ /**
|
|
7106
7107
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7107
7108
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7136,7 +7137,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7136
7137
|
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(){/**
|
|
7137
7138
|
* Geolocation service.
|
|
7138
7139
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7139
|
-
* @version
|
|
7140
|
+
* @version 200.0.0
|
|
7140
7141
|
*/ /**
|
|
7141
7142
|
* Constructs a new GeolocationApi.
|
|
7142
7143
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7170,7 +7171,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7170
7171
|
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(){/**
|
|
7171
7172
|
* Greetings service.
|
|
7172
7173
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7173
|
-
* @version
|
|
7174
|
+
* @version 200.0.0
|
|
7174
7175
|
*/ /**
|
|
7175
7176
|
* Constructs a new GreetingsApi.
|
|
7176
7177
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7277,7 +7278,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7277
7278
|
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(){/**
|
|
7278
7279
|
* Groups service.
|
|
7279
7280
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7280
|
-
* @version
|
|
7281
|
+
* @version 200.0.0
|
|
7281
7282
|
*/ /**
|
|
7282
7283
|
* Constructs a new GroupsApi.
|
|
7283
7284
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7410,7 +7411,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7410
7411
|
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(){/**
|
|
7411
7412
|
* IdentityProvider service.
|
|
7412
7413
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7413
|
-
* @version
|
|
7414
|
+
* @version 200.0.0
|
|
7414
7415
|
*/ /**
|
|
7415
7416
|
* Constructs a new IdentityProviderApi.
|
|
7416
7417
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7566,7 +7567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7566
7567
|
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(){/**
|
|
7567
7568
|
* InfrastructureAsCode service.
|
|
7568
7569
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7569
|
-
* @version
|
|
7570
|
+
* @version 200.0.0
|
|
7570
7571
|
*/ /**
|
|
7571
7572
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7572
7573
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7620,7 +7621,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7620
7621
|
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(){/**
|
|
7621
7622
|
* Integrations service.
|
|
7622
7623
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7623
|
-
* @version
|
|
7624
|
+
* @version 200.0.0
|
|
7624
7625
|
*/ /**
|
|
7625
7626
|
* Constructs a new IntegrationsApi.
|
|
7626
7627
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8231,7 +8232,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8231
8232
|
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(){/**
|
|
8232
8233
|
* Journey service.
|
|
8233
8234
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8234
|
-
* @version
|
|
8235
|
+
* @version 200.0.0
|
|
8235
8236
|
*/ /**
|
|
8236
8237
|
* Constructs a new JourneyApi.
|
|
8237
8238
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8476,8 +8477,13 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
8476
8477
|
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8477
8478
|
* Get a list of Journey Views
|
|
8478
8479
|
*
|
|
8480
|
+
* @param {Object} opts Optional parameters
|
|
8481
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
8482
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
8483
|
+
* @param {String} opts.nameOrCreatedBy Journey View Name or Created By
|
|
8484
|
+
* @param {Object} opts.expand Parameter to request additional data to return in Journey payload
|
|
8479
8485
|
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8480
|
-
*/},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8486
|
+
*/},{key:"getJourneyViews",value:function getJourneyViews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'nameOrCreatedBy':opts['nameOrCreatedBy'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8481
8487
|
* Get an Event Definition
|
|
8482
8488
|
*
|
|
8483
8489
|
* @param {String} eventDefinitionId Event Definition ID
|
|
@@ -8635,7 +8641,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8635
8641
|
*/},{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']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8636
8642
|
* Knowledge service.
|
|
8637
8643
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8638
|
-
* @version
|
|
8644
|
+
* @version 200.0.0
|
|
8639
8645
|
*/ /**
|
|
8640
8646
|
* Constructs a new KnowledgeApi.
|
|
8641
8647
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9548,7 +9554,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9548
9554
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9549
9555
|
* LanguageUnderstanding service.
|
|
9550
9556
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9551
|
-
* @version
|
|
9557
|
+
* @version 200.0.0
|
|
9552
9558
|
*/ /**
|
|
9553
9559
|
* Constructs a new LanguageUnderstandingApi.
|
|
9554
9560
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9808,7 +9814,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9808
9814
|
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(){/**
|
|
9809
9815
|
* Languages service.
|
|
9810
9816
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9811
|
-
* @version
|
|
9817
|
+
* @version 200.0.0
|
|
9812
9818
|
*/ /**
|
|
9813
9819
|
* Constructs a new LanguagesApi.
|
|
9814
9820
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9863,7 +9869,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9863
9869
|
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(){/**
|
|
9864
9870
|
* Learning service.
|
|
9865
9871
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9866
|
-
* @version
|
|
9872
|
+
* @version 200.0.0
|
|
9867
9873
|
*/ /**
|
|
9868
9874
|
* Constructs a new LearningApi.
|
|
9869
9875
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10134,7 +10140,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10134
10140
|
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(){/**
|
|
10135
10141
|
* License service.
|
|
10136
10142
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10137
|
-
* @version
|
|
10143
|
+
* @version 200.0.0
|
|
10138
10144
|
*/ /**
|
|
10139
10145
|
* Constructs a new LicenseApi.
|
|
10140
10146
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10188,7 +10194,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10188
10194
|
*/},{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(){/**
|
|
10189
10195
|
* Locations service.
|
|
10190
10196
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10191
|
-
* @version
|
|
10197
|
+
* @version 200.0.0
|
|
10192
10198
|
*/ /**
|
|
10193
10199
|
* Constructs a new LocationsApi.
|
|
10194
10200
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10247,7 +10253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10247
10253
|
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(){/**
|
|
10248
10254
|
* LogCapture service.
|
|
10249
10255
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10250
|
-
* @version
|
|
10256
|
+
* @version 200.0.0
|
|
10251
10257
|
*/ /**
|
|
10252
10258
|
* Constructs a new LogCaptureApi.
|
|
10253
10259
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10297,7 +10303,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10297
10303
|
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(){/**
|
|
10298
10304
|
* Messaging service.
|
|
10299
10305
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10300
|
-
* @version
|
|
10306
|
+
* @version 200.0.0
|
|
10301
10307
|
*/ /**
|
|
10302
10308
|
* Constructs a new MessagingApi.
|
|
10303
10309
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10387,7 +10393,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10387
10393
|
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(){/**
|
|
10388
10394
|
* MobileDevices service.
|
|
10389
10395
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10390
|
-
* @version
|
|
10396
|
+
* @version 200.0.0
|
|
10391
10397
|
*/ /**
|
|
10392
10398
|
* Constructs a new MobileDevicesApi.
|
|
10393
10399
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10426,7 +10432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10426
10432
|
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(){/**
|
|
10427
10433
|
* Notifications service.
|
|
10428
10434
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10429
|
-
* @version
|
|
10435
|
+
* @version 200.0.0
|
|
10430
10436
|
*/ /**
|
|
10431
10437
|
* Constructs a new NotificationsApi.
|
|
10432
10438
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10483,7 +10489,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10483
10489
|
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(){/**
|
|
10484
10490
|
* OAuth service.
|
|
10485
10491
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10486
|
-
* @version
|
|
10492
|
+
* @version 200.0.0
|
|
10487
10493
|
*/ /**
|
|
10488
10494
|
* Constructs a new OAuthApi.
|
|
10489
10495
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10568,7 +10574,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10568
10574
|
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(){/**
|
|
10569
10575
|
* Objects service.
|
|
10570
10576
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10571
|
-
* @version
|
|
10577
|
+
* @version 200.0.0
|
|
10572
10578
|
*/ /**
|
|
10573
10579
|
* Constructs a new ObjectsApi.
|
|
10574
10580
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10639,7 +10645,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10639
10645
|
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(){/**
|
|
10640
10646
|
* OperationalEvents service.
|
|
10641
10647
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10642
|
-
* @version
|
|
10648
|
+
* @version 200.0.0
|
|
10643
10649
|
*/ /**
|
|
10644
10650
|
* Constructs a new OperationalEventsApi.
|
|
10645
10651
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10657,7 +10663,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10657
10663
|
*/},{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(){/**
|
|
10658
10664
|
* Organization service.
|
|
10659
10665
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10660
|
-
* @version
|
|
10666
|
+
* @version 200.0.0
|
|
10661
10667
|
*/ /**
|
|
10662
10668
|
* Constructs a new OrganizationApi.
|
|
10663
10669
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10762,7 +10768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10762
10768
|
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(){/**
|
|
10763
10769
|
* OrganizationAuthorization service.
|
|
10764
10770
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10765
|
-
* @version
|
|
10771
|
+
* @version 200.0.0
|
|
10766
10772
|
*/ /**
|
|
10767
10773
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10768
10774
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11085,7 +11091,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11085
11091
|
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(){/**
|
|
11086
11092
|
* Outbound service.
|
|
11087
11093
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11088
|
-
* @version
|
|
11094
|
+
* @version 200.0.0
|
|
11089
11095
|
*/ /**
|
|
11090
11096
|
* Constructs a new OutboundApi.
|
|
11091
11097
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12152,7 +12158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12152
12158
|
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(){/**
|
|
12153
12159
|
* Presence service.
|
|
12154
12160
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12155
|
-
* @version
|
|
12161
|
+
* @version 200.0.0
|
|
12156
12162
|
*/ /**
|
|
12157
12163
|
* Constructs a new PresenceApi.
|
|
12158
12164
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12325,7 +12331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12325
12331
|
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(){/**
|
|
12326
12332
|
* ProcessAutomation service.
|
|
12327
12333
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12328
|
-
* @version
|
|
12334
|
+
* @version 200.0.0
|
|
12329
12335
|
*/ /**
|
|
12330
12336
|
* Constructs a new ProcessAutomationApi.
|
|
12331
12337
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12388,7 +12394,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12388
12394
|
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(){/**
|
|
12389
12395
|
* Quality service.
|
|
12390
12396
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12391
|
-
* @version
|
|
12397
|
+
* @version 200.0.0
|
|
12392
12398
|
*/ /**
|
|
12393
12399
|
* Constructs a new QualityApi.
|
|
12394
12400
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12865,7 +12871,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12865
12871
|
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(){/**
|
|
12866
12872
|
* Recording service.
|
|
12867
12873
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12868
|
-
* @version
|
|
12874
|
+
* @version 200.0.0
|
|
12869
12875
|
*/ /**
|
|
12870
12876
|
* Constructs a new RecordingApi.
|
|
12871
12877
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13128,10 +13134,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13128
13134
|
if(policyId===undefined||policyId===null){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
|
|
13129
13135
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRecordingMediaretentionpolicy';}return this.apiClient.callApi('/api/v2/recording/mediaretentionpolicies/{policyId}','PATCH',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13130
13136
|
* Update a screen recording session
|
|
13131
|
-
*
|
|
13137
|
+
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
13132
13138
|
* @param {String} recordingSessionId Screen recording session ID
|
|
13133
13139
|
* @param {Object} opts Optional parameters
|
|
13134
13140
|
* @param {Object} opts.body
|
|
13141
|
+
* @deprecated
|
|
13135
13142
|
*/},{key:"patchRecordingsScreensession",value:function patchRecordingsScreensession(recordingSessionId,opts){opts=opts||{};// verify the required parameter 'recordingSessionId' is set
|
|
13136
13143
|
if(recordingSessionId===undefined||recordingSessionId===null){throw'Missing the required parameter "recordingSessionId" when calling patchRecordingsScreensession';}return this.apiClient.callApi('/api/v2/recordings/screensessions/{recordingSessionId}','PATCH',{'recordingSessionId':recordingSessionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13137
13144
|
* Create annotation
|
|
@@ -13276,7 +13283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13276
13283
|
*/},{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(){/**
|
|
13277
13284
|
* ResponseManagement service.
|
|
13278
13285
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13279
|
-
* @version
|
|
13286
|
+
* @version 200.0.0
|
|
13280
13287
|
*/ /**
|
|
13281
13288
|
* Constructs a new ResponseManagementApi.
|
|
13282
13289
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13397,7 +13404,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13397
13404
|
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(){/**
|
|
13398
13405
|
* Routing service.
|
|
13399
13406
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13400
|
-
* @version
|
|
13407
|
+
* @version 200.0.0
|
|
13401
13408
|
*/ /**
|
|
13402
13409
|
* Constructs a new RoutingApi.
|
|
13403
13410
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13410,6 +13417,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13410
13417
|
* @param {String} assessmentId Benefit Assessment ID
|
|
13411
13418
|
*/return _createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
|
|
13412
13419
|
if(assessmentId===undefined||assessmentId===null){throw'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';}return this.apiClient.callApi('/api/v2/routing/assessments/{assessmentId}','DELETE',{'assessmentId':assessmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13420
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
13421
|
+
*
|
|
13422
|
+
*/},{key:"deleteRoutingDirectroutingbackupSettingsMe",value:function deleteRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13413
13423
|
* Delete a domain
|
|
13414
13424
|
*
|
|
13415
13425
|
* @param {String} domainId domain ID
|
|
@@ -13489,6 +13499,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
13489
13499
|
* @param {String} addressId Address ID
|
|
13490
13500
|
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
13491
13501
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{addressId}','DELETE',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13502
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
13503
|
+
*
|
|
13504
|
+
* @param {String} userId User ID
|
|
13505
|
+
*/},{key:"deleteRoutingUserDirectroutingbackupSettings",value:function deleteRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
13506
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13492
13507
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
13493
13508
|
*
|
|
13494
13509
|
* @param {String} userId User ID
|
|
@@ -13558,6 +13573,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13558
13573
|
* Get available media types
|
|
13559
13574
|
*
|
|
13560
13575
|
*/},{key:"getRoutingAvailablemediatypes",value:function getRoutingAvailablemediatypes(){return this.apiClient.callApi('/api/v2/routing/availablemediatypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13576
|
+
* Get the user's Direct Routing Backup settings.
|
|
13577
|
+
*
|
|
13578
|
+
*/},{key:"getRoutingDirectroutingbackupSettingsMe",value:function getRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13561
13579
|
* Get domain
|
|
13562
13580
|
*
|
|
13563
13581
|
* @param {String} domainId domain ID
|
|
@@ -13881,6 +13899,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
13881
13899
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
13882
13900
|
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
13883
13901
|
*/},{key:"getRoutingSmsPhonenumbers",value:function getRoutingSmsPhonenumbers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','GET',{},{'phoneNumber':opts['phoneNumber'],'phoneNumberType':this.apiClient.buildCollectionParam(opts['phoneNumberType'],'multi'),'phoneNumberStatus':this.apiClient.buildCollectionParam(opts['phoneNumberStatus'],'multi'),'countryCode':this.apiClient.buildCollectionParam(opts['countryCode'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'language':opts['language'],'integration.id':opts['integrationId'],'supportedContent.id':opts['supportedContentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13902
|
+
* Get the user's Direct Routing Backup settings.
|
|
13903
|
+
*
|
|
13904
|
+
* @param {String} userId User ID
|
|
13905
|
+
*/},{key:"getRoutingUserDirectroutingbackupSettings",value:function getRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
13906
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13884
13907
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
13885
13908
|
*
|
|
13886
13909
|
* @param {String} userId User ID
|
|
@@ -14277,6 +14300,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14277
14300
|
*/},{key:"postUserRoutingskills",value:function postUserRoutingskills(userId,body){// verify the required parameter 'userId' is set
|
|
14278
14301
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutingskills';}// verify the required parameter 'body' is set
|
|
14279
14302
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutingskills';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14303
|
+
* Update the user's Direct Routing Backup settings.
|
|
14304
|
+
*
|
|
14305
|
+
* @param {Object} body directRoutingBackup
|
|
14306
|
+
*/},{key:"putRoutingDirectroutingbackupSettingsMe",value:function putRoutingDirectroutingbackupSettingsMe(body){// verify the required parameter 'body' is set
|
|
14307
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';}return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14280
14308
|
* Update a route
|
|
14281
14309
|
*
|
|
14282
14310
|
* @param {String} domainName email domain
|
|
@@ -14322,6 +14350,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14322
14350
|
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
|
|
14323
14351
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
14324
14352
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{addressId}','PUT',{'addressId':addressId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14353
|
+
* Update the user's Direct Routing Backup settings.
|
|
14354
|
+
*
|
|
14355
|
+
* @param {String} userId User ID
|
|
14356
|
+
* @param {Object} body directRoutingBackup
|
|
14357
|
+
*/},{key:"putRoutingUserDirectroutingbackupSettings",value:function putRoutingUserDirectroutingbackupSettings(userId,body){// verify the required parameter 'userId' is set
|
|
14358
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';}// verify the required parameter 'body' is set
|
|
14359
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14325
14360
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
14326
14361
|
*
|
|
14327
14362
|
* @param {String} userId User ID
|
|
@@ -14366,7 +14401,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14366
14401
|
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(){/**
|
|
14367
14402
|
* SCIM service.
|
|
14368
14403
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14369
|
-
* @version
|
|
14404
|
+
* @version 200.0.0
|
|
14370
14405
|
*/ /**
|
|
14371
14406
|
* Constructs a new SCIMApi.
|
|
14372
14407
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14591,7 +14626,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14591
14626
|
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(){/**
|
|
14592
14627
|
* ScreenRecording service.
|
|
14593
14628
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14594
|
-
* @version
|
|
14629
|
+
* @version 200.0.0
|
|
14595
14630
|
*/ /**
|
|
14596
14631
|
* Constructs a new ScreenRecordingApi.
|
|
14597
14632
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14606,7 +14641,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14606
14641
|
*/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(){/**
|
|
14607
14642
|
* Scripts service.
|
|
14608
14643
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14609
|
-
* @version
|
|
14644
|
+
* @version 200.0.0
|
|
14610
14645
|
*/ /**
|
|
14611
14646
|
* Constructs a new ScriptsApi.
|
|
14612
14647
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14742,7 +14777,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14742
14777
|
*/},{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(){/**
|
|
14743
14778
|
* Search service.
|
|
14744
14779
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14745
|
-
* @version
|
|
14780
|
+
* @version 200.0.0
|
|
14746
14781
|
*/ /**
|
|
14747
14782
|
* Constructs a new SearchApi.
|
|
14748
14783
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14902,7 +14937,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14902
14937
|
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(){/**
|
|
14903
14938
|
* Settings service.
|
|
14904
14939
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14905
|
-
* @version
|
|
14940
|
+
* @version 200.0.0
|
|
14906
14941
|
*/ /**
|
|
14907
14942
|
* Constructs a new SettingsApi.
|
|
14908
14943
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14954,7 +14989,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
14954
14989
|
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(){/**
|
|
14955
14990
|
* SpeechTextAnalytics service.
|
|
14956
14991
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14957
|
-
* @version
|
|
14992
|
+
* @version 200.0.0
|
|
14958
14993
|
*/ /**
|
|
14959
14994
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14960
14995
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15238,7 +15273,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15238
15273
|
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(){/**
|
|
15239
15274
|
* Stations service.
|
|
15240
15275
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15241
|
-
* @version
|
|
15276
|
+
* @version 200.0.0
|
|
15242
15277
|
*/ /**
|
|
15243
15278
|
* Constructs a new StationsApi.
|
|
15244
15279
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15270,7 +15305,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15270
15305
|
*/},{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(){/**
|
|
15271
15306
|
* Suggest service.
|
|
15272
15307
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15273
|
-
* @version
|
|
15308
|
+
* @version 200.0.0
|
|
15274
15309
|
*/ /**
|
|
15275
15310
|
* Constructs a new SuggestApi.
|
|
15276
15311
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15310,7 +15345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15310
15345
|
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(){/**
|
|
15311
15346
|
* TaskManagement service.
|
|
15312
15347
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15313
|
-
* @version
|
|
15348
|
+
* @version 200.0.0
|
|
15314
15349
|
*/ /**
|
|
15315
15350
|
* Constructs a new TaskManagementApi.
|
|
15316
15351
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15640,7 +15675,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15640
15675
|
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(){/**
|
|
15641
15676
|
* Teams service.
|
|
15642
15677
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15643
|
-
* @version
|
|
15678
|
+
* @version 200.0.0
|
|
15644
15679
|
*/ /**
|
|
15645
15680
|
* Constructs a new TeamsApi.
|
|
15646
15681
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15718,7 +15753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15718
15753
|
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(){/**
|
|
15719
15754
|
* Telephony service.
|
|
15720
15755
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15721
|
-
* @version
|
|
15756
|
+
* @version 200.0.0
|
|
15722
15757
|
*/ /**
|
|
15723
15758
|
* Constructs a new TelephonyApi.
|
|
15724
15759
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15765,7 +15800,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15765
15800
|
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(){/**
|
|
15766
15801
|
* TelephonyProvidersEdge service.
|
|
15767
15802
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15768
|
-
* @version
|
|
15803
|
+
* @version 200.0.0
|
|
15769
15804
|
*/ /**
|
|
15770
15805
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15771
15806
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16575,7 +16610,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16575
16610
|
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(){/**
|
|
16576
16611
|
* Textbots service.
|
|
16577
16612
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16578
|
-
* @version
|
|
16613
|
+
* @version 200.0.0
|
|
16579
16614
|
*/ /**
|
|
16580
16615
|
* Constructs a new TextbotsApi.
|
|
16581
16616
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16610,7 +16645,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16610
16645
|
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(){/**
|
|
16611
16646
|
* Tokens service.
|
|
16612
16647
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16613
|
-
* @version
|
|
16648
|
+
* @version 200.0.0
|
|
16614
16649
|
*/ /**
|
|
16615
16650
|
* Constructs a new TokensApi.
|
|
16616
16651
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16644,7 +16679,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16644
16679
|
*/},{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(){/**
|
|
16645
16680
|
* Uploads service.
|
|
16646
16681
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16647
|
-
* @version
|
|
16682
|
+
* @version 200.0.0
|
|
16648
16683
|
*/ /**
|
|
16649
16684
|
* Constructs a new UploadsApi.
|
|
16650
16685
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16710,7 +16745,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16710
16745
|
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(){/**
|
|
16711
16746
|
* Usage service.
|
|
16712
16747
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16713
|
-
* @version
|
|
16748
|
+
* @version 200.0.0
|
|
16714
16749
|
*/ /**
|
|
16715
16750
|
* Constructs a new UsageApi.
|
|
16716
16751
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16764,7 +16799,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16764
16799
|
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(){/**
|
|
16765
16800
|
* UserRecordings service.
|
|
16766
16801
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16767
|
-
* @version
|
|
16802
|
+
* @version 200.0.0
|
|
16768
16803
|
*/ /**
|
|
16769
16804
|
* Constructs a new UserRecordingsApi.
|
|
16770
16805
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16813,7 +16848,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16813
16848
|
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(){/**
|
|
16814
16849
|
* Users service.
|
|
16815
16850
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16816
|
-
* @version
|
|
16851
|
+
* @version 200.0.0
|
|
16817
16852
|
*/ /**
|
|
16818
16853
|
* Constructs a new UsersApi.
|
|
16819
16854
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16835,6 +16870,14 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
16835
16870
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'divisionId' is set
|
|
16836
16871
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'roleId' is set
|
|
16837
16872
|
if(roleId===undefined||roleId===null){throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';}return this.apiClient.callApi('/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}','DELETE',{'subjectId':subjectId,'divisionId':divisionId,'roleId':roleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16873
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
16874
|
+
*
|
|
16875
|
+
*/},{key:"deleteRoutingDirectroutingbackupSettingsMe",value:function deleteRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16876
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
16877
|
+
*
|
|
16878
|
+
* @param {String} userId User ID
|
|
16879
|
+
*/},{key:"deleteRoutingUserDirectroutingbackupSettings",value:function deleteRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
16880
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16838
16881
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
16839
16882
|
*
|
|
16840
16883
|
* @param {String} userId User ID
|
|
@@ -16963,6 +17006,14 @@ if(type===undefined||type===null){throw'Missing the required parameter "type" wh
|
|
|
16963
17006
|
* @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand.
|
|
16964
17007
|
* @deprecated
|
|
16965
17008
|
*/},{key:"getProfilesUsers",value:function getProfilesUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/profiles/users','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'jid':this.apiClient.buildCollectionParam(opts['jid'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17009
|
+
* Get the user's Direct Routing Backup settings.
|
|
17010
|
+
*
|
|
17011
|
+
*/},{key:"getRoutingDirectroutingbackupSettingsMe",value:function getRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17012
|
+
* Get the user's Direct Routing Backup settings.
|
|
17013
|
+
*
|
|
17014
|
+
* @param {String} userId User ID
|
|
17015
|
+
*/},{key:"getRoutingUserDirectroutingbackupSettings",value:function getRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
17016
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16966
17017
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
16967
17018
|
*
|
|
16968
17019
|
* @param {String} userId User ID
|
|
@@ -17385,6 +17436,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17385
17436
|
* @param {Object} body Search request options
|
|
17386
17437
|
*/},{key:"postUsersSearchTeamsAssign",value:function postUsersSearchTeamsAssign(body){// verify the required parameter 'body' is set
|
|
17387
17438
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';}return this.apiClient.callApi('/api/v2/users/search/teams/assign','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17439
|
+
* Update the user's Direct Routing Backup settings.
|
|
17440
|
+
*
|
|
17441
|
+
* @param {Object} body directRoutingBackup
|
|
17442
|
+
*/},{key:"putRoutingDirectroutingbackupSettingsMe",value:function putRoutingDirectroutingbackupSettingsMe(body){// verify the required parameter 'body' is set
|
|
17443
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';}return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17444
|
+
* Update the user's Direct Routing Backup settings.
|
|
17445
|
+
*
|
|
17446
|
+
* @param {String} userId User ID
|
|
17447
|
+
* @param {Object} body directRoutingBackup
|
|
17448
|
+
*/},{key:"putRoutingUserDirectroutingbackupSettings",value:function putRoutingUserDirectroutingbackupSettings(userId,body){// verify the required parameter 'userId' is set
|
|
17449
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';}// verify the required parameter 'body' is set
|
|
17450
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17388
17451
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
17389
17452
|
*
|
|
17390
17453
|
* @param {String} userId User ID
|
|
@@ -17475,7 +17538,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17475
17538
|
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(){/**
|
|
17476
17539
|
* Utilities service.
|
|
17477
17540
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17478
|
-
* @version
|
|
17541
|
+
* @version 200.0.0
|
|
17479
17542
|
*/ /**
|
|
17480
17543
|
* Constructs a new UtilitiesApi.
|
|
17481
17544
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17502,7 +17565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17502
17565
|
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(){/**
|
|
17503
17566
|
* Voicemail service.
|
|
17504
17567
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17505
|
-
* @version
|
|
17568
|
+
* @version 200.0.0
|
|
17506
17569
|
*/ /**
|
|
17507
17570
|
* Constructs a new VoicemailApi.
|
|
17508
17571
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17651,7 +17714,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17651
17714
|
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(){/**
|
|
17652
17715
|
* WebChat service.
|
|
17653
17716
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17654
|
-
* @version
|
|
17717
|
+
* @version 200.0.0
|
|
17655
17718
|
*/ /**
|
|
17656
17719
|
* Constructs a new WebChatApi.
|
|
17657
17720
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17786,7 +17849,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17786
17849
|
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(){/**
|
|
17787
17850
|
* WebDeployments service.
|
|
17788
17851
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17789
|
-
* @version
|
|
17852
|
+
* @version 200.0.0
|
|
17790
17853
|
*/ /**
|
|
17791
17854
|
* Constructs a new WebDeploymentsApi.
|
|
17792
17855
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17907,7 +17970,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17907
17970
|
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(){/**
|
|
17908
17971
|
* WebMessaging service.
|
|
17909
17972
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17910
|
-
* @version
|
|
17973
|
+
* @version 200.0.0
|
|
17911
17974
|
*/ /**
|
|
17912
17975
|
* Constructs a new WebMessagingApi.
|
|
17913
17976
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17923,7 +17986,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17923
17986
|
*/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(){/**
|
|
17924
17987
|
* Widgets service.
|
|
17925
17988
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17926
|
-
* @version
|
|
17989
|
+
* @version 200.0.0
|
|
17927
17990
|
*/ /**
|
|
17928
17991
|
* Constructs a new WidgetsApi.
|
|
17929
17992
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17958,7 +18021,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17958
18021
|
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(){/**
|
|
17959
18022
|
* WorkforceManagement service.
|
|
17960
18023
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17961
|
-
* @version
|
|
18024
|
+
* @version 200.0.0
|
|
17962
18025
|
*/ /**
|
|
17963
18026
|
* Constructs a new WorkforceManagementApi.
|
|
17964
18027
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19490,7 +19553,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19490
19553
|
* </pre>
|
|
19491
19554
|
* </p>
|
|
19492
19555
|
* @module purecloud-platform-client-v2/index
|
|
19493
|
-
* @version
|
|
19556
|
+
* @version 200.0.0
|
|
19494
19557
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19495
19558
|
* The ApiClient constructor.
|
|
19496
19559
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|