purecloud-platform-client-v2 194.0.0 → 196.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +618 -119
  3. package/dist/web-amd/purecloud-platform-client-v2.js +618 -119
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +215 -99
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +219 -100
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +644 -516
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  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 +26 -32
  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 +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +29 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  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 +174 -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 +1 -1
  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 +2 -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 -7
  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 +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +165 -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 +1 -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 +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -855,7 +855,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
855
855
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
856
856
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
857
857
  * @module purecloud-platform-client-v2/ApiClient
858
- * @version 194.0.0
858
+ * @version 196.0.0
859
859
  */var ApiClient=/*#__PURE__*/function(){/**
860
860
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
861
861
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -1084,7 +1084,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
1084
1084
  * Returns a string representation for an actual parameter.
1085
1085
  * @param param The actual parameter.
1086
1086
  * @returns {String} The string representation of <code>param</code>.
1087
- */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}return param.toString();}/**
1087
+ */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
1088
1088
  * Returns query parameters serialized in the format needed for an axios request.
1089
1089
  * @param param The unserialized query parameters.
1090
1090
  * @returns {Object} The serialized representation the query parameters.
@@ -1167,7 +1167,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1167
1167
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
1168
1168
  * Alerting service.
1169
1169
  * @module purecloud-platform-client-v2/api/AlertingApi
1170
- * @version 194.0.0
1170
+ * @version 196.0.0
1171
1171
  */ /**
1172
1172
  * Constructs a new AlertingApi.
1173
1173
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1324,7 +1324,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
1324
1324
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
1325
1325
  * Analytics service.
1326
1326
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1327
- * @version 194.0.0
1327
+ * @version 196.0.0
1328
1328
  */ /**
1329
1329
  * Constructs a new AnalyticsApi.
1330
1330
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1356,6 +1356,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
1356
1356
  * getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1357
1357
  */},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
1358
1358
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1359
+ * Get status for async query for agent copilot aggregates
1360
+ *
1361
+ * @param {String} jobId jobId
1362
+ * getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1363
+ */},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
1364
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1365
+ * Fetch a page of results for an async aggregates query
1366
+ *
1367
+ * @param {String} jobId jobId
1368
+ * @param {Object} opts Optional parameters
1369
+ * @param {String} opts.cursor Cursor token to retrieve next page
1370
+ * getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1371
+ */},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
1372
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1359
1373
  * Get Reporting Turns (division aware).
1360
1374
  * Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
1361
1375
  * @param {String} botFlowId ID of the bot flow.
@@ -1547,6 +1561,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
1547
1561
  * Get AnalyticsReportingSettings for an organization
1548
1562
  *
1549
1563
  */},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1564
+ * Get list of dashboard configurations
1565
+ *
1566
+ * @param {Object} dashboardType List dashboard of given type
1567
+ * @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
1568
+ * @param {Object} opts Optional parameters
1569
+ * @param {String} opts.sortBy (default to desc)
1570
+ * @param {Number} opts.pageNumber (default to 1)
1571
+ * @param {Number} opts.pageSize (default to 9)
1572
+ */},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
1573
+ if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
1574
+ if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'dashboardType':dashboardType,'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1550
1575
  * Get list of dashboards for an user
1551
1576
  *
1552
1577
  * @param {String} userId User ID
@@ -1661,6 +1686,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1661
1686
  * @param {Object} body query
1662
1687
  */},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
1663
1688
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1689
+ * Query for agent copilot aggregates asynchronously
1690
+ *
1691
+ * @param {Object} body query
1692
+ * postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1693
+ */},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
1694
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1695
+ * Query for agent copilot aggregates
1696
+ *
1697
+ * @param {Object} body query
1698
+ * postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1699
+ */},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
1700
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1664
1701
  * Query for bot aggregates asynchronously
1665
1702
  *
1666
1703
  * @param {Object} body query
@@ -1786,8 +1823,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1786
1823
  * @param {Object} body query
1787
1824
  */},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
1788
1825
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1789
- * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
1790
- *
1826
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
1827
+ * The max property can be used to determine estimated rate limit value hit.
1791
1828
  * @param {Object} body query
1792
1829
  */},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
1793
1830
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -1908,7 +1945,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1908
1945
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
1909
1946
  * Architect service.
1910
1947
  * @module purecloud-platform-client-v2/api/ArchitectApi
1911
- * @version 194.0.0
1948
+ * @version 196.0.0
1912
1949
  */ /**
1913
1950
  * Constructs a new ArchitectApi.
1914
1951
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3024,7 +3061,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3024
3061
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
3025
3062
  * Audit service.
3026
3063
  * @module purecloud-platform-client-v2/api/AuditApi
3027
- * @version 194.0.0
3064
+ * @version 196.0.0
3028
3065
  */ /**
3029
3066
  * Constructs a new AuditApi.
3030
3067
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3073,7 +3110,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3073
3110
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
3074
3111
  * Authorization service.
3075
3112
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3076
- * @version 194.0.0
3113
+ * @version 196.0.0
3077
3114
  */ /**
3078
3115
  * Constructs a new AuthorizationApi.
3079
3116
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3388,7 +3425,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
3388
3425
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
3389
3426
  * Billing service.
3390
3427
  * @module purecloud-platform-client-v2/api/BillingApi
3391
- * @version 194.0.0
3428
+ * @version 196.0.0
3392
3429
  */ /**
3393
3430
  * Constructs a new BillingApi.
3394
3431
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3412,7 +3449,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3412
3449
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
3413
3450
  * CarrierServices service.
3414
3451
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3415
- * @version 194.0.0
3452
+ * @version 196.0.0
3416
3453
  */ /**
3417
3454
  * Constructs a new CarrierServicesApi.
3418
3455
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3432,7 +3469,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3432
3469
  */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
3433
3470
  * Chat service.
3434
3471
  * @module purecloud-platform-client-v2/api/ChatApi
3435
- * @version 194.0.0
3472
+ * @version 196.0.0
3436
3473
  */ /**
3437
3474
  * Constructs a new ChatApi.
3438
3475
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3657,7 +3694,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3657
3694
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
3658
3695
  * Coaching service.
3659
3696
  * @module purecloud-platform-client-v2/api/CoachingApi
3660
- * @version 194.0.0
3697
+ * @version 196.0.0
3661
3698
  */ /**
3662
3699
  * Constructs a new CoachingApi.
3663
3700
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -3810,7 +3847,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3810
3847
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
3811
3848
  * ContentManagement service.
3812
3849
  * @module purecloud-platform-client-v2/api/ContentManagementApi
3813
- * @version 194.0.0
3850
+ * @version 196.0.0
3814
3851
  */ /**
3815
3852
  * Constructs a new ContentManagementApi.
3816
3853
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -4093,7 +4130,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
4093
4130
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
4094
4131
  * Conversations service.
4095
4132
  * @module purecloud-platform-client-v2/api/ConversationsApi
4096
- * @version 194.0.0
4133
+ * @version 196.0.0
4097
4134
  */ /**
4098
4135
  * Constructs a new ConversationsApi.
4099
4136
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4662,15 +4699,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
4662
4699
  * Get the organization's default settings that will be used as the default when creating an integration.
4663
4700
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
4664
4701
  */},{key:"getConversationsMessagingSettingsDefault",value:function getConversationsMessagingSettingsDefault(){return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4665
- * Get a list of Messaging Stickers (Deprecated)
4666
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
4667
- * @param {Object} messengerType Messenger Type
4668
- * @param {Object} opts Optional parameters
4669
- * @param {Number} opts.pageSize Page size (default to 25)
4670
- * @param {Number} opts.pageNumber Page number (default to 1)
4671
- * @deprecated
4672
- */},{key:"getConversationsMessagingSticker",value:function getConversationsMessagingSticker(messengerType,opts){opts=opts||{};// verify the required parameter 'messengerType' is set
4673
- if(messengerType===undefined||messengerType===null){throw'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';}return this.apiClient.callApi('/api/v2/conversations/messaging/stickers/{messengerType}','GET',{'messengerType':messengerType},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4674
4702
  * Get a list of Supported Content profiles
4675
4703
  *
4676
4704
  * @param {Object} opts Optional parameters
@@ -5445,6 +5473,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
5445
5473
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
5446
5474
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
5447
5475
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5476
+ * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
5477
+ *
5478
+ * @param {String} conversationId conversationId
5479
+ */},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
5480
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/reconnect','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5448
5481
  * Create an email conversation
5449
5482
  * If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
5450
5483
  * @param {Object} body Create email request
@@ -5777,7 +5810,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
5777
5810
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
5778
5811
  * DataExtensions service.
5779
5812
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5780
- * @version 194.0.0
5813
+ * @version 196.0.0
5781
5814
  */ /**
5782
5815
  * Constructs a new DataExtensionsApi.
5783
5816
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5798,7 +5831,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5798
5831
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
5799
5832
  * Downloads service.
5800
5833
  * @module purecloud-platform-client-v2/api/DownloadsApi
5801
- * @version 194.0.0
5834
+ * @version 196.0.0
5802
5835
  */ /**
5803
5836
  * Constructs a new DownloadsApi.
5804
5837
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5817,7 +5850,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5817
5850
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
5818
5851
  * Emails service.
5819
5852
  * @module purecloud-platform-client-v2/api/EmailsApi
5820
- * @version 194.0.0
5853
+ * @version 196.0.0
5821
5854
  */ /**
5822
5855
  * Constructs a new EmailsApi.
5823
5856
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5835,7 +5868,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5835
5868
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
5836
5869
  * Events service.
5837
5870
  * @module purecloud-platform-client-v2/api/EventsApi
5838
- * @version 194.0.0
5871
+ * @version 196.0.0
5839
5872
  */ /**
5840
5873
  * Constructs a new EventsApi.
5841
5874
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5860,7 +5893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5860
5893
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
5861
5894
  * ExternalContacts service.
5862
5895
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5863
- * @version 194.0.0
5896
+ * @version 196.0.0
5864
5897
  */ /**
5865
5898
  * Constructs a new ExternalContactsApi.
5866
5899
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -6315,7 +6348,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
6315
6348
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
6316
6349
  * Fax service.
6317
6350
  * @module purecloud-platform-client-v2/api/FaxApi
6318
- * @version 194.0.0
6351
+ * @version 196.0.0
6319
6352
  */ /**
6320
6353
  * Constructs a new FaxApi.
6321
6354
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6364,7 +6397,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6364
6397
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
6365
6398
  * Flows service.
6366
6399
  * @module purecloud-platform-client-v2/api/FlowsApi
6367
- * @version 194.0.0
6400
+ * @version 196.0.0
6368
6401
  */ /**
6369
6402
  * Constructs a new FlowsApi.
6370
6403
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6412,7 +6445,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6412
6445
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
6413
6446
  * Gamification service.
6414
6447
  * @module purecloud-platform-client-v2/api/GamificationApi
6415
- * @version 194.0.0
6448
+ * @version 196.0.0
6416
6449
  */ /**
6417
6450
  * Constructs a new GamificationApi.
6418
6451
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6952,7 +6985,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6952
6985
  if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
6953
6986
  * GeneralDataProtectionRegulation service.
6954
6987
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6955
- * @version 194.0.0
6988
+ * @version 196.0.0
6956
6989
  */ /**
6957
6990
  * Constructs a new GeneralDataProtectionRegulationApi.
6958
6991
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -6987,7 +7020,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
6987
7020
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
6988
7021
  * Geolocation service.
6989
7022
  * @module purecloud-platform-client-v2/api/GeolocationApi
6990
- * @version 194.0.0
7023
+ * @version 196.0.0
6991
7024
  */ /**
6992
7025
  * Constructs a new GeolocationApi.
6993
7026
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7021,7 +7054,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
7021
7054
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
7022
7055
  * Greetings service.
7023
7056
  * @module purecloud-platform-client-v2/api/GreetingsApi
7024
- * @version 194.0.0
7057
+ * @version 196.0.0
7025
7058
  */ /**
7026
7059
  * Constructs a new GreetingsApi.
7027
7060
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7128,7 +7161,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
7128
7161
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
7129
7162
  * Groups service.
7130
7163
  * @module purecloud-platform-client-v2/api/GroupsApi
7131
- * @version 194.0.0
7164
+ * @version 196.0.0
7132
7165
  */ /**
7133
7166
  * Constructs a new GroupsApi.
7134
7167
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7261,7 +7294,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7261
7294
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
7262
7295
  * IdentityProvider service.
7263
7296
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7264
- * @version 194.0.0
7297
+ * @version 196.0.0
7265
7298
  */ /**
7266
7299
  * Constructs a new IdentityProviderApi.
7267
7300
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7417,7 +7450,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7417
7450
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
7418
7451
  * InfrastructureAsCode service.
7419
7452
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7420
- * @version 194.0.0
7453
+ * @version 196.0.0
7421
7454
  */ /**
7422
7455
  * Constructs a new InfrastructureAsCodeApi.
7423
7456
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7471,7 +7504,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7471
7504
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
7472
7505
  * Integrations service.
7473
7506
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7474
- * @version 194.0.0
7507
+ * @version 196.0.0
7475
7508
  */ /**
7476
7509
  * Constructs a new IntegrationsApi.
7477
7510
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -8082,7 +8115,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
8082
8115
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
8083
8116
  * Journey service.
8084
8117
  * @module purecloud-platform-client-v2/api/JourneyApi
8085
- * @version 194.0.0
8118
+ * @version 196.0.0
8086
8119
  */ /**
8087
8120
  * Constructs a new JourneyApi.
8088
8121
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8339,6 +8372,15 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
8339
8372
  *
8340
8373
  * getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8341
8374
  */},{key:"getJourneyViewsEventdefinitions",value:function getJourneyViewsEventdefinitions(){return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8375
+ * Get the jobs for an organization.
8376
+ *
8377
+ * @param {Object} opts Optional parameters
8378
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
8379
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
8380
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
8381
+ * @param {String} opts.statuses Job statuses to filter for
8382
+ * getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8383
+ */},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8342
8384
  * Update single action map.
8343
8385
  *
8344
8386
  * @param {String} actionMapId ID of the action map.
@@ -8470,7 +8512,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8470
8512
  */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
8471
8513
  * Knowledge service.
8472
8514
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8473
- * @version 194.0.0
8515
+ * @version 196.0.0
8474
8516
  */ /**
8475
8517
  * Constructs a new KnowledgeApi.
8476
8518
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -8883,9 +8925,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
8883
8925
  * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
8884
8926
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
8885
8927
  * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
8928
+ * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
8886
8929
  * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8887
8930
  */},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
8888
- if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8931
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval'],'sourceId':this.apiClient.buildCollectionParam(opts['sourceId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8889
8932
  * Get ids of operation creator users and oauth clients
8890
8933
  *
8891
8934
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -9382,7 +9425,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9382
9425
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
9383
9426
  * LanguageUnderstanding service.
9384
9427
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9385
- * @version 194.0.0
9428
+ * @version 196.0.0
9386
9429
  */ /**
9387
9430
  * Constructs a new LanguageUnderstandingApi.
9388
9431
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9642,7 +9685,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
9642
9685
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
9643
9686
  * Languages service.
9644
9687
  * @module purecloud-platform-client-v2/api/LanguagesApi
9645
- * @version 194.0.0
9688
+ * @version 196.0.0
9646
9689
  */ /**
9647
9690
  * Constructs a new LanguagesApi.
9648
9691
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9697,7 +9740,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9697
9740
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
9698
9741
  * Learning service.
9699
9742
  * @module purecloud-platform-client-v2/api/LearningApi
9700
- * @version 194.0.0
9743
+ * @version 196.0.0
9701
9744
  */ /**
9702
9745
  * Constructs a new LearningApi.
9703
9746
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9722,6 +9765,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
9722
9765
  * @param {Array.<String>} opts.expand Fields to expand in response
9723
9766
  */},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
9724
9767
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}','GET',{'assignmentId':assignmentId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9768
+ * Get Learning Assignment Step
9769
+ * Permission not required if you are the assigned user of the learning assignment
9770
+ * @param {String} assignmentId The ID of Learning Assignment
9771
+ * @param {String} stepId The ID of Learning Assignment Step
9772
+ * @param {Object} opts Optional parameters
9773
+ * @param {String} opts.shareableContentObjectId The ID of SCO to load
9774
+ * @param {Array.<String>} opts.expand Fields to expand in response
9775
+ */},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
9776
+ if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
9777
+ if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9725
9778
  * List of Learning module Assignments
9726
9779
  * Either moduleId or user value is required
9727
9780
  * @param {Object} opts Optional parameters
@@ -9773,6 +9826,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
9773
9826
  */},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
9774
9827
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
9775
9828
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getLearningModuleJob';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/jobs/{jobId}','GET',{'moduleId':moduleId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9829
+ * Get a learning module preview
9830
+ *
9831
+ * @param {String} moduleId The ID of the learning module
9832
+ */},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
9833
+ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','GET',{'moduleId':moduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9776
9834
  * Get a learning module rule
9777
9835
  *
9778
9836
  * @param {String} moduleId The ID of the learning module
@@ -9819,6 +9877,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
9819
9877
  * @param {String} coverArtId Key identifier for the cover art
9820
9878
  */},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
9821
9879
  if(coverArtId===undefined||coverArtId===null){throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';}return this.apiClient.callApi('/api/v2/learning/modules/coverart/{coverArtId}','GET',{'coverArtId':coverArtId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9880
+ * Get Learning SCORM Result
9881
+ *
9882
+ * @param {String} scormId The ID of the SCORM package
9883
+ */},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
9884
+ if(scormId===undefined||scormId===null){throw'Missing the required parameter "scormId" when calling getLearningScormScormId';}return this.apiClient.callApi('/api/v2/learning/scorm/{scormId}','GET',{'scormId':scormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9822
9885
  * Update Learning Assignment
9823
9886
  *
9824
9887
  * @param {String} assignmentId The ID of Learning Assignment
@@ -9833,6 +9896,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
9833
9896
  * @param {Object} opts.body The Learning assignment reschedule model
9834
9897
  */},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
9835
9898
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/reschedule','PATCH',{'assignmentId':assignmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
9899
+ * Update Learning Assignment Step
9900
+ * Permission not required if you are the assigned user of the learning assignment
9901
+ * @param {String} assignmentId The ID of Learning Assignment
9902
+ * @param {String} stepId The ID of Learning Assignment Step
9903
+ * @param {Object} opts Optional parameters
9904
+ * @param {Object} opts.body The Learning Assignment Step to be updated
9905
+ */},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
9906
+ if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
9907
+ if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','PATCH',{'assignmentId':assignmentId,'stepId':stepId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
9836
9908
  * Update an external assignment for a specific user
9837
9909
  *
9838
9910
  * @param {String} moduleId Key identifier for the module
@@ -9910,6 +9982,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9910
9982
  * @param {Object} body The slot search request
9911
9983
  */},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
9912
9984
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9985
+ * Create a SCORM package upload request
9986
+ *
9987
+ * @param {Object} opts Optional parameters
9988
+ * @param {Object} opts.body The SCORM package to be uploaded
9989
+ */},{key:"postLearningScorm",value:function postLearningScorm(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/scorm','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
9913
9990
  * Update a learning module
9914
9991
  * This will update the name, description, completion time in days and inform steps for a learning module
9915
9992
  * @param {String} moduleId The ID of the learning module
@@ -9917,6 +9994,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9917
9994
  */},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
9918
9995
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
9919
9996
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9997
+ * Update a learning module preview
9998
+ * This will update a learning module preview
9999
+ * @param {String} moduleId The ID of the learning module
10000
+ * @param {Object} body The learning module to be updated
10001
+ */},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
10002
+ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
10003
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9920
10004
  * Update a learning module rule
9921
10005
  * This will update a learning module rule with the specified fields.
9922
10006
  * @param {String} moduleId The ID of the learning module
@@ -9926,7 +10010,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
9926
10010
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
9927
10011
  * License service.
9928
10012
  * @module purecloud-platform-client-v2/api/LicenseApi
9929
- * @version 194.0.0
10013
+ * @version 196.0.0
9930
10014
  */ /**
9931
10015
  * Constructs a new LicenseApi.
9932
10016
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -9980,7 +10064,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9980
10064
  */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
9981
10065
  * Locations service.
9982
10066
  * @module purecloud-platform-client-v2/api/LocationsApi
9983
- * @version 194.0.0
10067
+ * @version 196.0.0
9984
10068
  */ /**
9985
10069
  * Constructs a new LocationsApi.
9986
10070
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -10039,7 +10123,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10039
10123
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
10040
10124
  * LogCapture service.
10041
10125
  * @module purecloud-platform-client-v2/api/LogCaptureApi
10042
- * @version 194.0.0
10126
+ * @version 196.0.0
10043
10127
  */ /**
10044
10128
  * Constructs a new LogCaptureApi.
10045
10129
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -10089,7 +10173,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10089
10173
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
10090
10174
  * Messaging service.
10091
10175
  * @module purecloud-platform-client-v2/api/MessagingApi
10092
- * @version 194.0.0
10176
+ * @version 196.0.0
10093
10177
  */ /**
10094
10178
  * Constructs a new MessagingApi.
10095
10179
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10179,7 +10263,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10179
10263
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
10180
10264
  * MobileDevices service.
10181
10265
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10182
- * @version 194.0.0
10266
+ * @version 196.0.0
10183
10267
  */ /**
10184
10268
  * Constructs a new MobileDevicesApi.
10185
10269
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10218,7 +10302,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10218
10302
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
10219
10303
  * Notifications service.
10220
10304
  * @module purecloud-platform-client-v2/api/NotificationsApi
10221
- * @version 194.0.0
10305
+ * @version 196.0.0
10222
10306
  */ /**
10223
10307
  * Constructs a new NotificationsApi.
10224
10308
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10275,7 +10359,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
10275
10359
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
10276
10360
  * OAuth service.
10277
10361
  * @module purecloud-platform-client-v2/api/OAuthApi
10278
- * @version 194.0.0
10362
+ * @version 196.0.0
10279
10363
  */ /**
10280
10364
  * Constructs a new OAuthApi.
10281
10365
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -10360,7 +10444,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
10360
10444
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
10361
10445
  * Objects service.
10362
10446
  * @module purecloud-platform-client-v2/api/ObjectsApi
10363
- * @version 194.0.0
10447
+ * @version 196.0.0
10364
10448
  */ /**
10365
10449
  * Constructs a new ObjectsApi.
10366
10450
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10431,7 +10515,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
10431
10515
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
10432
10516
  * OperationalEvents service.
10433
10517
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10434
- * @version 194.0.0
10518
+ * @version 196.0.0
10435
10519
  */ /**
10436
10520
  * Constructs a new OperationalEventsApi.
10437
10521
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10449,7 +10533,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10449
10533
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
10450
10534
  * Organization service.
10451
10535
  * @module purecloud-platform-client-v2/api/OrganizationApi
10452
- * @version 194.0.0
10536
+ * @version 196.0.0
10453
10537
  */ /**
10454
10538
  * Constructs a new OrganizationApi.
10455
10539
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10554,7 +10638,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10554
10638
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
10555
10639
  * OrganizationAuthorization service.
10556
10640
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10557
- * @version 194.0.0
10641
+ * @version 196.0.0
10558
10642
  */ /**
10559
10643
  * Constructs a new OrganizationAuthorizationApi.
10560
10644
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10877,7 +10961,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
10877
10961
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
10878
10962
  * Outbound service.
10879
10963
  * @module purecloud-platform-client-v2/api/OutboundApi
10880
- * @version 194.0.0
10964
+ * @version 196.0.0
10881
10965
  */ /**
10882
10966
  * Constructs a new OutboundApi.
10883
10967
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -11949,7 +12033,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11949
12033
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
11950
12034
  * Presence service.
11951
12035
  * @module purecloud-platform-client-v2/api/PresenceApi
11952
- * @version 194.0.0
12036
+ * @version 196.0.0
11953
12037
  */ /**
11954
12038
  * Constructs a new PresenceApi.
11955
12039
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -12122,7 +12206,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12122
12206
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
12123
12207
  * ProcessAutomation service.
12124
12208
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
12125
- * @version 194.0.0
12209
+ * @version 196.0.0
12126
12210
  */ /**
12127
12211
  * Constructs a new ProcessAutomationApi.
12128
12212
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -12185,7 +12269,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
12185
12269
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
12186
12270
  * Quality service.
12187
12271
  * @module purecloud-platform-client-v2/api/QualityApi
12188
- * @version 194.0.0
12272
+ * @version 196.0.0
12189
12273
  */ /**
12190
12274
  * Constructs a new QualityApi.
12191
12275
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12327,9 +12411,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
12327
12411
  * @param {Object} opts Optional parameters
12328
12412
  * @param {Number} opts.pageSize The total page size requested (default to 25)
12329
12413
  * @param {Number} opts.pageNumber The page number requested (default to 1)
12330
- * @param {String} opts.sortBy NOTE: Does not work when querying evaluations
12331
12414
  * @param {Array.<String>} opts.expand variable name requested by expand list
12332
- * @param {String} opts.nextPage NOTE: Does not work when querying evaluations
12333
12415
  * @param {String} opts.previousPage Previous page token
12334
12416
  * @param {String} opts.conversationId conversationId specified
12335
12417
  * @param {String} opts.agentUserId user id of the agent
@@ -12346,7 +12428,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
12346
12428
  * @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
12347
12429
  * @param {Number} opts.maximum the maximum number of results to return
12348
12430
  * @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
12349
- */},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12431
+ */},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12350
12432
  * Get an evaluator activity
12351
12433
  *
12352
12434
  * @param {Object} opts Optional parameters
@@ -12656,7 +12738,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
12656
12738
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
12657
12739
  * Recording service.
12658
12740
  * @module purecloud-platform-client-v2/api/RecordingApi
12659
- * @version 194.0.0
12741
+ * @version 196.0.0
12660
12742
  */ /**
12661
12743
  * Constructs a new RecordingApi.
12662
12744
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -13067,7 +13149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13067
13149
  */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
13068
13150
  * ResponseManagement service.
13069
13151
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
13070
- * @version 194.0.0
13152
+ * @version 196.0.0
13071
13153
  */ /**
13072
13154
  * Constructs a new ResponseManagementApi.
13073
13155
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -13188,7 +13270,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
13188
13270
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
13189
13271
  * Routing service.
13190
13272
  * @module purecloud-platform-client-v2/api/RoutingApi
13191
- * @version 194.0.0
13273
+ * @version 196.0.0
13192
13274
  */ /**
13193
13275
  * Constructs a new RoutingApi.
13194
13276
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13293,7 +13375,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
13293
13375
  * @param {String} labelId Utilization Label ID
13294
13376
  * @param {Object} opts Optional parameters
13295
13377
  * @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
13296
- * deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13297
13378
  */},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
13298
13379
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','DELETE',{'labelId':labelId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13299
13380
  * Delete an utilization tag
@@ -13683,13 +13764,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
13683
13764
  * Get details about this utilization label
13684
13765
  *
13685
13766
  * @param {String} labelId Utilization Label ID
13686
- * getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13687
13767
  */},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
13688
13768
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13689
13769
  * Get list of agent ids associated with a utilization label
13690
13770
  *
13691
13771
  * @param {String} labelId Utilization Label ID
13692
- * getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13693
13772
  */},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
13694
13773
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}/agents','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13695
13774
  * Get list of utilization labels
@@ -13699,7 +13778,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
13699
13778
  * @param {Number} opts.pageNumber Page number (default to 1)
13700
13779
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
13701
13780
  * @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
13702
- * getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13703
13781
  */},{key:"getRoutingUtilizationLabels",value:function getRoutingUtilizationLabels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/utilization/labels','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13704
13782
  * Get details about this utilization tag
13705
13783
  *
@@ -14044,7 +14122,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14044
14122
  * Create a utilization label
14045
14123
  *
14046
14124
  * @param {Object} body UtilizationLabel
14047
- * postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14048
14125
  */},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
14049
14126
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';}return this.apiClient.callApi('/api/v2/routing/utilization/labels','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14050
14127
  * Create an utilization tag
@@ -14133,7 +14210,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14133
14210
  *
14134
14211
  * @param {String} labelId Utilization Label ID
14135
14212
  * @param {Object} body UtilizationLabel
14136
- * putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14137
14213
  */},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
14138
14214
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
14139
14215
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','PUT',{'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -14162,7 +14238,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14162
14238
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
14163
14239
  * SCIM service.
14164
14240
  * @module purecloud-platform-client-v2/api/SCIMApi
14165
- * @version 194.0.0
14241
+ * @version 196.0.0
14166
14242
  */ /**
14167
14243
  * Constructs a new SCIMApi.
14168
14244
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -14387,7 +14463,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14387
14463
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
14388
14464
  * ScreenRecording service.
14389
14465
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14390
- * @version 194.0.0
14466
+ * @version 196.0.0
14391
14467
  */ /**
14392
14468
  * Constructs a new ScreenRecordingApi.
14393
14469
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -14402,7 +14478,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14402
14478
  */return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
14403
14479
  * Scripts service.
14404
14480
  * @module purecloud-platform-client-v2/api/ScriptsApi
14405
- * @version 194.0.0
14481
+ * @version 196.0.0
14406
14482
  */ /**
14407
14483
  * Constructs a new ScriptsApi.
14408
14484
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14538,7 +14614,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14538
14614
  */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
14539
14615
  * Search service.
14540
14616
  * @module purecloud-platform-client-v2/api/SearchApi
14541
- * @version 194.0.0
14617
+ * @version 196.0.0
14542
14618
  */ /**
14543
14619
  * Constructs a new SearchApi.
14544
14620
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14698,7 +14774,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14698
14774
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
14699
14775
  * Settings service.
14700
14776
  * @module purecloud-platform-client-v2/api/SettingsApi
14701
- * @version 194.0.0
14777
+ * @version 196.0.0
14702
14778
  */ /**
14703
14779
  * Constructs a new SettingsApi.
14704
14780
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14726,7 +14802,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14726
14802
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14727
14803
  * SpeechTextAnalytics service.
14728
14804
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14729
- * @version 194.0.0
14805
+ * @version 196.0.0
14730
14806
  */ /**
14731
14807
  * Constructs a new SpeechTextAnalyticsApi.
14732
14808
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -14734,10 +14810,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14734
14810
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14735
14811
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14736
14812
  */function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
14813
+ * Delete a Speech and Text Analytics category by ID
14814
+ *
14815
+ * @param {String} categoryId The id of the category
14816
+ */return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
14817
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','DELETE',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14737
14818
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
14738
14819
  *
14739
14820
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
14740
- */return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
14821
+ */},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
14741
14822
  if(dictionaryFeedbackId===undefined||dictionaryFeedbackId===null){throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}','DELETE',{'dictionaryFeedbackId':dictionaryFeedbackId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14742
14823
  * Delete a Speech and Text Analytics program by id
14743
14824
  *
@@ -14759,11 +14840,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
14759
14840
  * @param {String} topicId The id of the topic
14760
14841
  */},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
14761
14842
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','DELETE',{'topicId':topicId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14843
+ * Get the list of Speech and Text Analytics categories
14844
+ *
14845
+ * @param {Object} opts Optional parameters
14846
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
14847
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
14848
+ * @param {String} opts.name The category name filter applied to the listing
14849
+ * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
14850
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
14851
+ * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
14852
+ */},{key:"getSpeechandtextanalyticsCategories",value:function getSpeechandtextanalyticsCategories(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14853
+ * Get a Speech and Text Analytics Category by ID
14854
+ *
14855
+ * @param {String} categoryId The id of the category
14856
+ */},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
14857
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','GET',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14762
14858
  * Get Speech and Text Analytics for a specific conversation
14763
14859
  *
14764
14860
  * @param {String} conversationId Conversation Id
14765
14861
  */},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
14766
14862
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14863
+ * Get the list of detected Speech and Text Analytics categories of conversation
14864
+ *
14865
+ * @param {String} conversationId The id of the conversation
14866
+ * @param {Object} opts Optional parameters
14867
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
14868
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
14869
+ */},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
14870
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/categories','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14767
14871
  * Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
14768
14872
  *
14769
14873
  * @param {String} conversationId Conversation ID
@@ -14888,6 +14992,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
14888
14992
  * @param {Object} body Speech And Text Analytics Settings
14889
14993
  */},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
14890
14994
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14995
+ * Create new Speech and Text Analytics category
14996
+ *
14997
+ * @param {Object} body The category to create
14998
+ */},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
14999
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14891
15000
  * Create a Speech and Text Analytics DictionaryFeedback
14892
15001
  *
14893
15002
  * @param {Object} body The DictionaryFeedback to create
@@ -14928,6 +15037,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14928
15037
  * @param {Object} body Search request options
14929
15038
  */},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
14930
15039
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/transcripts/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15040
+ * Update a Speech and Text Analytics category by ID
15041
+ *
15042
+ * @param {String} categoryId The id of the category
15043
+ * @param {Object} body The updated category
15044
+ */},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
15045
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
15046
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','PUT',{'categoryId':categoryId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14931
15047
  * Update existing Speech and Text Analytics dictionary feedback by id
14932
15048
  *
14933
15049
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
@@ -14970,7 +15086,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
14970
15086
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
14971
15087
  * Stations service.
14972
15088
  * @module purecloud-platform-client-v2/api/StationsApi
14973
- * @version 194.0.0
15089
+ * @version 196.0.0
14974
15090
  */ /**
14975
15091
  * Constructs a new StationsApi.
14976
15092
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -15002,7 +15118,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
15002
15118
  */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
15003
15119
  * Suggest service.
15004
15120
  * @module purecloud-platform-client-v2/api/SuggestApi
15005
- * @version 194.0.0
15121
+ * @version 196.0.0
15006
15122
  */ /**
15007
15123
  * Constructs a new SuggestApi.
15008
15124
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -15042,7 +15158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15042
15158
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
15043
15159
  * TaskManagement service.
15044
15160
  * @module purecloud-platform-client-v2/api/TaskManagementApi
15045
- * @version 194.0.0
15161
+ * @version 196.0.0
15046
15162
  */ /**
15047
15163
  * Constructs a new TaskManagementApi.
15048
15164
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -15371,7 +15487,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
15371
15487
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
15372
15488
  * Teams service.
15373
15489
  * @module purecloud-platform-client-v2/api/TeamsApi
15374
- * @version 194.0.0
15490
+ * @version 196.0.0
15375
15491
  */ /**
15376
15492
  * Constructs a new TeamsApi.
15377
15493
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -15449,7 +15565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15449
15565
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
15450
15566
  * Telephony service.
15451
15567
  * @module purecloud-platform-client-v2/api/TelephonyApi
15452
- * @version 194.0.0
15568
+ * @version 196.0.0
15453
15569
  */ /**
15454
15570
  * Constructs a new TelephonyApi.
15455
15571
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15496,7 +15612,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15496
15612
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
15497
15613
  * TelephonyProvidersEdge service.
15498
15614
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15499
- * @version 194.0.0
15615
+ * @version 196.0.0
15500
15616
  */ /**
15501
15617
  * Constructs a new TelephonyProvidersEdgeApi.
15502
15618
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -16306,7 +16422,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
16306
16422
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
16307
16423
  * Textbots service.
16308
16424
  * @module purecloud-platform-client-v2/api/TextbotsApi
16309
- * @version 194.0.0
16425
+ * @version 196.0.0
16310
16426
  */ /**
16311
16427
  * Constructs a new TextbotsApi.
16312
16428
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -16341,7 +16457,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
16341
16457
  if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
16342
16458
  * Tokens service.
16343
16459
  * @module purecloud-platform-client-v2/api/TokensApi
16344
- * @version 194.0.0
16460
+ * @version 196.0.0
16345
16461
  */ /**
16346
16462
  * Constructs a new TokensApi.
16347
16463
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -16375,7 +16491,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16375
16491
  */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
16376
16492
  * Uploads service.
16377
16493
  * @module purecloud-platform-client-v2/api/UploadsApi
16378
- * @version 194.0.0
16494
+ * @version 196.0.0
16379
16495
  */ /**
16380
16496
  * Constructs a new UploadsApi.
16381
16497
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -16441,7 +16557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16441
16557
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
16442
16558
  * Usage service.
16443
16559
  * @module purecloud-platform-client-v2/api/UsageApi
16444
- * @version 194.0.0
16560
+ * @version 196.0.0
16445
16561
  */ /**
16446
16562
  * Constructs a new UsageApi.
16447
16563
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -16495,7 +16611,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16495
16611
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
16496
16612
  * UserRecordings service.
16497
16613
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
16498
- * @version 194.0.0
16614
+ * @version 196.0.0
16499
16615
  */ /**
16500
16616
  * Constructs a new UserRecordingsApi.
16501
16617
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16544,7 +16660,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16544
16660
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
16545
16661
  * Users service.
16546
16662
  * @module purecloud-platform-client-v2/api/UsersApi
16547
- * @version 194.0.0
16663
+ * @version 196.0.0
16548
16664
  */ /**
16549
16665
  * Constructs a new UsersApi.
16550
16666
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -17206,7 +17322,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
17206
17322
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
17207
17323
  * Utilities service.
17208
17324
  * @module purecloud-platform-client-v2/api/UtilitiesApi
17209
- * @version 194.0.0
17325
+ * @version 196.0.0
17210
17326
  */ /**
17211
17327
  * Constructs a new UtilitiesApi.
17212
17328
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -17233,7 +17349,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17233
17349
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
17234
17350
  * Voicemail service.
17235
17351
  * @module purecloud-platform-client-v2/api/VoicemailApi
17236
- * @version 194.0.0
17352
+ * @version 196.0.0
17237
17353
  */ /**
17238
17354
  * Constructs a new VoicemailApi.
17239
17355
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -17382,7 +17498,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17382
17498
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
17383
17499
  * WebChat service.
17384
17500
  * @module purecloud-platform-client-v2/api/WebChatApi
17385
- * @version 194.0.0
17501
+ * @version 196.0.0
17386
17502
  */ /**
17387
17503
  * Constructs a new WebChatApi.
17388
17504
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17517,7 +17633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17517
17633
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
17518
17634
  * WebDeployments service.
17519
17635
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17520
- * @version 194.0.0
17636
+ * @version 196.0.0
17521
17637
  */ /**
17522
17638
  * Constructs a new WebDeploymentsApi.
17523
17639
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17638,7 +17754,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17638
17754
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
17639
17755
  * WebMessaging service.
17640
17756
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17641
- * @version 194.0.0
17757
+ * @version 196.0.0
17642
17758
  */ /**
17643
17759
  * Constructs a new WebMessagingApi.
17644
17760
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17654,7 +17770,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17654
17770
  */return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
17655
17771
  * Widgets service.
17656
17772
  * @module purecloud-platform-client-v2/api/WidgetsApi
17657
- * @version 194.0.0
17773
+ * @version 196.0.0
17658
17774
  */ /**
17659
17775
  * Constructs a new WidgetsApi.
17660
17776
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17689,7 +17805,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
17689
17805
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
17690
17806
  * WorkforceManagement service.
17691
17807
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17692
- * @version 194.0.0
17808
+ * @version 196.0.0
17693
17809
  */ /**
17694
17810
  * Constructs a new WorkforceManagementApi.
17695
17811
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -19169,7 +19285,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19169
19285
  * </pre>
19170
19286
  * </p>
19171
19287
  * @module purecloud-platform-client-v2/index
19172
- * @version 194.0.0
19288
+ * @version 196.0.0
19173
19289
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
19174
19290
  * The ApiClient constructor.
19175
19291
  * @property {module:purecloud-platform-client-v2/ApiClient}