purecloud-platform-client-v2 198.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 +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.js +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +82 -23
- 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 -3
- 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 +8 -8
- 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
|
|
@@ -5214,7 +5215,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5214
5215
|
* Barge a conversation creating a barged in conference of connected participants.
|
|
5215
5216
|
*
|
|
5216
5217
|
* @param {String} conversationId conversation ID
|
|
5217
|
-
* postConversationBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5218
5218
|
*/},{key:"postConversationBarge",value:function postConversationBarge(conversationId){// verify the required parameter 'conversationId' is set
|
|
5219
5219
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationBarge';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/barge','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5220
5220
|
* Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
|
|
@@ -5326,7 +5326,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5326
5326
|
*
|
|
5327
5327
|
* @param {String} conversationId conversationId
|
|
5328
5328
|
* @param {String} participantId participantId
|
|
5329
|
-
* postConversationsCallParticipantBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5330
5329
|
*/},{key:"postConversationsCallParticipantBarge",value:function postConversationsCallParticipantBarge(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
5331
5330
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';}// verify the required parameter 'participantId' is set
|
|
5332
5331
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/barge','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -5888,7 +5887,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5888
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(){/**
|
|
5889
5888
|
* DataExtensions service.
|
|
5890
5889
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5891
|
-
* @version
|
|
5890
|
+
* @version 200.0.0
|
|
5892
5891
|
*/ /**
|
|
5893
5892
|
* Constructs a new DataExtensionsApi.
|
|
5894
5893
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5909,7 +5908,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5909
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(){/**
|
|
5910
5909
|
* Downloads service.
|
|
5911
5910
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5912
|
-
* @version
|
|
5911
|
+
* @version 200.0.0
|
|
5913
5912
|
*/ /**
|
|
5914
5913
|
* Constructs a new DownloadsApi.
|
|
5915
5914
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5928,7 +5927,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5928
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(){/**
|
|
5929
5928
|
* Emails service.
|
|
5930
5929
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5931
|
-
* @version
|
|
5930
|
+
* @version 200.0.0
|
|
5932
5931
|
*/ /**
|
|
5933
5932
|
* Constructs a new EmailsApi.
|
|
5934
5933
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5946,7 +5945,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5946
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(){/**
|
|
5947
5946
|
* EmployeeEngagement service.
|
|
5948
5947
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
5949
|
-
* @version
|
|
5948
|
+
* @version 200.0.0
|
|
5950
5949
|
*/ /**
|
|
5951
5950
|
* Constructs a new EmployeeEngagementApi.
|
|
5952
5951
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -5984,7 +5983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5984
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(){/**
|
|
5985
5984
|
* Events service.
|
|
5986
5985
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5987
|
-
* @version
|
|
5986
|
+
* @version 200.0.0
|
|
5988
5987
|
*/ /**
|
|
5989
5988
|
* Constructs a new EventsApi.
|
|
5990
5989
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6009,7 +6008,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6009
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(){/**
|
|
6010
6009
|
* ExternalContacts service.
|
|
6011
6010
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6012
|
-
* @version
|
|
6011
|
+
* @version 200.0.0
|
|
6013
6012
|
*/ /**
|
|
6014
6013
|
* Constructs a new ExternalContactsApi.
|
|
6015
6014
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6466,7 +6465,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6466
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(){/**
|
|
6467
6466
|
* Fax service.
|
|
6468
6467
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6469
|
-
* @version
|
|
6468
|
+
* @version 200.0.0
|
|
6470
6469
|
*/ /**
|
|
6471
6470
|
* Constructs a new FaxApi.
|
|
6472
6471
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6515,7 +6514,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6515
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(){/**
|
|
6516
6515
|
* Flows service.
|
|
6517
6516
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6518
|
-
* @version
|
|
6517
|
+
* @version 200.0.0
|
|
6519
6518
|
*/ /**
|
|
6520
6519
|
* Constructs a new FlowsApi.
|
|
6521
6520
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6563,7 +6562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6563
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(){/**
|
|
6564
6563
|
* Gamification service.
|
|
6565
6564
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6566
|
-
* @version
|
|
6565
|
+
* @version 200.0.0
|
|
6567
6566
|
*/ /**
|
|
6568
6567
|
* Constructs a new GamificationApi.
|
|
6569
6568
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7103,7 +7102,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7103
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(){/**
|
|
7104
7103
|
* GeneralDataProtectionRegulation service.
|
|
7105
7104
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7106
|
-
* @version
|
|
7105
|
+
* @version 200.0.0
|
|
7107
7106
|
*/ /**
|
|
7108
7107
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7109
7108
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7138,7 +7137,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7138
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(){/**
|
|
7139
7138
|
* Geolocation service.
|
|
7140
7139
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7141
|
-
* @version
|
|
7140
|
+
* @version 200.0.0
|
|
7142
7141
|
*/ /**
|
|
7143
7142
|
* Constructs a new GeolocationApi.
|
|
7144
7143
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7172,7 +7171,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7172
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(){/**
|
|
7173
7172
|
* Greetings service.
|
|
7174
7173
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7175
|
-
* @version
|
|
7174
|
+
* @version 200.0.0
|
|
7176
7175
|
*/ /**
|
|
7177
7176
|
* Constructs a new GreetingsApi.
|
|
7178
7177
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7279,7 +7278,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7279
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(){/**
|
|
7280
7279
|
* Groups service.
|
|
7281
7280
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7282
|
-
* @version
|
|
7281
|
+
* @version 200.0.0
|
|
7283
7282
|
*/ /**
|
|
7284
7283
|
* Constructs a new GroupsApi.
|
|
7285
7284
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7412,7 +7411,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7412
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(){/**
|
|
7413
7412
|
* IdentityProvider service.
|
|
7414
7413
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7415
|
-
* @version
|
|
7414
|
+
* @version 200.0.0
|
|
7416
7415
|
*/ /**
|
|
7417
7416
|
* Constructs a new IdentityProviderApi.
|
|
7418
7417
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7568,7 +7567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7568
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(){/**
|
|
7569
7568
|
* InfrastructureAsCode service.
|
|
7570
7569
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7571
|
-
* @version
|
|
7570
|
+
* @version 200.0.0
|
|
7572
7571
|
*/ /**
|
|
7573
7572
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7574
7573
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7622,7 +7621,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7622
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(){/**
|
|
7623
7622
|
* Integrations service.
|
|
7624
7623
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7625
|
-
* @version
|
|
7624
|
+
* @version 200.0.0
|
|
7626
7625
|
*/ /**
|
|
7627
7626
|
* Constructs a new IntegrationsApi.
|
|
7628
7627
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8233,7 +8232,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8233
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(){/**
|
|
8234
8233
|
* Journey service.
|
|
8235
8234
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8236
|
-
* @version
|
|
8235
|
+
* @version 200.0.0
|
|
8237
8236
|
*/ /**
|
|
8238
8237
|
* Constructs a new JourneyApi.
|
|
8239
8238
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8478,8 +8477,13 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
8478
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']);}/**
|
|
8479
8478
|
* Get a list of Journey Views
|
|
8480
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
|
|
8481
8485
|
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8482
|
-
*/},{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']);}/**
|
|
8483
8487
|
* Get an Event Definition
|
|
8484
8488
|
*
|
|
8485
8489
|
* @param {String} eventDefinitionId Event Definition ID
|
|
@@ -8637,7 +8641,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8637
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(){/**
|
|
8638
8642
|
* Knowledge service.
|
|
8639
8643
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8640
|
-
* @version
|
|
8644
|
+
* @version 200.0.0
|
|
8641
8645
|
*/ /**
|
|
8642
8646
|
* Constructs a new KnowledgeApi.
|
|
8643
8647
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9550,7 +9554,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9550
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(){/**
|
|
9551
9555
|
* LanguageUnderstanding service.
|
|
9552
9556
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9553
|
-
* @version
|
|
9557
|
+
* @version 200.0.0
|
|
9554
9558
|
*/ /**
|
|
9555
9559
|
* Constructs a new LanguageUnderstandingApi.
|
|
9556
9560
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9810,7 +9814,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9810
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(){/**
|
|
9811
9815
|
* Languages service.
|
|
9812
9816
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9813
|
-
* @version
|
|
9817
|
+
* @version 200.0.0
|
|
9814
9818
|
*/ /**
|
|
9815
9819
|
* Constructs a new LanguagesApi.
|
|
9816
9820
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9865,7 +9869,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9865
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(){/**
|
|
9866
9870
|
* Learning service.
|
|
9867
9871
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9868
|
-
* @version
|
|
9872
|
+
* @version 200.0.0
|
|
9869
9873
|
*/ /**
|
|
9870
9874
|
* Constructs a new LearningApi.
|
|
9871
9875
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10136,7 +10140,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10136
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(){/**
|
|
10137
10141
|
* License service.
|
|
10138
10142
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10139
|
-
* @version
|
|
10143
|
+
* @version 200.0.0
|
|
10140
10144
|
*/ /**
|
|
10141
10145
|
* Constructs a new LicenseApi.
|
|
10142
10146
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10190,7 +10194,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10190
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(){/**
|
|
10191
10195
|
* Locations service.
|
|
10192
10196
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10193
|
-
* @version
|
|
10197
|
+
* @version 200.0.0
|
|
10194
10198
|
*/ /**
|
|
10195
10199
|
* Constructs a new LocationsApi.
|
|
10196
10200
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10249,7 +10253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10249
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(){/**
|
|
10250
10254
|
* LogCapture service.
|
|
10251
10255
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10252
|
-
* @version
|
|
10256
|
+
* @version 200.0.0
|
|
10253
10257
|
*/ /**
|
|
10254
10258
|
* Constructs a new LogCaptureApi.
|
|
10255
10259
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10299,7 +10303,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10299
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(){/**
|
|
10300
10304
|
* Messaging service.
|
|
10301
10305
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10302
|
-
* @version
|
|
10306
|
+
* @version 200.0.0
|
|
10303
10307
|
*/ /**
|
|
10304
10308
|
* Constructs a new MessagingApi.
|
|
10305
10309
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10389,7 +10393,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10389
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(){/**
|
|
10390
10394
|
* MobileDevices service.
|
|
10391
10395
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10392
|
-
* @version
|
|
10396
|
+
* @version 200.0.0
|
|
10393
10397
|
*/ /**
|
|
10394
10398
|
* Constructs a new MobileDevicesApi.
|
|
10395
10399
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10428,7 +10432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10428
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(){/**
|
|
10429
10433
|
* Notifications service.
|
|
10430
10434
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10431
|
-
* @version
|
|
10435
|
+
* @version 200.0.0
|
|
10432
10436
|
*/ /**
|
|
10433
10437
|
* Constructs a new NotificationsApi.
|
|
10434
10438
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10485,7 +10489,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10485
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(){/**
|
|
10486
10490
|
* OAuth service.
|
|
10487
10491
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10488
|
-
* @version
|
|
10492
|
+
* @version 200.0.0
|
|
10489
10493
|
*/ /**
|
|
10490
10494
|
* Constructs a new OAuthApi.
|
|
10491
10495
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10570,7 +10574,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10570
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(){/**
|
|
10571
10575
|
* Objects service.
|
|
10572
10576
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10573
|
-
* @version
|
|
10577
|
+
* @version 200.0.0
|
|
10574
10578
|
*/ /**
|
|
10575
10579
|
* Constructs a new ObjectsApi.
|
|
10576
10580
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10641,7 +10645,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10641
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(){/**
|
|
10642
10646
|
* OperationalEvents service.
|
|
10643
10647
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10644
|
-
* @version
|
|
10648
|
+
* @version 200.0.0
|
|
10645
10649
|
*/ /**
|
|
10646
10650
|
* Constructs a new OperationalEventsApi.
|
|
10647
10651
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10659,7 +10663,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10659
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(){/**
|
|
10660
10664
|
* Organization service.
|
|
10661
10665
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10662
|
-
* @version
|
|
10666
|
+
* @version 200.0.0
|
|
10663
10667
|
*/ /**
|
|
10664
10668
|
* Constructs a new OrganizationApi.
|
|
10665
10669
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10764,7 +10768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10764
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(){/**
|
|
10765
10769
|
* OrganizationAuthorization service.
|
|
10766
10770
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10767
|
-
* @version
|
|
10771
|
+
* @version 200.0.0
|
|
10768
10772
|
*/ /**
|
|
10769
10773
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10770
10774
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11087,7 +11091,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11087
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(){/**
|
|
11088
11092
|
* Outbound service.
|
|
11089
11093
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11090
|
-
* @version
|
|
11094
|
+
* @version 200.0.0
|
|
11091
11095
|
*/ /**
|
|
11092
11096
|
* Constructs a new OutboundApi.
|
|
11093
11097
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12154,7 +12158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12154
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(){/**
|
|
12155
12159
|
* Presence service.
|
|
12156
12160
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12157
|
-
* @version
|
|
12161
|
+
* @version 200.0.0
|
|
12158
12162
|
*/ /**
|
|
12159
12163
|
* Constructs a new PresenceApi.
|
|
12160
12164
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12327,7 +12331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12327
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(){/**
|
|
12328
12332
|
* ProcessAutomation service.
|
|
12329
12333
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12330
|
-
* @version
|
|
12334
|
+
* @version 200.0.0
|
|
12331
12335
|
*/ /**
|
|
12332
12336
|
* Constructs a new ProcessAutomationApi.
|
|
12333
12337
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12390,7 +12394,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12390
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(){/**
|
|
12391
12395
|
* Quality service.
|
|
12392
12396
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12393
|
-
* @version
|
|
12397
|
+
* @version 200.0.0
|
|
12394
12398
|
*/ /**
|
|
12395
12399
|
* Constructs a new QualityApi.
|
|
12396
12400
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12843,14 +12847,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12843
12847
|
*/},{key:"putQualityFormsEvaluation",value:function putQualityFormsEvaluation(formId,body){// verify the required parameter 'formId' is set
|
|
12844
12848
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';}// verify the required parameter 'body' is set
|
|
12845
12849
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluation';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12846
|
-
* Update the
|
|
12850
|
+
* Update the AI Scoring settings of an evaluation form.
|
|
12847
12851
|
*
|
|
12848
12852
|
* @param {String} formId Form ID
|
|
12849
|
-
* @param {Object} body
|
|
12850
|
-
*
|
|
12851
|
-
*/},{key:"
|
|
12852
|
-
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling
|
|
12853
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
12853
|
+
* @param {Object} body AI Scoring Settings
|
|
12854
|
+
* putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12855
|
+
*/},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
|
|
12856
|
+
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
|
|
12857
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12854
12858
|
* Update a survey form.
|
|
12855
12859
|
*
|
|
12856
12860
|
* @param {String} formId Form ID
|
|
@@ -12867,7 +12871,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12867
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(){/**
|
|
12868
12872
|
* Recording service.
|
|
12869
12873
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12870
|
-
* @version
|
|
12874
|
+
* @version 200.0.0
|
|
12871
12875
|
*/ /**
|
|
12872
12876
|
* Constructs a new RecordingApi.
|
|
12873
12877
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13130,10 +13134,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13130
13134
|
if(policyId===undefined||policyId===null){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
|
|
13131
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']);}/**
|
|
13132
13136
|
* Update a screen recording session
|
|
13133
|
-
*
|
|
13137
|
+
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
13134
13138
|
* @param {String} recordingSessionId Screen recording session ID
|
|
13135
13139
|
* @param {Object} opts Optional parameters
|
|
13136
13140
|
* @param {Object} opts.body
|
|
13141
|
+
* @deprecated
|
|
13137
13142
|
*/},{key:"patchRecordingsScreensession",value:function patchRecordingsScreensession(recordingSessionId,opts){opts=opts||{};// verify the required parameter 'recordingSessionId' is set
|
|
13138
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']);}/**
|
|
13139
13144
|
* Create annotation
|
|
@@ -13278,7 +13283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13278
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(){/**
|
|
13279
13284
|
* ResponseManagement service.
|
|
13280
13285
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13281
|
-
* @version
|
|
13286
|
+
* @version 200.0.0
|
|
13282
13287
|
*/ /**
|
|
13283
13288
|
* Constructs a new ResponseManagementApi.
|
|
13284
13289
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13399,7 +13404,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13399
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(){/**
|
|
13400
13405
|
* Routing service.
|
|
13401
13406
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13402
|
-
* @version
|
|
13407
|
+
* @version 200.0.0
|
|
13403
13408
|
*/ /**
|
|
13404
13409
|
* Constructs a new RoutingApi.
|
|
13405
13410
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13412,6 +13417,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13412
13417
|
* @param {String} assessmentId Benefit Assessment ID
|
|
13413
13418
|
*/return _createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
|
|
13414
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']);}/**
|
|
13415
13423
|
* Delete a domain
|
|
13416
13424
|
*
|
|
13417
13425
|
* @param {String} domainId domain ID
|
|
@@ -13491,6 +13499,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
13491
13499
|
* @param {String} addressId Address ID
|
|
13492
13500
|
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
13493
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']);}/**
|
|
13494
13507
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
13495
13508
|
*
|
|
13496
13509
|
* @param {String} userId User ID
|
|
@@ -13560,6 +13573,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13560
13573
|
* Get available media types
|
|
13561
13574
|
*
|
|
13562
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']);}/**
|
|
13563
13579
|
* Get domain
|
|
13564
13580
|
*
|
|
13565
13581
|
* @param {String} domainId domain ID
|
|
@@ -13883,6 +13899,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
13883
13899
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
13884
13900
|
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
13885
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']);}/**
|
|
13886
13907
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
13887
13908
|
*
|
|
13888
13909
|
* @param {String} userId User ID
|
|
@@ -14279,6 +14300,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14279
14300
|
*/},{key:"postUserRoutingskills",value:function postUserRoutingskills(userId,body){// verify the required parameter 'userId' is set
|
|
14280
14301
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutingskills';}// verify the required parameter 'body' is set
|
|
14281
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']);}/**
|
|
14282
14308
|
* Update a route
|
|
14283
14309
|
*
|
|
14284
14310
|
* @param {String} domainName email domain
|
|
@@ -14324,6 +14350,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14324
14350
|
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
|
|
14325
14351
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
14326
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']);}/**
|
|
14327
14360
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
14328
14361
|
*
|
|
14329
14362
|
* @param {String} userId User ID
|
|
@@ -14368,7 +14401,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14368
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(){/**
|
|
14369
14402
|
* SCIM service.
|
|
14370
14403
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14371
|
-
* @version
|
|
14404
|
+
* @version 200.0.0
|
|
14372
14405
|
*/ /**
|
|
14373
14406
|
* Constructs a new SCIMApi.
|
|
14374
14407
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14593,7 +14626,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14593
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(){/**
|
|
14594
14627
|
* ScreenRecording service.
|
|
14595
14628
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14596
|
-
* @version
|
|
14629
|
+
* @version 200.0.0
|
|
14597
14630
|
*/ /**
|
|
14598
14631
|
* Constructs a new ScreenRecordingApi.
|
|
14599
14632
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14608,7 +14641,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14608
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(){/**
|
|
14609
14642
|
* Scripts service.
|
|
14610
14643
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14611
|
-
* @version
|
|
14644
|
+
* @version 200.0.0
|
|
14612
14645
|
*/ /**
|
|
14613
14646
|
* Constructs a new ScriptsApi.
|
|
14614
14647
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14744,7 +14777,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14744
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(){/**
|
|
14745
14778
|
* Search service.
|
|
14746
14779
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14747
|
-
* @version
|
|
14780
|
+
* @version 200.0.0
|
|
14748
14781
|
*/ /**
|
|
14749
14782
|
* Constructs a new SearchApi.
|
|
14750
14783
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14904,7 +14937,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14904
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(){/**
|
|
14905
14938
|
* Settings service.
|
|
14906
14939
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14907
|
-
* @version
|
|
14940
|
+
* @version 200.0.0
|
|
14908
14941
|
*/ /**
|
|
14909
14942
|
* Constructs a new SettingsApi.
|
|
14910
14943
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14956,7 +14989,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
14956
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(){/**
|
|
14957
14990
|
* SpeechTextAnalytics service.
|
|
14958
14991
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14959
|
-
* @version
|
|
14992
|
+
* @version 200.0.0
|
|
14960
14993
|
*/ /**
|
|
14961
14994
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14962
14995
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15240,7 +15273,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15240
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(){/**
|
|
15241
15274
|
* Stations service.
|
|
15242
15275
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15243
|
-
* @version
|
|
15276
|
+
* @version 200.0.0
|
|
15244
15277
|
*/ /**
|
|
15245
15278
|
* Constructs a new StationsApi.
|
|
15246
15279
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15272,7 +15305,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15272
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(){/**
|
|
15273
15306
|
* Suggest service.
|
|
15274
15307
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15275
|
-
* @version
|
|
15308
|
+
* @version 200.0.0
|
|
15276
15309
|
*/ /**
|
|
15277
15310
|
* Constructs a new SuggestApi.
|
|
15278
15311
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15312,7 +15345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15312
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(){/**
|
|
15313
15346
|
* TaskManagement service.
|
|
15314
15347
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15315
|
-
* @version
|
|
15348
|
+
* @version 200.0.0
|
|
15316
15349
|
*/ /**
|
|
15317
15350
|
* Constructs a new TaskManagementApi.
|
|
15318
15351
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15642,7 +15675,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15642
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(){/**
|
|
15643
15676
|
* Teams service.
|
|
15644
15677
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15645
|
-
* @version
|
|
15678
|
+
* @version 200.0.0
|
|
15646
15679
|
*/ /**
|
|
15647
15680
|
* Constructs a new TeamsApi.
|
|
15648
15681
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15720,7 +15753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15720
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(){/**
|
|
15721
15754
|
* Telephony service.
|
|
15722
15755
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15723
|
-
* @version
|
|
15756
|
+
* @version 200.0.0
|
|
15724
15757
|
*/ /**
|
|
15725
15758
|
* Constructs a new TelephonyApi.
|
|
15726
15759
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15767,7 +15800,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15767
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(){/**
|
|
15768
15801
|
* TelephonyProvidersEdge service.
|
|
15769
15802
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15770
|
-
* @version
|
|
15803
|
+
* @version 200.0.0
|
|
15771
15804
|
*/ /**
|
|
15772
15805
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15773
15806
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16577,7 +16610,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16577
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(){/**
|
|
16578
16611
|
* Textbots service.
|
|
16579
16612
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16580
|
-
* @version
|
|
16613
|
+
* @version 200.0.0
|
|
16581
16614
|
*/ /**
|
|
16582
16615
|
* Constructs a new TextbotsApi.
|
|
16583
16616
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16612,7 +16645,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16612
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(){/**
|
|
16613
16646
|
* Tokens service.
|
|
16614
16647
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16615
|
-
* @version
|
|
16648
|
+
* @version 200.0.0
|
|
16616
16649
|
*/ /**
|
|
16617
16650
|
* Constructs a new TokensApi.
|
|
16618
16651
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16646,7 +16679,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16646
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(){/**
|
|
16647
16680
|
* Uploads service.
|
|
16648
16681
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16649
|
-
* @version
|
|
16682
|
+
* @version 200.0.0
|
|
16650
16683
|
*/ /**
|
|
16651
16684
|
* Constructs a new UploadsApi.
|
|
16652
16685
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16712,7 +16745,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16712
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(){/**
|
|
16713
16746
|
* Usage service.
|
|
16714
16747
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16715
|
-
* @version
|
|
16748
|
+
* @version 200.0.0
|
|
16716
16749
|
*/ /**
|
|
16717
16750
|
* Constructs a new UsageApi.
|
|
16718
16751
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16766,7 +16799,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16766
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(){/**
|
|
16767
16800
|
* UserRecordings service.
|
|
16768
16801
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16769
|
-
* @version
|
|
16802
|
+
* @version 200.0.0
|
|
16770
16803
|
*/ /**
|
|
16771
16804
|
* Constructs a new UserRecordingsApi.
|
|
16772
16805
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16815,7 +16848,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16815
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(){/**
|
|
16816
16849
|
* Users service.
|
|
16817
16850
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16818
|
-
* @version
|
|
16851
|
+
* @version 200.0.0
|
|
16819
16852
|
*/ /**
|
|
16820
16853
|
* Constructs a new UsersApi.
|
|
16821
16854
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16837,6 +16870,14 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
16837
16870
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'divisionId' is set
|
|
16838
16871
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'roleId' is set
|
|
16839
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']);}/**
|
|
16840
16881
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
16841
16882
|
*
|
|
16842
16883
|
* @param {String} userId User ID
|
|
@@ -16965,6 +17006,14 @@ if(type===undefined||type===null){throw'Missing the required parameter "type" wh
|
|
|
16965
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.
|
|
16966
17007
|
* @deprecated
|
|
16967
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']);}/**
|
|
16968
17017
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
16969
17018
|
*
|
|
16970
17019
|
* @param {String} userId User ID
|
|
@@ -17387,6 +17436,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17387
17436
|
* @param {Object} body Search request options
|
|
17388
17437
|
*/},{key:"postUsersSearchTeamsAssign",value:function postUsersSearchTeamsAssign(body){// verify the required parameter 'body' is set
|
|
17389
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']);}/**
|
|
17390
17451
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
17391
17452
|
*
|
|
17392
17453
|
* @param {String} userId User ID
|
|
@@ -17477,7 +17538,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17477
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(){/**
|
|
17478
17539
|
* Utilities service.
|
|
17479
17540
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17480
|
-
* @version
|
|
17541
|
+
* @version 200.0.0
|
|
17481
17542
|
*/ /**
|
|
17482
17543
|
* Constructs a new UtilitiesApi.
|
|
17483
17544
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17504,7 +17565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17504
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(){/**
|
|
17505
17566
|
* Voicemail service.
|
|
17506
17567
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17507
|
-
* @version
|
|
17568
|
+
* @version 200.0.0
|
|
17508
17569
|
*/ /**
|
|
17509
17570
|
* Constructs a new VoicemailApi.
|
|
17510
17571
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17653,7 +17714,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17653
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(){/**
|
|
17654
17715
|
* WebChat service.
|
|
17655
17716
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17656
|
-
* @version
|
|
17717
|
+
* @version 200.0.0
|
|
17657
17718
|
*/ /**
|
|
17658
17719
|
* Constructs a new WebChatApi.
|
|
17659
17720
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17788,7 +17849,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17788
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(){/**
|
|
17789
17850
|
* WebDeployments service.
|
|
17790
17851
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17791
|
-
* @version
|
|
17852
|
+
* @version 200.0.0
|
|
17792
17853
|
*/ /**
|
|
17793
17854
|
* Constructs a new WebDeploymentsApi.
|
|
17794
17855
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17909,7 +17970,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17909
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(){/**
|
|
17910
17971
|
* WebMessaging service.
|
|
17911
17972
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17912
|
-
* @version
|
|
17973
|
+
* @version 200.0.0
|
|
17913
17974
|
*/ /**
|
|
17914
17975
|
* Constructs a new WebMessagingApi.
|
|
17915
17976
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17925,7 +17986,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17925
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(){/**
|
|
17926
17987
|
* Widgets service.
|
|
17927
17988
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17928
|
-
* @version
|
|
17989
|
+
* @version 200.0.0
|
|
17929
17990
|
*/ /**
|
|
17930
17991
|
* Constructs a new WidgetsApi.
|
|
17931
17992
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17960,7 +18021,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17960
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(){/**
|
|
17961
18022
|
* WorkforceManagement service.
|
|
17962
18023
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17963
|
-
* @version
|
|
18024
|
+
* @version 200.0.0
|
|
17964
18025
|
*/ /**
|
|
17965
18026
|
* Constructs a new WorkforceManagementApi.
|
|
17966
18027
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19492,7 +19553,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19492
19553
|
* </pre>
|
|
19493
19554
|
* </p>
|
|
19494
19555
|
* @module purecloud-platform-client-v2/index
|
|
19495
|
-
* @version
|
|
19556
|
+
* @version 200.0.0
|
|
19496
19557
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19497
19558
|
* The ApiClient constructor.
|
|
19498
19559
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|