purecloud-platform-client-v2 233.0.0 → 234.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.
Files changed (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +311 -965
  3. package/dist/web-amd/purecloud-platform-client-v2.js +311 -965
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +137 -366
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +137 -366
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +804 -821
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +61 -880
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +156 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -31
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -6477,7 +6477,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6477
6477
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6478
6478
  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:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{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];}}}]);}();/**
6479
6479
  * @module purecloud-platform-client-v2/ApiClient
6480
- * @version 233.0.0
6480
+ * @version 234.0.0
6481
6481
  */var ApiClient=/*#__PURE__*/function(){/**
6482
6482
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6483
6483
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6823,7 +6823,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6823
6823
  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 AIStudioApi=/*#__PURE__*/function(){/**
6824
6824
  * AIStudio service.
6825
6825
  * @module purecloud-platform-client-v2/api/AIStudioApi
6826
- * @version 233.0.0
6826
+ * @version 234.0.0
6827
6827
  *//**
6828
6828
  * Constructs a new AIStudioApi.
6829
6829
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -6974,7 +6974,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
6974
6974
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
6975
6975
  * AgentAssistants service.
6976
6976
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
6977
- * @version 233.0.0
6977
+ * @version 234.0.0
6978
6978
  *//**
6979
6979
  * Constructs a new AgentAssistantsApi.
6980
6980
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7105,7 +7105,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
7105
7105
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
7106
7106
  * AgentCopilot service.
7107
7107
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7108
- * @version 233.0.0
7108
+ * @version 234.0.0
7109
7109
  *//**
7110
7110
  * Constructs a new AgentCopilotApi.
7111
7111
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7132,7 +7132,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7132
7132
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
7133
7133
  * AgentUI service.
7134
7134
  * @module purecloud-platform-client-v2/api/AgentUIApi
7135
- * @version 233.0.0
7135
+ * @version 234.0.0
7136
7136
  *//**
7137
7137
  * Constructs a new AgentUIApi.
7138
7138
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7166,7 +7166,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7166
7166
  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(){/**
7167
7167
  * Alerting service.
7168
7168
  * @module purecloud-platform-client-v2/api/AlertingApi
7169
- * @version 233.0.0
7169
+ * @version 234.0.0
7170
7170
  *//**
7171
7171
  * Constructs a new AlertingApi.
7172
7172
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7255,7 +7255,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7255
7255
  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(){/**
7256
7256
  * Analytics service.
7257
7257
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7258
- * @version 233.0.0
7258
+ * @version 234.0.0
7259
7259
  *//**
7260
7260
  * Constructs a new AnalyticsApi.
7261
7261
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -8031,7 +8031,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8031
8031
  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(){/**
8032
8032
  * Architect service.
8033
8033
  * @module purecloud-platform-client-v2/api/ArchitectApi
8034
- * @version 233.0.0
8034
+ * @version 234.0.0
8035
8035
  *//**
8036
8036
  * Constructs a new ArchitectApi.
8037
8037
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9165,7 +9165,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9165
9165
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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(){/**
9166
9166
  * Audit service.
9167
9167
  * @module purecloud-platform-client-v2/api/AuditApi
9168
- * @version 233.0.0
9168
+ * @version 234.0.0
9169
9169
  *//**
9170
9170
  * Constructs a new AuditApi.
9171
9171
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9215,7 +9215,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9215
9215
  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(){/**
9216
9216
  * Authorization service.
9217
9217
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9218
- * @version 233.0.0
9218
+ * @version 234.0.0
9219
9219
  *//**
9220
9220
  * Constructs a new AuthorizationApi.
9221
9221
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9650,7 +9650,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9650
9650
  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(){/**
9651
9651
  * Billing service.
9652
9652
  * @module purecloud-platform-client-v2/api/BillingApi
9653
- * @version 233.0.0
9653
+ * @version 234.0.0
9654
9654
  *//**
9655
9655
  * Constructs a new BillingApi.
9656
9656
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9727,7 +9727,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9727
9727
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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 BusinessRulesApi=/*#__PURE__*/function(){/**
9728
9728
  * BusinessRules service.
9729
9729
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9730
- * @version 233.0.0
9730
+ * @version 234.0.0
9731
9731
  *//**
9732
9732
  * Constructs a new BusinessRulesApi.
9733
9733
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -9740,14 +9740,12 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
9740
9740
  * @param {String} tableId Table ID
9741
9741
  * @param {Object} opts Optional parameters
9742
9742
  * @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
9743
- * deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9744
9743
  */return _createClass(BusinessRulesApi,[{key:"deleteBusinessrulesDecisiontable",value:function deleteBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
9745
9744
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','DELETE',{'tableId':tableId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9746
9745
  * Delete a decision table version
9747
9746
  *
9748
9747
  * @param {String} tableId Table ID
9749
9748
  * @param {Number} tableVersion Table Version
9750
- * deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9751
9749
  */},{key:"deleteBusinessrulesDecisiontableVersion",value:function deleteBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
9752
9750
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
9753
9751
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9756,7 +9754,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
9756
9754
  * @param {String} tableId Table ID
9757
9755
  * @param {Number} tableVersion Table Version
9758
9756
  * @param {String} rowId Row ID
9759
- * deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9760
9757
  */},{key:"deleteBusinessrulesDecisiontableVersionRow",value:function deleteBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
9761
9758
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
9762
9759
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
@@ -9764,20 +9761,17 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
9764
9761
  * Delete a schema
9765
9762
  *
9766
9763
  * @param {String} schemaId Schema ID
9767
- * deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9768
9764
  */},{key:"deleteBusinessrulesSchema",value:function deleteBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
9769
9765
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','DELETE',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9770
9766
  * Get a decision table
9771
9767
  *
9772
9768
  * @param {String} tableId Table ID
9773
- * getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9774
9769
  */},{key:"getBusinessrulesDecisiontable",value:function getBusinessrulesDecisiontable(tableId){// verify the required parameter 'tableId' is set
9775
9770
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','GET',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9776
9771
  * Get a decision table version
9777
9772
  *
9778
9773
  * @param {String} tableId Table ID
9779
9774
  * @param {Number} tableVersion Table Version
9780
- * getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9781
9775
  */},{key:"getBusinessrulesDecisiontableVersion",value:function getBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
9782
9776
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
9783
9777
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','GET',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9786,7 +9780,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
9786
9780
  * @param {String} tableId Table ID
9787
9781
  * @param {Number} tableVersion Table Version
9788
9782
  * @param {String} rowId Row ID
9789
- * getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9790
9783
  */},{key:"getBusinessrulesDecisiontableVersionRow",value:function getBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
9791
9784
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
9792
9785
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
@@ -9798,7 +9791,6 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
9798
9791
  * @param {Object} opts Optional parameters
9799
9792
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
9800
9793
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
9801
- * getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9802
9794
  */},{key:"getBusinessrulesDecisiontableVersionRows",value:function getBusinessrulesDecisiontableVersionRows(tableId,tableVersion,opts){opts=opts||{};// verify the required parameter 'tableId' is set
9803
9795
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
9804
9796
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows','GET',{'tableId':tableId,'tableVersion':tableVersion},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9808,7 +9800,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
9808
9800
  * @param {Object} opts Optional parameters
9809
9801
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9810
9802
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
9811
- * getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9812
9803
  */},{key:"getBusinessrulesDecisiontableVersions",value:function getBusinessrulesDecisiontableVersions(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
9813
9804
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9814
9805
  * Get a list of decision tables.
@@ -9818,7 +9809,6 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
9818
9809
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
9819
9810
  * @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
9820
9811
  * @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name.
9821
- * getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9822
9812
  */},{key:"getBusinessrulesDecisiontables",value:function getBusinessrulesDecisiontables(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9823
9813
  * Search for decision tables.
9824
9814
  *
@@ -9830,33 +9820,27 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
9830
9820
  * @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
9831
9821
  * @param {Array.<String>} opts.expand Fields to expand in response
9832
9822
  * @param {Array.<String>} opts.ids Decision table IDs to search for
9833
- * getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9834
9823
  */},{key:"getBusinessrulesDecisiontablesSearch",value:function getBusinessrulesDecisiontablesSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables/search','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'schemaId':opts['schemaId'],'name':opts['name'],'withPublishedVersion':opts['withPublishedVersion'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9835
9824
  * Get a schema
9836
9825
  *
9837
9826
  * @param {String} schemaId Schema ID
9838
- * getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9839
9827
  */},{key:"getBusinessrulesSchema",value:function getBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
9840
9828
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9841
9829
  * Get a list of schemas.
9842
9830
  *
9843
- * getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9844
9831
  */},{key:"getBusinessrulesSchemas",value:function getBusinessrulesSchemas(){return this.apiClient.callApi('/api/v2/businessrules/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9845
9832
  * Get a specific named core type.
9846
9833
  *
9847
9834
  * @param {String} coreTypeName The core type's name
9848
- * getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9849
9835
  */},{key:"getBusinessrulesSchemasCoretype",value:function getBusinessrulesSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
9850
9836
  if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';}return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9851
9837
  * Get the core types from which all schemas are built.
9852
9838
  *
9853
- * getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9854
9839
  */},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9855
9840
  * Update a decision table
9856
9841
  *
9857
9842
  * @param {String} tableId Table ID
9858
9843
  * @param {Object} body Decision Table
9859
- * patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9860
9844
  */},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
9861
9845
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';}// verify the required parameter 'body' is set
9862
9846
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','PATCH',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9865,7 +9849,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9865
9849
  * @param {String} tableId Table ID
9866
9850
  * @param {Number} tableVersion Table Version
9867
9851
  * @param {Object} body Decision Table
9868
- * patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9869
9852
  */},{key:"patchBusinessrulesDecisiontableVersion",value:function patchBusinessrulesDecisiontableVersion(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
9870
9853
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
9871
9854
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'body' is set
@@ -9874,7 +9857,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9874
9857
  *
9875
9858
  * @param {String} tableId Table ID
9876
9859
  * @param {Object} body Decision Table
9877
- * postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9878
9860
  */},{key:"postBusinessrulesDecisiontableExecute",value:function postBusinessrulesDecisiontableExecute(tableId,body){// verify the required parameter 'tableId' is set
9879
9861
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';}// verify the required parameter 'body' is set
9880
9862
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/execute','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9883,7 +9865,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9883
9865
  * @param {String} tableId Table ID
9884
9866
  * @param {Number} tableVersion Table Version
9885
9867
  * @param {Object} body Decision Table
9886
- * postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9887
9868
  */},{key:"postBusinessrulesDecisiontableVersionCopy",value:function postBusinessrulesDecisiontableVersionCopy(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
9888
9869
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'tableVersion' is set
9889
9870
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'body' is set
@@ -9893,7 +9874,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9893
9874
  * @param {String} tableId Table ID
9894
9875
  * @param {Number} tableVersion Table Version
9895
9876
  * @param {Object} body Decision Table
9896
- * postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9897
9877
  */},{key:"postBusinessrulesDecisiontableVersionExecute",value:function postBusinessrulesDecisiontableVersionExecute(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
9898
9878
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'tableVersion' is set
9899
9879
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
@@ -9903,7 +9883,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9903
9883
  * @param {String} tableId Table ID
9904
9884
  * @param {Number} tableVersion Table Version
9905
9885
  * @param {Object} body Create decision table row request
9906
- * postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9907
9886
  */},{key:"postBusinessrulesDecisiontableVersionRows",value:function postBusinessrulesDecisiontableVersionRows(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
9908
9887
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
9909
9888
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'body' is set
@@ -9916,7 +9895,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9916
9895
  * @param {Object} opts Optional parameters
9917
9896
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
9918
9897
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
9919
- * postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9920
9898
  */},{key:"postBusinessrulesDecisiontableVersionRowsSearch",value:function postBusinessrulesDecisiontableVersionRowsSearch(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
9921
9899
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'tableVersion' is set
9922
9900
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'body' is set
@@ -9925,33 +9903,28 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9925
9903
  *
9926
9904
  * @param {String} tableId Table ID
9927
9905
  * @param {Number} tableVersion Table Version
9928
- * postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9929
9906
  */},{key:"postBusinessrulesDecisiontableVersionSync",value:function postBusinessrulesDecisiontableVersionSync(tableId,tableVersion){// verify the required parameter 'tableId' is set
9930
9907
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';}// verify the required parameter 'tableVersion' is set
9931
9908
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9932
9909
  * Create a new decision table version
9933
9910
  *
9934
9911
  * @param {String} tableId Table ID
9935
- * postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9936
9912
  */},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
9937
9913
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9938
9914
  * Create a decision table
9939
9915
  *
9940
9916
  * @param {Object} body Decision Table
9941
- * postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9942
9917
  */},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
9943
9918
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9944
9919
  * Create a schema
9945
9920
  *
9946
9921
  * @param {Object} body Business Rules Schema Create Request
9947
- * postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9948
9922
  */},{key:"postBusinessrulesSchemas",value:function postBusinessrulesSchemas(body){// verify the required parameter 'body' is set
9949
9923
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';}return this.apiClient.callApi('/api/v2/businessrules/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9950
9924
  * Publish a decision table version
9951
9925
  *
9952
9926
  * @param {String} tableId Table ID
9953
9927
  * @param {Number} tableVersion Table Version
9954
- * putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9955
9928
  */},{key:"putBusinessrulesDecisiontableVersionPublish",value:function putBusinessrulesDecisiontableVersionPublish(tableId,tableVersion){// verify the required parameter 'tableId' is set
9956
9929
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
9957
9930
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9961,7 +9934,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
9961
9934
  * @param {Number} tableVersion Table Version
9962
9935
  * @param {String} rowId Row ID
9963
9936
  * @param {Object} body Full update decision table row request
9964
- * putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9965
9937
  */},{key:"putBusinessrulesDecisiontableVersionRow",value:function putBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId,body){// verify the required parameter 'tableId' is set
9966
9938
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
9967
9939
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
@@ -9971,13 +9943,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9971
9943
  *
9972
9944
  * @param {String} schemaId Schema ID
9973
9945
  * @param {Object} body Business Rules Schema Update Request
9974
- * putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9975
9946
  */},{key:"putBusinessrulesSchema",value:function putBusinessrulesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
9976
9947
  if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';}// verify the required parameter 'body' is set
9977
9948
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
9978
9949
  * CarrierServices service.
9979
9950
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9980
- * @version 233.0.0
9951
+ * @version 234.0.0
9981
9952
  *//**
9982
9953
  * Constructs a new CarrierServicesApi.
9983
9954
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -9997,7 +9968,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
9997
9968
  */},{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(){/**
9998
9969
  * Chat service.
9999
9970
  * @module purecloud-platform-client-v2/api/ChatApi
10000
- * @version 233.0.0
9971
+ * @version 234.0.0
10001
9972
  *//**
10002
9973
  * Constructs a new ChatApi.
10003
9974
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10228,7 +10199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10228
10199
  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(){/**
10229
10200
  * Coaching service.
10230
10201
  * @module purecloud-platform-client-v2/api/CoachingApi
10231
- * @version 233.0.0
10202
+ * @version 234.0.0
10232
10203
  *//**
10233
10204
  * Constructs a new CoachingApi.
10234
10205
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10381,7 +10352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10381
10352
  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(){/**
10382
10353
  * ContentManagement service.
10383
10354
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10384
- * @version 233.0.0
10355
+ * @version 234.0.0
10385
10356
  *//**
10386
10357
  * Constructs a new ContentManagementApi.
10387
10358
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10663,7 +10634,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
10663
10634
  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(){/**
10664
10635
  * Conversations service.
10665
10636
  * @module purecloud-platform-client-v2/api/ConversationsApi
10666
- * @version 233.0.0
10637
+ * @version 234.0.0
10667
10638
  *//**
10668
10639
  * Constructs a new ConversationsApi.
10669
10640
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -11579,6 +11550,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11579
11550
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'participantId' is set
11580
11551
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'body' is set
11581
11552
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantConsult';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11553
+ * Update conversation participant on behalf of a user
11554
+ *
11555
+ * @param {String} conversationId conversationId
11556
+ * @param {String} participantId participantId
11557
+ * @param {String} userId userId
11558
+ * @param {Object} body Participant request
11559
+ */},{key:"patchConversationsCallParticipantUserUserId",value:function patchConversationsCallParticipantUserUserId(conversationId,participantId,userId,body){// verify the required parameter 'conversationId' is set
11560
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'participantId' is set
11561
+ if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'userId' is set
11562
+ if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'body' is set
11563
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11582
11564
  * Update a conversation by disconnecting all of the participants
11583
11565
  *
11584
11566
  * @param {String} conversationId conversationId
@@ -12750,7 +12732,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12750
12732
  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(){/**
12751
12733
  * DataExtensions service.
12752
12734
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12753
- * @version 233.0.0
12735
+ * @version 234.0.0
12754
12736
  *//**
12755
12737
  * Constructs a new DataExtensionsApi.
12756
12738
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12771,7 +12753,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12771
12753
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
12772
12754
  * DataPrivacy service.
12773
12755
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12774
- * @version 233.0.0
12756
+ * @version 234.0.0
12775
12757
  *//**
12776
12758
  * Constructs a new DataPrivacyApi.
12777
12759
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12811,7 +12793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12811
12793
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
12812
12794
  * Downloads service.
12813
12795
  * @module purecloud-platform-client-v2/api/DownloadsApi
12814
- * @version 233.0.0
12796
+ * @version 234.0.0
12815
12797
  *//**
12816
12798
  * Constructs a new DownloadsApi.
12817
12799
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12830,7 +12812,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12830
12812
  if(downloadId===undefined||downloadId===null||downloadId===''){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(){/**
12831
12813
  * Emails service.
12832
12814
  * @module purecloud-platform-client-v2/api/EmailsApi
12833
- * @version 233.0.0
12815
+ * @version 234.0.0
12834
12816
  *//**
12835
12817
  * Constructs a new EmailsApi.
12836
12818
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12859,7 +12841,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12859
12841
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
12860
12842
  * EmployeeEngagement service.
12861
12843
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12862
- * @version 233.0.0
12844
+ * @version 234.0.0
12863
12845
  *//**
12864
12846
  * Constructs a new EmployeeEngagementApi.
12865
12847
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12897,7 +12879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12897
12879
  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(){/**
12898
12880
  * Events service.
12899
12881
  * @module purecloud-platform-client-v2/api/EventsApi
12900
- * @version 233.0.0
12882
+ * @version 234.0.0
12901
12883
  *//**
12902
12884
  * Constructs a new EventsApi.
12903
12885
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12922,7 +12904,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12922
12904
  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(){/**
12923
12905
  * ExternalContacts service.
12924
12906
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12925
- * @version 233.0.0
12907
+ * @version 234.0.0
12926
12908
  *//**
12927
12909
  * Constructs a new ExternalContactsApi.
12928
12910
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13672,7 +13654,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13672
13654
  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(){/**
13673
13655
  * Fax service.
13674
13656
  * @module purecloud-platform-client-v2/api/FaxApi
13675
- * @version 233.0.0
13657
+ * @version 234.0.0
13676
13658
  *//**
13677
13659
  * Constructs a new FaxApi.
13678
13660
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13721,7 +13703,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13721
13703
  */},{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(){/**
13722
13704
  * Flows service.
13723
13705
  * @module purecloud-platform-client-v2/api/FlowsApi
13724
- * @version 233.0.0
13706
+ * @version 234.0.0
13725
13707
  *//**
13726
13708
  * Constructs a new FlowsApi.
13727
13709
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13775,7 +13757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13775
13757
  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(){/**
13776
13758
  * Gamification service.
13777
13759
  * @module purecloud-platform-client-v2/api/GamificationApi
13778
- * @version 233.0.0
13760
+ * @version 234.0.0
13779
13761
  *//**
13780
13762
  * Constructs a new GamificationApi.
13781
13763
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -14432,7 +14414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14432
14414
  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(){/**
14433
14415
  * GeneralDataProtectionRegulation service.
14434
14416
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14435
- * @version 233.0.0
14417
+ * @version 234.0.0
14436
14418
  *//**
14437
14419
  * Constructs a new GeneralDataProtectionRegulationApi.
14438
14420
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14467,7 +14449,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14467
14449
  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(){/**
14468
14450
  * Geolocation service.
14469
14451
  * @module purecloud-platform-client-v2/api/GeolocationApi
14470
- * @version 233.0.0
14452
+ * @version 234.0.0
14471
14453
  *//**
14472
14454
  * Constructs a new GeolocationApi.
14473
14455
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14501,7 +14483,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14501
14483
  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(){/**
14502
14484
  * Greetings service.
14503
14485
  * @module purecloud-platform-client-v2/api/GreetingsApi
14504
- * @version 233.0.0
14486
+ * @version 234.0.0
14505
14487
  *//**
14506
14488
  * Constructs a new GreetingsApi.
14507
14489
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14629,7 +14611,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14629
14611
  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(){/**
14630
14612
  * Groups service.
14631
14613
  * @module purecloud-platform-client-v2/api/GroupsApi
14632
- * @version 233.0.0
14614
+ * @version 234.0.0
14633
14615
  *//**
14634
14616
  * Constructs a new GroupsApi.
14635
14617
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14762,7 +14744,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14762
14744
  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(){/**
14763
14745
  * IdentityProvider service.
14764
14746
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14765
- * @version 233.0.0
14747
+ * @version 234.0.0
14766
14748
  *//**
14767
14749
  * Constructs a new IdentityProviderApi.
14768
14750
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14918,7 +14900,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14918
14900
  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(){/**
14919
14901
  * InfrastructureAsCode service.
14920
14902
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14921
- * @version 233.0.0
14903
+ * @version 234.0.0
14922
14904
  *//**
14923
14905
  * Constructs a new InfrastructureAsCodeApi.
14924
14906
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -14972,7 +14954,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
14972
14954
  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(){/**
14973
14955
  * Integrations service.
14974
14956
  * @module purecloud-platform-client-v2/api/IntegrationsApi
14975
- * @version 233.0.0
14957
+ * @version 234.0.0
14976
14958
  *//**
14977
14959
  * Constructs a new IntegrationsApi.
14978
14960
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15662,7 +15644,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15662
15644
  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(){/**
15663
15645
  * Journey service.
15664
15646
  * @module purecloud-platform-client-v2/api/JourneyApi
15665
- * @version 233.0.0
15647
+ * @version 234.0.0
15666
15648
  *//**
15667
15649
  * Constructs a new JourneyApi.
15668
15650
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16171,7 +16153,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16171
16153
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
16172
16154
  * Knowledge service.
16173
16155
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16174
- * @version 233.0.0
16156
+ * @version 234.0.0
16175
16157
  *//**
16176
16158
  * Constructs a new KnowledgeApi.
16177
16159
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -16228,36 +16210,6 @@ if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing
16228
16210
  */},{key:"deleteKnowledgeKnowledgebaseLabel",value:function deleteKnowledgeKnowledgebaseLabel(knowledgeBaseId,labelId){// verify the required parameter 'knowledgeBaseId' is set
16229
16211
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
16230
16212
  if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling deleteKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16231
- * Delete category
16232
- *
16233
- * @param {String} categoryId Category ID
16234
- * @param {String} knowledgeBaseId Knowledge base ID
16235
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16236
- * @deprecated
16237
- */},{key:"deleteKnowledgeKnowledgebaseLanguageCategory",value:function deleteKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
16238
- if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
16239
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
16240
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','DELETE',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16241
- * Delete document
16242
- *
16243
- * @param {String} documentId Document ID
16244
- * @param {String} knowledgeBaseId Knowledge base ID
16245
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16246
- * @deprecated
16247
- */},{key:"deleteKnowledgeKnowledgebaseLanguageDocument",value:function deleteKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
16248
- if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
16249
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
16250
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','DELETE',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16251
- * Delete import operation
16252
- *
16253
- * @param {String} knowledgeBaseId Knowledge base ID
16254
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16255
- * @param {String} importId Import ID
16256
- * @deprecated
16257
- */},{key:"deleteKnowledgeKnowledgebaseLanguageDocumentsImport",value:function deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
16258
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
16259
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
16260
- if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16261
16213
  * Delete Salesforce Knowledge integration source
16262
16214
  *
16263
16215
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -16504,104 +16456,6 @@ if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required
16504
16456
  * @param {Boolean} opts.includeDocumentCount If specified, retrieves the number of documents related to label.
16505
16457
  */},{key:"getKnowledgeKnowledgebaseLabels",value:function getKnowledgeKnowledgebaseLabels(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
16506
16458
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'includeDocumentCount':opts['includeDocumentCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16507
- * Get categories
16508
- *
16509
- * @param {String} knowledgeBaseId Knowledge base ID
16510
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16511
- * @param {Object} opts Optional parameters
16512
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
16513
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
16514
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
16515
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
16516
- * @param {String} opts.name Filter to return the categories that starts with the given category name.
16517
- * @deprecated
16518
- */},{key:"getKnowledgeKnowledgebaseLanguageCategories",value:function getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
16519
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
16520
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16521
- * Get category
16522
- *
16523
- * @param {String} categoryId Category ID
16524
- * @param {String} knowledgeBaseId Knowledge base ID
16525
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16526
- * @deprecated
16527
- */},{key:"getKnowledgeKnowledgebaseLanguageCategory",value:function getKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
16528
- if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
16529
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
16530
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','GET',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16531
- * Get document
16532
- *
16533
- * @param {String} documentId Document ID
16534
- * @param {String} knowledgeBaseId Knowledge base ID
16535
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16536
- * @deprecated
16537
- */},{key:"getKnowledgeKnowledgebaseLanguageDocument",value:function getKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
16538
- if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
16539
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
16540
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16541
- * Get document content upload status
16542
- *
16543
- * @param {String} documentId Document ID
16544
- * @param {String} knowledgeBaseId Knowledge base ID
16545
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16546
- * @param {String} uploadId UploadId
16547
- * @deprecated
16548
- */},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
16549
- if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
16550
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
16551
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'uploadId' is set
16552
- if(uploadId===undefined||uploadId===null||uploadId===''){throw'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16553
- * Get documents
16554
- *
16555
- * @param {String} knowledgeBaseId Knowledge base ID
16556
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16557
- * @param {Object} opts Optional parameters
16558
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
16559
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
16560
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
16561
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
16562
- * @param {String} opts.categories Filter by categories ids, comma separated values expected.
16563
- * @param {String} opts.title Filter by document title.
16564
- * @param {Object} opts.sortBy Sort by.
16565
- * @param {Object} opts.sortOrder Sort Order.
16566
- * @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
16567
- * @deprecated
16568
- */},{key:"getKnowledgeKnowledgebaseLanguageDocuments",value:function getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
16569
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
16570
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'categories':opts['categories'],'title':opts['title'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'documentIds':this.apiClient.buildCollectionParam(opts['documentIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16571
- * Get import operation report
16572
- *
16573
- * @param {String} knowledgeBaseId Knowledge base ID
16574
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16575
- * @param {String} importId Import ID
16576
- * @deprecated
16577
- */},{key:"getKnowledgeKnowledgebaseLanguageDocumentsImport",value:function getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
16578
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
16579
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
16580
- if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16581
- * Get training detail
16582
- *
16583
- * @param {String} knowledgeBaseId Knowledge base ID
16584
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16585
- * @param {String} trainingId Training ID
16586
- * @deprecated
16587
- */},{key:"getKnowledgeKnowledgebaseLanguageTraining",value:function getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
16588
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'languageCode' is set
16589
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'trainingId' is set
16590
- if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16591
- * Get all trainings information for a knowledgebase
16592
- *
16593
- * @param {String} knowledgeBaseId Knowledge base ID
16594
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16595
- * @param {Object} opts Optional parameters
16596
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
16597
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
16598
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
16599
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
16600
- * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
16601
- * @deprecated
16602
- */},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
16603
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
16604
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16605
16459
  * Get operations
16606
16460
  *
16607
16461
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -16800,52 +16654,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16800
16654
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
16801
16655
  if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'body' is set
16802
16656
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16803
- * Update category
16804
- *
16805
- * @param {String} categoryId Category ID
16806
- * @param {String} knowledgeBaseId Knowledge base ID
16807
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16808
- * @param {Object} body
16809
- * @deprecated
16810
- */},{key:"patchKnowledgeKnowledgebaseLanguageCategory",value:function patchKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode,body){// verify the required parameter 'categoryId' is set
16811
- if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
16812
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
16813
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'body' is set
16814
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','PATCH',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16815
- * Update document
16816
- *
16817
- * @param {String} documentId Document ID
16818
- * @param {String} knowledgeBaseId Knowledge base ID
16819
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16820
- * @param {Object} body
16821
- * @deprecated
16822
- */},{key:"patchKnowledgeKnowledgebaseLanguageDocument",value:function patchKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
16823
- if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
16824
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
16825
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'body' is set
16826
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','PATCH',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16827
- * Update documents collection
16828
- *
16829
- * @param {String} knowledgeBaseId Knowledge base ID
16830
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16831
- * @param {Array.<Object>} body
16832
- * @deprecated
16833
- */},{key:"patchKnowledgeKnowledgebaseLanguageDocuments",value:function patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
16834
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
16835
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
16836
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16837
- * Start import operation
16838
- *
16839
- * @param {String} knowledgeBaseId Knowledge base ID
16840
- * @param {Object} languageCode Language code, format: iso2-LOCALE
16841
- * @param {String} importId Import ID
16842
- * @param {Object} body
16843
- * @deprecated
16844
- */},{key:"patchKnowledgeKnowledgebaseLanguageDocumentsImport",value:function patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId,body){// verify the required parameter 'knowledgeBaseId' is set
16845
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
16846
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
16847
- if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
16848
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16849
16657
  * Send update to the parse operation
16850
16658
  *
16851
16659
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -17086,66 +16894,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17086
16894
  */},{key:"postKnowledgeKnowledgebaseLabels",value:function postKnowledgeKnowledgebaseLabels(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
17087
16895
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLabels';}// verify the required parameter 'body' is set
17088
16896
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17089
- * Create new category
17090
- *
17091
- * @param {String} knowledgeBaseId Knowledge base ID
17092
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17093
- * @param {Object} body
17094
- * @deprecated
17095
- */},{key:"postKnowledgeKnowledgebaseLanguageCategories",value:function postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
17096
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
17097
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'body' is set
17098
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17099
- * Upload Article Content
17100
- *
17101
- * @param {String} documentId Document ID
17102
- * @param {String} knowledgeBaseId Knowledge base ID
17103
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17104
- * @param {Object} body
17105
- * @deprecated
17106
- */},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
17107
- if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
17108
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
17109
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'body' is set
17110
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads','POST',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17111
- * Create document
17112
- *
17113
- * @param {String} knowledgeBaseId Knowledge base ID
17114
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17115
- * @param {Object} body
17116
- * @deprecated
17117
- */},{key:"postKnowledgeKnowledgebaseLanguageDocuments",value:function postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
17118
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
17119
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
17120
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17121
- * Create import operation
17122
- *
17123
- * @param {String} knowledgeBaseId Knowledge base ID
17124
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17125
- * @param {Object} body
17126
- * @deprecated
17127
- */},{key:"postKnowledgeKnowledgebaseLanguageDocumentsImports",value:function postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
17128
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'languageCode' is set
17129
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'body' is set
17130
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17131
- * Promote trained documents from draft state to active.
17132
- *
17133
- * @param {String} knowledgeBaseId Knowledge base ID
17134
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17135
- * @param {String} trainingId Training ID
17136
- * @deprecated
17137
- */},{key:"postKnowledgeKnowledgebaseLanguageTrainingPromote",value:function postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
17138
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'languageCode' is set
17139
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'trainingId' is set
17140
- if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17141
- * Trigger training
17142
- *
17143
- * @param {String} knowledgeBaseId Knowledge base ID
17144
- * @param {Object} languageCode Language code, format: iso2-LOCALE
17145
- * @deprecated
17146
- */},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
17147
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
17148
- if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17149
16897
  * Import the parsed articles
17150
16898
  *
17151
16899
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -17162,14 +16910,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17162
16910
  */},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
17163
16911
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
17164
16912
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17165
- * Search Documents
17166
- *
17167
- * @param {String} knowledgeBaseId Knowledge base ID
17168
- * @param {Object} opts Optional parameters
17169
- * @param {Object} opts.body
17170
- * @deprecated
17171
- */},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
17172
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
17173
16913
  * Create Salesforce Knowledge integration source
17174
16914
  *
17175
16915
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -17241,7 +16981,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
17241
16981
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
17242
16982
  * LanguageUnderstanding service.
17243
16983
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17244
- * @version 233.0.0
16984
+ * @version 234.0.0
17245
16985
  *//**
17246
16986
  * Constructs a new LanguageUnderstandingApi.
17247
16987
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17550,7 +17290,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17550
17290
  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(){/**
17551
17291
  * Languages service.
17552
17292
  * @module purecloud-platform-client-v2/api/LanguagesApi
17553
- * @version 233.0.0
17293
+ * @version 234.0.0
17554
17294
  *//**
17555
17295
  * Constructs a new LanguagesApi.
17556
17296
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17605,7 +17345,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17605
17345
  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(){/**
17606
17346
  * Learning service.
17607
17347
  * @module purecloud-platform-client-v2/api/LearningApi
17608
- * @version 233.0.0
17348
+ * @version 234.0.0
17609
17349
  *//**
17610
17350
  * Constructs a new LearningApi.
17611
17351
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17878,7 +17618,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17878
17618
  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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
17879
17619
  * License service.
17880
17620
  * @module purecloud-platform-client-v2/api/LicenseApi
17881
- * @version 233.0.0
17621
+ * @version 234.0.0
17882
17622
  *//**
17883
17623
  * Constructs a new LicenseApi.
17884
17624
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17932,7 +17672,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17932
17672
  */},{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(){/**
17933
17673
  * Locations service.
17934
17674
  * @module purecloud-platform-client-v2/api/LocationsApi
17935
- * @version 233.0.0
17675
+ * @version 234.0.0
17936
17676
  *//**
17937
17677
  * Constructs a new LocationsApi.
17938
17678
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17991,7 +17731,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17991
17731
  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(){/**
17992
17732
  * LogCapture service.
17993
17733
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17994
- * @version 233.0.0
17734
+ * @version 234.0.0
17995
17735
  *//**
17996
17736
  * Constructs a new LogCaptureApi.
17997
17737
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -18040,7 +17780,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
18040
17780
  if(userId===undefined||userId===null||userId===''){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(){/**
18041
17781
  * Messaging service.
18042
17782
  * @module purecloud-platform-client-v2/api/MessagingApi
18043
- * @version 233.0.0
17783
+ * @version 234.0.0
18044
17784
  *//**
18045
17785
  * Constructs a new MessagingApi.
18046
17786
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -18130,7 +17870,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18130
17870
  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(){/**
18131
17871
  * MobileDevices service.
18132
17872
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
18133
- * @version 233.0.0
17873
+ * @version 234.0.0
18134
17874
  *//**
18135
17875
  * Constructs a new MobileDevicesApi.
18136
17876
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -18169,7 +17909,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18169
17909
  if(deviceId===undefined||deviceId===null||deviceId===''){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(){/**
18170
17910
  * Notifications service.
18171
17911
  * @module purecloud-platform-client-v2/api/NotificationsApi
18172
- * @version 233.0.0
17912
+ * @version 234.0.0
18173
17913
  *//**
18174
17914
  * Constructs a new NotificationsApi.
18175
17915
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18226,7 +17966,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18226
17966
  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(){/**
18227
17967
  * OAuth service.
18228
17968
  * @module purecloud-platform-client-v2/api/OAuthApi
18229
- * @version 233.0.0
17969
+ * @version 234.0.0
18230
17970
  *//**
18231
17971
  * Constructs a new OAuthApi.
18232
17972
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18311,7 +18051,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18311
18051
  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(){/**
18312
18052
  * Objects service.
18313
18053
  * @module purecloud-platform-client-v2/api/ObjectsApi
18314
- * @version 233.0.0
18054
+ * @version 234.0.0
18315
18055
  *//**
18316
18056
  * Constructs a new ObjectsApi.
18317
18057
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18397,7 +18137,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18397
18137
  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(){/**
18398
18138
  * OperationalEvents service.
18399
18139
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18400
- * @version 233.0.0
18140
+ * @version 234.0.0
18401
18141
  *//**
18402
18142
  * Constructs a new OperationalEventsApi.
18403
18143
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18428,7 +18168,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18428
18168
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
18429
18169
  * Organization service.
18430
18170
  * @module purecloud-platform-client-v2/api/OrganizationApi
18431
- * @version 233.0.0
18171
+ * @version 234.0.0
18432
18172
  *//**
18433
18173
  * Constructs a new OrganizationApi.
18434
18174
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18533,7 +18273,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18533
18273
  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(){/**
18534
18274
  * OrganizationAuthorization service.
18535
18275
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18536
- * @version 233.0.0
18276
+ * @version 234.0.0
18537
18277
  *//**
18538
18278
  * Constructs a new OrganizationAuthorizationApi.
18539
18279
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18867,7 +18607,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18867
18607
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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(){/**
18868
18608
  * Outbound service.
18869
18609
  * @module purecloud-platform-client-v2/api/OutboundApi
18870
- * @version 233.0.0
18610
+ * @version 234.0.0
18871
18611
  *//**
18872
18612
  * Constructs a new OutboundApi.
18873
18613
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19679,6 +19419,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19679
19419
  * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
19680
19420
  */},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body,opts){opts=opts||{};// verify the required parameter 'body' is set
19681
19421
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19422
+ * Get performance data for a list of campaigns
19423
+ *
19424
+ * @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
19425
+ */},{key:"postOutboundCampaignsPerformanceQuery",value:function postOutboundCampaignsPerformanceQuery(body){// verify the required parameter 'body' is set
19426
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';}return this.apiClient.callApi('/api/v2/outbound/campaigns/performance/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19682
19427
  * Get progress for a list of campaigns
19683
19428
  *
19684
19429
  * @param {Array.<String>} body Campaign IDs
@@ -20018,7 +19763,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20018
19763
  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(){/**
20019
19764
  * Presence service.
20020
19765
  * @module purecloud-platform-client-v2/api/PresenceApi
20021
- * @version 233.0.0
19766
+ * @version 234.0.0
20022
19767
  *//**
20023
19768
  * Constructs a new PresenceApi.
20024
19769
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -20191,7 +19936,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20191
19936
  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(){/**
20192
19937
  * ProcessAutomation service.
20193
19938
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20194
- * @version 233.0.0
19939
+ * @version 234.0.0
20195
19940
  *//**
20196
19941
  * Constructs a new ProcessAutomationApi.
20197
19942
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20254,7 +19999,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20254
19999
  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(){/**
20255
20000
  * Quality service.
20256
20001
  * @module purecloud-platform-client-v2/api/QualityApi
20257
- * @version 233.0.0
20002
+ * @version 234.0.0
20258
20003
  *//**
20259
20004
  * Constructs a new QualityApi.
20260
20005
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20772,7 +20517,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20772
20517
  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(){/**
20773
20518
  * Recording service.
20774
20519
  * @module purecloud-platform-client-v2/api/RecordingApi
20775
- * @version 233.0.0
20520
+ * @version 234.0.0
20776
20521
  *//**
20777
20522
  * Constructs a new RecordingApi.
20778
20523
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -21171,7 +20916,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21171
20916
  */},{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(){/**
21172
20917
  * ResponseManagement service.
21173
20918
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
21174
- * @version 233.0.0
20919
+ * @version 234.0.0
21175
20920
  *//**
21176
20921
  * Constructs a new ResponseManagementApi.
21177
20922
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21292,7 +21037,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21292
21037
  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(){/**
21293
21038
  * Routing service.
21294
21039
  * @module purecloud-platform-client-v2/api/RoutingApi
21295
- * @version 233.0.0
21040
+ * @version 234.0.0
21296
21041
  *//**
21297
21042
  * Constructs a new RoutingApi.
21298
21043
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -21471,6 +21216,16 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
21471
21216
  * @param {Object} opts.expand Expand options. Valid values: settings
21472
21217
  */},{key:"getRoutingEmailDomain",value:function getRoutingEmailDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
21473
21218
  if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}','GET',{'domainId':domainId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21219
+ * Get domain dkim settings
21220
+ *
21221
+ * @param {String} domainId domain ID
21222
+ */},{key:"getRoutingEmailDomainDkim",value:function getRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
21223
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21224
+ * Get domain mail from settings
21225
+ *
21226
+ * @param {String} domainId domain ID
21227
+ */},{key:"getRoutingEmailDomainMailfrom",value:function getRoutingEmailDomainMailfrom(domainId){// verify the required parameter 'domainId' is set
21228
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21474
21229
  * Get a route
21475
21230
  *
21476
21231
  * @param {String} domainName email domain
@@ -21497,6 +21252,11 @@ if(routeId===undefined||routeId===null||routeId===''){throw'Missing the required
21497
21252
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
21498
21253
  */},{key:"getRoutingEmailDomainRoutes",value:function getRoutingEmailDomainRoutes(domainName,opts){opts=opts||{};// verify the required parameter 'domainName' is set
21499
21254
  if(domainName===undefined||domainName===null||domainName===''){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes','GET',{'domainName':domainName},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'pattern':opts['pattern'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21255
+ * Get domain verification settings
21256
+ *
21257
+ * @param {String} domainId domain ID
21258
+ */},{key:"getRoutingEmailDomainVerification",value:function getRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
21259
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21500
21260
  * Get domains
21501
21261
  *
21502
21262
  * @param {Object} opts Optional parameters
@@ -22096,6 +21856,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22096
21856
  * @param {Object} opts Optional parameters
22097
21857
  * @param {Object} opts.body
22098
21858
  */},{key:"postRoutingAssessmentsJobs",value:function postRoutingAssessmentsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/assessments/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21859
+ * Restart domain dkim
21860
+ *
21861
+ * @param {String} domainId domain ID
21862
+ */},{key:"postRoutingEmailDomainDkim",value:function postRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
21863
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21864
+ * Set domain mail from settings
21865
+ *
21866
+ * @param {String} domainId domain ID
21867
+ * @param {Object} body Mail From Settings
21868
+ */},{key:"postRoutingEmailDomainMailfrom",value:function postRoutingEmailDomainMailfrom(domainId,body){// verify the required parameter 'domainId' is set
21869
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';}// verify the required parameter 'body' is set
21870
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','POST',{'domainId':domainId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22099
21871
  * Create a route
22100
21872
  *
22101
21873
  * @param {String} domainName email domain
@@ -22110,6 +21882,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22110
21882
  * @param {Object} opts.body TestMessage
22111
21883
  */},{key:"postRoutingEmailDomainTestconnection",value:function postRoutingEmailDomainTestconnection(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
22112
21884
  if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/testconnection','POST',{'domainId':domainId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21885
+ * Restart domain verification
21886
+ *
21887
+ * @param {String} domainId domain ID
21888
+ */},{key:"postRoutingEmailDomainVerification",value:function postRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
21889
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22113
21890
  * Create a domain
22114
21891
  *
22115
21892
  * @param {Object} body Domain
@@ -22351,7 +22128,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22351
22128
  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(){/**
22352
22129
  * SCIM service.
22353
22130
  * @module purecloud-platform-client-v2/api/SCIMApi
22354
- * @version 233.0.0
22131
+ * @version 234.0.0
22355
22132
  *//**
22356
22133
  * Constructs a new SCIMApi.
22357
22134
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22576,7 +22353,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22576
22353
  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(){/**
22577
22354
  * ScreenRecording service.
22578
22355
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22579
- * @version 233.0.0
22356
+ * @version 234.0.0
22580
22357
  *//**
22581
22358
  * Constructs a new ScreenRecordingApi.
22582
22359
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22591,7 +22368,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22591
22368
  */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(){/**
22592
22369
  * Scripts service.
22593
22370
  * @module purecloud-platform-client-v2/api/ScriptsApi
22594
- * @version 233.0.0
22371
+ * @version 234.0.0
22595
22372
  *//**
22596
22373
  * Constructs a new ScriptsApi.
22597
22374
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22737,7 +22514,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22737
22514
  */},{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(){/**
22738
22515
  * Search service.
22739
22516
  * @module purecloud-platform-client-v2/api/SearchApi
22740
- * @version 233.0.0
22517
+ * @version 234.0.0
22741
22518
  *//**
22742
22519
  * Constructs a new SearchApi.
22743
22520
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22833,14 +22610,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22833
22610
  * @param {Object} body Search request options
22834
22611
  */},{key:"postGroupsSearch",value:function postGroupsSearch(body){// verify the required parameter 'body' is set
22835
22612
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGroupsSearch';}return this.apiClient.callApi('/api/v2/groups/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22836
- * Search Documents
22837
- *
22838
- * @param {String} knowledgeBaseId Knowledge base ID
22839
- * @param {Object} opts Optional parameters
22840
- * @param {Object} opts.body
22841
- * @deprecated
22842
- */},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
22843
- if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
22844
22613
  * Search locations
22845
22614
  *
22846
22615
  * @param {Object} body Search request options
@@ -22904,7 +22673,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22904
22673
  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(){/**
22905
22674
  * Settings service.
22906
22675
  * @module purecloud-platform-client-v2/api/SettingsApi
22907
- * @version 233.0.0
22676
+ * @version 234.0.0
22908
22677
  *//**
22909
22678
  * Constructs a new SettingsApi.
22910
22679
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22976,7 +22745,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22976
22745
  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 SocialMediaApi=/*#__PURE__*/function(){/**
22977
22746
  * SocialMedia service.
22978
22747
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22979
- * @version 233.0.0
22748
+ * @version 234.0.0
22980
22749
  *//**
22981
22750
  * Constructs a new SocialMediaApi.
22982
22751
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23065,8 +22834,10 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
23065
22834
  * Get a single escalation rule.
23066
22835
  *
23067
22836
  * @param {String} escalationRuleId escalationRuleId
23068
- */},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId){// verify the required parameter 'escalationRuleId' is set
23069
- if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId===''){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22837
+ * @param {Object} opts Optional parameters
22838
+ * @param {Object} opts.expand which fields, if any, to expand
22839
+ */},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
22840
+ if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId===''){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23070
22841
  * Retrieve all escalation rules for a division.
23071
22842
  *
23072
22843
  * @param {String} divisionId One division ID
@@ -23389,7 +23160,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23389
23160
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
23390
23161
  * SpeechTextAnalytics service.
23391
23162
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23392
- * @version 233.0.0
23163
+ * @version 234.0.0
23393
23164
  *//**
23394
23165
  * Constructs a new SpeechTextAnalyticsApi.
23395
23166
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23759,7 +23530,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23759
23530
  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(){/**
23760
23531
  * Stations service.
23761
23532
  * @module purecloud-platform-client-v2/api/StationsApi
23762
- * @version 233.0.0
23533
+ * @version 234.0.0
23763
23534
  *//**
23764
23535
  * Constructs a new StationsApi.
23765
23536
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23791,7 +23562,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23791
23562
  */},{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(){/**
23792
23563
  * Suggest service.
23793
23564
  * @module purecloud-platform-client-v2/api/SuggestApi
23794
- * @version 233.0.0
23565
+ * @version 234.0.0
23795
23566
  *//**
23796
23567
  * Constructs a new SuggestApi.
23797
23568
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23831,7 +23602,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23831
23602
  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(){/**
23832
23603
  * TaskManagement service.
23833
23604
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23834
- * @version 233.0.0
23605
+ * @version 234.0.0
23835
23606
  *//**
23836
23607
  * Constructs a new TaskManagementApi.
23837
23608
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24339,7 +24110,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24339
24110
  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(){/**
24340
24111
  * Teams service.
24341
24112
  * @module purecloud-platform-client-v2/api/TeamsApi
24342
- * @version 233.0.0
24113
+ * @version 234.0.0
24343
24114
  *//**
24344
24115
  * Constructs a new TeamsApi.
24345
24116
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24419,7 +24190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24419
24190
  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(){/**
24420
24191
  * Telephony service.
24421
24192
  * @module purecloud-platform-client-v2/api/TelephonyApi
24422
- * @version 233.0.0
24193
+ * @version 234.0.0
24423
24194
  *//**
24424
24195
  * Constructs a new TelephonyApi.
24425
24196
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24490,7 +24261,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24490
24261
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24491
24262
  * TelephonyProvidersEdge service.
24492
24263
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24493
- * @version 233.0.0
24264
+ * @version 234.0.0
24494
24265
  *//**
24495
24266
  * Constructs a new TelephonyProvidersEdgeApi.
24496
24267
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25338,7 +25109,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25338
25109
  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(){/**
25339
25110
  * Textbots service.
25340
25111
  * @module purecloud-platform-client-v2/api/TextbotsApi
25341
- * @version 233.0.0
25112
+ * @version 234.0.0
25342
25113
  *//**
25343
25114
  * Constructs a new TextbotsApi.
25344
25115
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25374,7 +25145,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25374
25145
  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(){/**
25375
25146
  * Tokens service.
25376
25147
  * @module purecloud-platform-client-v2/api/TokensApi
25377
- * @version 233.0.0
25148
+ * @version 234.0.0
25378
25149
  *//**
25379
25150
  * Constructs a new TokensApi.
25380
25151
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25408,7 +25179,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25408
25179
  */},{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(){/**
25409
25180
  * Uploads service.
25410
25181
  * @module purecloud-platform-client-v2/api/UploadsApi
25411
- * @version 233.0.0
25182
+ * @version 234.0.0
25412
25183
  *//**
25413
25184
  * Constructs a new UploadsApi.
25414
25185
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25476,7 +25247,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25476
25247
  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(){/**
25477
25248
  * Usage service.
25478
25249
  * @module purecloud-platform-client-v2/api/UsageApi
25479
- * @version 233.0.0
25250
+ * @version 234.0.0
25480
25251
  *//**
25481
25252
  * Constructs a new UsageApi.
25482
25253
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25560,7 +25331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25560
25331
  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(){/**
25561
25332
  * UserRecordings service.
25562
25333
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25563
- * @version 233.0.0
25334
+ * @version 234.0.0
25564
25335
  *//**
25565
25336
  * Constructs a new UserRecordingsApi.
25566
25337
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25608,7 +25379,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25608
25379
  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(){/**
25609
25380
  * Users service.
25610
25381
  * @module purecloud-platform-client-v2/api/UsersApi
25611
- * @version 233.0.0
25382
+ * @version 234.0.0
25612
25383
  *//**
25613
25384
  * Constructs a new UsersApi.
25614
25385
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26352,7 +26123,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26352
26123
  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(){/**
26353
26124
  * Utilities service.
26354
26125
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26355
- * @version 233.0.0
26126
+ * @version 234.0.0
26356
26127
  *//**
26357
26128
  * Constructs a new UtilitiesApi.
26358
26129
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26379,7 +26150,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26379
26150
  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(){/**
26380
26151
  * Voicemail service.
26381
26152
  * @module purecloud-platform-client-v2/api/VoicemailApi
26382
- * @version 233.0.0
26153
+ * @version 234.0.0
26383
26154
  *//**
26384
26155
  * Constructs a new VoicemailApi.
26385
26156
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26541,7 +26312,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26541
26312
  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(){/**
26542
26313
  * WebChat service.
26543
26314
  * @module purecloud-platform-client-v2/api/WebChatApi
26544
- * @version 233.0.0
26315
+ * @version 234.0.0
26545
26316
  *//**
26546
26317
  * Constructs a new WebChatApi.
26547
26318
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26688,7 +26459,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26688
26459
  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(){/**
26689
26460
  * WebDeployments service.
26690
26461
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26691
- * @version 233.0.0
26462
+ * @version 234.0.0
26692
26463
  *//**
26693
26464
  * Constructs a new WebDeploymentsApi.
26694
26465
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26788,7 +26559,7 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
26788
26559
  * @param {Object} deployment
26789
26560
  */},{key:"postWebdeploymentsDeployments",value:function postWebdeploymentsDeployments(deployment){// verify the required parameter 'deployment' is set
26790
26561
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling postWebdeploymentsDeployments';}return this.apiClient.callApi('/api/v2/webdeployments/deployments','POST',{},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26791
- * Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
26562
+ * Exchange an oAuth code (obtained using the Authorization Code Flow or Implicit flow) for a JWT that can be used by webdeployments.
26792
26563
  *
26793
26564
  * @param {Object} body webDeploymentsOAuthExchangeRequest
26794
26565
  */},{key:"postWebdeploymentsTokenOauthcodegrantjwtexchange",value:function postWebdeploymentsTokenOauthcodegrantjwtexchange(body){// verify the required parameter 'body' is set
@@ -26821,7 +26592,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26821
26592
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
26822
26593
  * WebMessaging service.
26823
26594
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26824
- * @version 233.0.0
26595
+ * @version 234.0.0
26825
26596
  *//**
26826
26597
  * Constructs a new WebMessagingApi.
26827
26598
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26862,7 +26633,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26862
26633
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
26863
26634
  * Widgets service.
26864
26635
  * @module purecloud-platform-client-v2/api/WidgetsApi
26865
- * @version 233.0.0
26636
+ * @version 234.0.0
26866
26637
  *//**
26867
26638
  * Constructs a new WidgetsApi.
26868
26639
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26902,7 +26673,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26902
26673
  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(){/**
26903
26674
  * WorkforceManagement service.
26904
26675
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26905
- * @version 233.0.0
26676
+ * @version 234.0.0
26906
26677
  *//**
26907
26678
  * Constructs a new WorkforceManagementApi.
26908
26679
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -28862,7 +28633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28862
28633
  * </pre>
28863
28634
  * </p>
28864
28635
  * @module purecloud-platform-client-v2/index
28865
- * @version 233.0.0
28636
+ * @version 234.0.0
28866
28637
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28867
28638
  * The ApiClient constructor.
28868
28639
  * @property {module:purecloud-platform-client-v2/ApiClient}