purecloud-platform-client-v2 196.0.0 → 197.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 +649 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +649 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +234 -98
- package/dist/web-cjs/purecloud-platform-client-v2.js +235 -98
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +271 -92
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +136 -0
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +129 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +156 -0
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +8 -4
- 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 +3 -2
- 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 +3 -2
- 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 +31 -35
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- 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 +111 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +13 -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 197.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
|
|
@@ -1164,10 +1164,44 @@ var formData=new FormData();formData.set(key,_formParams[key]);request.data=form
|
|
|
1164
1164
|
var data=that.returnExtended===true?{status:response.status,statusText:response.statusText,headers:response.headers,body:response.data,text:response.text,error:null}:response.data?response.data:response.text;// Debug logging
|
|
1165
1165
|
that.config.logger.log('trace',response.status,httpMethod,url,request.headers,response.headers,bodyParam,undefined);that.config.logger.log('debug',response.status,httpMethod,url,request.headers,undefined,bodyParam,undefined);// Resolve promise
|
|
1166
1166
|
resolve(data);})["catch"](function(error){var data=error;if(error.response&&error.response.status==401&&that.config.refresh_access_token&&that.authData.refreshToken!==""){that._handleExpiredAccessToken().then(function(){sendRequest(that);})["catch"](function(err){reject(err);});}else if(error.response){// Log error
|
|
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
|
|
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
|
+
* AgentUI service.
|
|
1169
|
+
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1170
|
+
* @version 197.0.0
|
|
1171
|
+
*/ /**
|
|
1172
|
+
* Constructs a new AgentUIApi.
|
|
1173
|
+
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
1174
|
+
* @class
|
|
1175
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
1176
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
1177
|
+
*/function AgentUIApi(apiClient){_classCallCheck(this,AgentUIApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
1178
|
+
* Delete agent auto answer settings
|
|
1179
|
+
*
|
|
1180
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
1181
|
+
*/return _createClass(AgentUIApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
1182
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1183
|
+
* Get agent auto answer settings
|
|
1184
|
+
*
|
|
1185
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
1186
|
+
*/},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
1187
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1188
|
+
* Update agent auto answer settings
|
|
1189
|
+
*
|
|
1190
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
1191
|
+
* @param {Object} body AutoAnswerSettings
|
|
1192
|
+
*/},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
1193
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
1194
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1195
|
+
* Set agent auto answer settings
|
|
1196
|
+
*
|
|
1197
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
1198
|
+
* @param {Object} body AutoAnswerSettings
|
|
1199
|
+
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
1200
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
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(){/**
|
|
1168
1202
|
* Alerting service.
|
|
1169
1203
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1170
|
-
* @version
|
|
1204
|
+
* @version 197.0.0
|
|
1171
1205
|
*/ /**
|
|
1172
1206
|
* Constructs a new AlertingApi.
|
|
1173
1207
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1324,7 +1358,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1324
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(){/**
|
|
1325
1359
|
* Analytics service.
|
|
1326
1360
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1327
|
-
* @version
|
|
1361
|
+
* @version 197.0.0
|
|
1328
1362
|
*/ /**
|
|
1329
1363
|
* Constructs a new AnalyticsApi.
|
|
1330
1364
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1945,7 +1979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1945
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(){/**
|
|
1946
1980
|
* Architect service.
|
|
1947
1981
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1948
|
-
* @version
|
|
1982
|
+
* @version 197.0.0
|
|
1949
1983
|
*/ /**
|
|
1950
1984
|
* Constructs a new ArchitectApi.
|
|
1951
1985
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3061,7 +3095,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3061
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(){/**
|
|
3062
3096
|
* Audit service.
|
|
3063
3097
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3064
|
-
* @version
|
|
3098
|
+
* @version 197.0.0
|
|
3065
3099
|
*/ /**
|
|
3066
3100
|
* Constructs a new AuditApi.
|
|
3067
3101
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3110,7 +3144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3110
3144
|
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(){/**
|
|
3111
3145
|
* Authorization service.
|
|
3112
3146
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3113
|
-
* @version
|
|
3147
|
+
* @version 197.0.0
|
|
3114
3148
|
*/ /**
|
|
3115
3149
|
* Constructs a new AuthorizationApi.
|
|
3116
3150
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3425,7 +3459,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3425
3459
|
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(){/**
|
|
3426
3460
|
* Billing service.
|
|
3427
3461
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3428
|
-
* @version
|
|
3462
|
+
* @version 197.0.0
|
|
3429
3463
|
*/ /**
|
|
3430
3464
|
* Constructs a new BillingApi.
|
|
3431
3465
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3449,7 +3483,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3449
3483
|
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(){/**
|
|
3450
3484
|
* CarrierServices service.
|
|
3451
3485
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3452
|
-
* @version
|
|
3486
|
+
* @version 197.0.0
|
|
3453
3487
|
*/ /**
|
|
3454
3488
|
* Constructs a new CarrierServicesApi.
|
|
3455
3489
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3469,7 +3503,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3469
3503
|
*/},{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(){/**
|
|
3470
3504
|
* Chat service.
|
|
3471
3505
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3472
|
-
* @version
|
|
3506
|
+
* @version 197.0.0
|
|
3473
3507
|
*/ /**
|
|
3474
3508
|
* Constructs a new ChatApi.
|
|
3475
3509
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3694,7 +3728,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3694
3728
|
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(){/**
|
|
3695
3729
|
* Coaching service.
|
|
3696
3730
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3697
|
-
* @version
|
|
3731
|
+
* @version 197.0.0
|
|
3698
3732
|
*/ /**
|
|
3699
3733
|
* Constructs a new CoachingApi.
|
|
3700
3734
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3847,7 +3881,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3847
3881
|
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(){/**
|
|
3848
3882
|
* ContentManagement service.
|
|
3849
3883
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3850
|
-
* @version
|
|
3884
|
+
* @version 197.0.0
|
|
3851
3885
|
*/ /**
|
|
3852
3886
|
* Constructs a new ContentManagementApi.
|
|
3853
3887
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4130,7 +4164,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4130
4164
|
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(){/**
|
|
4131
4165
|
* Conversations service.
|
|
4132
4166
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4133
|
-
* @version
|
|
4167
|
+
* @version 197.0.0
|
|
4134
4168
|
*/ /**
|
|
4135
4169
|
* Constructs a new ConversationsApi.
|
|
4136
4170
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4293,6 +4327,24 @@ if(participantId===undefined||participantId===null){throw'Missing the required p
|
|
|
4293
4327
|
* @param {String} conversationId conversation ID
|
|
4294
4328
|
*/},{key:"getConversationSecureattributes",value:function getConversationSecureattributes(conversationId){// verify the required parameter 'conversationId' is set
|
|
4295
4329
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4330
|
+
* Get Suggestion.
|
|
4331
|
+
*
|
|
4332
|
+
* @param {String} conversationId Conversation ID
|
|
4333
|
+
* @param {String} suggestionId Suggestion ID
|
|
4334
|
+
*/},{key:"getConversationSuggestion",value:function getConversationSuggestion(conversationId,suggestionId){// verify the required parameter 'conversationId' is set
|
|
4335
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestion';}// verify the required parameter 'suggestionId' is set
|
|
4336
|
+
if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling getConversationSuggestion';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}','GET',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4337
|
+
* Get all suggestions for a conversation.
|
|
4338
|
+
*
|
|
4339
|
+
* @param {String} conversationId Conversation ID
|
|
4340
|
+
* @param {Object} opts Optional parameters
|
|
4341
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4342
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4343
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4344
|
+
* @param {Object} opts.type Suggestion type to filter by.
|
|
4345
|
+
* @param {Object} opts.state Suggestion state to filter Copilot suggestions.
|
|
4346
|
+
*/},{key:"getConversationSuggestions",value:function getConversationSuggestions(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
4347
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions','GET',{'conversationId':conversationId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'type':opts['type'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4296
4348
|
* Get active conversations for the logged in user
|
|
4297
4349
|
*
|
|
4298
4350
|
* @param {Object} opts Optional parameters
|
|
@@ -5228,6 +5280,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5228
5280
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5229
5281
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
5230
5282
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5283
|
+
* Save an engagement on the suggestion.
|
|
5284
|
+
*
|
|
5285
|
+
* @param {String} conversationId Conversation ID
|
|
5286
|
+
* @param {String} suggestionId Suggestion ID
|
|
5287
|
+
* @param {Object} body
|
|
5288
|
+
*/},{key:"postConversationSuggestionEngagement",value:function postConversationSuggestionEngagement(conversationId,suggestionId,body){// verify the required parameter 'conversationId' is set
|
|
5289
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'suggestionId' is set
|
|
5290
|
+
if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'body' is set
|
|
5291
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionEngagement';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}/engagement','POST',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5292
|
+
* Suggestion feedback.
|
|
5293
|
+
*
|
|
5294
|
+
* @param {String} conversationId Conversation ID
|
|
5295
|
+
* @param {Object} body SuggestionFeedback
|
|
5296
|
+
*/},{key:"postConversationSuggestionsFeedback",value:function postConversationSuggestionsFeedback(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5297
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';}// verify the required parameter 'body' is set
|
|
5298
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionsFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/feedback','POST',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5231
5299
|
* Submit feedback for the summary.
|
|
5232
5300
|
*
|
|
5233
5301
|
* @param {String} conversationId Conversation ID
|
|
@@ -5810,7 +5878,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5810
5878
|
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(){/**
|
|
5811
5879
|
* DataExtensions service.
|
|
5812
5880
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5813
|
-
* @version
|
|
5881
|
+
* @version 197.0.0
|
|
5814
5882
|
*/ /**
|
|
5815
5883
|
* Constructs a new DataExtensionsApi.
|
|
5816
5884
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5831,7 +5899,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5831
5899
|
*/},{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(){/**
|
|
5832
5900
|
* Downloads service.
|
|
5833
5901
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5834
|
-
* @version
|
|
5902
|
+
* @version 197.0.0
|
|
5835
5903
|
*/ /**
|
|
5836
5904
|
* Constructs a new DownloadsApi.
|
|
5837
5905
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5850,7 +5918,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5850
5918
|
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(){/**
|
|
5851
5919
|
* Emails service.
|
|
5852
5920
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5853
|
-
* @version
|
|
5921
|
+
* @version 197.0.0
|
|
5854
5922
|
*/ /**
|
|
5855
5923
|
* Constructs a new EmailsApi.
|
|
5856
5924
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5865,10 +5933,48 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5865
5933
|
*
|
|
5866
5934
|
* @param {Object} opts Optional parameters
|
|
5867
5935
|
* @param {Object} opts.body
|
|
5868
|
-
*/},{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
|
|
5936
|
+
*/},{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(){/**
|
|
5937
|
+
* EmployeeEngagement service.
|
|
5938
|
+
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
5939
|
+
* @version 197.0.0
|
|
5940
|
+
*/ /**
|
|
5941
|
+
* Constructs a new EmployeeEngagementApi.
|
|
5942
|
+
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
5943
|
+
* @class
|
|
5944
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
5945
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
5946
|
+
*/function EmployeeEngagementApi(apiClient){_classCallCheck(this,EmployeeEngagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
5947
|
+
* Deletes a celebration
|
|
5948
|
+
*
|
|
5949
|
+
* @param {String} celebrationId The ID of the celebration
|
|
5950
|
+
*/return _createClass(EmployeeEngagementApi,[{key:"deleteEmployeeengagementCelebration",value:function deleteEmployeeengagementCelebration(celebrationId){// verify the required parameter 'celebrationId' is set
|
|
5951
|
+
if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','DELETE',{'celebrationId':celebrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5952
|
+
* Get all celebrations
|
|
5953
|
+
*
|
|
5954
|
+
* @param {Object} opts Optional parameters
|
|
5955
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
5956
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
5957
|
+
*/},{key:"getEmployeeengagementCelebrations",value:function getEmployeeengagementCelebrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeengagement/celebrations','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5958
|
+
* Gets a single recognition
|
|
5959
|
+
*
|
|
5960
|
+
* @param {String} recognitionId The Recognition ID
|
|
5961
|
+
*/},{key:"getEmployeeengagementRecognition",value:function getEmployeeengagementRecognition(recognitionId){// verify the required parameter 'recognitionId' is set
|
|
5962
|
+
if(recognitionId===undefined||recognitionId===null){throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions/{recognitionId}','GET',{'recognitionId':recognitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5963
|
+
* Set a state for a celebration
|
|
5964
|
+
*
|
|
5965
|
+
* @param {String} celebrationId The ID of the celebration
|
|
5966
|
+
* @param {Object} body Patch Celebration state
|
|
5967
|
+
*/},{key:"patchEmployeeengagementCelebration",value:function patchEmployeeengagementCelebration(celebrationId,body){// verify the required parameter 'celebrationId' is set
|
|
5968
|
+
if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';}// verify the required parameter 'body' is set
|
|
5969
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','PATCH',{'celebrationId':celebrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5970
|
+
* Creates a recognition
|
|
5971
|
+
*
|
|
5972
|
+
* @param {Object} body Create Recognition
|
|
5973
|
+
*/},{key:"postEmployeeengagementRecognitions",value:function postEmployeeengagementRecognitions(body){// verify the required parameter 'body' is set
|
|
5974
|
+
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(){/**
|
|
5869
5975
|
* Events service.
|
|
5870
5976
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5871
|
-
* @version
|
|
5977
|
+
* @version 197.0.0
|
|
5872
5978
|
*/ /**
|
|
5873
5979
|
* Constructs a new EventsApi.
|
|
5874
5980
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5893,7 +5999,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5893
5999
|
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(){/**
|
|
5894
6000
|
* ExternalContacts service.
|
|
5895
6001
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5896
|
-
* @version
|
|
6002
|
+
* @version 197.0.0
|
|
5897
6003
|
*/ /**
|
|
5898
6004
|
* Constructs a new ExternalContactsApi.
|
|
5899
6005
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -5944,7 +6050,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
5944
6050
|
*
|
|
5945
6051
|
* @param {String} contactId ExternalContact ID
|
|
5946
6052
|
* @param {Object} opts Optional parameters
|
|
5947
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
|
|
6053
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
|
|
5948
6054
|
*/},{key:"getExternalcontactsContact",value:function getExternalcontactsContact(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
5949
6055
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5950
6056
|
* List the identifiers for a contact
|
|
@@ -6250,8 +6356,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6250
6356
|
* Fetch a contact using an identifier type and value.
|
|
6251
6357
|
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
6252
6358
|
* @param {Object} identifier
|
|
6253
|
-
|
|
6254
|
-
|
|
6359
|
+
* @param {Object} opts Optional parameters
|
|
6360
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
6361
|
+
*/},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
6362
|
+
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6255
6363
|
* Merge two contacts into a new contact record
|
|
6256
6364
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
6257
6365
|
* @param {Object} body MergeRequest
|
|
@@ -6348,7 +6456,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6348
6456
|
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(){/**
|
|
6349
6457
|
* Fax service.
|
|
6350
6458
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6351
|
-
* @version
|
|
6459
|
+
* @version 197.0.0
|
|
6352
6460
|
*/ /**
|
|
6353
6461
|
* Constructs a new FaxApi.
|
|
6354
6462
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6397,7 +6505,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6397
6505
|
*/},{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(){/**
|
|
6398
6506
|
* Flows service.
|
|
6399
6507
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6400
|
-
* @version
|
|
6508
|
+
* @version 197.0.0
|
|
6401
6509
|
*/ /**
|
|
6402
6510
|
* Constructs a new FlowsApi.
|
|
6403
6511
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6445,7 +6553,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6445
6553
|
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(){/**
|
|
6446
6554
|
* Gamification service.
|
|
6447
6555
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6448
|
-
* @version
|
|
6556
|
+
* @version 197.0.0
|
|
6449
6557
|
*/ /**
|
|
6450
6558
|
* Constructs a new GamificationApi.
|
|
6451
6559
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6985,7 +7093,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6985
7093
|
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(){/**
|
|
6986
7094
|
* GeneralDataProtectionRegulation service.
|
|
6987
7095
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6988
|
-
* @version
|
|
7096
|
+
* @version 197.0.0
|
|
6989
7097
|
*/ /**
|
|
6990
7098
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6991
7099
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7020,7 +7128,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7020
7128
|
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(){/**
|
|
7021
7129
|
* Geolocation service.
|
|
7022
7130
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7023
|
-
* @version
|
|
7131
|
+
* @version 197.0.0
|
|
7024
7132
|
*/ /**
|
|
7025
7133
|
* Constructs a new GeolocationApi.
|
|
7026
7134
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7054,7 +7162,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7054
7162
|
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(){/**
|
|
7055
7163
|
* Greetings service.
|
|
7056
7164
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7057
|
-
* @version
|
|
7165
|
+
* @version 197.0.0
|
|
7058
7166
|
*/ /**
|
|
7059
7167
|
* Constructs a new GreetingsApi.
|
|
7060
7168
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7161,7 +7269,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7161
7269
|
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(){/**
|
|
7162
7270
|
* Groups service.
|
|
7163
7271
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7164
|
-
* @version
|
|
7272
|
+
* @version 197.0.0
|
|
7165
7273
|
*/ /**
|
|
7166
7274
|
* Constructs a new GroupsApi.
|
|
7167
7275
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7294,7 +7402,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7294
7402
|
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(){/**
|
|
7295
7403
|
* IdentityProvider service.
|
|
7296
7404
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7297
|
-
* @version
|
|
7405
|
+
* @version 197.0.0
|
|
7298
7406
|
*/ /**
|
|
7299
7407
|
* Constructs a new IdentityProviderApi.
|
|
7300
7408
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7450,7 +7558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7450
7558
|
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(){/**
|
|
7451
7559
|
* InfrastructureAsCode service.
|
|
7452
7560
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7453
|
-
* @version
|
|
7561
|
+
* @version 197.0.0
|
|
7454
7562
|
*/ /**
|
|
7455
7563
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7456
7564
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7504,7 +7612,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7504
7612
|
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(){/**
|
|
7505
7613
|
* Integrations service.
|
|
7506
7614
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7507
|
-
* @version
|
|
7615
|
+
* @version 197.0.0
|
|
7508
7616
|
*/ /**
|
|
7509
7617
|
* Constructs a new IntegrationsApi.
|
|
7510
7618
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8115,7 +8223,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8115
8223
|
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(){/**
|
|
8116
8224
|
* Journey service.
|
|
8117
8225
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8118
|
-
* @version
|
|
8226
|
+
* @version 197.0.0
|
|
8119
8227
|
*/ /**
|
|
8120
8228
|
* Constructs a new JourneyApi.
|
|
8121
8229
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8308,9 +8416,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
8308
8416
|
* @param {Object} opts Optional parameters
|
|
8309
8417
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
8310
8418
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
8419
|
+
* @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
|
|
8311
8420
|
* getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8312
8421
|
*/},{key:"getJourneySessionEvents",value:function getJourneySessionEvents(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8313
|
-
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8422
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'eventType':opts['eventType']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8314
8423
|
* Retrieve latest outcome score associated with a session for all outcomes.
|
|
8315
8424
|
*
|
|
8316
8425
|
* @param {String} sessionId ID of the session.
|
|
@@ -8512,7 +8621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8512
8621
|
*/},{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(){/**
|
|
8513
8622
|
* Knowledge service.
|
|
8514
8623
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8515
|
-
* @version
|
|
8624
|
+
* @version 197.0.0
|
|
8516
8625
|
*/ /**
|
|
8517
8626
|
* Constructs a new KnowledgeApi.
|
|
8518
8627
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9425,7 +9534,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9425
9534
|
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(){/**
|
|
9426
9535
|
* LanguageUnderstanding service.
|
|
9427
9536
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9428
|
-
* @version
|
|
9537
|
+
* @version 197.0.0
|
|
9429
9538
|
*/ /**
|
|
9430
9539
|
* Constructs a new LanguageUnderstandingApi.
|
|
9431
9540
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9685,7 +9794,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9685
9794
|
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(){/**
|
|
9686
9795
|
* Languages service.
|
|
9687
9796
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9688
|
-
* @version
|
|
9797
|
+
* @version 197.0.0
|
|
9689
9798
|
*/ /**
|
|
9690
9799
|
* Constructs a new LanguagesApi.
|
|
9691
9800
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9740,7 +9849,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9740
9849
|
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(){/**
|
|
9741
9850
|
* Learning service.
|
|
9742
9851
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9743
|
-
* @version
|
|
9852
|
+
* @version 197.0.0
|
|
9744
9853
|
*/ /**
|
|
9745
9854
|
* Constructs a new LearningApi.
|
|
9746
9855
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9771,10 +9880,11 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
9771
9880
|
* @param {String} stepId The ID of Learning Assignment Step
|
|
9772
9881
|
* @param {Object} opts Optional parameters
|
|
9773
9882
|
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
9883
|
+
* @param {Object} opts.defaultShareableContentObject The default SCO to retrieve
|
|
9774
9884
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9775
9885
|
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9776
9886
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
9777
|
-
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9887
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'defaultShareableContentObject':opts['defaultShareableContentObject'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9778
9888
|
* List of Learning module Assignments
|
|
9779
9889
|
* Either moduleId or user value is required
|
|
9780
9890
|
* @param {Object} opts Optional parameters
|
|
@@ -10010,7 +10120,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10010
10120
|
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(){/**
|
|
10011
10121
|
* License service.
|
|
10012
10122
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10013
|
-
* @version
|
|
10123
|
+
* @version 197.0.0
|
|
10014
10124
|
*/ /**
|
|
10015
10125
|
* Constructs a new LicenseApi.
|
|
10016
10126
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10064,7 +10174,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10064
10174
|
*/},{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(){/**
|
|
10065
10175
|
* Locations service.
|
|
10066
10176
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10067
|
-
* @version
|
|
10177
|
+
* @version 197.0.0
|
|
10068
10178
|
*/ /**
|
|
10069
10179
|
* Constructs a new LocationsApi.
|
|
10070
10180
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10123,7 +10233,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10123
10233
|
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(){/**
|
|
10124
10234
|
* LogCapture service.
|
|
10125
10235
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10126
|
-
* @version
|
|
10236
|
+
* @version 197.0.0
|
|
10127
10237
|
*/ /**
|
|
10128
10238
|
* Constructs a new LogCaptureApi.
|
|
10129
10239
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10173,7 +10283,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10173
10283
|
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(){/**
|
|
10174
10284
|
* Messaging service.
|
|
10175
10285
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10176
|
-
* @version
|
|
10286
|
+
* @version 197.0.0
|
|
10177
10287
|
*/ /**
|
|
10178
10288
|
* Constructs a new MessagingApi.
|
|
10179
10289
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10263,7 +10373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10263
10373
|
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(){/**
|
|
10264
10374
|
* MobileDevices service.
|
|
10265
10375
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10266
|
-
* @version
|
|
10376
|
+
* @version 197.0.0
|
|
10267
10377
|
*/ /**
|
|
10268
10378
|
* Constructs a new MobileDevicesApi.
|
|
10269
10379
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10302,7 +10412,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10302
10412
|
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(){/**
|
|
10303
10413
|
* Notifications service.
|
|
10304
10414
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10305
|
-
* @version
|
|
10415
|
+
* @version 197.0.0
|
|
10306
10416
|
*/ /**
|
|
10307
10417
|
* Constructs a new NotificationsApi.
|
|
10308
10418
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10359,7 +10469,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10359
10469
|
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(){/**
|
|
10360
10470
|
* OAuth service.
|
|
10361
10471
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10362
|
-
* @version
|
|
10472
|
+
* @version 197.0.0
|
|
10363
10473
|
*/ /**
|
|
10364
10474
|
* Constructs a new OAuthApi.
|
|
10365
10475
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10444,7 +10554,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10444
10554
|
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(){/**
|
|
10445
10555
|
* Objects service.
|
|
10446
10556
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10447
|
-
* @version
|
|
10557
|
+
* @version 197.0.0
|
|
10448
10558
|
*/ /**
|
|
10449
10559
|
* Constructs a new ObjectsApi.
|
|
10450
10560
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10515,7 +10625,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10515
10625
|
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(){/**
|
|
10516
10626
|
* OperationalEvents service.
|
|
10517
10627
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10518
|
-
* @version
|
|
10628
|
+
* @version 197.0.0
|
|
10519
10629
|
*/ /**
|
|
10520
10630
|
* Constructs a new OperationalEventsApi.
|
|
10521
10631
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10533,7 +10643,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10533
10643
|
*/},{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(){/**
|
|
10534
10644
|
* Organization service.
|
|
10535
10645
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10536
|
-
* @version
|
|
10646
|
+
* @version 197.0.0
|
|
10537
10647
|
*/ /**
|
|
10538
10648
|
* Constructs a new OrganizationApi.
|
|
10539
10649
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10638,7 +10748,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10638
10748
|
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(){/**
|
|
10639
10749
|
* OrganizationAuthorization service.
|
|
10640
10750
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10641
|
-
* @version
|
|
10751
|
+
* @version 197.0.0
|
|
10642
10752
|
*/ /**
|
|
10643
10753
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10644
10754
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10961,7 +11071,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10961
11071
|
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(){/**
|
|
10962
11072
|
* Outbound service.
|
|
10963
11073
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10964
|
-
* @version
|
|
11074
|
+
* @version 197.0.0
|
|
10965
11075
|
*/ /**
|
|
10966
11076
|
* Constructs a new OutboundApi.
|
|
10967
11077
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11637,6 +11747,13 @@ if(sequenceId===undefined||sequenceId===null){throw'Missing the required paramet
|
|
|
11637
11747
|
* Get the Dialer wrap up code mapping.
|
|
11638
11748
|
*
|
|
11639
11749
|
*/},{key:"getOutboundWrapupcodemappings",value:function getOutboundWrapupcodemappings(){return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11750
|
+
* Update a campaign.
|
|
11751
|
+
*
|
|
11752
|
+
* @param {String} campaignId Campaign ID
|
|
11753
|
+
* @param {Object} body CampaignPatchRequest
|
|
11754
|
+
*/},{key:"patchOutboundCampaign",value:function patchOutboundCampaign(campaignId,body){// verify the required parameter 'campaignId' is set
|
|
11755
|
+
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling patchOutboundCampaign';}// verify the required parameter 'body' is set
|
|
11756
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PATCH',{'campaignId':campaignId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11640
11757
|
* Add entries to or delete entries from a DNC list.
|
|
11641
11758
|
* Only Internal DNC lists may be deleted from
|
|
11642
11759
|
* @param {String} dncListId DncList ID
|
|
@@ -11668,18 +11785,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11668
11785
|
* @param {Object} body AttemptLimits
|
|
11669
11786
|
*/},{key:"postOutboundAttemptlimits",value:function postOutboundAttemptlimits(body){// verify the required parameter 'body' is set
|
|
11670
11787
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAttemptlimits';}return this.apiClient.callApi('/api/v2/outbound/attemptlimits','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11671
|
-
* Retrieves audits for dialer. (Deprecated)
|
|
11672
|
-
* This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
|
|
11673
|
-
* @param {Object} body AuditSearch
|
|
11674
|
-
* @param {Object} opts Optional parameters
|
|
11675
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
11676
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11677
|
-
* @param {String} opts.sortBy Sort by (default to entity.name)
|
|
11678
|
-
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
11679
|
-
* @param {Boolean} opts.facetsOnly Facets only (default to false)
|
|
11680
|
-
* @deprecated
|
|
11681
|
-
*/},{key:"postOutboundAudits",value:function postOutboundAudits(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
11682
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAudits';}return this.apiClient.callApi('/api/v2/outbound/audits','POST',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'facetsOnly':opts['facetsOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11683
11788
|
* Create callable time set
|
|
11684
11789
|
*
|
|
11685
11790
|
* @param {Object} body DialerCallableTimeSet
|
|
@@ -12033,7 +12138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12033
12138
|
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(){/**
|
|
12034
12139
|
* Presence service.
|
|
12035
12140
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12036
|
-
* @version
|
|
12141
|
+
* @version 197.0.0
|
|
12037
12142
|
*/ /**
|
|
12038
12143
|
* Constructs a new PresenceApi.
|
|
12039
12144
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12206,7 +12311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12206
12311
|
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(){/**
|
|
12207
12312
|
* ProcessAutomation service.
|
|
12208
12313
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12209
|
-
* @version
|
|
12314
|
+
* @version 197.0.0
|
|
12210
12315
|
*/ /**
|
|
12211
12316
|
* Constructs a new ProcessAutomationApi.
|
|
12212
12317
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12269,7 +12374,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12269
12374
|
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(){/**
|
|
12270
12375
|
* Quality service.
|
|
12271
12376
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12272
|
-
* @version
|
|
12377
|
+
* @version 197.0.0
|
|
12273
12378
|
*/ /**
|
|
12274
12379
|
* Constructs a new QualityApi.
|
|
12275
12380
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12738,7 +12843,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12738
12843
|
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(){/**
|
|
12739
12844
|
* Recording service.
|
|
12740
12845
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12741
|
-
* @version
|
|
12846
|
+
* @version 197.0.0
|
|
12742
12847
|
*/ /**
|
|
12743
12848
|
* Constructs a new RecordingApi.
|
|
12744
12849
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13149,7 +13254,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13149
13254
|
*/},{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(){/**
|
|
13150
13255
|
* ResponseManagement service.
|
|
13151
13256
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13152
|
-
* @version
|
|
13257
|
+
* @version 197.0.0
|
|
13153
13258
|
*/ /**
|
|
13154
13259
|
* Constructs a new ResponseManagementApi.
|
|
13155
13260
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13270,7 +13375,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13270
13375
|
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(){/**
|
|
13271
13376
|
* Routing service.
|
|
13272
13377
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13273
|
-
* @version
|
|
13378
|
+
* @version 197.0.0
|
|
13274
13379
|
*/ /**
|
|
13275
13380
|
* Constructs a new RoutingApi.
|
|
13276
13381
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13752,7 +13857,8 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
13752
13857
|
* @param {Object} opts.sortOrder Sort order
|
|
13753
13858
|
* @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
|
|
13754
13859
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
13755
|
-
|
|
13860
|
+
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
13861
|
+
*/},{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']);}/**
|
|
13756
13862
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
13757
13863
|
*
|
|
13758
13864
|
* @param {String} userId User ID
|
|
@@ -14238,7 +14344,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14238
14344
|
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(){/**
|
|
14239
14345
|
* SCIM service.
|
|
14240
14346
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14241
|
-
* @version
|
|
14347
|
+
* @version 197.0.0
|
|
14242
14348
|
*/ /**
|
|
14243
14349
|
* Constructs a new SCIMApi.
|
|
14244
14350
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14463,7 +14569,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14463
14569
|
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(){/**
|
|
14464
14570
|
* ScreenRecording service.
|
|
14465
14571
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14466
|
-
* @version
|
|
14572
|
+
* @version 197.0.0
|
|
14467
14573
|
*/ /**
|
|
14468
14574
|
* Constructs a new ScreenRecordingApi.
|
|
14469
14575
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14478,7 +14584,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14478
14584
|
*/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(){/**
|
|
14479
14585
|
* Scripts service.
|
|
14480
14586
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14481
|
-
* @version
|
|
14587
|
+
* @version 197.0.0
|
|
14482
14588
|
*/ /**
|
|
14483
14589
|
* Constructs a new ScriptsApi.
|
|
14484
14590
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14614,7 +14720,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14614
14720
|
*/},{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(){/**
|
|
14615
14721
|
* Search service.
|
|
14616
14722
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14617
|
-
* @version
|
|
14723
|
+
* @version 197.0.0
|
|
14618
14724
|
*/ /**
|
|
14619
14725
|
* Constructs a new SearchApi.
|
|
14620
14726
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14774,7 +14880,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14774
14880
|
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(){/**
|
|
14775
14881
|
* Settings service.
|
|
14776
14882
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14777
|
-
* @version
|
|
14883
|
+
* @version 197.0.0
|
|
14778
14884
|
*/ /**
|
|
14779
14885
|
* Constructs a new SettingsApi.
|
|
14780
14886
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14782,13 +14888,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14782
14888
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14783
14889
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14784
14890
|
*/function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14891
|
+
* Delete agent auto answer settings
|
|
14892
|
+
*
|
|
14893
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
14894
|
+
*/return _createClass(SettingsApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
14895
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14785
14896
|
* Get email Contact Center settings
|
|
14786
14897
|
*
|
|
14787
|
-
*/
|
|
14898
|
+
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14788
14899
|
* Get the execution history enabled setting.
|
|
14789
14900
|
* Get the execution history enabled setting.
|
|
14790
14901
|
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14791
14902
|
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14903
|
+
* Get agent auto answer settings
|
|
14904
|
+
*
|
|
14905
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
14906
|
+
*/},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
14907
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14792
14908
|
* Patch email Contact Center settings
|
|
14793
14909
|
*
|
|
14794
14910
|
* @param {Object} opts Optional parameters
|
|
@@ -14799,10 +14915,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14799
14915
|
* @param {Object} body New Execution Data Setting
|
|
14800
14916
|
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14801
14917
|
*/},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
|
|
14802
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
14918
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14919
|
+
* Update agent auto answer settings
|
|
14920
|
+
*
|
|
14921
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
14922
|
+
* @param {Object} body AutoAnswerSettings
|
|
14923
|
+
*/},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
14924
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
14925
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14926
|
+
* Set agent auto answer settings
|
|
14927
|
+
*
|
|
14928
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
14929
|
+
* @param {Object} body AutoAnswerSettings
|
|
14930
|
+
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
14931
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
14932
|
+
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(){/**
|
|
14803
14933
|
* SpeechTextAnalytics service.
|
|
14804
14934
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14805
|
-
* @version
|
|
14935
|
+
* @version 197.0.0
|
|
14806
14936
|
*/ /**
|
|
14807
14937
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14808
14938
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15086,7 +15216,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15086
15216
|
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(){/**
|
|
15087
15217
|
* Stations service.
|
|
15088
15218
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15089
|
-
* @version
|
|
15219
|
+
* @version 197.0.0
|
|
15090
15220
|
*/ /**
|
|
15091
15221
|
* Constructs a new StationsApi.
|
|
15092
15222
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15118,7 +15248,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15118
15248
|
*/},{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(){/**
|
|
15119
15249
|
* Suggest service.
|
|
15120
15250
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15121
|
-
* @version
|
|
15251
|
+
* @version 197.0.0
|
|
15122
15252
|
*/ /**
|
|
15123
15253
|
* Constructs a new SuggestApi.
|
|
15124
15254
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15158,7 +15288,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15158
15288
|
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(){/**
|
|
15159
15289
|
* TaskManagement service.
|
|
15160
15290
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15161
|
-
* @version
|
|
15291
|
+
* @version 197.0.0
|
|
15162
15292
|
*/ /**
|
|
15163
15293
|
* Constructs a new TaskManagementApi.
|
|
15164
15294
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15487,7 +15617,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15487
15617
|
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(){/**
|
|
15488
15618
|
* Teams service.
|
|
15489
15619
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15490
|
-
* @version
|
|
15620
|
+
* @version 197.0.0
|
|
15491
15621
|
*/ /**
|
|
15492
15622
|
* Constructs a new TeamsApi.
|
|
15493
15623
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15565,7 +15695,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15565
15695
|
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(){/**
|
|
15566
15696
|
* Telephony service.
|
|
15567
15697
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15568
|
-
* @version
|
|
15698
|
+
* @version 197.0.0
|
|
15569
15699
|
*/ /**
|
|
15570
15700
|
* Constructs a new TelephonyApi.
|
|
15571
15701
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15612,7 +15742,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15612
15742
|
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(){/**
|
|
15613
15743
|
* TelephonyProvidersEdge service.
|
|
15614
15744
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15615
|
-
* @version
|
|
15745
|
+
* @version 197.0.0
|
|
15616
15746
|
*/ /**
|
|
15617
15747
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15618
15748
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16422,7 +16552,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16422
16552
|
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(){/**
|
|
16423
16553
|
* Textbots service.
|
|
16424
16554
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16425
|
-
* @version
|
|
16555
|
+
* @version 197.0.0
|
|
16426
16556
|
*/ /**
|
|
16427
16557
|
* Constructs a new TextbotsApi.
|
|
16428
16558
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16457,7 +16587,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16457
16587
|
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(){/**
|
|
16458
16588
|
* Tokens service.
|
|
16459
16589
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16460
|
-
* @version
|
|
16590
|
+
* @version 197.0.0
|
|
16461
16591
|
*/ /**
|
|
16462
16592
|
* Constructs a new TokensApi.
|
|
16463
16593
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16491,7 +16621,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16491
16621
|
*/},{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(){/**
|
|
16492
16622
|
* Uploads service.
|
|
16493
16623
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16494
|
-
* @version
|
|
16624
|
+
* @version 197.0.0
|
|
16495
16625
|
*/ /**
|
|
16496
16626
|
* Constructs a new UploadsApi.
|
|
16497
16627
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16557,7 +16687,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16557
16687
|
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(){/**
|
|
16558
16688
|
* Usage service.
|
|
16559
16689
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16560
|
-
* @version
|
|
16690
|
+
* @version 197.0.0
|
|
16561
16691
|
*/ /**
|
|
16562
16692
|
* Constructs a new UsageApi.
|
|
16563
16693
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16611,7 +16741,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16611
16741
|
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(){/**
|
|
16612
16742
|
* UserRecordings service.
|
|
16613
16743
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16614
|
-
* @version
|
|
16744
|
+
* @version 197.0.0
|
|
16615
16745
|
*/ /**
|
|
16616
16746
|
* Constructs a new UserRecordingsApi.
|
|
16617
16747
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16660,7 +16790,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16660
16790
|
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(){/**
|
|
16661
16791
|
* Users service.
|
|
16662
16792
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16663
|
-
* @version
|
|
16793
|
+
* @version 197.0.0
|
|
16664
16794
|
*/ /**
|
|
16665
16795
|
* Constructs a new UsersApi.
|
|
16666
16796
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17322,7 +17452,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17322
17452
|
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(){/**
|
|
17323
17453
|
* Utilities service.
|
|
17324
17454
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17325
|
-
* @version
|
|
17455
|
+
* @version 197.0.0
|
|
17326
17456
|
*/ /**
|
|
17327
17457
|
* Constructs a new UtilitiesApi.
|
|
17328
17458
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17349,7 +17479,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17349
17479
|
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(){/**
|
|
17350
17480
|
* Voicemail service.
|
|
17351
17481
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17352
|
-
* @version
|
|
17482
|
+
* @version 197.0.0
|
|
17353
17483
|
*/ /**
|
|
17354
17484
|
* Constructs a new VoicemailApi.
|
|
17355
17485
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17498,7 +17628,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17498
17628
|
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(){/**
|
|
17499
17629
|
* WebChat service.
|
|
17500
17630
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17501
|
-
* @version
|
|
17631
|
+
* @version 197.0.0
|
|
17502
17632
|
*/ /**
|
|
17503
17633
|
* Constructs a new WebChatApi.
|
|
17504
17634
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17633,7 +17763,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17633
17763
|
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(){/**
|
|
17634
17764
|
* WebDeployments service.
|
|
17635
17765
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17636
|
-
* @version
|
|
17766
|
+
* @version 197.0.0
|
|
17637
17767
|
*/ /**
|
|
17638
17768
|
* Constructs a new WebDeploymentsApi.
|
|
17639
17769
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17754,7 +17884,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17754
17884
|
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(){/**
|
|
17755
17885
|
* WebMessaging service.
|
|
17756
17886
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17757
|
-
* @version
|
|
17887
|
+
* @version 197.0.0
|
|
17758
17888
|
*/ /**
|
|
17759
17889
|
* Constructs a new WebMessagingApi.
|
|
17760
17890
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17770,7 +17900,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17770
17900
|
*/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(){/**
|
|
17771
17901
|
* Widgets service.
|
|
17772
17902
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17773
|
-
* @version
|
|
17903
|
+
* @version 197.0.0
|
|
17774
17904
|
*/ /**
|
|
17775
17905
|
* Constructs a new WidgetsApi.
|
|
17776
17906
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17805,7 +17935,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17805
17935
|
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(){/**
|
|
17806
17936
|
* WorkforceManagement service.
|
|
17807
17937
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17808
|
-
* @version
|
|
17938
|
+
* @version 197.0.0
|
|
17809
17939
|
*/ /**
|
|
17810
17940
|
* Constructs a new WorkforceManagementApi.
|
|
17811
17941
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19285,7 +19415,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19285
19415
|
* </pre>
|
|
19286
19416
|
* </p>
|
|
19287
19417
|
* @module purecloud-platform-client-v2/index
|
|
19288
|
-
* @version
|
|
19418
|
+
* @version 197.0.0
|
|
19289
19419
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19290
19420
|
* The ApiClient constructor.
|
|
19291
19421
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -19293,6 +19423,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19293
19423
|
* The ApiClient class.
|
|
19294
19424
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
19295
19425
|
*/this.ApiClientClass=ApiClient;/**
|
|
19426
|
+
* The AgentUIApi service constructor.
|
|
19427
|
+
* @property {module:purecloud-platform-client-v2/api/AgentUIApi}
|
|
19428
|
+
*/this.AgentUIApi=AgentUIApi;/**
|
|
19296
19429
|
* The AlertingApi service constructor.
|
|
19297
19430
|
* @property {module:purecloud-platform-client-v2/api/AlertingApi}
|
|
19298
19431
|
*/this.AlertingApi=AlertingApi;/**
|
|
@@ -19335,6 +19468,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19335
19468
|
* The EmailsApi service constructor.
|
|
19336
19469
|
* @property {module:purecloud-platform-client-v2/api/EmailsApi}
|
|
19337
19470
|
*/this.EmailsApi=EmailsApi;/**
|
|
19471
|
+
* The EmployeeEngagementApi service constructor.
|
|
19472
|
+
* @property {module:purecloud-platform-client-v2/api/EmployeeEngagementApi}
|
|
19473
|
+
*/this.EmployeeEngagementApi=EmployeeEngagementApi;/**
|
|
19338
19474
|
* The EventsApi service constructor.
|
|
19339
19475
|
* @property {module:purecloud-platform-client-v2/api/EventsApi}
|
|
19340
19476
|
*/this.EventsApi=EventsApi;/**
|