purecloud-platform-client-v2 188.0.1 → 189.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1059 -113
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1059 -113
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +340 -115
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +359 -122
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +727 -7
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +13 -9
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +5 -5
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +240 -11
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +187 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +7 -3
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +48 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +27 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -3
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +4 -3
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5021,42 +5021,54 @@ var $mapHas = callBound('Map.prototype.has', true);
5021
5021
  *
5022
5022
  * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
5023
5023
  */
5024
+ /** @type {import('.').listGetNode} */
5024
5025
  var listGetNode = function (list, key) { // eslint-disable-line consistent-return
5025
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
5026
+ /** @type {typeof list | NonNullable<(typeof list)['next']>} */
5027
+ var prev = list;
5028
+ /** @type {(typeof list)['next']} */
5029
+ var curr;
5030
+ for (; (curr = prev.next) !== null; prev = curr) {
5026
5031
  if (curr.key === key) {
5027
5032
  prev.next = curr.next;
5028
- curr.next = list.next;
5033
+ // eslint-disable-next-line no-extra-parens
5034
+ curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
5029
5035
  list.next = curr; // eslint-disable-line no-param-reassign
5030
5036
  return curr;
5031
5037
  }
5032
5038
  }
5033
5039
  };
5034
5040
 
5041
+ /** @type {import('.').listGet} */
5035
5042
  var listGet = function (objects, key) {
5036
5043
  var node = listGetNode(objects, key);
5037
5044
  return node && node.value;
5038
5045
  };
5046
+ /** @type {import('.').listSet} */
5039
5047
  var listSet = function (objects, key, value) {
5040
5048
  var node = listGetNode(objects, key);
5041
5049
  if (node) {
5042
5050
  node.value = value;
5043
5051
  } else {
5044
5052
  // Prepend the new node to the beginning of the list
5045
- objects.next = { // eslint-disable-line no-param-reassign
5053
+ objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
5046
5054
  key: key,
5047
5055
  next: objects.next,
5048
5056
  value: value
5049
- };
5057
+ });
5050
5058
  }
5051
5059
  };
5060
+ /** @type {import('.').listHas} */
5052
5061
  var listHas = function (objects, key) {
5053
5062
  return !!listGetNode(objects, key);
5054
5063
  };
5055
5064
 
5065
+ /** @type {import('.')} */
5056
5066
  module.exports = function getSideChannel() {
5057
- var $wm;
5058
- var $m;
5059
- var $o;
5067
+ /** @type {WeakMap<object, unknown>} */ var $wm;
5068
+ /** @type {Map<object, unknown>} */ var $m;
5069
+ /** @type {import('.').RootNode<unknown>} */ var $o;
5070
+
5071
+ /** @type {import('.').Channel} */
5060
5072
  var channel = {
5061
5073
  assert: function (key) {
5062
5074
  if (!channel.has(key)) {
@@ -5968,7 +5980,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
5968
5980
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
5969
5981
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
5970
5982
  * @module purecloud-platform-client-v2/ApiClient
5971
- * @version 188.0.1
5983
+ * @version 189.0.0
5972
5984
  */var ApiClient=/*#__PURE__*/function(){/**
5973
5985
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
5974
5986
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6280,7 +6292,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6280
6292
  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);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
6281
6293
  * Alerting service.
6282
6294
  * @module purecloud-platform-client-v2/api/AlertingApi
6283
- * @version 188.0.1
6295
+ * @version 189.0.0
6284
6296
  */ /**
6285
6297
  * Constructs a new AlertingApi.
6286
6298
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -6437,7 +6449,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
6437
6449
  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']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
6438
6450
  * Analytics service.
6439
6451
  * @module purecloud-platform-client-v2/api/AnalyticsApi
6440
- * @version 188.0.1
6452
+ * @version 189.0.0
6441
6453
  */ /**
6442
6454
  * Constructs a new AnalyticsApi.
6443
6455
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -6910,7 +6922,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6910
6922
  * Query for knowledge aggregates
6911
6923
  *
6912
6924
  * @param {Object} body query
6913
- * postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6914
6925
  */},{key:"postAnalyticsKnowledgeAggregatesQuery",value:function postAnalyticsKnowledgeAggregatesQuery(body){// verify the required parameter 'body' is set
6915
6926
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6916
6927
  * Query for queue observations
@@ -7048,7 +7059,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
7048
7059
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
7049
7060
  * Architect service.
7050
7061
  * @module purecloud-platform-client-v2/api/ArchitectApi
7051
- * @version 188.0.1
7062
+ * @version 189.0.0
7052
7063
  */ /**
7053
7064
  * Constructs a new ArchitectApi.
7054
7065
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -7144,6 +7155,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
7144
7155
  * @param {String} flowId Flow ID
7145
7156
  */},{key:"deleteFlow",value:function deleteFlow(flowId){// verify the required parameter 'flowId' is set
7146
7157
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7158
+ * Deletes a log level for a flow by flow id.
7159
+ * Deletes the associated log level for a flow by flow id
7160
+ * @param {String} flowId The flow id to delete the loglevel for
7161
+ * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7162
+ */},{key:"deleteFlowInstancesSettingsLoglevels",value:function deleteFlowInstancesSettingsLoglevels(flowId){// verify the required parameter 'flowId' is set
7163
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7147
7164
  * Batch-delete a list of flows
7148
7165
  * Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
7149
7166
  * @param {Array.<String>} id List of Flow IDs
@@ -7163,6 +7180,10 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
7163
7180
  */},{key:"deleteFlowsDatatableRow",value:function deleteFlowsDatatableRow(datatableId,rowId){// verify the required parameter 'datatableId' is set
7164
7181
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';}// verify the required parameter 'rowId' is set
7165
7182
  if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','DELETE',{'datatableId':datatableId,'rowId':rowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7183
+ * Resets the org log level to default, base
7184
+ * Resets the org log level to default, base
7185
+ * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7186
+ */},{key:"deleteFlowsInstancesSettingsLoglevelsDefault",value:function deleteFlowsInstancesSettingsLoglevelsDefault(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7166
7187
  * Delete a flow milestone.
7167
7188
  *
7168
7189
  * @param {String} milestoneId flow milestone ID
@@ -7514,6 +7535,14 @@ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flow
7514
7535
  */},{key:"getFlowHistoryHistoryId",value:function getFlowHistoryHistoryId(flowId,historyId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
7515
7536
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';}// verify the required parameter 'historyId' is set
7516
7537
  if(historyId===undefined||historyId===null){throw'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history/{historyId}','GET',{'flowId':flowId,'historyId':historyId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'action':this.apiClient.buildCollectionParam(opts['action'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7538
+ * Retrieves the log level for a flow by flow id.
7539
+ * Retrieves the log level for a flow by flow id.
7540
+ * @param {String} flowId The flow id to get the loglevel for
7541
+ * @param {Object} opts Optional parameters
7542
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7543
+ * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7544
+ */},{key:"getFlowInstancesSettingsLoglevels",value:function getFlowInstancesSettingsLoglevels(flowId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
7545
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','GET',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7517
7546
  * Get the latest configuration for flow
7518
7547
  *
7519
7548
  * @param {String} flowId Flow ID
@@ -7707,21 +7736,40 @@ if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the requir
7707
7736
  * @param {String} instanceId Instance ID
7708
7737
  * @param {Object} opts Optional parameters
7709
7738
  * @param {Object} opts.expand Expand various details.
7710
- * getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7711
7739
  */},{key:"getFlowsInstance",value:function getFlowsInstance(instanceId,opts){opts=opts||{};// verify the required parameter 'instanceId' is set
7712
7740
  if(instanceId===undefined||instanceId===null){throw'Missing the required parameter "instanceId" when calling getFlowsInstance';}return this.apiClient.callApi('/api/v2/flows/instances/{instanceId}','GET',{'instanceId':instanceId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7713
7741
  * Get the status and/or results of an asynchronous flow execution data retrieval job
7714
7742
  *
7715
7743
  * @param {String} jobId The asynchronous job ID
7716
- * getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7717
7744
  */},{key:"getFlowsInstancesJob",value:function getFlowsInstancesJob(jobId){// verify the required parameter 'jobId' is set
7718
7745
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getFlowsInstancesJob';}return this.apiClient.callApi('/api/v2/flows/instances/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7719
7746
  * Retrieve a list of capabilities that the org can use to query for execution data
7720
7747
  * Returns the queryable parameters that can be used to build a query for execution data.
7721
7748
  * @param {Object} opts Optional parameters
7722
7749
  * @param {Object} opts.expand Expand various query types.
7723
- * getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7724
7750
  */},{key:"getFlowsInstancesQuerycapabilities",value:function getFlowsInstancesQuerycapabilities(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/querycapabilities','GET',{},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7751
+ * Get the execution history enabled setting.
7752
+ * Get the execution history enabled setting.
7753
+ * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7754
+ */},{key:"getFlowsInstancesSettingsExecutiondata",value:function getFlowsInstancesSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7755
+ * Retrieve a list of LogLevels for the organization.
7756
+ * Returns a paged set of LogLevels per flow id
7757
+ * @param {Object} opts Optional parameters
7758
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7759
+ * @param {Number} opts.pageNumber Page number (default to 1)
7760
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
7761
+ * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7762
+ */},{key:"getFlowsInstancesSettingsLoglevels",value:function getFlowsInstancesSettingsLoglevels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7763
+ * Gets the available flow log level characteristics for this organization.
7764
+ * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
7765
+ * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7766
+ */},{key:"getFlowsInstancesSettingsLoglevelsCharacteristics",value:function getFlowsInstancesSettingsLoglevelsCharacteristics(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/characteristics','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7767
+ * Returns the flow default log level.
7768
+ * Returns the flow default log level which will be used if no specific flow id log level is found.
7769
+ * @param {Object} opts Optional parameters
7770
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7771
+ * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7772
+ */},{key:"getFlowsInstancesSettingsLoglevelsDefault",value:function getFlowsInstancesSettingsLoglevelsDefault(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7725
7773
  * Fetch Architect Job Status
7726
7774
  *
7727
7775
  * @param {String} jobId Job ID
@@ -7805,6 +7853,12 @@ if(grammarId===undefined||grammarId===null){throw'Missing the required parameter
7805
7853
  */},{key:"patchArchitectGrammarLanguage",value:function patchArchitectGrammarLanguage(grammarId,languageCode,opts){opts=opts||{};// verify the required parameter 'grammarId' is set
7806
7854
  if(grammarId===undefined||grammarId===null){throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';}// verify the required parameter 'languageCode' is set
7807
7855
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';}return this.apiClient.callApi('/api/v2/architect/grammars/{grammarId}/languages/{languageCode}','PATCH',{'grammarId':grammarId,'languageCode':languageCode},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
7856
+ * Edit the execution history enabled setting.
7857
+ * Edit the execution history enabled setting.
7858
+ * @param {Object} body New Execution Data Setting
7859
+ * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7860
+ */},{key:"patchFlowsInstancesSettingsExecutiondata",value:function patchFlowsInstancesSettingsExecutiondata(body){// verify the required parameter 'body' is set
7861
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7808
7862
  * Rebuild Dependency Tracking data for an organization
7809
7863
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
7810
7864
  */},{key:"postArchitectDependencytrackingBuild",value:function postArchitectDependencytrackingBuild(){return this.apiClient.callApi('/api/v2/architect/dependencytracking/build','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7896,6 +7950,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7896
7950
  * @param {String} flowId Flow ID
7897
7951
  */},{key:"postFlowHistory",value:function postFlowHistory(flowId){// verify the required parameter 'flowId' is set
7898
7952
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowHistory';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history','POST',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7953
+ * Set the logLevel for a particular flow id
7954
+ * Assigns a new loglevel to a flow id
7955
+ * @param {String} flowId The flow id to set the loglevel for
7956
+ * @param {Object} body New LogLevel settings
7957
+ * @param {Object} opts Optional parameters
7958
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7959
+ * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7960
+ */},{key:"postFlowInstancesSettingsLoglevels",value:function postFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
7961
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
7962
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','POST',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7899
7963
  * Create flow version
7900
7964
  *
7901
7965
  * @param {String} flowId Flow ID
@@ -7976,7 +8040,6 @@ if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the re
7976
8040
  * @param {Object} body Requested Flow Ids
7977
8041
  * @param {Object} opts Optional parameters
7978
8042
  * @param {Object} opts.expand Expand various query types.
7979
- * postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7980
8043
  */},{key:"postFlowsInstancesJobs",value:function postFlowsInstancesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7981
8044
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesJobs';}return this.apiClient.callApi('/api/v2/flows/instances/jobs','POST',{},{'expand':opts['expand']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7982
8045
  * Query the database of existing flow histories to look for particular flow criteria
@@ -7985,7 +8048,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7985
8048
  * @param {Object} opts Optional parameters
7986
8049
  * @param {Boolean} opts.indexOnly indexes only
7987
8050
  * @param {Number} opts.pageSize number of results to return (default to 50)
7988
- * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7989
8051
  */},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7990
8052
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7991
8053
  * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
@@ -8061,6 +8123,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8061
8123
  */},{key:"putFlow",value:function putFlow(flowId,body){// verify the required parameter 'flowId' is set
8062
8124
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlow';}// verify the required parameter 'body' is set
8063
8125
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','PUT',{'flowId':flowId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8126
+ * Edit the logLevel for a particular flow id
8127
+ * Updates the loglevel for a flow id
8128
+ * @param {String} flowId The flow id to edit the loglevel for
8129
+ * @param {Object} body New LogLevel settings
8130
+ * @param {Object} opts Optional parameters
8131
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8132
+ * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8133
+ */},{key:"putFlowInstancesSettingsLoglevels",value:function putFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
8134
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
8135
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','PUT',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8064
8136
  * Updates a specific datatable by id
8065
8137
  * Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
8066
8138
  * @param {String} datatableId id of datatable
@@ -8079,6 +8151,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8079
8151
  */},{key:"putFlowsDatatableRow",value:function putFlowsDatatableRow(datatableId,rowId,opts){opts=opts||{};// verify the required parameter 'datatableId' is set
8080
8152
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';}// verify the required parameter 'rowId' is set
8081
8153
  if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling putFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','PUT',{'datatableId':datatableId,'rowId':rowId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8154
+ * Edit the flow default log level.
8155
+ * Edit the flow default log level.
8156
+ * @param {Object} body New LogLevel settings
8157
+ * @param {Object} opts Optional parameters
8158
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8159
+ * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8160
+ */},{key:"putFlowsInstancesSettingsLoglevelsDefault",value:function putFlowsInstancesSettingsLoglevelsDefault(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8161
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';}return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','PUT',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8082
8162
  * Updates a flow milestone
8083
8163
  *
8084
8164
  * @param {String} milestoneId flow milestone ID
@@ -8095,7 +8175,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8095
8175
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
8096
8176
  * Audit service.
8097
8177
  * @module purecloud-platform-client-v2/api/AuditApi
8098
- * @version 188.0.1
8178
+ * @version 189.0.0
8099
8179
  */ /**
8100
8180
  * Constructs a new AuditApi.
8101
8181
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8137,7 +8217,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8137
8217
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
8138
8218
  * Authorization service.
8139
8219
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8140
- * @version 188.0.1
8220
+ * @version 189.0.0
8141
8221
  */ /**
8142
8222
  * Constructs a new AuthorizationApi.
8143
8223
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -8448,7 +8528,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
8448
8528
  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']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
8449
8529
  * Billing service.
8450
8530
  * @module purecloud-platform-client-v2/api/BillingApi
8451
- * @version 188.0.1
8531
+ * @version 189.0.0
8452
8532
  */ /**
8453
8533
  * Constructs a new BillingApi.
8454
8534
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -8472,7 +8552,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
8472
8552
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
8473
8553
  * CarrierServices service.
8474
8554
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8475
- * @version 188.0.1
8555
+ * @version 189.0.0
8476
8556
  */ /**
8477
8557
  * Constructs a new CarrierServicesApi.
8478
8558
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -8492,7 +8572,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
8492
8572
  */},{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']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
8493
8573
  * Chat service.
8494
8574
  * @module purecloud-platform-client-v2/api/ChatApi
8495
- * @version 188.0.1
8575
+ * @version 189.0.0
8496
8576
  */ /**
8497
8577
  * Constructs a new ChatApi.
8498
8578
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -8685,7 +8765,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8685
8765
  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']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
8686
8766
  * Coaching service.
8687
8767
  * @module purecloud-platform-client-v2/api/CoachingApi
8688
- * @version 188.0.1
8768
+ * @version 189.0.0
8689
8769
  */ /**
8690
8770
  * Constructs a new CoachingApi.
8691
8771
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -8838,7 +8918,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8838
8918
  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']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
8839
8919
  * ContentManagement service.
8840
8920
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8841
- * @version 188.0.1
8921
+ * @version 189.0.0
8842
8922
  */ /**
8843
8923
  * Constructs a new ContentManagementApi.
8844
8924
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -9121,7 +9201,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
9121
9201
  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']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
9122
9202
  * Conversations service.
9123
9203
  * @module purecloud-platform-client-v2/api/ConversationsApi
9124
- * @version 188.0.1
9204
+ * @version 189.0.0
9125
9205
  */ /**
9126
9206
  * Constructs a new ConversationsApi.
9127
9207
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -9179,9 +9259,10 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9179
9259
  * @param {String} integrationId Integration ID
9180
9260
  */},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9181
9261
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9182
- * Delete a LINE messenger integration
9183
- *
9262
+ * Delete a LINE messenger integration (Deprecated)
9263
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9184
9264
  * @param {String} integrationId Integration ID
9265
+ * @deprecated
9185
9266
  */},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9186
9267
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9187
9268
  * Delete an Open messaging integration
@@ -9648,20 +9729,22 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9648
9729
  * @param {Object} opts.expand Expand instructions for the return value.
9649
9730
  */},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9650
9731
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9651
- * Get a list of LINE messenger Integrations
9652
- *
9732
+ * Get a list of LINE messenger Integrations (Deprecated)
9733
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9653
9734
  * @param {Object} opts Optional parameters
9654
9735
  * @param {Number} opts.pageSize Page size (default to 25)
9655
9736
  * @param {Number} opts.pageNumber Page number (default to 1)
9656
9737
  * @param {Object} opts.expand Expand instructions for the return value.
9657
9738
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
9658
9739
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
9740
+ * @deprecated
9659
9741
  */},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9660
- * Get a LINE messenger integration
9661
- *
9742
+ * Get a LINE messenger integration (Deprecated)
9743
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9662
9744
  * @param {String} integrationId Integration ID
9663
9745
  * @param {Object} opts Optional parameters
9664
9746
  * @param {Object} opts.expand Expand instructions for the return value.
9747
+ * @deprecated
9665
9748
  */},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9666
9749
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9667
9750
  * Get a list of Open messaging integrations
@@ -10803,10 +10886,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10803
10886
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
10804
10887
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
10805
10888
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10806
- * Update a LINE messenger integration
10807
- *
10889
+ * Update a LINE messenger integration (Deprecated)
10890
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
10808
10891
  * @param {String} integrationId Integration ID
10809
10892
  * @param {Object} body LineIntegrationRequest
10893
+ * @deprecated
10810
10894
  */},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
10811
10895
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
10812
10896
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10848,7 +10932,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
10848
10932
  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']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
10849
10933
  * DataExtensions service.
10850
10934
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
10851
- * @version 188.0.1
10935
+ * @version 189.0.0
10852
10936
  */ /**
10853
10937
  * Constructs a new DataExtensionsApi.
10854
10938
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -10869,7 +10953,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10869
10953
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
10870
10954
  * Downloads service.
10871
10955
  * @module purecloud-platform-client-v2/api/DownloadsApi
10872
- * @version 188.0.1
10956
+ * @version 189.0.0
10873
10957
  */ /**
10874
10958
  * Constructs a new DownloadsApi.
10875
10959
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -10888,7 +10972,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10888
10972
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
10889
10973
  * Emails service.
10890
10974
  * @module purecloud-platform-client-v2/api/EmailsApi
10891
- * @version 188.0.1
10975
+ * @version 189.0.0
10892
10976
  */ /**
10893
10977
  * Constructs a new EmailsApi.
10894
10978
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -10906,7 +10990,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
10906
10990
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
10907
10991
  * Events service.
10908
10992
  * @module purecloud-platform-client-v2/api/EventsApi
10909
- * @version 188.0.1
10993
+ * @version 189.0.0
10910
10994
  */ /**
10911
10995
  * Constructs a new EventsApi.
10912
10996
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -10931,7 +11015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10931
11015
  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']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
10932
11016
  * ExternalContacts service.
10933
11017
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
10934
- * @version 188.0.1
11018
+ * @version 189.0.0
10935
11019
  */ /**
10936
11020
  * Constructs a new ExternalContactsApi.
10937
11021
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -11150,25 +11234,25 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
11150
11234
  * Scan for external contacts using paging
11151
11235
  *
11152
11236
  * @param {Object} opts Optional parameters
11153
- * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100)
11237
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
11154
11238
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
11155
11239
  */},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11156
11240
  * Scan for notes using paging
11157
11241
  *
11158
11242
  * @param {Object} opts Optional parameters
11159
- * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100)
11243
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
11160
11244
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
11161
11245
  */},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11162
11246
  * Scan for external organizations using paging
11163
11247
  *
11164
11248
  * @param {Object} opts Optional parameters
11165
- * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100)
11249
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
11166
11250
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
11167
11251
  */},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11168
11252
  * Scan for relationships
11169
11253
  *
11170
11254
  * @param {Object} opts Optional parameters
11171
- * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100)
11255
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
11172
11256
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
11173
11257
  */},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11174
11258
  * Claim or release identifiers for a contact
@@ -11386,7 +11470,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
11386
11470
  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']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
11387
11471
  * Fax service.
11388
11472
  * @module purecloud-platform-client-v2/api/FaxApi
11389
- * @version 188.0.1
11473
+ * @version 189.0.0
11390
11474
  */ /**
11391
11475
  * Constructs a new FaxApi.
11392
11476
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -11427,7 +11511,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
11427
11511
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
11428
11512
  * Flows service.
11429
11513
  * @module purecloud-platform-client-v2/api/FlowsApi
11430
- * @version 188.0.1
11514
+ * @version 189.0.0
11431
11515
  */ /**
11432
11516
  * Constructs a new FlowsApi.
11433
11517
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11476,7 +11560,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11476
11560
  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']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
11477
11561
  * Gamification service.
11478
11562
  * @module purecloud-platform-client-v2/api/GamificationApi
11479
- * @version 188.0.1
11563
+ * @version 189.0.0
11480
11564
  */ /**
11481
11565
  * Constructs a new GamificationApi.
11482
11566
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -12016,7 +12100,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12016
12100
  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']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
12017
12101
  * GeneralDataProtectionRegulation service.
12018
12102
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
12019
- * @version 188.0.1
12103
+ * @version 189.0.0
12020
12104
  */ /**
12021
12105
  * Constructs a new GeneralDataProtectionRegulationApi.
12022
12106
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -12051,7 +12135,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
12051
12135
  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']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
12052
12136
  * Geolocation service.
12053
12137
  * @module purecloud-platform-client-v2/api/GeolocationApi
12054
- * @version 188.0.1
12138
+ * @version 189.0.0
12055
12139
  */ /**
12056
12140
  * Constructs a new GeolocationApi.
12057
12141
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -12085,7 +12169,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
12085
12169
  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']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
12086
12170
  * Greetings service.
12087
12171
  * @module purecloud-platform-client-v2/api/GreetingsApi
12088
- * @version 188.0.1
12172
+ * @version 189.0.0
12089
12173
  */ /**
12090
12174
  * Constructs a new GreetingsApi.
12091
12175
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12192,7 +12276,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
12192
12276
  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']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
12193
12277
  * Groups service.
12194
12278
  * @module purecloud-platform-client-v2/api/GroupsApi
12195
- * @version 188.0.1
12279
+ * @version 189.0.0
12196
12280
  */ /**
12197
12281
  * Constructs a new GroupsApi.
12198
12282
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12325,7 +12409,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
12325
12409
  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']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
12326
12410
  * IdentityProvider service.
12327
12411
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12328
- * @version 188.0.1
12412
+ * @version 189.0.0
12329
12413
  */ /**
12330
12414
  * Constructs a new IdentityProviderApi.
12331
12415
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12481,7 +12565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12481
12565
  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']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
12482
12566
  * InfrastructureAsCode service.
12483
12567
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12484
- * @version 188.0.1
12568
+ * @version 189.0.0
12485
12569
  */ /**
12486
12570
  * Constructs a new InfrastructureAsCodeApi.
12487
12571
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12535,7 +12619,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12535
12619
  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']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
12536
12620
  * Integrations service.
12537
12621
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12538
- * @version 188.0.1
12622
+ * @version 189.0.0
12539
12623
  */ /**
12540
12624
  * Constructs a new IntegrationsApi.
12541
12625
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -12780,6 +12864,18 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
12780
12864
  * @param {Number} opts.pageSize Page size (default to 25)
12781
12865
  * @param {String} opts.name Filter on agent name
12782
12866
  */},{key:"getIntegrationsSpeechDialogflowAgents",value:function getIntegrationsSpeechDialogflowAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflow/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12867
+ * Get details about a Dialogflow CX agent
12868
+ *
12869
+ * @param {String} agentId The agent ID
12870
+ */},{key:"getIntegrationsSpeechDialogflowcxAgent",value:function getIntegrationsSpeechDialogflowcxAgent(agentId){// verify the required parameter 'agentId' is set
12871
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';}return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents/{agentId}','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12872
+ * Get a list of Dialogflow CX agents in the customers' Google accounts
12873
+ *
12874
+ * @param {Object} opts Optional parameters
12875
+ * @param {Number} opts.pageNumber Page number (default to 1)
12876
+ * @param {Number} opts.pageSize Page size (default to 25)
12877
+ * @param {String} opts.name Filter on agent name
12878
+ */},{key:"getIntegrationsSpeechDialogflowcxAgents",value:function getIntegrationsSpeechDialogflowcxAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12783
12879
  * Get details about a Lex bot alias
12784
12880
  *
12785
12881
  * @param {String} aliasId The alias ID
@@ -12802,6 +12898,28 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12802
12898
  * @param {Number} opts.pageSize Page size (default to 25)
12803
12899
  * @param {String} opts.name Filter on bot name
12804
12900
  */},{key:"getIntegrationsSpeechLexBots",value:function getIntegrationsSpeechLexBots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lex/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12901
+ * Get details about a Lex V2 bot alias
12902
+ *
12903
+ * @param {String} aliasId The Alias ID
12904
+ */},{key:"getIntegrationsSpeechLexv2BotAlias",value:function getIntegrationsSpeechLexv2BotAlias(aliasId){// verify the required parameter 'aliasId' is set
12905
+ if(aliasId===undefined||aliasId===null){throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}','GET',{'aliasId':aliasId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12906
+ * Get a list of aliases for a Lex V2 bot
12907
+ *
12908
+ * @param {String} botId The Bot ID
12909
+ * @param {Object} opts Optional parameters
12910
+ * @param {Number} opts.pageNumber Page number (default to 1)
12911
+ * @param {Number} opts.pageSize Page size (default to 25)
12912
+ * @param {Object} opts.status Filter on alias status
12913
+ * @param {String} opts.name Filter on alias name
12914
+ */},{key:"getIntegrationsSpeechLexv2BotBotIdAliases",value:function getIntegrationsSpeechLexv2BotBotIdAliases(botId,opts){opts=opts||{};// verify the required parameter 'botId' is set
12915
+ if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/{botId}/aliases','GET',{'botId':botId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'status':opts['status'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12916
+ * Get a list of Lex V2 bots
12917
+ *
12918
+ * @param {Object} opts Optional parameters
12919
+ * @param {Number} opts.pageNumber Page number (default to 1)
12920
+ * @param {Number} opts.pageSize Page size (default to 25)
12921
+ * @param {String} opts.name Filter on bot name
12922
+ */},{key:"getIntegrationsSpeechLexv2Bots",value:function getIntegrationsSpeechLexv2Bots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12805
12923
  * Get a Nuance bot in the specified Integration
12806
12924
  *
12807
12925
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
@@ -12809,7 +12927,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12809
12927
  * @param {Object} opts Optional parameters
12810
12928
  * @param {Array.<String>} opts.expand expand
12811
12929
  * @param {Object} opts.targetChannel targetChannel
12812
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12813
12930
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBot",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
12814
12931
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}// verify the required parameter 'botId' is set
12815
12932
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'targetChannel':opts['targetChannel']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12818,7 +12935,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12818
12935
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12819
12936
  * @param {String} botId The Nuance bot ID
12820
12937
  * @param {String} jobId The asynchronous job ID
12821
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12822
12938
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12823
12939
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'botId' is set
12824
12940
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'jobId' is set
@@ -12828,7 +12944,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12828
12944
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12829
12945
  * @param {String} botId The Nuance bot ID
12830
12946
  * @param {String} jobId The asynchronous job ID
12831
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12832
12947
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12833
12948
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'botId' is set
12834
12949
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'jobId' is set
@@ -12840,14 +12955,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12840
12955
  * @param {Number} opts.pageNumber Page number (default to 1)
12841
12956
  * @param {Number} opts.pageSize Page size (default to 25)
12842
12957
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
12843
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12844
12958
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBots",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
12845
12959
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots','GET',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12846
12960
  * Get the status of an asynchronous Nuance bots GET job
12847
12961
  *
12848
12962
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12849
12963
  * @param {String} jobId The asynchronous job ID
12850
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12851
12964
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12852
12965
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}// verify the required parameter 'jobId' is set
12853
12966
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12855,10 +12968,21 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12855
12968
  *
12856
12969
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12857
12970
  * @param {String} jobId The asynchronous job ID
12858
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12859
12971
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12860
12972
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}// verify the required parameter 'jobId' is set
12861
12973
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}/results','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12974
+ * Get details about a STT engine
12975
+ *
12976
+ * @param {String} engineId The engine ID
12977
+ */},{key:"getIntegrationsSpeechSttEngine",value:function getIntegrationsSpeechSttEngine(engineId){// verify the required parameter 'engineId' is set
12978
+ if(engineId===undefined||engineId===null){throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';}return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines/{engineId}','GET',{'engineId':engineId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12979
+ * Get a list of STT engines enabled for org
12980
+ *
12981
+ * @param {Object} opts Optional parameters
12982
+ * @param {Number} opts.pageNumber Page number (default to 1)
12983
+ * @param {Number} opts.pageSize Page size (default to 25)
12984
+ * @param {String} opts.name Filter on engine name
12985
+ */},{key:"getIntegrationsSpeechSttEngines",value:function getIntegrationsSpeechSttEngines(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12862
12986
  * Get details about a TTS engine
12863
12987
  *
12864
12988
  * @param {String} engineId The engine ID
@@ -12915,6 +13039,21 @@ if(configType===undefined||configType===null){throw'Missing the required paramet
12915
13039
  * @param {String} opts.nextPage next page token
12916
13040
  * @param {String} opts.previousPage Previous page token
12917
13041
  */},{key:"getIntegrationsTypes",value:function getIntegrationsTypes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/types','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13042
+ * UC integration client application configuration.
13043
+ * This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
13044
+ * @param {String} ucIntegrationId 3rd Party Service Type
13045
+ */},{key:"getIntegrationsUnifiedcommunicationsClientapp",value:function getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId){// verify the required parameter 'ucIntegrationId' is set
13046
+ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}','GET',{'ucIntegrationId':ucIntegrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13047
+ * List UC integration client application configurations.
13048
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
13049
+ * @param {Object} opts Optional parameters
13050
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
13051
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
13052
+ * @param {String} opts.sortBy variable name requested to sort by
13053
+ * @param {Array.<String>} opts.expand variable name requested by expand list
13054
+ * @param {String} opts.nextPage next page token
13055
+ * @param {String} opts.previousPage Previous page token
13056
+ */},{key:"getIntegrationsUnifiedcommunicationsClientapps",value:function getIntegrationsUnifiedcommunicationsClientapps(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12918
13057
  * List permitted user app integrations for the logged in user
12919
13058
  *
12920
13059
  * @param {Object} opts Optional parameters
@@ -13021,7 +13160,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13021
13160
  * @param {Object} opts Optional parameters
13022
13161
  * @param {Array.<String>} opts.expand expand
13023
13162
  * @param {String} opts.body targetChannel
13024
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13025
13163
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
13026
13164
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}// verify the required parameter 'botId' is set
13027
13165
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13032,14 +13170,12 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
13032
13170
  * @param {Number} opts.pageNumber Page number (default to 1)
13033
13171
  * @param {Number} opts.pageSize Page size (default to 25)
13034
13172
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
13035
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13036
13173
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
13037
13174
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13038
13175
  * Try out a single credential for a Nuance bot to know if the secret is correct
13039
13176
  *
13040
13177
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
13041
13178
  * @param {Object} settings
13042
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13043
13179
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
13044
13180
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
13045
13181
  if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13076,7 +13212,6 @@ if(credentialId===undefined||credentialId===null){throw'Missing the required par
13076
13212
  *
13077
13213
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
13078
13214
  * @param {Object} settings
13079
- * putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13080
13215
  */},{key:"putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings",value:function putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
13081
13216
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}// verify the required parameter 'settings' is set
13082
13217
  if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/settings','PUT',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13094,7 +13229,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
13094
13229
  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']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
13095
13230
  * Journey service.
13096
13231
  * @module purecloud-platform-client-v2/api/JourneyApi
13097
- * @version 188.0.1
13232
+ * @version 189.0.0
13098
13233
  */ /**
13099
13234
  * Constructs a new JourneyApi.
13100
13235
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13129,6 +13264,12 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
13129
13264
  * @param {String} segmentId ID of the segment.
13130
13265
  */},{key:"deleteJourneySegment",value:function deleteJourneySegment(segmentId){// verify the required parameter 'segmentId' is set
13131
13266
  if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling deleteJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','DELETE',{'segmentId':segmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13267
+ * Delete a Journey View by ID
13268
+ * deletes all versions
13269
+ * @param {String} viewId viewId
13270
+ * deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13271
+ */},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
13272
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13132
13273
  * Get status for async query for journey aggregates
13133
13274
  *
13134
13275
  * @param {String} jobId jobId
@@ -13289,6 +13430,24 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
13289
13430
  * @param {String} sessionId ID of the session.
13290
13431
  */},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
13291
13432
  if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13433
+ * Get a Journey View by ID
13434
+ * returns the latest version
13435
+ * @param {String} viewId viewId
13436
+ * getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13437
+ */},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
13438
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13439
+ * Get a Journey View by ID and version
13440
+ *
13441
+ * @param {String} viewId viewId
13442
+ * @param {String} versionId versionId
13443
+ * getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13444
+ */},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
13445
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
13446
+ if(versionId===undefined||versionId===null){throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','GET',{'viewId':viewId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13447
+ * Get a list of Journey Views
13448
+ *
13449
+ * getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13450
+ */},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13292
13451
  * Update single action map.
13293
13452
  *
13294
13453
  * @param {String} actionMapId ID of the action map.
@@ -13364,6 +13523,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13364
13523
  * @param {Object} opts.body
13365
13524
  */},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
13366
13525
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/appevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
13526
+ * Query for flow paths.
13527
+ *
13528
+ * @param {Object} opts Optional parameters
13529
+ * @param {Object} opts.body
13530
+ * postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13531
+ */},{key:"postJourneyFlowsPathsQuery",value:function postJourneyFlowsPathsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/flows/paths/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
13367
13532
  * Create an outcome.
13368
13533
  *
13369
13534
  * @param {Object} opts Optional parameters
@@ -13384,10 +13549,24 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
13384
13549
  *
13385
13550
  * @param {Object} opts Optional parameters
13386
13551
  * @param {Object} opts.body
13387
- */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
13552
+ */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
13553
+ * Update a Journey View by ID
13554
+ * creates a new version
13555
+ * @param {String} viewId viewId
13556
+ * @param {Object} body JourneyView
13557
+ * postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13558
+ */},{key:"postJourneyViewVersions",value:function postJourneyViewVersions(viewId,body){// verify the required parameter 'viewId' is set
13559
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';}// verify the required parameter 'body' is set
13560
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewVersions';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13561
+ * Create a new Journey View
13562
+ *
13563
+ * @param {Object} body JourneyView
13564
+ * postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13565
+ */},{key:"postJourneyViews",value:function postJourneyViews(body){// verify the required parameter 'body' is set
13566
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
13388
13567
  * Knowledge service.
13389
13568
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13390
- * @version 188.0.1
13569
+ * @version 189.0.0
13391
13570
  */ /**
13392
13571
  * Constructs a new KnowledgeApi.
13393
13572
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -14017,6 +14196,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14017
14196
  * @param {Object} body query
14018
14197
  */},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
14019
14198
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14199
+ * Indicate that the document was copied by the user.
14200
+ *
14201
+ * @param {String} sessionId Knowledge guest session ID.
14202
+ * @param {String} documentId Document ID
14203
+ * @param {Object} opts Optional parameters
14204
+ * @param {Object} opts.body
14205
+ */},{key:"postKnowledgeGuestSessionDocumentCopies",value:function postKnowledgeGuestSessionDocumentCopies(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
14206
+ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';}// verify the required parameter 'documentId' is set
14207
+ if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14020
14208
  * Give feedback on a document
14021
14209
  *
14022
14210
  * @param {String} sessionId Knowledge guest session ID.
@@ -14026,6 +14214,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14026
14214
  */},{key:"postKnowledgeGuestSessionDocumentFeedback",value:function postKnowledgeGuestSessionDocumentFeedback(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
14027
14215
  if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';}// verify the required parameter 'documentId' is set
14028
14216
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentFeedback';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14217
+ * Create view event for a document.
14218
+ *
14219
+ * @param {String} sessionId Knowledge guest session ID.
14220
+ * @param {String} documentId Document ID
14221
+ * @param {Object} opts Optional parameters
14222
+ * @param {Object} opts.body
14223
+ */},{key:"postKnowledgeGuestSessionDocumentViews",value:function postKnowledgeGuestSessionDocumentViews(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
14224
+ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';}// verify the required parameter 'documentId' is set
14225
+ if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14226
+ * Indicate that documents were presented to the user.
14227
+ *
14228
+ * @param {String} sessionId Knowledge guest session ID.
14229
+ * @param {Object} opts Optional parameters
14230
+ * @param {Object} opts.body
14231
+ */},{key:"postKnowledgeGuestSessionDocumentsPresentations",value:function postKnowledgeGuestSessionDocumentsPresentations(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
14232
+ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations','POST',{'sessionId':sessionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14029
14233
  * Search the documents in a guest session.
14030
14234
  *
14031
14235
  * @param {String} sessionId Knowledge guest session ID.
@@ -14053,6 +14257,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14053
14257
  */},{key:"postKnowledgeKnowledgebaseCategories",value:function postKnowledgeKnowledgebaseCategories(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
14054
14258
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';}// verify the required parameter 'body' is set
14055
14259
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14260
+ * Indicate that the document was copied by the user.
14261
+ *
14262
+ * @param {String} knowledgeBaseId Knowledge base ID.
14263
+ * @param {String} documentId Document ID.
14264
+ * @param {Object} opts Optional parameters
14265
+ * @param {Object} opts.body
14266
+ */},{key:"postKnowledgeKnowledgebaseDocumentCopies",value:function postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
14267
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';}// verify the required parameter 'documentId' is set
14268
+ if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies','POST',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14056
14269
  * Give feedback on a document
14057
14270
  *
14058
14271
  * @param {String} knowledgeBaseId Knowledge base ID.
@@ -14112,6 +14325,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14112
14325
  */},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
14113
14326
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
14114
14327
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14328
+ * Indicate that documents were presented to the user.
14329
+ *
14330
+ * @param {String} knowledgeBaseId Knowledge base ID.
14331
+ * @param {Object} opts Optional parameters
14332
+ * @param {Object} opts.body
14333
+ */},{key:"postKnowledgeKnowledgebaseDocumentsPresentations",value:function postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
14334
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14115
14335
  * Search the documents in a knowledge base.
14116
14336
  *
14117
14337
  * @param {String} knowledgeBaseId The ID of knowledge base containing the documents to query.
@@ -14258,7 +14478,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14258
14478
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
14259
14479
  * LanguageUnderstanding service.
14260
14480
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
14261
- * @version 188.0.1
14481
+ * @version 189.0.0
14262
14482
  */ /**
14263
14483
  * Constructs a new LanguageUnderstandingApi.
14264
14484
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -14514,7 +14734,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
14514
14734
  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']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
14515
14735
  * Languages service.
14516
14736
  * @module purecloud-platform-client-v2/api/LanguagesApi
14517
- * @version 188.0.1
14737
+ * @version 189.0.0
14518
14738
  */ /**
14519
14739
  * Constructs a new LanguagesApi.
14520
14740
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -14569,7 +14789,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14569
14789
  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']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
14570
14790
  * Learning service.
14571
14791
  * @module purecloud-platform-client-v2/api/LearningApi
14572
- * @version 188.0.1
14792
+ * @version 189.0.0
14573
14793
  */ /**
14574
14794
  * Constructs a new LearningApi.
14575
14795
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -14799,7 +15019,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
14799
15019
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
14800
15020
  * License service.
14801
15021
  * @module purecloud-platform-client-v2/api/LicenseApi
14802
- * @version 188.0.1
15022
+ * @version 189.0.0
14803
15023
  */ /**
14804
15024
  * Constructs a new LicenseApi.
14805
15025
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -14853,7 +15073,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
14853
15073
  */},{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']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
14854
15074
  * Locations service.
14855
15075
  * @module purecloud-platform-client-v2/api/LocationsApi
14856
- * @version 188.0.1
15076
+ * @version 189.0.0
14857
15077
  */ /**
14858
15078
  * Constructs a new LocationsApi.
14859
15079
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -14912,7 +15132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14912
15132
  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']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
14913
15133
  * LogCapture service.
14914
15134
  * @module purecloud-platform-client-v2/api/LogCaptureApi
14915
- * @version 188.0.1
15135
+ * @version 189.0.0
14916
15136
  */ /**
14917
15137
  * Constructs a new LogCaptureApi.
14918
15138
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -14962,7 +15182,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14962
15182
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
14963
15183
  * Messaging service.
14964
15184
  * @module purecloud-platform-client-v2/api/MessagingApi
14965
- * @version 188.0.1
15185
+ * @version 189.0.0
14966
15186
  */ /**
14967
15187
  * Constructs a new MessagingApi.
14968
15188
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -15052,7 +15272,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15052
15272
  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']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
15053
15273
  * MobileDevices service.
15054
15274
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
15055
- * @version 188.0.1
15275
+ * @version 189.0.0
15056
15276
  */ /**
15057
15277
  * Constructs a new MobileDevicesApi.
15058
15278
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -15091,7 +15311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15091
15311
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
15092
15312
  * Notifications service.
15093
15313
  * @module purecloud-platform-client-v2/api/NotificationsApi
15094
- * @version 188.0.1
15314
+ * @version 189.0.0
15095
15315
  */ /**
15096
15316
  * Constructs a new NotificationsApi.
15097
15317
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -15148,7 +15368,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
15148
15368
  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']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
15149
15369
  * OAuth service.
15150
15370
  * @module purecloud-platform-client-v2/api/OAuthApi
15151
- * @version 188.0.1
15371
+ * @version 189.0.0
15152
15372
  */ /**
15153
15373
  * Constructs a new OAuthApi.
15154
15374
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -15233,7 +15453,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
15233
15453
  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']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
15234
15454
  * Objects service.
15235
15455
  * @module purecloud-platform-client-v2/api/ObjectsApi
15236
- * @version 188.0.1
15456
+ * @version 189.0.0
15237
15457
  */ /**
15238
15458
  * Constructs a new ObjectsApi.
15239
15459
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -15304,7 +15524,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15304
15524
  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']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
15305
15525
  * OperationalEvents service.
15306
15526
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
15307
- * @version 188.0.1
15527
+ * @version 189.0.0
15308
15528
  */ /**
15309
15529
  * Constructs a new OperationalEventsApi.
15310
15530
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -15322,7 +15542,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
15322
15542
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
15323
15543
  * Organization service.
15324
15544
  * @module purecloud-platform-client-v2/api/OrganizationApi
15325
- * @version 188.0.1
15545
+ * @version 189.0.0
15326
15546
  */ /**
15327
15547
  * Constructs a new OrganizationApi.
15328
15548
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -15424,7 +15644,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15424
15644
  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']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
15425
15645
  * OrganizationAuthorization service.
15426
15646
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
15427
- * @version 188.0.1
15647
+ * @version 189.0.0
15428
15648
  */ /**
15429
15649
  * Constructs a new OrganizationAuthorizationApi.
15430
15650
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -15747,7 +15967,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
15747
15967
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
15748
15968
  * Outbound service.
15749
15969
  * @module purecloud-platform-client-v2/api/OutboundApi
15750
- * @version 188.0.1
15970
+ * @version 189.0.0
15751
15971
  */ /**
15752
15972
  * Constructs a new OutboundApi.
15753
15973
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -16517,8 +16737,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16517
16737
  * Initiate the export of a contact list.
16518
16738
  * Returns 200 if received OK.
16519
16739
  * @param {String} contactListId ContactList ID
16520
- */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId){// verify the required parameter 'contactListId' is set
16521
- if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/export','POST',{'contactListId':contactListId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16740
+ * @param {Object} opts Optional parameters
16741
+ * @param {Object} opts.body Export information to get
16742
+ */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId,opts){opts=opts||{};// verify the required parameter 'contactListId' is set
16743
+ if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/export','POST',{'contactListId':contactListId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
16522
16744
  * Create Contact List Filter
16523
16745
  *
16524
16746
  * @param {Object} body ContactListFilter
@@ -16783,7 +17005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16783
17005
  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']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
16784
17006
  * Presence service.
16785
17007
  * @module purecloud-platform-client-v2/api/PresenceApi
16786
- * @version 188.0.1
17008
+ * @version 189.0.0
16787
17009
  */ /**
16788
17010
  * Constructs a new PresenceApi.
16789
17011
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -16956,7 +17178,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16956
17178
  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']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
16957
17179
  * ProcessAutomation service.
16958
17180
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
16959
- * @version 188.0.1
17181
+ * @version 189.0.0
16960
17182
  */ /**
16961
17183
  * Constructs a new ProcessAutomationApi.
16962
17184
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -17019,7 +17241,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
17019
17241
  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']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
17020
17242
  * Quality service.
17021
17243
  * @module purecloud-platform-client-v2/api/QualityApi
17022
- * @version 188.0.1
17244
+ * @version 189.0.0
17023
17245
  */ /**
17024
17246
  * Constructs a new QualityApi.
17025
17247
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -17212,7 +17434,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17212
17434
  * @deprecated
17213
17435
  */},{key:"getQualityFormVersions",value:function getQualityFormVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17214
17436
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormVersions';}return this.apiClient.callApi('/api/v2/quality/forms/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17215
- * Get the list of evaluation forms
17437
+ * Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
17216
17438
  *
17217
17439
  * @param {Object} opts Optional parameters
17218
17440
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -17240,7 +17462,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17240
17462
  */},{key:"getQualityFormsEvaluationVersions",value:function getQualityFormsEvaluationVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17241
17463
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsEvaluationVersions';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17242
17464
  * Get the list of evaluation forms
17243
- * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
17465
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
17244
17466
  * @param {Object} opts Optional parameters
17245
17467
  * @param {Number} opts.pageSize The total page size requested (default to 25)
17246
17468
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -17269,7 +17491,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17269
17491
  * @param {Number} opts.pageNumber Page number (default to 1)
17270
17492
  */},{key:"getQualityFormsSurveyVersions",value:function getQualityFormsSurveyVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17271
17493
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsSurveyVersions';}return this.apiClient.callApi('/api/v2/quality/forms/surveys/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17272
- * Get the list of survey forms
17494
+ * Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
17273
17495
  *
17274
17496
  * @param {Object} opts Optional parameters
17275
17497
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -17490,7 +17712,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
17490
17712
  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']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
17491
17713
  * Recording service.
17492
17714
  * @module purecloud-platform-client-v2/api/RecordingApi
17493
- * @version 188.0.1
17715
+ * @version 189.0.0
17494
17716
  */ /**
17495
17717
  * Constructs a new RecordingApi.
17496
17718
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -17897,7 +18119,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17897
18119
  */},{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']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
17898
18120
  * ResponseManagement service.
17899
18121
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
17900
- * @version 188.0.1
18122
+ * @version 189.0.0
17901
18123
  */ /**
17902
18124
  * Constructs a new ResponseManagementApi.
17903
18125
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -18013,7 +18235,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
18013
18235
  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']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
18014
18236
  * Routing service.
18015
18237
  * @module purecloud-platform-client-v2/api/RoutingApi
18016
- * @version 188.0.1
18238
+ * @version 189.0.0
18017
18239
  */ /**
18018
18240
  * Constructs a new RoutingApi.
18019
18241
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -18981,7 +19203,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18981
19203
  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']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
18982
19204
  * SCIM service.
18983
19205
  * @module purecloud-platform-client-v2/api/SCIMApi
18984
- * @version 188.0.1
19206
+ * @version 189.0.0
18985
19207
  */ /**
18986
19208
  * Constructs a new SCIMApi.
18987
19209
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -19206,7 +19428,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19206
19428
  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']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
19207
19429
  * ScreenRecording service.
19208
19430
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
19209
- * @version 188.0.1
19431
+ * @version 189.0.0
19210
19432
  */ /**
19211
19433
  * Constructs a new ScreenRecordingApi.
19212
19434
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -19221,7 +19443,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19221
19443
  */_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']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
19222
19444
  * Scripts service.
19223
19445
  * @module purecloud-platform-client-v2/api/ScriptsApi
19224
- * @version 188.0.1
19446
+ * @version 189.0.0
19225
19447
  */ /**
19226
19448
  * Constructs a new ScriptsApi.
19227
19449
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -19357,7 +19579,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
19357
19579
  */},{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']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
19358
19580
  * Search service.
19359
19581
  * @module purecloud-platform-client-v2/api/SearchApi
19360
- * @version 188.0.1
19582
+ * @version 189.0.0
19361
19583
  */ /**
19362
19584
  * Constructs a new SearchApi.
19363
19585
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -19517,7 +19739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19517
19739
  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']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
19518
19740
  * Settings service.
19519
19741
  * @module purecloud-platform-client-v2/api/SettingsApi
19520
- * @version 188.0.1
19742
+ * @version 189.0.0
19521
19743
  */ /**
19522
19744
  * Constructs a new SettingsApi.
19523
19745
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -19528,14 +19750,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19528
19750
  * Get email Contact Center settings
19529
19751
  *
19530
19752
  */_createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19753
+ * Get the execution history enabled setting.
19754
+ * Get the execution history enabled setting.
19755
+ * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19756
+ */},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19531
19757
  * Patch email Contact Center settings
19532
19758
  *
19533
19759
  * @param {Object} opts Optional parameters
19534
19760
  * @param {Object} opts.body
19535
- */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
19761
+ */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
19762
+ * Edit the execution history on off setting.
19763
+ * Edit the execution history on off setting.
19764
+ * @param {Object} body New Execution Data Setting
19765
+ * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19766
+ */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
19767
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
19536
19768
  * SpeechTextAnalytics service.
19537
19769
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
19538
- * @version 188.0.1
19770
+ * @version 189.0.0
19539
19771
  */ /**
19540
19772
  * Constructs a new SpeechTextAnalyticsApi.
19541
19773
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -19779,7 +20011,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
19779
20011
  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']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
19780
20012
  * Stations service.
19781
20013
  * @module purecloud-platform-client-v2/api/StationsApi
19782
- * @version 188.0.1
20014
+ * @version 189.0.0
19783
20015
  */ /**
19784
20016
  * Constructs a new StationsApi.
19785
20017
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -19811,7 +20043,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
19811
20043
  */},{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']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
19812
20044
  * Suggest service.
19813
20045
  * @module purecloud-platform-client-v2/api/SuggestApi
19814
- * @version 188.0.1
20046
+ * @version 189.0.0
19815
20047
  */ /**
19816
20048
  * Constructs a new SuggestApi.
19817
20049
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -19851,7 +20083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19851
20083
  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']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
19852
20084
  * TaskManagement service.
19853
20085
  * @module purecloud-platform-client-v2/api/TaskManagementApi
19854
- * @version 188.0.1
20086
+ * @version 189.0.0
19855
20087
  */ /**
19856
20088
  * Constructs a new TaskManagementApi.
19857
20089
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -20035,6 +20267,12 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
20035
20267
  */},{key:"getTaskmanagementWorktypeStatus",value:function getTaskmanagementWorktypeStatus(worktypeId,statusId){// verify the required parameter 'worktypeId' is set
20036
20268
  if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';}// verify the required parameter 'statusId' is set
20037
20269
  if(statusId===undefined||statusId===null){throw'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}','GET',{'worktypeId':worktypeId,'statusId':statusId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20270
+ * Get list of statuses for this worktype.
20271
+ *
20272
+ * @param {String} worktypeId Worktype id
20273
+ * getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20274
+ */},{key:"getTaskmanagementWorktypeStatuses",value:function getTaskmanagementWorktypeStatuses(worktypeId){// verify the required parameter 'worktypeId' is set
20275
+ if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses','GET',{'worktypeId':worktypeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20038
20276
  * Get a version of a worktype
20039
20277
  *
20040
20278
  * @param {String} worktypeId Worktype id
@@ -20193,7 +20431,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
20193
20431
  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']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
20194
20432
  * Teams service.
20195
20433
  * @module purecloud-platform-client-v2/api/TeamsApi
20196
- * @version 188.0.1
20434
+ * @version 189.0.0
20197
20435
  */ /**
20198
20436
  * Constructs a new TeamsApi.
20199
20437
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -20272,7 +20510,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20272
20510
  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']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
20273
20511
  * Telephony service.
20274
20512
  * @module purecloud-platform-client-v2/api/TelephonyApi
20275
- * @version 188.0.1
20513
+ * @version 189.0.0
20276
20514
  */ /**
20277
20515
  * Constructs a new TelephonyApi.
20278
20516
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -20319,7 +20557,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
20319
20557
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
20320
20558
  * TelephonyProvidersEdge service.
20321
20559
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
20322
- * @version 188.0.1
20560
+ * @version 189.0.0
20323
20561
  */ /**
20324
20562
  * Constructs a new TelephonyProvidersEdgeApi.
20325
20563
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -21133,7 +21371,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
21133
21371
  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']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
21134
21372
  * Textbots service.
21135
21373
  * @module purecloud-platform-client-v2/api/TextbotsApi
21136
- * @version 188.0.1
21374
+ * @version 189.0.0
21137
21375
  */ /**
21138
21376
  * Constructs a new TextbotsApi.
21139
21377
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -21168,7 +21406,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
21168
21406
  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']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
21169
21407
  * Tokens service.
21170
21408
  * @module purecloud-platform-client-v2/api/TokensApi
21171
- * @version 188.0.1
21409
+ * @version 189.0.0
21172
21410
  */ /**
21173
21411
  * Constructs a new TokensApi.
21174
21412
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -21191,7 +21429,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21191
21429
  */},{key:"getTokensMe",value:function getTokensMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/me','GET',{},{'preserveIdleTTL':opts['preserveIdleTTL']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21192
21430
  * Get the current Idle Token Timeout Value
21193
21431
  *
21194
- * getTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21195
21432
  */},{key:"getTokensTimeout",value:function getTokensTimeout(){return this.apiClient.callApi('/api/v2/tokens/timeout','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21196
21433
  * Verify user token
21197
21434
  *
@@ -21200,11 +21437,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21200
21437
  *
21201
21438
  * @param {Object} opts Optional parameters
21202
21439
  * @param {Object} opts.body
21203
- * putTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21204
21440
  */},{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']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
21205
21441
  * Uploads service.
21206
21442
  * @module purecloud-platform-client-v2/api/UploadsApi
21207
- * @version 188.0.1
21443
+ * @version 189.0.0
21208
21444
  */ /**
21209
21445
  * Constructs a new UploadsApi.
21210
21446
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -21270,7 +21506,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21270
21506
  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']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
21271
21507
  * Usage service.
21272
21508
  * @module purecloud-platform-client-v2/api/UsageApi
21273
- * @version 188.0.1
21509
+ * @version 189.0.0
21274
21510
  */ /**
21275
21511
  * Constructs a new UsageApi.
21276
21512
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -21321,7 +21557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21321
21557
  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']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
21322
21558
  * UserRecordings service.
21323
21559
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
21324
- * @version 188.0.1
21560
+ * @version 189.0.0
21325
21561
  */ /**
21326
21562
  * Constructs a new UserRecordingsApi.
21327
21563
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -21370,7 +21606,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
21370
21606
  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']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
21371
21607
  * Users service.
21372
21608
  * @module purecloud-platform-client-v2/api/UsersApi
21373
- * @version 188.0.1
21609
+ * @version 189.0.0
21374
21610
  */ /**
21375
21611
  * Constructs a new UsersApi.
21376
21612
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -22029,7 +22265,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
22029
22265
  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']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
22030
22266
  * Utilities service.
22031
22267
  * @module purecloud-platform-client-v2/api/UtilitiesApi
22032
- * @version 188.0.1
22268
+ * @version 189.0.0
22033
22269
  */ /**
22034
22270
  * Constructs a new UtilitiesApi.
22035
22271
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -22056,7 +22292,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22056
22292
  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']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
22057
22293
  * Voicemail service.
22058
22294
  * @module purecloud-platform-client-v2/api/VoicemailApi
22059
- * @version 188.0.1
22295
+ * @version 189.0.0
22060
22296
  */ /**
22061
22297
  * Constructs a new VoicemailApi.
22062
22298
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -22205,7 +22441,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22205
22441
  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']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
22206
22442
  * WebChat service.
22207
22443
  * @module purecloud-platform-client-v2/api/WebChatApi
22208
- * @version 188.0.1
22444
+ * @version 189.0.0
22209
22445
  */ /**
22210
22446
  * Constructs a new WebChatApi.
22211
22447
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -22338,7 +22574,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22338
22574
  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']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
22339
22575
  * WebDeployments service.
22340
22576
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
22341
- * @version 188.0.1
22577
+ * @version 189.0.0
22342
22578
  */ /**
22343
22579
  * Constructs a new WebDeploymentsApi.
22344
22580
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -22459,7 +22695,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22459
22695
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
22460
22696
  * WebMessaging service.
22461
22697
  * @module purecloud-platform-client-v2/api/WebMessagingApi
22462
- * @version 188.0.1
22698
+ * @version 189.0.0
22463
22699
  */ /**
22464
22700
  * Constructs a new WebMessagingApi.
22465
22701
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -22475,7 +22711,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
22475
22711
  */_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
22476
22712
  * Widgets service.
22477
22713
  * @module purecloud-platform-client-v2/api/WidgetsApi
22478
- * @version 188.0.1
22714
+ * @version 189.0.0
22479
22715
  */ /**
22480
22716
  * Constructs a new WidgetsApi.
22481
22717
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -22510,7 +22746,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22510
22746
  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']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
22511
22747
  * WorkforceManagement service.
22512
22748
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
22513
- * @version 188.0.1
22749
+ * @version 189.0.0
22514
22750
  */ /**
22515
22751
  * Constructs a new WorkforceManagementApi.
22516
22752
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -22630,9 +22866,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
22630
22866
  * @param {String} jobId jobId
22631
22867
  */},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
22632
22868
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22633
- * Get status of the modeling job
22634
- *
22869
+ * To get status of the modeling job.
22870
+ * This Endpoint is Deprecated, and not recommended to be used.
22635
22871
  * @param {String} jobId The id of the modeling job
22872
+ * @deprecated
22636
22873
  */},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
22637
22874
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdhocmodelingjob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adhocmodelingjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22638
22875
  * Get an adherence explanation
@@ -23861,7 +24098,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
23861
24098
  * </pre>
23862
24099
  * </p>
23863
24100
  * @module purecloud-platform-client-v2/index
23864
- * @version 188.0.1
24101
+ * @version 189.0.0
23865
24102
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23866
24103
  * The ApiClient constructor.
23867
24104
  * @property {module:purecloud-platform-client-v2/ApiClient}