purecloud-platform-client-v2 221.0.0 → 222.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 (92) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +210 -95
  3. package/dist/web-amd/purecloud-platform-client-v2.js +210 -95
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +124 -95
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +124 -95
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +448 -250
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +119 -7
  26. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -3
  33. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -2
  76. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +3 -2
  80. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +3 -2
  92. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -6458,7 +6458,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6458
6458
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6459
6459
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
6460
6460
  * @module purecloud-platform-client-v2/ApiClient
6461
- * @version 221.0.0
6461
+ * @version 222.0.0
6462
6462
  */var ApiClient=/*#__PURE__*/function(){/**
6463
6463
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6464
6464
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6801,7 +6801,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6801
6801
  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 AgentAssistantsApi=/*#__PURE__*/function(){/**
6802
6802
  * AgentAssistants service.
6803
6803
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
6804
- * @version 221.0.0
6804
+ * @version 222.0.0
6805
6805
  *//**
6806
6806
  * Constructs a new AgentAssistantsApi.
6807
6807
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -6902,7 +6902,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
6902
6902
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
6903
6903
  * AgentCopilot service.
6904
6904
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
6905
- * @version 221.0.0
6905
+ * @version 222.0.0
6906
6906
  *//**
6907
6907
  * Constructs a new AgentCopilotApi.
6908
6908
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -6924,7 +6924,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
6924
6924
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
6925
6925
  * AgentUI service.
6926
6926
  * @module purecloud-platform-client-v2/api/AgentUIApi
6927
- * @version 221.0.0
6927
+ * @version 222.0.0
6928
6928
  *//**
6929
6929
  * Constructs a new AgentUIApi.
6930
6930
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -6958,7 +6958,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
6958
6958
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
6959
6959
  * Alerting service.
6960
6960
  * @module purecloud-platform-client-v2/api/AlertingApi
6961
- * @version 221.0.0
6961
+ * @version 222.0.0
6962
6962
  *//**
6963
6963
  * Constructs a new AlertingApi.
6964
6964
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7047,7 +7047,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
7047
7047
  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(){/**
7048
7048
  * Analytics service.
7049
7049
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7050
- * @version 221.0.0
7050
+ * @version 222.0.0
7051
7051
  *//**
7052
7052
  * Constructs a new AnalyticsApi.
7053
7053
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7715,7 +7715,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7715
7715
  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(){/**
7716
7716
  * Architect service.
7717
7717
  * @module purecloud-platform-client-v2/api/ArchitectApi
7718
- * @version 221.0.0
7718
+ * @version 222.0.0
7719
7719
  *//**
7720
7720
  * Constructs a new ArchitectApi.
7721
7721
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -8281,10 +8281,11 @@ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flow
8281
8281
  * @param {Object} opts.secure Secure
8282
8282
  * @param {Boolean} opts.deleted Include deleted (default to false)
8283
8283
  * @param {Boolean} opts.includeSchemas Include variable schemas (default to false)
8284
+ * @param {Boolean} opts.virtualAgentEnabled Include/exclude virtual agent flows
8284
8285
  * @param {String} opts.publishedAfter Published after
8285
8286
  * @param {String} opts.publishedBefore Published before
8286
8287
  * @param {Array.<String>} opts.divisionId division ID(s)
8287
- */},{key:"getFlows",value:function getFlows(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows','GET',{},{'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'publishVersionId':opts['publishVersionId'],'editableBy':opts['editableBy'],'lockedBy':opts['lockedBy'],'lockedByClientId':opts['lockedByClientId'],'secure':opts['secure'],'deleted':opts['deleted'],'includeSchemas':opts['includeSchemas'],'publishedAfter':opts['publishedAfter'],'publishedBefore':opts['publishedBefore'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8288
+ */},{key:"getFlows",value:function getFlows(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows','GET',{},{'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'publishVersionId':opts['publishVersionId'],'editableBy':opts['editableBy'],'lockedBy':opts['lockedBy'],'lockedByClientId':opts['lockedByClientId'],'secure':opts['secure'],'deleted':opts['deleted'],'includeSchemas':opts['includeSchemas'],'virtualAgentEnabled':opts['virtualAgentEnabled'],'publishedAfter':opts['publishedAfter'],'publishedBefore':opts['publishedBefore'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8288
8289
  * Returns a specific datatable by id
8289
8290
  * Given a datatableId returns the datatable object and schema associated with it.
8290
8291
  * @param {String} datatableId id of datatable
@@ -8846,7 +8847,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8846
8847
  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(){/**
8847
8848
  * Audit service.
8848
8849
  * @module purecloud-platform-client-v2/api/AuditApi
8849
- * @version 221.0.0
8850
+ * @version 222.0.0
8850
8851
  *//**
8851
8852
  * Constructs a new AuditApi.
8852
8853
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8896,7 +8897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8896
8897
  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(){/**
8897
8898
  * Authorization service.
8898
8899
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8899
- * @version 221.0.0
8900
+ * @version 222.0.0
8900
8901
  *//**
8901
8902
  * Constructs a new AuthorizationApi.
8902
8903
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9331,7 +9332,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
9331
9332
  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(){/**
9332
9333
  * Billing service.
9333
9334
  * @module purecloud-platform-client-v2/api/BillingApi
9334
- * @version 221.0.0
9335
+ * @version 222.0.0
9335
9336
  *//**
9336
9337
  * Constructs a new BillingApi.
9337
9338
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9408,7 +9409,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9408
9409
  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 BusinessRulesApi=/*#__PURE__*/function(){/**
9409
9410
  * BusinessRules service.
9410
9411
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9411
- * @version 221.0.0
9412
+ * @version 222.0.0
9412
9413
  *//**
9413
9414
  * Constructs a new BusinessRulesApi.
9414
9415
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -9656,7 +9657,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
9656
9657
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
9657
9658
  * CarrierServices service.
9658
9659
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9659
- * @version 221.0.0
9660
+ * @version 222.0.0
9660
9661
  *//**
9661
9662
  * Constructs a new CarrierServicesApi.
9662
9663
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -9676,7 +9677,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
9676
9677
  */},{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(){/**
9677
9678
  * Chat service.
9678
9679
  * @module purecloud-platform-client-v2/api/ChatApi
9679
- * @version 221.0.0
9680
+ * @version 222.0.0
9680
9681
  *//**
9681
9682
  * Constructs a new ChatApi.
9682
9683
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -9896,7 +9897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9896
9897
  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(){/**
9897
9898
  * Coaching service.
9898
9899
  * @module purecloud-platform-client-v2/api/CoachingApi
9899
- * @version 221.0.0
9900
+ * @version 222.0.0
9900
9901
  *//**
9901
9902
  * Constructs a new CoachingApi.
9902
9903
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10049,7 +10050,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10049
10050
  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(){/**
10050
10051
  * ContentManagement service.
10051
10052
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10052
- * @version 221.0.0
10053
+ * @version 222.0.0
10053
10054
  *//**
10054
10055
  * Constructs a new ContentManagementApi.
10055
10056
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10331,7 +10332,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
10331
10332
  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(){/**
10332
10333
  * Conversations service.
10333
10334
  * @module purecloud-platform-client-v2/api/ConversationsApi
10334
- * @version 221.0.0
10335
+ * @version 222.0.0
10335
10336
  *//**
10336
10337
  * Constructs a new ConversationsApi.
10337
10338
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10788,7 +10789,7 @@ if(mediaId===undefined||mediaId===null){throw'Missing the required parameter "me
10788
10789
  *
10789
10790
  * @param {String} messageId messageId
10790
10791
  * @param {Object} opts Optional parameters
10791
- * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10792
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
10792
10793
  */},{key:"getConversationsMessageDetails",value:function getConversationsMessageDetails(messageId,opts){opts=opts||{};// verify the required parameter 'messageId' is set
10793
10794
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getConversationsMessageDetails';}return this.apiClient.callApi('/api/v2/conversations/messages/{messageId}/details','GET',{'messageId':messageId},{'useNormalizedMessage':opts['useNormalizedMessage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10794
10795
  * Get conversation message
@@ -10796,7 +10797,7 @@ if(messageId===undefined||messageId===null){throw'Missing the required parameter
10796
10797
  * @param {String} conversationId conversationId
10797
10798
  * @param {String} messageId messageId
10798
10799
  * @param {Object} opts Optional parameters
10799
- * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10800
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
10800
10801
  */},{key:"getConversationsMessageMessage",value:function getConversationsMessageMessage(conversationId,messageId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
10801
10802
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';}// verify the required parameter 'messageId' is set
10802
10803
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getConversationsMessageMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/messages/{messageId}','GET',{'conversationId':conversationId,'messageId':messageId},{'useNormalizedMessage':opts['useNormalizedMessage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10848,11 +10849,22 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null){throw'Missing the re
10848
10849
  * Get a list of Facebook Permissions
10849
10850
  *
10850
10851
  */},{key:"getConversationsMessagingFacebookPermissions",value:function getConversationsMessagingFacebookPermissions(){return this.apiClient.callApi('/api/v2/conversations/messaging/facebook/permissions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10852
+ * Get Apple messaging integration identity resolution settings
10853
+ *
10854
+ * @param {String} integrationId Integration ID
10855
+ * getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10856
+ */},{key:"getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10857
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10851
10858
  * Get Facebook messaging integration identity resolution settings
10852
10859
  *
10853
10860
  * @param {String} integrationId Integration ID
10854
10861
  */},{key:"getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10855
10862
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10863
+ * Get an Instagram integration identity resolution settings
10864
+ *
10865
+ * @param {String} integrationId Integration ID
10866
+ */},{key:"getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10867
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10856
10868
  * Get an open messaging integration Identity Resolution settings
10857
10869
  *
10858
10870
  * @param {String} integrationId Integration ID
@@ -11386,7 +11398,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11386
11398
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
11387
11399
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11388
11400
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
11389
- * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
11401
+ * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the GET call on the integration with a createStatus of Completed. You can then run a GET on the integration to check if its status has been updated to Active.
11390
11402
  * @param {String} integrationId Integration ID
11391
11403
  * @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
11392
11404
  */},{key:"patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
@@ -11836,12 +11848,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11836
11848
  */},{key:"postConversationsKeyconfigurationsValidate",value:function postConversationsKeyconfigurationsValidate(body){// verify the required parameter 'body' is set
11837
11849
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';}return this.apiClient.callApi('/api/v2/conversations/keyconfigurations/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11838
11850
  * Send message
11839
- * Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, 1 stickerId, or 1 messageTemplate.
11851
+ * Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, or 1 messageTemplate.
11840
11852
  * @param {String} conversationId conversationId
11841
11853
  * @param {String} communicationId communicationId
11842
11854
  * @param {Object} body Message
11843
11855
  * @param {Object} opts Optional parameters
11844
- * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
11856
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
11845
11857
  */},{key:"postConversationsMessageCommunicationMessages",value:function postConversationsMessageCommunicationMessages(conversationId,communicationId,body,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
11846
11858
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';}// verify the required parameter 'communicationId' is set
11847
11859
  if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessages';}// verify the required parameter 'body' is set
@@ -11899,7 +11911,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11899
11911
  * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
11900
11912
  * @param {String} conversationId
11901
11913
  * @param {Object} opts Optional parameters
11902
- * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
11914
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
11903
11915
  * @param {Array.<String>} opts.body messageIds
11904
11916
  */},{key:"postConversationsMessageMessagesBulk",value:function postConversationsMessageMessagesBulk(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
11905
11917
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageMessagesBulk';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/messages/bulk','POST',{'conversationId':conversationId},{'useNormalizedMessage':opts['useNormalizedMessage']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12132,6 +12144,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12132
12144
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
12133
12145
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
12134
12146
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12147
+ * Create an identity resolution settings for a Apple messaging integration
12148
+ *
12149
+ * @param {String} integrationId Integration ID
12150
+ * @param {Object} body IdentityResolutionConfig
12151
+ * putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12152
+ */},{key:"putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
12153
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
12154
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12135
12155
  * Create an identity resolution settings for a Facebook messaging integration
12136
12156
  *
12137
12157
  * @param {String} integrationId Integration ID
@@ -12139,6 +12159,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12139
12159
  */},{key:"putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
12140
12160
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}// verify the required parameter 'body' is set
12141
12161
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12162
+ * Create identity resolution settings for an Instagram messaging integration
12163
+ *
12164
+ * @param {String} integrationId Integration ID
12165
+ * @param {Object} body IdentityResolutionConfig
12166
+ */},{key:"putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
12167
+ if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';}// verify the required parameter 'body' is set
12168
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12142
12169
  * Update an open messaging integration Identity Resolution settings
12143
12170
  *
12144
12171
  * @param {String} integrationId Integration ID
@@ -12192,7 +12219,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
12192
12219
  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(){/**
12193
12220
  * DataExtensions service.
12194
12221
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12195
- * @version 221.0.0
12222
+ * @version 222.0.0
12196
12223
  *//**
12197
12224
  * Constructs a new DataExtensionsApi.
12198
12225
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12213,7 +12240,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
12213
12240
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
12214
12241
  * DataPrivacy service.
12215
12242
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12216
- * @version 221.0.0
12243
+ * @version 222.0.0
12217
12244
  *//**
12218
12245
  * Constructs a new DataPrivacyApi.
12219
12246
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12253,7 +12280,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12253
12280
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
12254
12281
  * Downloads service.
12255
12282
  * @module purecloud-platform-client-v2/api/DownloadsApi
12256
- * @version 221.0.0
12283
+ * @version 222.0.0
12257
12284
  *//**
12258
12285
  * Constructs a new DownloadsApi.
12259
12286
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12272,7 +12299,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12272
12299
  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(){/**
12273
12300
  * Emails service.
12274
12301
  * @module purecloud-platform-client-v2/api/EmailsApi
12275
- * @version 221.0.0
12302
+ * @version 222.0.0
12276
12303
  *//**
12277
12304
  * Constructs a new EmailsApi.
12278
12305
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12301,7 +12328,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
12301
12328
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
12302
12329
  * EmployeeEngagement service.
12303
12330
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12304
- * @version 221.0.0
12331
+ * @version 222.0.0
12305
12332
  *//**
12306
12333
  * Constructs a new EmployeeEngagementApi.
12307
12334
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12339,7 +12366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12339
12366
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
12340
12367
  * Events service.
12341
12368
  * @module purecloud-platform-client-v2/api/EventsApi
12342
- * @version 221.0.0
12369
+ * @version 222.0.0
12343
12370
  *//**
12344
12371
  * Constructs a new EventsApi.
12345
12372
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12364,7 +12391,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12364
12391
  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(){/**
12365
12392
  * ExternalContacts service.
12366
12393
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12367
- * @version 221.0.0
12394
+ * @version 222.0.0
12368
12395
  *//**
12369
12396
  * Constructs a new ExternalContactsApi.
12370
12397
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -12515,7 +12542,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
12515
12542
  * Get a list of schemas.
12516
12543
  *
12517
12544
  */},{key:"getExternalcontactsContactsSchemas",value:function getExternalcontactsContactsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12518
- * Get the core types from which all schemas are built.
12545
+ * Get a specific named core type.
12519
12546
  *
12520
12547
  * @param {String} coreTypeName Name of the core type
12521
12548
  */},{key:"getExternalcontactsContactsSchemasCoretype",value:function getExternalcontactsContactsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
@@ -12675,7 +12702,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
12675
12702
  * Get a list of schemas.
12676
12703
  *
12677
12704
  */},{key:"getExternalcontactsOrganizationsSchemas",value:function getExternalcontactsOrganizationsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12678
- * Get the core types from which all schemas are built.
12705
+ * Get a specific named core type.
12679
12706
  *
12680
12707
  * @param {String} coreTypeName Name of the core type
12681
12708
  */},{key:"getExternalcontactsOrganizationsSchemasCoretype",value:function getExternalcontactsOrganizationsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
@@ -13099,7 +13126,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
13099
13126
  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(){/**
13100
13127
  * Fax service.
13101
13128
  * @module purecloud-platform-client-v2/api/FaxApi
13102
- * @version 221.0.0
13129
+ * @version 222.0.0
13103
13130
  *//**
13104
13131
  * Constructs a new FaxApi.
13105
13132
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13148,7 +13175,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13148
13175
  */},{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(){/**
13149
13176
  * Flows service.
13150
13177
  * @module purecloud-platform-client-v2/api/FlowsApi
13151
- * @version 221.0.0
13178
+ * @version 222.0.0
13152
13179
  *//**
13153
13180
  * Constructs a new FlowsApi.
13154
13181
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13196,7 +13223,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13196
13223
  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(){/**
13197
13224
  * Gamification service.
13198
13225
  * @module purecloud-platform-client-v2/api/GamificationApi
13199
- * @version 221.0.0
13226
+ * @version 222.0.0
13200
13227
  *//**
13201
13228
  * Constructs a new GamificationApi.
13202
13229
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -13849,7 +13876,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13849
13876
  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(){/**
13850
13877
  * GeneralDataProtectionRegulation service.
13851
13878
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
13852
- * @version 221.0.0
13879
+ * @version 222.0.0
13853
13880
  *//**
13854
13881
  * Constructs a new GeneralDataProtectionRegulationApi.
13855
13882
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -13884,7 +13911,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
13884
13911
  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(){/**
13885
13912
  * Geolocation service.
13886
13913
  * @module purecloud-platform-client-v2/api/GeolocationApi
13887
- * @version 221.0.0
13914
+ * @version 222.0.0
13888
13915
  *//**
13889
13916
  * Constructs a new GeolocationApi.
13890
13917
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -13918,7 +13945,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
13918
13945
  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(){/**
13919
13946
  * Greetings service.
13920
13947
  * @module purecloud-platform-client-v2/api/GreetingsApi
13921
- * @version 221.0.0
13948
+ * @version 222.0.0
13922
13949
  *//**
13923
13950
  * Constructs a new GreetingsApi.
13924
13951
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14025,7 +14052,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14025
14052
  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(){/**
14026
14053
  * Groups service.
14027
14054
  * @module purecloud-platform-client-v2/api/GroupsApi
14028
- * @version 221.0.0
14055
+ * @version 222.0.0
14029
14056
  *//**
14030
14057
  * Constructs a new GroupsApi.
14031
14058
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14158,7 +14185,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
14158
14185
  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(){/**
14159
14186
  * IdentityProvider service.
14160
14187
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14161
- * @version 221.0.0
14188
+ * @version 222.0.0
14162
14189
  *//**
14163
14190
  * Constructs a new IdentityProviderApi.
14164
14191
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14314,7 +14341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14314
14341
  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(){/**
14315
14342
  * InfrastructureAsCode service.
14316
14343
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14317
- * @version 221.0.0
14344
+ * @version 222.0.0
14318
14345
  *//**
14319
14346
  * Constructs a new InfrastructureAsCodeApi.
14320
14347
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -14368,7 +14395,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
14368
14395
  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(){/**
14369
14396
  * Integrations service.
14370
14397
  * @module purecloud-platform-client-v2/api/IntegrationsApi
14371
- * @version 221.0.0
14398
+ * @version 222.0.0
14372
14399
  *//**
14373
14400
  * Constructs a new IntegrationsApi.
14374
14401
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15007,7 +15034,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
15007
15034
  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(){/**
15008
15035
  * Journey service.
15009
15036
  * @module purecloud-platform-client-v2/api/JourneyApi
15010
- * @version 221.0.0
15037
+ * @version 222.0.0
15011
15038
  *//**
15012
15039
  * Constructs a new JourneyApi.
15013
15040
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -15487,7 +15514,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
15487
15514
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
15488
15515
  * Knowledge service.
15489
15516
  * @module purecloud-platform-client-v2/api/KnowledgeApi
15490
- * @version 221.0.0
15517
+ * @version 222.0.0
15491
15518
  *//**
15492
15519
  * Constructs a new KnowledgeApi.
15493
15520
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -16550,7 +16577,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
16550
16577
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
16551
16578
  * LanguageUnderstanding service.
16552
16579
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
16553
- * @version 221.0.0
16580
+ * @version 222.0.0
16554
16581
  *//**
16555
16582
  * Constructs a new LanguageUnderstandingApi.
16556
16583
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -16809,7 +16836,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
16809
16836
  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(){/**
16810
16837
  * Languages service.
16811
16838
  * @module purecloud-platform-client-v2/api/LanguagesApi
16812
- * @version 221.0.0
16839
+ * @version 222.0.0
16813
16840
  *//**
16814
16841
  * Constructs a new LanguagesApi.
16815
16842
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -16864,7 +16891,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16864
16891
  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(){/**
16865
16892
  * Learning service.
16866
16893
  * @module purecloud-platform-client-v2/api/LearningApi
16867
- * @version 221.0.0
16894
+ * @version 222.0.0
16868
16895
  *//**
16869
16896
  * Constructs a new LearningApi.
16870
16897
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17135,7 +17162,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
17135
17162
  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(){/**
17136
17163
  * License service.
17137
17164
  * @module purecloud-platform-client-v2/api/LicenseApi
17138
- * @version 221.0.0
17165
+ * @version 222.0.0
17139
17166
  *//**
17140
17167
  * Constructs a new LicenseApi.
17141
17168
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17189,7 +17216,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
17189
17216
  */},{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(){/**
17190
17217
  * Locations service.
17191
17218
  * @module purecloud-platform-client-v2/api/LocationsApi
17192
- * @version 221.0.0
17219
+ * @version 222.0.0
17193
17220
  *//**
17194
17221
  * Constructs a new LocationsApi.
17195
17222
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17248,7 +17275,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17248
17275
  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(){/**
17249
17276
  * LogCapture service.
17250
17277
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17251
- * @version 221.0.0
17278
+ * @version 222.0.0
17252
17279
  *//**
17253
17280
  * Constructs a new LogCaptureApi.
17254
17281
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17298,7 +17325,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
17298
17325
  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(){/**
17299
17326
  * Messaging service.
17300
17327
  * @module purecloud-platform-client-v2/api/MessagingApi
17301
- * @version 221.0.0
17328
+ * @version 222.0.0
17302
17329
  *//**
17303
17330
  * Constructs a new MessagingApi.
17304
17331
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17388,7 +17415,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17388
17415
  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(){/**
17389
17416
  * MobileDevices service.
17390
17417
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17391
- * @version 221.0.0
17418
+ * @version 222.0.0
17392
17419
  *//**
17393
17420
  * Constructs a new MobileDevicesApi.
17394
17421
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -17427,7 +17454,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17427
17454
  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(){/**
17428
17455
  * Notifications service.
17429
17456
  * @module purecloud-platform-client-v2/api/NotificationsApi
17430
- * @version 221.0.0
17457
+ * @version 222.0.0
17431
17458
  *//**
17432
17459
  * Constructs a new NotificationsApi.
17433
17460
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -17484,7 +17511,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
17484
17511
  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(){/**
17485
17512
  * OAuth service.
17486
17513
  * @module purecloud-platform-client-v2/api/OAuthApi
17487
- * @version 221.0.0
17514
+ * @version 222.0.0
17488
17515
  *//**
17489
17516
  * Constructs a new OAuthApi.
17490
17517
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -17569,7 +17596,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
17569
17596
  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(){/**
17570
17597
  * Objects service.
17571
17598
  * @module purecloud-platform-client-v2/api/ObjectsApi
17572
- * @version 221.0.0
17599
+ * @version 222.0.0
17573
17600
  *//**
17574
17601
  * Constructs a new ObjectsApi.
17575
17602
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -17655,7 +17682,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
17655
17682
  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(){/**
17656
17683
  * OperationalEvents service.
17657
17684
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
17658
- * @version 221.0.0
17685
+ * @version 222.0.0
17659
17686
  *//**
17660
17687
  * Constructs a new OperationalEventsApi.
17661
17688
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -17686,7 +17713,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
17686
17713
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
17687
17714
  * Organization service.
17688
17715
  * @module purecloud-platform-client-v2/api/OrganizationApi
17689
- * @version 221.0.0
17716
+ * @version 222.0.0
17690
17717
  *//**
17691
17718
  * Constructs a new OrganizationApi.
17692
17719
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -17791,7 +17818,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17791
17818
  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(){/**
17792
17819
  * OrganizationAuthorization service.
17793
17820
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
17794
- * @version 221.0.0
17821
+ * @version 222.0.0
17795
17822
  *//**
17796
17823
  * Constructs a new OrganizationAuthorizationApi.
17797
17824
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18125,7 +18152,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
18125
18152
  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(){/**
18126
18153
  * Outbound service.
18127
18154
  * @module purecloud-platform-client-v2/api/OutboundApi
18128
- * @version 221.0.0
18155
+ * @version 222.0.0
18129
18156
  *//**
18130
18157
  * Constructs a new OutboundApi.
18131
18158
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19256,7 +19283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19256
19283
  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(){/**
19257
19284
  * Presence service.
19258
19285
  * @module purecloud-platform-client-v2/api/PresenceApi
19259
- * @version 221.0.0
19286
+ * @version 222.0.0
19260
19287
  *//**
19261
19288
  * Constructs a new PresenceApi.
19262
19289
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -19429,7 +19456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19429
19456
  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(){/**
19430
19457
  * ProcessAutomation service.
19431
19458
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
19432
- * @version 221.0.0
19459
+ * @version 222.0.0
19433
19460
  *//**
19434
19461
  * Constructs a new ProcessAutomationApi.
19435
19462
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -19492,7 +19519,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
19492
19519
  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(){/**
19493
19520
  * Quality service.
19494
19521
  * @module purecloud-platform-client-v2/api/QualityApi
19495
- * @version 221.0.0
19522
+ * @version 222.0.0
19496
19523
  *//**
19497
19524
  * Constructs a new QualityApi.
19498
19525
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -19970,7 +19997,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
19970
19997
  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(){/**
19971
19998
  * Recording service.
19972
19999
  * @module purecloud-platform-client-v2/api/RecordingApi
19973
- * @version 221.0.0
20000
+ * @version 222.0.0
19974
20001
  *//**
19975
20002
  * Constructs a new RecordingApi.
19976
20003
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20369,7 +20396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20369
20396
  */},{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(){/**
20370
20397
  * ResponseManagement service.
20371
20398
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20372
- * @version 221.0.0
20399
+ * @version 222.0.0
20373
20400
  *//**
20374
20401
  * Constructs a new ResponseManagementApi.
20375
20402
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -20490,7 +20517,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
20490
20517
  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(){/**
20491
20518
  * Routing service.
20492
20519
  * @module purecloud-platform-client-v2/api/RoutingApi
20493
- * @version 221.0.0
20520
+ * @version 222.0.0
20494
20521
  *//**
20495
20522
  * Constructs a new RoutingApi.
20496
20523
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -21538,7 +21565,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21538
21565
  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(){/**
21539
21566
  * SCIM service.
21540
21567
  * @module purecloud-platform-client-v2/api/SCIMApi
21541
- * @version 221.0.0
21568
+ * @version 222.0.0
21542
21569
  *//**
21543
21570
  * Constructs a new SCIMApi.
21544
21571
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -21763,7 +21790,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21763
21790
  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(){/**
21764
21791
  * ScreenRecording service.
21765
21792
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
21766
- * @version 221.0.0
21793
+ * @version 222.0.0
21767
21794
  *//**
21768
21795
  * Constructs a new ScreenRecordingApi.
21769
21796
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -21778,7 +21805,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21778
21805
  */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(){/**
21779
21806
  * Scripts service.
21780
21807
  * @module purecloud-platform-client-v2/api/ScriptsApi
21781
- * @version 221.0.0
21808
+ * @version 222.0.0
21782
21809
  *//**
21783
21810
  * Constructs a new ScriptsApi.
21784
21811
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -21924,7 +21951,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
21924
21951
  */},{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(){/**
21925
21952
  * Search service.
21926
21953
  * @module purecloud-platform-client-v2/api/SearchApi
21927
- * @version 221.0.0
21954
+ * @version 222.0.0
21928
21955
  *//**
21929
21956
  * Constructs a new SearchApi.
21930
21957
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22096,7 +22123,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22096
22123
  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(){/**
22097
22124
  * Settings service.
22098
22125
  * @module purecloud-platform-client-v2/api/SettingsApi
22099
- * @version 221.0.0
22126
+ * @version 222.0.0
22100
22127
  *//**
22101
22128
  * Constructs a new SettingsApi.
22102
22129
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22168,7 +22195,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
22168
22195
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
22169
22196
  * SocialMedia service.
22170
22197
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22171
- * @version 221.0.0
22198
+ * @version 222.0.0
22172
22199
  *//**
22173
22200
  * Constructs a new SocialMediaApi.
22174
22201
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -22505,7 +22532,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
22505
22532
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
22506
22533
  * SpeechTextAnalytics service.
22507
22534
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
22508
- * @version 221.0.0
22535
+ * @version 222.0.0
22509
22536
  *//**
22510
22537
  * Constructs a new SpeechTextAnalyticsApi.
22511
22538
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -22826,7 +22853,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
22826
22853
  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(){/**
22827
22854
  * Stations service.
22828
22855
  * @module purecloud-platform-client-v2/api/StationsApi
22829
- * @version 221.0.0
22856
+ * @version 222.0.0
22830
22857
  *//**
22831
22858
  * Constructs a new StationsApi.
22832
22859
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -22858,7 +22885,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
22858
22885
  */},{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(){/**
22859
22886
  * Suggest service.
22860
22887
  * @module purecloud-platform-client-v2/api/SuggestApi
22861
- * @version 221.0.0
22888
+ * @version 222.0.0
22862
22889
  *//**
22863
22890
  * Constructs a new SuggestApi.
22864
22891
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -22898,7 +22925,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22898
22925
  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(){/**
22899
22926
  * TaskManagement service.
22900
22927
  * @module purecloud-platform-client-v2/api/TaskManagementApi
22901
- * @version 221.0.0
22928
+ * @version 222.0.0
22902
22929
  *//**
22903
22930
  * Constructs a new TaskManagementApi.
22904
22931
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -23106,7 +23133,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
23106
23133
  * Get a list of schemas.
23107
23134
  *
23108
23135
  */},{key:"getTaskmanagementWorkitemsSchemas",value:function getTaskmanagementWorkitemsSchemas(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23109
- * Get the core types from which all schemas are built.
23136
+ * Get a specific named core type.
23110
23137
  *
23111
23138
  * @param {String} coreTypeName Name of the core type
23112
23139
  */},{key:"getTaskmanagementWorkitemsSchemasCoretype",value:function getTaskmanagementWorkitemsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
@@ -23406,7 +23433,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
23406
23433
  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(){/**
23407
23434
  * Teams service.
23408
23435
  * @module purecloud-platform-client-v2/api/TeamsApi
23409
- * @version 221.0.0
23436
+ * @version 222.0.0
23410
23437
  *//**
23411
23438
  * Constructs a new TeamsApi.
23412
23439
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -23486,7 +23513,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23486
23513
  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(){/**
23487
23514
  * Telephony service.
23488
23515
  * @module purecloud-platform-client-v2/api/TelephonyApi
23489
- * @version 221.0.0
23516
+ * @version 222.0.0
23490
23517
  *//**
23491
23518
  * Constructs a new TelephonyApi.
23492
23519
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -23533,7 +23560,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
23533
23560
  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(){/**
23534
23561
  * TelephonyProvidersEdge service.
23535
23562
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
23536
- * @version 221.0.0
23563
+ * @version 222.0.0
23537
23564
  *//**
23538
23565
  * Constructs a new TelephonyProvidersEdgeApi.
23539
23566
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -24369,7 +24396,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
24369
24396
  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(){/**
24370
24397
  * Textbots service.
24371
24398
  * @module purecloud-platform-client-v2/api/TextbotsApi
24372
- * @version 221.0.0
24399
+ * @version 222.0.0
24373
24400
  *//**
24374
24401
  * Constructs a new TextbotsApi.
24375
24402
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -24383,8 +24410,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24383
24410
  * @param {Array.<String>} opts.botType Bot types
24384
24411
  * @param {String} opts.botName Bot name
24385
24412
  * @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
24413
+ * @param {Boolean} opts.virtualAgentEnabled Include or exclude virtual agent flows, only applies to GenesysBotFlows or GenesysDigitalBotFlows
24386
24414
  * @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
24387
- */return _createClass(TextbotsApi,[{key:"getTextbotsBotsSearch",value:function getTextbotsBotsSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/textbots/bots/search','GET',{},{'botType':this.apiClient.buildCollectionParam(opts['botType'],'multi'),'botName':opts['botName'],'botId':this.apiClient.buildCollectionParam(opts['botId'],'multi'),'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24415
+ */return _createClass(TextbotsApi,[{key:"getTextbotsBotsSearch",value:function getTextbotsBotsSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/textbots/bots/search','GET',{},{'botType':this.apiClient.buildCollectionParam(opts['botType'],'multi'),'botName':opts['botName'],'botId':this.apiClient.buildCollectionParam(opts['botId'],'multi'),'virtualAgentEnabled':opts['virtualAgentEnabled'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
24388
24416
  * Issue a bot flow turn event
24389
24417
  * Send a turn event to an executing bot flow and produce the next action to take.
24390
24418
  * @param {String} sessionId The bot flow session ID, typically obtained from 'POST /api/v2/textbots/botflows/sessions'
@@ -24404,7 +24432,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
24404
24432
  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(){/**
24405
24433
  * Tokens service.
24406
24434
  * @module purecloud-platform-client-v2/api/TokensApi
24407
- * @version 221.0.0
24435
+ * @version 222.0.0
24408
24436
  *//**
24409
24437
  * Constructs a new TokensApi.
24410
24438
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -24438,7 +24466,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
24438
24466
  */},{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(){/**
24439
24467
  * Uploads service.
24440
24468
  * @module purecloud-platform-client-v2/api/UploadsApi
24441
- * @version 221.0.0
24469
+ * @version 222.0.0
24442
24470
  *//**
24443
24471
  * Constructs a new UploadsApi.
24444
24472
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -24506,7 +24534,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24506
24534
  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(){/**
24507
24535
  * Usage service.
24508
24536
  * @module purecloud-platform-client-v2/api/UsageApi
24509
- * @version 221.0.0
24537
+ * @version 222.0.0
24510
24538
  *//**
24511
24539
  * Constructs a new UsageApi.
24512
24540
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -24560,7 +24588,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24560
24588
  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(){/**
24561
24589
  * UserRecordings service.
24562
24590
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
24563
- * @version 221.0.0
24591
+ * @version 222.0.0
24564
24592
  *//**
24565
24593
  * Constructs a new UserRecordingsApi.
24566
24594
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -24617,7 +24645,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
24617
24645
  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(){/**
24618
24646
  * Users service.
24619
24647
  * @module purecloud-platform-client-v2/api/UsersApi
24620
- * @version 221.0.0
24648
+ * @version 222.0.0
24621
24649
  *//**
24622
24650
  * Constructs a new UsersApi.
24623
24651
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -25344,7 +25372,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
25344
25372
  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(){/**
25345
25373
  * Utilities service.
25346
25374
  * @module purecloud-platform-client-v2/api/UtilitiesApi
25347
- * @version 221.0.0
25375
+ * @version 222.0.0
25348
25376
  *//**
25349
25377
  * Constructs a new UtilitiesApi.
25350
25378
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -25371,7 +25399,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25371
25399
  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(){/**
25372
25400
  * Voicemail service.
25373
25401
  * @module purecloud-platform-client-v2/api/VoicemailApi
25374
- * @version 221.0.0
25402
+ * @version 222.0.0
25375
25403
  *//**
25376
25404
  * Constructs a new VoicemailApi.
25377
25405
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -25533,7 +25561,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
25533
25561
  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(){/**
25534
25562
  * WebChat service.
25535
25563
  * @module purecloud-platform-client-v2/api/WebChatApi
25536
- * @version 221.0.0
25564
+ * @version 222.0.0
25537
25565
  *//**
25538
25566
  * Constructs a new WebChatApi.
25539
25567
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -25677,7 +25705,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25677
25705
  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(){/**
25678
25706
  * WebDeployments service.
25679
25707
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
25680
- * @version 221.0.0
25708
+ * @version 222.0.0
25681
25709
  *//**
25682
25710
  * Constructs a new WebDeploymentsApi.
25683
25711
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -25810,7 +25838,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
25810
25838
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
25811
25839
  * WebMessaging service.
25812
25840
  * @module purecloud-platform-client-v2/api/WebMessagingApi
25813
- * @version 221.0.0
25841
+ * @version 222.0.0
25814
25842
  *//**
25815
25843
  * Constructs a new WebMessagingApi.
25816
25844
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -25826,7 +25854,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25826
25854
  */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(){/**
25827
25855
  * Widgets service.
25828
25856
  * @module purecloud-platform-client-v2/api/WidgetsApi
25829
- * @version 221.0.0
25857
+ * @version 222.0.0
25830
25858
  *//**
25831
25859
  * Constructs a new WidgetsApi.
25832
25860
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -25866,7 +25894,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
25866
25894
  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(){/**
25867
25895
  * WorkforceManagement service.
25868
25896
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
25869
- * @version 221.0.0
25897
+ * @version 222.0.0
25870
25898
  *//**
25871
25899
  * Constructs a new WorkforceManagementApi.
25872
25900
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -26630,10 +26658,11 @@ if(weekId===undefined||weekId===null){throw'Missing the required parameter "week
26630
26658
  * @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
26631
26659
  * @param {Object} opts Optional parameters
26632
26660
  * @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
26661
+ * @param {Boolean} opts.includeCrossWeekShifts Whether to include all shift trades with either the initiating shift or the receiving shift in the week (default to false)
26633
26662
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
26634
26663
  */},{key:"getWorkforcemanagementManagementunitWeekShifttrades",value:function getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId,weekDateId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
26635
26664
  if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekShifttrades';}// verify the required parameter 'weekDateId' is set
26636
- if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementManagementunitWeekShifttrades';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades','GET',{'managementUnitId':managementUnitId,'weekDateId':weekDateId},{'evaluateMatches':opts['evaluateMatches'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26665
+ if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementManagementunitWeekShifttrades';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades','GET',{'managementUnitId':managementUnitId,'weekDateId':weekDateId},{'evaluateMatches':opts['evaluateMatches'],'includeCrossWeekShifts':opts['includeCrossWeekShifts'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26637
26666
  * Get a work plan
26638
26667
  *
26639
26668
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
@@ -27687,7 +27716,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
27687
27716
  * </pre>
27688
27717
  * </p>
27689
27718
  * @module purecloud-platform-client-v2/index
27690
- * @version 221.0.0
27719
+ * @version 222.0.0
27691
27720
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
27692
27721
  * The ApiClient constructor.
27693
27722
  * @property {module:purecloud-platform-client-v2/ApiClient}