purecloud-platform-client-v2 188.1.0 → 189.1.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 +709 -106
  3. package/dist/web-amd/purecloud-platform-client-v2.js +709 -106
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +250 -107
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +353 -143
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +529 -6
  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 -1
  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 +1 -1
  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 +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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 -1
  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
@@ -847,7 +847,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
847
847
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
848
848
  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;}();/**
849
849
  * @module purecloud-platform-client-v2/ApiClient
850
- * @version 188.1.0
850
+ * @version 189.1.0
851
851
  */var ApiClient=/*#__PURE__*/function(){/**
852
852
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
853
853
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1159,7 +1159,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1159
1159
  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(){/**
1160
1160
  * Alerting service.
1161
1161
  * @module purecloud-platform-client-v2/api/AlertingApi
1162
- * @version 188.1.0
1162
+ * @version 189.1.0
1163
1163
  */ /**
1164
1164
  * Constructs a new AlertingApi.
1165
1165
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1316,7 +1316,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1316
1316
  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(){/**
1317
1317
  * Analytics service.
1318
1318
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1319
- * @version 188.1.0
1319
+ * @version 189.1.0
1320
1320
  */ /**
1321
1321
  * Constructs a new AnalyticsApi.
1322
1322
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1926,7 +1926,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
1926
1926
  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(){/**
1927
1927
  * Architect service.
1928
1928
  * @module purecloud-platform-client-v2/api/ArchitectApi
1929
- * @version 188.1.0
1929
+ * @version 189.1.0
1930
1930
  */ /**
1931
1931
  * Constructs a new ArchitectApi.
1932
1932
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -2022,6 +2022,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
2022
2022
  * @param {String} flowId Flow ID
2023
2023
  */},{key:"deleteFlow",value:function deleteFlow(flowId){// verify the required parameter 'flowId' is set
2024
2024
  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']);}/**
2025
+ * Deletes a log level for a flow by flow id.
2026
+ * Deletes the associated log level for a flow by flow id
2027
+ * @param {String} flowId The flow id to delete the loglevel for
2028
+ * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2029
+ */},{key:"deleteFlowInstancesSettingsLoglevels",value:function deleteFlowInstancesSettingsLoglevels(flowId){// verify the required parameter 'flowId' is set
2030
+ 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']);}/**
2025
2031
  * Batch-delete a list of flows
2026
2032
  * Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
2027
2033
  * @param {Array.<String>} id List of Flow IDs
@@ -2041,6 +2047,10 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
2041
2047
  */},{key:"deleteFlowsDatatableRow",value:function deleteFlowsDatatableRow(datatableId,rowId){// verify the required parameter 'datatableId' is set
2042
2048
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';}// verify the required parameter 'rowId' is set
2043
2049
  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']);}/**
2050
+ * Resets the org log level to default, base
2051
+ * Resets the org log level to default, base
2052
+ * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2053
+ */},{key:"deleteFlowsInstancesSettingsLoglevelsDefault",value:function deleteFlowsInstancesSettingsLoglevelsDefault(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2044
2054
  * Delete a flow milestone.
2045
2055
  *
2046
2056
  * @param {String} milestoneId flow milestone ID
@@ -2392,6 +2402,14 @@ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flow
2392
2402
  */},{key:"getFlowHistoryHistoryId",value:function getFlowHistoryHistoryId(flowId,historyId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
2393
2403
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';}// verify the required parameter 'historyId' is set
2394
2404
  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']);}/**
2405
+ * Retrieves the log level for a flow by flow id.
2406
+ * Retrieves the log level for a flow by flow id.
2407
+ * @param {String} flowId The flow id to get the loglevel for
2408
+ * @param {Object} opts Optional parameters
2409
+ * @param {Array.<String>} opts.expand Expand instructions for the result
2410
+ * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2411
+ */},{key:"getFlowInstancesSettingsLoglevels",value:function getFlowInstancesSettingsLoglevels(flowId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
2412
+ 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']);}/**
2395
2413
  * Get the latest configuration for flow
2396
2414
  *
2397
2415
  * @param {String} flowId Flow ID
@@ -2585,21 +2603,40 @@ if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the requir
2585
2603
  * @param {String} instanceId Instance ID
2586
2604
  * @param {Object} opts Optional parameters
2587
2605
  * @param {Object} opts.expand Expand various details.
2588
- * getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2589
2606
  */},{key:"getFlowsInstance",value:function getFlowsInstance(instanceId,opts){opts=opts||{};// verify the required parameter 'instanceId' is set
2590
2607
  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']);}/**
2591
2608
  * Get the status and/or results of an asynchronous flow execution data retrieval job
2592
2609
  *
2593
2610
  * @param {String} jobId The asynchronous job ID
2594
- * getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2595
2611
  */},{key:"getFlowsInstancesJob",value:function getFlowsInstancesJob(jobId){// verify the required parameter 'jobId' is set
2596
2612
  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']);}/**
2597
2613
  * Retrieve a list of capabilities that the org can use to query for execution data
2598
2614
  * Returns the queryable parameters that can be used to build a query for execution data.
2599
2615
  * @param {Object} opts Optional parameters
2600
2616
  * @param {Object} opts.expand Expand various query types.
2601
- * getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2602
2617
  */},{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']);}/**
2618
+ * Get the execution history enabled setting.
2619
+ * Get the execution history enabled setting.
2620
+ * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2621
+ */},{key:"getFlowsInstancesSettingsExecutiondata",value:function getFlowsInstancesSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2622
+ * Retrieve a list of LogLevels for the organization.
2623
+ * Returns a paged set of LogLevels per flow id
2624
+ * @param {Object} opts Optional parameters
2625
+ * @param {Array.<String>} opts.expand Expand instructions for the result
2626
+ * @param {Number} opts.pageNumber Page number (default to 1)
2627
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
2628
+ * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2629
+ */},{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']);}/**
2630
+ * Gets the available flow log level characteristics for this organization.
2631
+ * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
2632
+ * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2633
+ */},{key:"getFlowsInstancesSettingsLoglevelsCharacteristics",value:function getFlowsInstancesSettingsLoglevelsCharacteristics(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/characteristics','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
2634
+ * Returns the flow default log level.
2635
+ * Returns the flow default log level which will be used if no specific flow id log level is found.
2636
+ * @param {Object} opts Optional parameters
2637
+ * @param {Array.<String>} opts.expand Expand instructions for the result
2638
+ * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2639
+ */},{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']);}/**
2603
2640
  * Fetch Architect Job Status
2604
2641
  *
2605
2642
  * @param {String} jobId Job ID
@@ -2683,6 +2720,12 @@ if(grammarId===undefined||grammarId===null){throw'Missing the required parameter
2683
2720
  */},{key:"patchArchitectGrammarLanguage",value:function patchArchitectGrammarLanguage(grammarId,languageCode,opts){opts=opts||{};// verify the required parameter 'grammarId' is set
2684
2721
  if(grammarId===undefined||grammarId===null){throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';}// verify the required parameter 'languageCode' is set
2685
2722
  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']);}/**
2723
+ * Edit the execution history enabled setting.
2724
+ * Edit the execution history enabled setting.
2725
+ * @param {Object} body New Execution Data Setting
2726
+ * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2727
+ */},{key:"patchFlowsInstancesSettingsExecutiondata",value:function patchFlowsInstancesSettingsExecutiondata(body){// verify the required parameter 'body' is set
2728
+ 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']);}/**
2686
2729
  * Rebuild Dependency Tracking data for an organization
2687
2730
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
2688
2731
  */},{key:"postArchitectDependencytrackingBuild",value:function postArchitectDependencytrackingBuild(){return this.apiClient.callApi('/api/v2/architect/dependencytracking/build','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -2774,6 +2817,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2774
2817
  * @param {String} flowId Flow ID
2775
2818
  */},{key:"postFlowHistory",value:function postFlowHistory(flowId){// verify the required parameter 'flowId' is set
2776
2819
  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']);}/**
2820
+ * Set the logLevel for a particular flow id
2821
+ * Assigns a new loglevel to a flow id
2822
+ * @param {String} flowId The flow id to set the loglevel for
2823
+ * @param {Object} body New LogLevel settings
2824
+ * @param {Object} opts Optional parameters
2825
+ * @param {Array.<String>} opts.expand Expand instructions for the result
2826
+ * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2827
+ */},{key:"postFlowInstancesSettingsLoglevels",value:function postFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
2828
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
2829
+ 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']);}/**
2777
2830
  * Create flow version
2778
2831
  *
2779
2832
  * @param {String} flowId Flow ID
@@ -2854,7 +2907,6 @@ if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the re
2854
2907
  * @param {Object} body Requested Flow Ids
2855
2908
  * @param {Object} opts Optional parameters
2856
2909
  * @param {Object} opts.expand Expand various query types.
2857
- * postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2858
2910
  */},{key:"postFlowsInstancesJobs",value:function postFlowsInstancesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2859
2911
  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']);}/**
2860
2912
  * Query the database of existing flow histories to look for particular flow criteria
@@ -2863,7 +2915,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2863
2915
  * @param {Object} opts Optional parameters
2864
2916
  * @param {Boolean} opts.indexOnly indexes only
2865
2917
  * @param {Number} opts.pageSize number of results to return (default to 50)
2866
- * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2867
2918
  */},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
2868
2919
  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']);}/**
2869
2920
  * 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.
@@ -2939,6 +2990,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2939
2990
  */},{key:"putFlow",value:function putFlow(flowId,body){// verify the required parameter 'flowId' is set
2940
2991
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlow';}// verify the required parameter 'body' is set
2941
2992
  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']);}/**
2993
+ * Edit the logLevel for a particular flow id
2994
+ * Updates the loglevel for a flow id
2995
+ * @param {String} flowId The flow id to edit the loglevel for
2996
+ * @param {Object} body New LogLevel settings
2997
+ * @param {Object} opts Optional parameters
2998
+ * @param {Array.<String>} opts.expand Expand instructions for the result
2999
+ * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3000
+ */},{key:"putFlowInstancesSettingsLoglevels",value:function putFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
3001
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
3002
+ 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']);}/**
2942
3003
  * Updates a specific datatable by id
2943
3004
  * 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.
2944
3005
  * @param {String} datatableId id of datatable
@@ -2957,6 +3018,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2957
3018
  */},{key:"putFlowsDatatableRow",value:function putFlowsDatatableRow(datatableId,rowId,opts){opts=opts||{};// verify the required parameter 'datatableId' is set
2958
3019
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';}// verify the required parameter 'rowId' is set
2959
3020
  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']);}/**
3021
+ * Edit the flow default log level.
3022
+ * Edit the flow default log level.
3023
+ * @param {Object} body New LogLevel settings
3024
+ * @param {Object} opts Optional parameters
3025
+ * @param {Array.<String>} opts.expand Expand instructions for the result
3026
+ * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3027
+ */},{key:"putFlowsInstancesSettingsLoglevelsDefault",value:function putFlowsInstancesSettingsLoglevelsDefault(body,opts){opts=opts||{};// verify the required parameter 'body' is set
3028
+ 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']);}/**
2960
3029
  * Updates a flow milestone
2961
3030
  *
2962
3031
  * @param {String} milestoneId flow milestone ID
@@ -2973,7 +3042,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
2973
3042
  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(){/**
2974
3043
  * Audit service.
2975
3044
  * @module purecloud-platform-client-v2/api/AuditApi
2976
- * @version 188.1.0
3045
+ * @version 189.1.0
2977
3046
  */ /**
2978
3047
  * Constructs a new AuditApi.
2979
3048
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3015,7 +3084,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3015
3084
  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(){/**
3016
3085
  * Authorization service.
3017
3086
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3018
- * @version 188.1.0
3087
+ * @version 189.1.0
3019
3088
  */ /**
3020
3089
  * Constructs a new AuthorizationApi.
3021
3090
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3326,7 +3395,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3326
3395
  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(){/**
3327
3396
  * Billing service.
3328
3397
  * @module purecloud-platform-client-v2/api/BillingApi
3329
- * @version 188.1.0
3398
+ * @version 189.1.0
3330
3399
  */ /**
3331
3400
  * Constructs a new BillingApi.
3332
3401
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3350,7 +3419,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3350
3419
  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(){/**
3351
3420
  * CarrierServices service.
3352
3421
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3353
- * @version 188.1.0
3422
+ * @version 189.1.0
3354
3423
  */ /**
3355
3424
  * Constructs a new CarrierServicesApi.
3356
3425
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3370,7 +3439,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3370
3439
  */},{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(){/**
3371
3440
  * Chat service.
3372
3441
  * @module purecloud-platform-client-v2/api/ChatApi
3373
- * @version 188.1.0
3442
+ * @version 189.1.0
3374
3443
  */ /**
3375
3444
  * Constructs a new ChatApi.
3376
3445
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3563,7 +3632,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3563
3632
  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(){/**
3564
3633
  * Coaching service.
3565
3634
  * @module purecloud-platform-client-v2/api/CoachingApi
3566
- * @version 188.1.0
3635
+ * @version 189.1.0
3567
3636
  */ /**
3568
3637
  * Constructs a new CoachingApi.
3569
3638
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -3716,7 +3785,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3716
3785
  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(){/**
3717
3786
  * ContentManagement service.
3718
3787
  * @module purecloud-platform-client-v2/api/ContentManagementApi
3719
- * @version 188.1.0
3788
+ * @version 189.1.0
3720
3789
  */ /**
3721
3790
  * Constructs a new ContentManagementApi.
3722
3791
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -3999,7 +4068,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
3999
4068
  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(){/**
4000
4069
  * Conversations service.
4001
4070
  * @module purecloud-platform-client-v2/api/ConversationsApi
4002
- * @version 188.1.0
4071
+ * @version 189.1.0
4003
4072
  */ /**
4004
4073
  * Constructs a new ConversationsApi.
4005
4074
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4057,9 +4126,10 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4057
4126
  * @param {String} integrationId Integration ID
4058
4127
  */},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4059
4128
  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']);}/**
4060
- * Delete a LINE messenger integration
4061
- *
4129
+ * Delete a LINE messenger integration (Deprecated)
4130
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
4062
4131
  * @param {String} integrationId Integration ID
4132
+ * @deprecated
4063
4133
  */},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4064
4134
  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']);}/**
4065
4135
  * Delete an Open messaging integration
@@ -4526,20 +4596,22 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4526
4596
  * @param {Object} opts.expand Expand instructions for the return value.
4527
4597
  */},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
4528
4598
  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']);}/**
4529
- * Get a list of LINE messenger Integrations
4530
- *
4599
+ * Get a list of LINE messenger Integrations (Deprecated)
4600
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
4531
4601
  * @param {Object} opts Optional parameters
4532
4602
  * @param {Number} opts.pageSize Page size (default to 25)
4533
4603
  * @param {Number} opts.pageNumber Page number (default to 1)
4534
4604
  * @param {Object} opts.expand Expand instructions for the return value.
4535
4605
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
4536
4606
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
4607
+ * @deprecated
4537
4608
  */},{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']);}/**
4538
- * Get a LINE messenger integration
4539
- *
4609
+ * Get a LINE messenger integration (Deprecated)
4610
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
4540
4611
  * @param {String} integrationId Integration ID
4541
4612
  * @param {Object} opts Optional parameters
4542
4613
  * @param {Object} opts.expand Expand instructions for the return value.
4614
+ * @deprecated
4543
4615
  */},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
4544
4616
  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']);}/**
4545
4617
  * Get a list of Open messaging integrations
@@ -5681,10 +5753,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5681
5753
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
5682
5754
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
5683
5755
  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']);}/**
5684
- * Update a LINE messenger integration
5685
- *
5756
+ * Update a LINE messenger integration (Deprecated)
5757
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
5686
5758
  * @param {String} integrationId Integration ID
5687
5759
  * @param {Object} body LineIntegrationRequest
5760
+ * @deprecated
5688
5761
  */},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
5689
5762
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
5690
5763
  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']);}/**
@@ -5726,7 +5799,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
5726
5799
  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(){/**
5727
5800
  * DataExtensions service.
5728
5801
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5729
- * @version 188.1.0
5802
+ * @version 189.1.0
5730
5803
  */ /**
5731
5804
  * Constructs a new DataExtensionsApi.
5732
5805
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5747,7 +5820,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5747
5820
  */},{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(){/**
5748
5821
  * Downloads service.
5749
5822
  * @module purecloud-platform-client-v2/api/DownloadsApi
5750
- * @version 188.1.0
5823
+ * @version 189.1.0
5751
5824
  */ /**
5752
5825
  * Constructs a new DownloadsApi.
5753
5826
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5766,7 +5839,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5766
5839
  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(){/**
5767
5840
  * Emails service.
5768
5841
  * @module purecloud-platform-client-v2/api/EmailsApi
5769
- * @version 188.1.0
5842
+ * @version 189.1.0
5770
5843
  */ /**
5771
5844
  * Constructs a new EmailsApi.
5772
5845
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5784,7 +5857,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5784
5857
  */},{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(){/**
5785
5858
  * Events service.
5786
5859
  * @module purecloud-platform-client-v2/api/EventsApi
5787
- * @version 188.1.0
5860
+ * @version 189.1.0
5788
5861
  */ /**
5789
5862
  * Constructs a new EventsApi.
5790
5863
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5809,7 +5882,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5809
5882
  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(){/**
5810
5883
  * ExternalContacts service.
5811
5884
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5812
- * @version 188.1.0
5885
+ * @version 189.1.0
5813
5886
  */ /**
5814
5887
  * Constructs a new ExternalContactsApi.
5815
5888
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6264,7 +6337,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6264
6337
  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(){/**
6265
6338
  * Fax service.
6266
6339
  * @module purecloud-platform-client-v2/api/FaxApi
6267
- * @version 188.1.0
6340
+ * @version 189.1.0
6268
6341
  */ /**
6269
6342
  * Constructs a new FaxApi.
6270
6343
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6305,7 +6378,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
6305
6378
  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(){/**
6306
6379
  * Flows service.
6307
6380
  * @module purecloud-platform-client-v2/api/FlowsApi
6308
- * @version 188.1.0
6381
+ * @version 189.1.0
6309
6382
  */ /**
6310
6383
  * Constructs a new FlowsApi.
6311
6384
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6354,7 +6427,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6354
6427
  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(){/**
6355
6428
  * Gamification service.
6356
6429
  * @module purecloud-platform-client-v2/api/GamificationApi
6357
- * @version 188.1.0
6430
+ * @version 189.1.0
6358
6431
  */ /**
6359
6432
  * Constructs a new GamificationApi.
6360
6433
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6894,7 +6967,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6894
6967
  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(){/**
6895
6968
  * GeneralDataProtectionRegulation service.
6896
6969
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6897
- * @version 188.1.0
6970
+ * @version 189.1.0
6898
6971
  */ /**
6899
6972
  * Constructs a new GeneralDataProtectionRegulationApi.
6900
6973
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -6929,7 +7002,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
6929
7002
  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(){/**
6930
7003
  * Geolocation service.
6931
7004
  * @module purecloud-platform-client-v2/api/GeolocationApi
6932
- * @version 188.1.0
7005
+ * @version 189.1.0
6933
7006
  */ /**
6934
7007
  * Constructs a new GeolocationApi.
6935
7008
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -6963,7 +7036,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
6963
7036
  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(){/**
6964
7037
  * Greetings service.
6965
7038
  * @module purecloud-platform-client-v2/api/GreetingsApi
6966
- * @version 188.1.0
7039
+ * @version 189.1.0
6967
7040
  */ /**
6968
7041
  * Constructs a new GreetingsApi.
6969
7042
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7070,7 +7143,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7070
7143
  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(){/**
7071
7144
  * Groups service.
7072
7145
  * @module purecloud-platform-client-v2/api/GroupsApi
7073
- * @version 188.1.0
7146
+ * @version 189.1.0
7074
7147
  */ /**
7075
7148
  * Constructs a new GroupsApi.
7076
7149
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7203,7 +7276,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7203
7276
  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(){/**
7204
7277
  * IdentityProvider service.
7205
7278
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7206
- * @version 188.1.0
7279
+ * @version 189.1.0
7207
7280
  */ /**
7208
7281
  * Constructs a new IdentityProviderApi.
7209
7282
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7359,7 +7432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7359
7432
  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(){/**
7360
7433
  * InfrastructureAsCode service.
7361
7434
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7362
- * @version 188.1.0
7435
+ * @version 189.1.0
7363
7436
  */ /**
7364
7437
  * Constructs a new InfrastructureAsCodeApi.
7365
7438
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7413,7 +7486,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7413
7486
  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(){/**
7414
7487
  * Integrations service.
7415
7488
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7416
- * @version 188.1.0
7489
+ * @version 189.1.0
7417
7490
  */ /**
7418
7491
  * Constructs a new IntegrationsApi.
7419
7492
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -7658,6 +7731,18 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
7658
7731
  * @param {Number} opts.pageSize Page size (default to 25)
7659
7732
  * @param {String} opts.name Filter on agent name
7660
7733
  */},{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']);}/**
7734
+ * Get details about a Dialogflow CX agent
7735
+ *
7736
+ * @param {String} agentId The agent ID
7737
+ */},{key:"getIntegrationsSpeechDialogflowcxAgent",value:function getIntegrationsSpeechDialogflowcxAgent(agentId){// verify the required parameter 'agentId' is set
7738
+ 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']);}/**
7739
+ * Get a list of Dialogflow CX agents in the customers' Google accounts
7740
+ *
7741
+ * @param {Object} opts Optional parameters
7742
+ * @param {Number} opts.pageNumber Page number (default to 1)
7743
+ * @param {Number} opts.pageSize Page size (default to 25)
7744
+ * @param {String} opts.name Filter on agent name
7745
+ */},{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']);}/**
7661
7746
  * Get details about a Lex bot alias
7662
7747
  *
7663
7748
  * @param {String} aliasId The alias ID
@@ -7680,6 +7765,28 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
7680
7765
  * @param {Number} opts.pageSize Page size (default to 25)
7681
7766
  * @param {String} opts.name Filter on bot name
7682
7767
  */},{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']);}/**
7768
+ * Get details about a Lex V2 bot alias
7769
+ *
7770
+ * @param {String} aliasId The Alias ID
7771
+ */},{key:"getIntegrationsSpeechLexv2BotAlias",value:function getIntegrationsSpeechLexv2BotAlias(aliasId){// verify the required parameter 'aliasId' is set
7772
+ 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']);}/**
7773
+ * Get a list of aliases for a Lex V2 bot
7774
+ *
7775
+ * @param {String} botId The Bot ID
7776
+ * @param {Object} opts Optional parameters
7777
+ * @param {Number} opts.pageNumber Page number (default to 1)
7778
+ * @param {Number} opts.pageSize Page size (default to 25)
7779
+ * @param {Object} opts.status Filter on alias status
7780
+ * @param {String} opts.name Filter on alias name
7781
+ */},{key:"getIntegrationsSpeechLexv2BotBotIdAliases",value:function getIntegrationsSpeechLexv2BotBotIdAliases(botId,opts){opts=opts||{};// verify the required parameter 'botId' is set
7782
+ 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']);}/**
7783
+ * Get a list of Lex V2 bots
7784
+ *
7785
+ * @param {Object} opts Optional parameters
7786
+ * @param {Number} opts.pageNumber Page number (default to 1)
7787
+ * @param {Number} opts.pageSize Page size (default to 25)
7788
+ * @param {String} opts.name Filter on bot name
7789
+ */},{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']);}/**
7683
7790
  * Get a Nuance bot in the specified Integration
7684
7791
  *
7685
7792
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
@@ -7687,7 +7794,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
7687
7794
  * @param {Object} opts Optional parameters
7688
7795
  * @param {Array.<String>} opts.expand expand
7689
7796
  * @param {Object} opts.targetChannel targetChannel
7690
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7691
7797
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBot",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
7692
7798
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}// verify the required parameter 'botId' is set
7693
7799
  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']);}/**
@@ -7696,7 +7802,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
7696
7802
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7697
7803
  * @param {String} botId The Nuance bot ID
7698
7804
  * @param {String} jobId The asynchronous job ID
7699
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7700
7805
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
7701
7806
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'botId' is set
7702
7807
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'jobId' is set
@@ -7706,7 +7811,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7706
7811
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7707
7812
  * @param {String} botId The Nuance bot ID
7708
7813
  * @param {String} jobId The asynchronous job ID
7709
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7710
7814
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
7711
7815
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'botId' is set
7712
7816
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'jobId' is set
@@ -7718,14 +7822,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7718
7822
  * @param {Number} opts.pageNumber Page number (default to 1)
7719
7823
  * @param {Number} opts.pageSize Page size (default to 25)
7720
7824
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
7721
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7722
7825
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBots",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
7723
7826
  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']);}/**
7724
7827
  * Get the status of an asynchronous Nuance bots GET job
7725
7828
  *
7726
7829
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7727
7830
  * @param {String} jobId The asynchronous job ID
7728
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7729
7831
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
7730
7832
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}// verify the required parameter 'jobId' is set
7731
7833
  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']);}/**
@@ -7733,10 +7835,21 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7733
7835
  *
7734
7836
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7735
7837
  * @param {String} jobId The asynchronous job ID
7736
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7737
7838
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
7738
7839
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}// verify the required parameter 'jobId' is set
7739
7840
  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']);}/**
7841
+ * Get details about a STT engine
7842
+ *
7843
+ * @param {String} engineId The engine ID
7844
+ */},{key:"getIntegrationsSpeechSttEngine",value:function getIntegrationsSpeechSttEngine(engineId){// verify the required parameter 'engineId' is set
7845
+ 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']);}/**
7846
+ * Get a list of STT engines enabled for org
7847
+ *
7848
+ * @param {Object} opts Optional parameters
7849
+ * @param {Number} opts.pageNumber Page number (default to 1)
7850
+ * @param {Number} opts.pageSize Page size (default to 25)
7851
+ * @param {String} opts.name Filter on engine name
7852
+ */},{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']);}/**
7740
7853
  * Get details about a TTS engine
7741
7854
  *
7742
7855
  * @param {String} engineId The engine ID
@@ -7793,6 +7906,21 @@ if(configType===undefined||configType===null){throw'Missing the required paramet
7793
7906
  * @param {String} opts.nextPage next page token
7794
7907
  * @param {String} opts.previousPage Previous page token
7795
7908
  */},{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']);}/**
7909
+ * UC integration client application configuration.
7910
+ * This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
7911
+ * @param {String} ucIntegrationId 3rd Party Service Type
7912
+ */},{key:"getIntegrationsUnifiedcommunicationsClientapp",value:function getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId){// verify the required parameter 'ucIntegrationId' is set
7913
+ 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']);}/**
7914
+ * List UC integration client application configurations.
7915
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
7916
+ * @param {Object} opts Optional parameters
7917
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
7918
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
7919
+ * @param {String} opts.sortBy variable name requested to sort by
7920
+ * @param {Array.<String>} opts.expand variable name requested by expand list
7921
+ * @param {String} opts.nextPage next page token
7922
+ * @param {String} opts.previousPage Previous page token
7923
+ */},{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']);}/**
7796
7924
  * List permitted user app integrations for the logged in user
7797
7925
  *
7798
7926
  * @param {Object} opts Optional parameters
@@ -7899,7 +8027,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7899
8027
  * @param {Object} opts Optional parameters
7900
8028
  * @param {Array.<String>} opts.expand expand
7901
8029
  * @param {String} opts.body targetChannel
7902
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7903
8030
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
7904
8031
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}// verify the required parameter 'botId' is set
7905
8032
  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']);}/**
@@ -7910,14 +8037,12 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
7910
8037
  * @param {Number} opts.pageNumber Page number (default to 1)
7911
8038
  * @param {Number} opts.pageSize Page size (default to 25)
7912
8039
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
7913
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7914
8040
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
7915
8041
  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']);}/**
7916
8042
  * Try out a single credential for a Nuance bot to know if the secret is correct
7917
8043
  *
7918
8044
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7919
8045
  * @param {Object} settings
7920
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7921
8046
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
7922
8047
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
7923
8048
  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']);}/**
@@ -7954,7 +8079,6 @@ if(credentialId===undefined||credentialId===null){throw'Missing the required par
7954
8079
  *
7955
8080
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
7956
8081
  * @param {Object} settings
7957
- * putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7958
8082
  */},{key:"putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings",value:function putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
7959
8083
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}// verify the required parameter 'settings' is set
7960
8084
  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']);}/**
@@ -7972,7 +8096,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
7972
8096
  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(){/**
7973
8097
  * Journey service.
7974
8098
  * @module purecloud-platform-client-v2/api/JourneyApi
7975
- * @version 188.1.0
8099
+ * @version 189.1.0
7976
8100
  */ /**
7977
8101
  * Constructs a new JourneyApi.
7978
8102
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8309,7 +8433,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8309
8433
  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(){/**
8310
8434
  * Knowledge service.
8311
8435
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8312
- * @version 188.1.0
8436
+ * @version 189.1.0
8313
8437
  */ /**
8314
8438
  * Constructs a new KnowledgeApi.
8315
8439
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -9221,7 +9345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9221
9345
  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(){/**
9222
9346
  * LanguageUnderstanding service.
9223
9347
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9224
- * @version 188.1.0
9348
+ * @version 189.1.0
9225
9349
  */ /**
9226
9350
  * Constructs a new LanguageUnderstandingApi.
9227
9351
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9477,7 +9601,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
9477
9601
  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(){/**
9478
9602
  * Languages service.
9479
9603
  * @module purecloud-platform-client-v2/api/LanguagesApi
9480
- * @version 188.1.0
9604
+ * @version 189.1.0
9481
9605
  */ /**
9482
9606
  * Constructs a new LanguagesApi.
9483
9607
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9532,7 +9656,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9532
9656
  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(){/**
9533
9657
  * Learning service.
9534
9658
  * @module purecloud-platform-client-v2/api/LearningApi
9535
- * @version 188.1.0
9659
+ * @version 189.1.0
9536
9660
  */ /**
9537
9661
  * Constructs a new LearningApi.
9538
9662
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9762,7 +9886,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
9762
9886
  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(){/**
9763
9887
  * License service.
9764
9888
  * @module purecloud-platform-client-v2/api/LicenseApi
9765
- * @version 188.1.0
9889
+ * @version 189.1.0
9766
9890
  */ /**
9767
9891
  * Constructs a new LicenseApi.
9768
9892
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -9816,7 +9940,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9816
9940
  */},{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(){/**
9817
9941
  * Locations service.
9818
9942
  * @module purecloud-platform-client-v2/api/LocationsApi
9819
- * @version 188.1.0
9943
+ * @version 189.1.0
9820
9944
  */ /**
9821
9945
  * Constructs a new LocationsApi.
9822
9946
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -9875,7 +9999,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9875
9999
  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(){/**
9876
10000
  * LogCapture service.
9877
10001
  * @module purecloud-platform-client-v2/api/LogCaptureApi
9878
- * @version 188.1.0
10002
+ * @version 189.1.0
9879
10003
  */ /**
9880
10004
  * Constructs a new LogCaptureApi.
9881
10005
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -9925,7 +10049,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9925
10049
  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(){/**
9926
10050
  * Messaging service.
9927
10051
  * @module purecloud-platform-client-v2/api/MessagingApi
9928
- * @version 188.1.0
10052
+ * @version 189.1.0
9929
10053
  */ /**
9930
10054
  * Constructs a new MessagingApi.
9931
10055
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10015,7 +10139,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10015
10139
  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(){/**
10016
10140
  * MobileDevices service.
10017
10141
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10018
- * @version 188.1.0
10142
+ * @version 189.1.0
10019
10143
  */ /**
10020
10144
  * Constructs a new MobileDevicesApi.
10021
10145
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10054,7 +10178,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10054
10178
  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(){/**
10055
10179
  * Notifications service.
10056
10180
  * @module purecloud-platform-client-v2/api/NotificationsApi
10057
- * @version 188.1.0
10181
+ * @version 189.1.0
10058
10182
  */ /**
10059
10183
  * Constructs a new NotificationsApi.
10060
10184
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10111,7 +10235,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
10111
10235
  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(){/**
10112
10236
  * OAuth service.
10113
10237
  * @module purecloud-platform-client-v2/api/OAuthApi
10114
- * @version 188.1.0
10238
+ * @version 189.1.0
10115
10239
  */ /**
10116
10240
  * Constructs a new OAuthApi.
10117
10241
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -10196,7 +10320,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
10196
10320
  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(){/**
10197
10321
  * Objects service.
10198
10322
  * @module purecloud-platform-client-v2/api/ObjectsApi
10199
- * @version 188.1.0
10323
+ * @version 189.1.0
10200
10324
  */ /**
10201
10325
  * Constructs a new ObjectsApi.
10202
10326
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10267,7 +10391,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
10267
10391
  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(){/**
10268
10392
  * OperationalEvents service.
10269
10393
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10270
- * @version 188.1.0
10394
+ * @version 189.1.0
10271
10395
  */ /**
10272
10396
  * Constructs a new OperationalEventsApi.
10273
10397
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10285,7 +10409,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10285
10409
  */},{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(){/**
10286
10410
  * Organization service.
10287
10411
  * @module purecloud-platform-client-v2/api/OrganizationApi
10288
- * @version 188.1.0
10412
+ * @version 189.1.0
10289
10413
  */ /**
10290
10414
  * Constructs a new OrganizationApi.
10291
10415
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10387,7 +10511,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10387
10511
  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(){/**
10388
10512
  * OrganizationAuthorization service.
10389
10513
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10390
- * @version 188.1.0
10514
+ * @version 189.1.0
10391
10515
  */ /**
10392
10516
  * Constructs a new OrganizationAuthorizationApi.
10393
10517
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10710,7 +10834,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
10710
10834
  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(){/**
10711
10835
  * Outbound service.
10712
10836
  * @module purecloud-platform-client-v2/api/OutboundApi
10713
- * @version 188.1.0
10837
+ * @version 189.1.0
10714
10838
  */ /**
10715
10839
  * Constructs a new OutboundApi.
10716
10840
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -11480,8 +11604,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11480
11604
  * Initiate the export of a contact list.
11481
11605
  * Returns 200 if received OK.
11482
11606
  * @param {String} contactListId ContactList ID
11483
- */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId){// verify the required parameter 'contactListId' is set
11484
- 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']);}/**
11607
+ * @param {Object} opts Optional parameters
11608
+ * @param {Object} opts.body Export information to get
11609
+ */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId,opts){opts=opts||{};// verify the required parameter 'contactListId' is set
11610
+ 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']);}/**
11485
11611
  * Create Contact List Filter
11486
11612
  *
11487
11613
  * @param {Object} body ContactListFilter
@@ -11746,7 +11872,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11746
11872
  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(){/**
11747
11873
  * Presence service.
11748
11874
  * @module purecloud-platform-client-v2/api/PresenceApi
11749
- * @version 188.1.0
11875
+ * @version 189.1.0
11750
11876
  */ /**
11751
11877
  * Constructs a new PresenceApi.
11752
11878
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -11919,7 +12045,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11919
12045
  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(){/**
11920
12046
  * ProcessAutomation service.
11921
12047
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
11922
- * @version 188.1.0
12048
+ * @version 189.1.0
11923
12049
  */ /**
11924
12050
  * Constructs a new ProcessAutomationApi.
11925
12051
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -11982,7 +12108,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
11982
12108
  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(){/**
11983
12109
  * Quality service.
11984
12110
  * @module purecloud-platform-client-v2/api/QualityApi
11985
- * @version 188.1.0
12111
+ * @version 189.1.0
11986
12112
  */ /**
11987
12113
  * Constructs a new QualityApi.
11988
12114
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12175,7 +12301,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
12175
12301
  * @deprecated
12176
12302
  */},{key:"getQualityFormVersions",value:function getQualityFormVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
12177
12303
  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']);}/**
12178
- * Get the list of evaluation forms
12304
+ * 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.
12179
12305
  *
12180
12306
  * @param {Object} opts Optional parameters
12181
12307
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -12203,7 +12329,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
12203
12329
  */},{key:"getQualityFormsEvaluationVersions",value:function getQualityFormsEvaluationVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
12204
12330
  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']);}/**
12205
12331
  * Get the list of evaluation forms
12206
- * 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.
12332
+ * 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.
12207
12333
  * @param {Object} opts Optional parameters
12208
12334
  * @param {Number} opts.pageSize The total page size requested (default to 25)
12209
12335
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -12232,7 +12358,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
12232
12358
  * @param {Number} opts.pageNumber Page number (default to 1)
12233
12359
  */},{key:"getQualityFormsSurveyVersions",value:function getQualityFormsSurveyVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
12234
12360
  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']);}/**
12235
- * Get the list of survey forms
12361
+ * 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.
12236
12362
  *
12237
12363
  * @param {Object} opts Optional parameters
12238
12364
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -12453,7 +12579,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
12453
12579
  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(){/**
12454
12580
  * Recording service.
12455
12581
  * @module purecloud-platform-client-v2/api/RecordingApi
12456
- * @version 188.1.0
12582
+ * @version 189.1.0
12457
12583
  */ /**
12458
12584
  * Constructs a new RecordingApi.
12459
12585
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -12860,7 +12986,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12860
12986
  */},{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(){/**
12861
12987
  * ResponseManagement service.
12862
12988
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
12863
- * @version 188.1.0
12989
+ * @version 189.1.0
12864
12990
  */ /**
12865
12991
  * Constructs a new ResponseManagementApi.
12866
12992
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -12976,7 +13102,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
12976
13102
  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(){/**
12977
13103
  * Routing service.
12978
13104
  * @module purecloud-platform-client-v2/api/RoutingApi
12979
- * @version 188.1.0
13105
+ * @version 189.1.0
12980
13106
  */ /**
12981
13107
  * Constructs a new RoutingApi.
12982
13108
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13944,7 +14070,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
13944
14070
  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(){/**
13945
14071
  * SCIM service.
13946
14072
  * @module purecloud-platform-client-v2/api/SCIMApi
13947
- * @version 188.1.0
14073
+ * @version 189.1.0
13948
14074
  */ /**
13949
14075
  * Constructs a new SCIMApi.
13950
14076
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -14169,7 +14295,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14169
14295
  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(){/**
14170
14296
  * ScreenRecording service.
14171
14297
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14172
- * @version 188.1.0
14298
+ * @version 189.1.0
14173
14299
  */ /**
14174
14300
  * Constructs a new ScreenRecordingApi.
14175
14301
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -14184,7 +14310,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14184
14310
  */_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(){/**
14185
14311
  * Scripts service.
14186
14312
  * @module purecloud-platform-client-v2/api/ScriptsApi
14187
- * @version 188.1.0
14313
+ * @version 189.1.0
14188
14314
  */ /**
14189
14315
  * Constructs a new ScriptsApi.
14190
14316
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14320,7 +14446,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14320
14446
  */},{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(){/**
14321
14447
  * Search service.
14322
14448
  * @module purecloud-platform-client-v2/api/SearchApi
14323
- * @version 188.1.0
14449
+ * @version 189.1.0
14324
14450
  */ /**
14325
14451
  * Constructs a new SearchApi.
14326
14452
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14480,7 +14606,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14480
14606
  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(){/**
14481
14607
  * Settings service.
14482
14608
  * @module purecloud-platform-client-v2/api/SettingsApi
14483
- * @version 188.1.0
14609
+ * @version 189.1.0
14484
14610
  */ /**
14485
14611
  * Constructs a new SettingsApi.
14486
14612
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14491,14 +14617,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14491
14617
  * Get email Contact Center settings
14492
14618
  *
14493
14619
  */_createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14620
+ * Get the execution history enabled setting.
14621
+ * Get the execution history enabled setting.
14622
+ * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14623
+ */},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14494
14624
  * Patch email Contact Center settings
14495
14625
  *
14496
14626
  * @param {Object} opts Optional parameters
14497
14627
  * @param {Object} opts.body
14498
- */},{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(){/**
14628
+ */},{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']);}/**
14629
+ * Edit the execution history on off setting.
14630
+ * Edit the execution history on off setting.
14631
+ * @param {Object} body New Execution Data Setting
14632
+ * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14633
+ */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
14634
+ 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(){/**
14499
14635
  * SpeechTextAnalytics service.
14500
14636
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14501
- * @version 188.1.0
14637
+ * @version 189.1.0
14502
14638
  */ /**
14503
14639
  * Constructs a new SpeechTextAnalyticsApi.
14504
14640
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -14742,7 +14878,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
14742
14878
  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(){/**
14743
14879
  * Stations service.
14744
14880
  * @module purecloud-platform-client-v2/api/StationsApi
14745
- * @version 188.1.0
14881
+ * @version 189.1.0
14746
14882
  */ /**
14747
14883
  * Constructs a new StationsApi.
14748
14884
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -14774,7 +14910,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14774
14910
  */},{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(){/**
14775
14911
  * Suggest service.
14776
14912
  * @module purecloud-platform-client-v2/api/SuggestApi
14777
- * @version 188.1.0
14913
+ * @version 189.1.0
14778
14914
  */ /**
14779
14915
  * Constructs a new SuggestApi.
14780
14916
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -14814,7 +14950,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14814
14950
  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(){/**
14815
14951
  * TaskManagement service.
14816
14952
  * @module purecloud-platform-client-v2/api/TaskManagementApi
14817
- * @version 188.1.0
14953
+ * @version 189.1.0
14818
14954
  */ /**
14819
14955
  * Constructs a new TaskManagementApi.
14820
14956
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -14998,6 +15134,12 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
14998
15134
  */},{key:"getTaskmanagementWorktypeStatus",value:function getTaskmanagementWorktypeStatus(worktypeId,statusId){// verify the required parameter 'worktypeId' is set
14999
15135
  if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';}// verify the required parameter 'statusId' is set
15000
15136
  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']);}/**
15137
+ * Get list of statuses for this worktype.
15138
+ *
15139
+ * @param {String} worktypeId Worktype id
15140
+ * getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15141
+ */},{key:"getTaskmanagementWorktypeStatuses",value:function getTaskmanagementWorktypeStatuses(worktypeId){// verify the required parameter 'worktypeId' is set
15142
+ 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']);}/**
15001
15143
  * Get a version of a worktype
15002
15144
  *
15003
15145
  * @param {String} worktypeId Worktype id
@@ -15156,7 +15298,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
15156
15298
  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(){/**
15157
15299
  * Teams service.
15158
15300
  * @module purecloud-platform-client-v2/api/TeamsApi
15159
- * @version 188.1.0
15301
+ * @version 189.1.0
15160
15302
  */ /**
15161
15303
  * Constructs a new TeamsApi.
15162
15304
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -15235,7 +15377,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15235
15377
  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(){/**
15236
15378
  * Telephony service.
15237
15379
  * @module purecloud-platform-client-v2/api/TelephonyApi
15238
- * @version 188.1.0
15380
+ * @version 189.1.0
15239
15381
  */ /**
15240
15382
  * Constructs a new TelephonyApi.
15241
15383
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15282,7 +15424,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15282
15424
  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(){/**
15283
15425
  * TelephonyProvidersEdge service.
15284
15426
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15285
- * @version 188.1.0
15427
+ * @version 189.1.0
15286
15428
  */ /**
15287
15429
  * Constructs a new TelephonyProvidersEdgeApi.
15288
15430
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -16096,7 +16238,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
16096
16238
  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(){/**
16097
16239
  * Textbots service.
16098
16240
  * @module purecloud-platform-client-v2/api/TextbotsApi
16099
- * @version 188.1.0
16241
+ * @version 189.1.0
16100
16242
  */ /**
16101
16243
  * Constructs a new TextbotsApi.
16102
16244
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -16131,7 +16273,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
16131
16273
  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(){/**
16132
16274
  * Tokens service.
16133
16275
  * @module purecloud-platform-client-v2/api/TokensApi
16134
- * @version 188.1.0
16276
+ * @version 189.1.0
16135
16277
  */ /**
16136
16278
  * Constructs a new TokensApi.
16137
16279
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -16165,7 +16307,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16165
16307
  */},{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(){/**
16166
16308
  * Uploads service.
16167
16309
  * @module purecloud-platform-client-v2/api/UploadsApi
16168
- * @version 188.1.0
16310
+ * @version 189.1.0
16169
16311
  */ /**
16170
16312
  * Constructs a new UploadsApi.
16171
16313
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -16231,7 +16373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16231
16373
  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(){/**
16232
16374
  * Usage service.
16233
16375
  * @module purecloud-platform-client-v2/api/UsageApi
16234
- * @version 188.1.0
16376
+ * @version 189.1.0
16235
16377
  */ /**
16236
16378
  * Constructs a new UsageApi.
16237
16379
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -16282,7 +16424,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16282
16424
  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(){/**
16283
16425
  * UserRecordings service.
16284
16426
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
16285
- * @version 188.1.0
16427
+ * @version 189.1.0
16286
16428
  */ /**
16287
16429
  * Constructs a new UserRecordingsApi.
16288
16430
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16331,7 +16473,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16331
16473
  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(){/**
16332
16474
  * Users service.
16333
16475
  * @module purecloud-platform-client-v2/api/UsersApi
16334
- * @version 188.1.0
16476
+ * @version 189.1.0
16335
16477
  */ /**
16336
16478
  * Constructs a new UsersApi.
16337
16479
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -16990,7 +17132,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
16990
17132
  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(){/**
16991
17133
  * Utilities service.
16992
17134
  * @module purecloud-platform-client-v2/api/UtilitiesApi
16993
- * @version 188.1.0
17135
+ * @version 189.1.0
16994
17136
  */ /**
16995
17137
  * Constructs a new UtilitiesApi.
16996
17138
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -17017,7 +17159,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17017
17159
  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(){/**
17018
17160
  * Voicemail service.
17019
17161
  * @module purecloud-platform-client-v2/api/VoicemailApi
17020
- * @version 188.1.0
17162
+ * @version 189.1.0
17021
17163
  */ /**
17022
17164
  * Constructs a new VoicemailApi.
17023
17165
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -17166,7 +17308,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17166
17308
  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(){/**
17167
17309
  * WebChat service.
17168
17310
  * @module purecloud-platform-client-v2/api/WebChatApi
17169
- * @version 188.1.0
17311
+ * @version 189.1.0
17170
17312
  */ /**
17171
17313
  * Constructs a new WebChatApi.
17172
17314
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17299,7 +17441,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17299
17441
  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(){/**
17300
17442
  * WebDeployments service.
17301
17443
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17302
- * @version 188.1.0
17444
+ * @version 189.1.0
17303
17445
  */ /**
17304
17446
  * Constructs a new WebDeploymentsApi.
17305
17447
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17420,7 +17562,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17420
17562
  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(){/**
17421
17563
  * WebMessaging service.
17422
17564
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17423
- * @version 188.1.0
17565
+ * @version 189.1.0
17424
17566
  */ /**
17425
17567
  * Constructs a new WebMessagingApi.
17426
17568
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17436,7 +17578,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17436
17578
  */_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(){/**
17437
17579
  * Widgets service.
17438
17580
  * @module purecloud-platform-client-v2/api/WidgetsApi
17439
- * @version 188.1.0
17581
+ * @version 189.1.0
17440
17582
  */ /**
17441
17583
  * Constructs a new WidgetsApi.
17442
17584
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17471,7 +17613,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17471
17613
  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(){/**
17472
17614
  * WorkforceManagement service.
17473
17615
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17474
- * @version 188.1.0
17616
+ * @version 189.1.0
17475
17617
  */ /**
17476
17618
  * Constructs a new WorkforceManagementApi.
17477
17619
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -17591,9 +17733,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
17591
17733
  * @param {String} jobId jobId
17592
17734
  */},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
17593
17735
  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']);}/**
17594
- * Get status of the modeling job
17595
- *
17736
+ * To get status of the modeling job.
17737
+ * This Endpoint is Deprecated, and not recommended to be used.
17596
17738
  * @param {String} jobId The id of the modeling job
17739
+ * @deprecated
17597
17740
  */},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
17598
17741
  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']);}/**
17599
17742
  * Get an adherence explanation
@@ -18822,7 +18965,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
18822
18965
  * </pre>
18823
18966
  * </p>
18824
18967
  * @module purecloud-platform-client-v2/index
18825
- * @version 188.1.0
18968
+ * @version 189.1.0
18826
18969
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
18827
18970
  * The ApiClient constructor.
18828
18971
  * @property {module:purecloud-platform-client-v2/ApiClient}