purecloud-platform-client-v2 239.0.0 → 241.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +866 -115
  3. package/dist/web-amd/purecloud-platform-client-v2.js +866 -115
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +294 -118
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +294 -118
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1281 -752
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +47 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +36 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +156 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +135 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -14
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +273 -13
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +5 -5
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +134 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +3 -2
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -6519,7 +6519,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6519
6519
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6520
6520
  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];}}}]);}();/**
6521
6521
  * @module purecloud-platform-client-v2/ApiClient
6522
- * @version 239.0.0
6522
+ * @version 241.1.0
6523
6523
  */var ApiClient=/*#__PURE__*/function(){/**
6524
6524
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6525
6525
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6585,6 +6585,12 @@ localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(
6585
6585
  if(this.persistSettings!==true)return;// Ensure we can access local storage
6586
6586
  if(!this.hasLocalStorage){return;}// Load current auth data
6587
6587
  var tempState=this.authData.state;this.authData=localStorage.getItem("".concat(this.settingsPrefix,"_auth_data"));if(!this.authData)this.authData={};else this.authData=JSON.parse(this.authData);if(this.authData.accessToken)this.setAccessToken(this.authData.accessToken);this.authData.state=tempState;}/**
6588
+ * @description Clears the auth token from local storage, if enabled.
6589
+ */},{key:"_clearSettings",value:function _clearSettings(){try{if(this.authData&&this.authData.accessToken)this.authData.accessToken=null;if(this.authentications['PureCloud OAuth']&&this.authentications['PureCloud OAuth'].accessToken)this.authentications['PureCloud OAuth'].accessToken=null;if(this.authData&&this.authData.state)this.authData.state=null;if(this.authData&&this.authData.error)this.authData.error=null;if(this.authData&&this.authData.error_description)this.authData.error_description=null;if(this.authData&&this.authData.tokenExpiryTime)this.authData.tokenExpiryTime=0;if(this.authData&&this.authData.tokenExpiryTimeString)this.authData.tokenExpiryTimeString=null;// Don't save settings if we aren't supposed to be persisting them
6590
+ if(this.persistSettings!==true)return;// Ensure we can access local storage
6591
+ if(!this.hasLocalStorage){return;}// Remove state from data so it's not persisted
6592
+ var tempData=JSON.parse(JSON.stringify(this.authData));delete tempData.state;// Save updated auth data
6593
+ localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(tempData));}catch(e){console.error(e);}}/**
6588
6594
  * @description Sets the environment used by the session
6589
6595
  * @param {string} environment - (Optional, default "mypurecloud.com") Environment the session use, e.g. mypurecloud.ie, mypurecloud.com.au, etc.
6590
6596
  */},{key:"setEnvironment",value:function setEnvironment(environment){this.config.setEnvironment(environment);}/**
@@ -6636,11 +6642,12 @@ var tempState=this.authData.state;this.authData=localStorage.getItem("".concat(t
6636
6642
  * @param {string} opts.state - (optional) An arbitrary string to be passed back with the login response. Used for client apps to associate login responses with a request.
6637
6643
  * @param {string} opts.org - (optional) The organization name that would normally used when specifying an organization name when logging in. This is only used when a provider is also specified.
6638
6644
  * @param {string} opts.provider - (optional) Authentication provider to log in with e.g. okta, adfs, salesforce, onelogin. This is only used when an org is also specified.
6645
+ * @param {string} opts.prompt - (optional) Use the prompt=login parameter to require that the user be prompted to enter credentials at the Gensys Cloud login screen and ignore any remembered sessions (auth cookies).
6639
6646
  */},{key:"loginImplicitGrant",value:function loginImplicitGrant(clientId,redirectUri,opts){var _this4=this;// Check for auth token in hash
6640
6647
  var hash=this._setValuesFromUrlHash();this.clientId=clientId;this.redirectUri=redirectUri;if(!opts)opts={};return new Promise(function(resolve,reject){// Abort if org and provider are not set together
6641
6648
  if(opts.org&&!opts.provider){reject(new Error('opts.provider must be set if opts.org is set'));}else if(opts.provider&&!opts.org){reject(new Error('opts.org must be set if opts.provider is set'));}// Abort on auth error
6642
6649
  if(hash&&hash.error){hash.accessToken=undefined;_this4._saveSettings(hash);return reject(new Error("[".concat(hash.error,"] ").concat(hash.error_description)));}// Test token and proceed with login
6643
- _this4._testTokenAccess().then(function(){if(!_this4.authData.state&&opts.state)_this4.authData.state=opts.state;resolve(_this4.authData);})["catch"](function(error){var query={client_id:encodeURIComponent(_this4.clientId),redirect_uri:encodeURIComponent(_this4.redirectUri),response_type:'token'};if(opts.state)query.state=encodeURIComponent(opts.state);if(opts.org)query.org=encodeURIComponent(opts.org);if(opts.provider)query.provider=encodeURIComponent(opts.provider);var url=_this4._buildAuthUrl('oauth/authorize',query);window.location.replace(url);});});}/**
6650
+ _this4._testTokenAccess().then(function(){if(!_this4.authData.state&&opts.state)_this4.authData.state=opts.state;resolve(_this4.authData);})["catch"](function(error){var query={client_id:encodeURIComponent(_this4.clientId),redirect_uri:encodeURIComponent(_this4.redirectUri),response_type:'token'};if(opts.state)query.state=encodeURIComponent(opts.state);if(opts.org)query.org=encodeURIComponent(opts.org);if(opts.provider)query.provider=encodeURIComponent(opts.provider);if(opts.prompt&&opts.prompt=='login')query.prompt=encodeURIComponent(opts.prompt);var url=_this4._buildAuthUrl('oauth/authorize',query);window.location.replace(url);});});}/**
6644
6651
  * @description Initiates the client credentials login flow. Only available in node apps.
6645
6652
  * @param {string} clientId - The client ID of an OAuth Implicit Grant client
6646
6653
  * @param {string} clientSecret - The client secret of an OAuth Implicit Grant client
@@ -6690,6 +6697,7 @@ return reject(new Error("Code Challenge Error ".concat(error)));});});}}/**
6690
6697
  * @param {string} opts.state - (optional) An arbitrary string to be passed back with the login response. Used for client apps to associate login responses with a request.
6691
6698
  * @param {string} opts.org - (optional) The organization name that would normally used when specifying an organization name when logging in. This is only used when a provider is also specified.
6692
6699
  * @param {string} opts.provider - (optional) Authentication provider to log in with e.g. okta, adfs, salesforce, onelogin. This is only used when an org is also specified.
6700
+ * @param {string} opts.prompt - (optional) Use the prompt=login parameter to require that the user be prompted to enter credentials at the Gensys Cloud login screen and ignore any remembered sessions (auth cookies).
6693
6701
  * @param {string} codeVerifier - (optional) code verifier used to generate the code challenge
6694
6702
  */},{key:"loginPKCEGrant",value:function loginPKCEGrant(clientId,redirectUri,opts,codeVerifier){var _this8=this;// Need Local Storage or non null codeVerifier as parameter
6695
6703
  if(!this.hasLocalStorage&&!codeVerifier){throw new Error("loginPKCEGrant requires Local Storage or codeVerifier as input parameter");}// Check for auth code in query
@@ -6707,7 +6715,7 @@ if(_this8.hasLocalStorage){sessionStorage.removeItem("genesys_cloud_sdk_pkce_cod
6707
6715
  _this8._saveSettings({accessToken:undefined});// remove codeVerifier from session storage
6708
6716
  if(_this8.hasLocalStorage){sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier");}return reject(new Error("[".concat(error.name,"] ").concat(error.msg)));});}else{// Test token (if previously stored) and proceed with login
6709
6717
  _this8._testTokenAccess().then(function(){if(!_this8.authData.state&&opts.state)_this8.authData.state=opts.state;resolve(_this8.authData);})["catch"](function(error){if(!_this8.codeVerifier){_this8.codeVerifier=_this8.generatePKCECodeVerifier(128);// save codeVerifier in session storage
6710
- if(_this8.hasLocalStorage){sessionStorage.setItem("genesys_cloud_sdk_pkce_code_verifier",_this8.codeVerifier);}}_this8.computePKCECodeChallenge(_this8.codeVerifier).then(function(codeChallenge){var tokenQuery={client_id:encodeURIComponent(_this8.clientId),redirect_uri:encodeURIComponent(_this8.redirectUri),code_challenge:encodeURIComponent(codeChallenge),response_type:'code',code_challenge_method:'S256'};if(opts.state)tokenQuery.state=encodeURIComponent(opts.state);if(opts.org)tokenQuery.org=encodeURIComponent(opts.org);if(opts.provider)tokenQuery.provider=encodeURIComponent(opts.provider);var url=_this8._buildAuthUrl('oauth/authorize',tokenQuery);window.location.replace(url);})["catch"](function(err){return reject(new Error("[".concat(err.name,"]")));});});}});}/**
6718
+ if(_this8.hasLocalStorage){sessionStorage.setItem("genesys_cloud_sdk_pkce_code_verifier",_this8.codeVerifier);}}_this8.computePKCECodeChallenge(_this8.codeVerifier).then(function(codeChallenge){var tokenQuery={client_id:encodeURIComponent(_this8.clientId),redirect_uri:encodeURIComponent(_this8.redirectUri),code_challenge:encodeURIComponent(codeChallenge),response_type:'code',code_challenge_method:'S256'};if(opts.state)tokenQuery.state=encodeURIComponent(opts.state);if(opts.org)tokenQuery.org=encodeURIComponent(opts.org);if(opts.provider)tokenQuery.provider=encodeURIComponent(opts.provider);if(opts.prompt&&opts.prompt=='login')tokenQuery.prompt=encodeURIComponent(opts.prompt);var url=_this8._buildAuthUrl('oauth/authorize',tokenQuery);window.location.replace(url);})["catch"](function(err){return reject(new Error("[".concat(err.name,"]")));});});}});}/**
6711
6719
  * @description Parses the URL Query, grabs the code, and clears the query param. If no code is found, no action is taken.
6712
6720
  */},{key:"_setValuesFromUrlQuery",value:function _setValuesFromUrlQuery(){// Check for window
6713
6721
  if(!(typeof window!=='undefined'&&window.location.search))return;// Process query string
@@ -6775,6 +6783,8 @@ document.body.scrollTop=scrollV;document.body.scrollLeft=scrollH;}this._saveSett
6775
6783
  * @description Sets the access token to be used with requests
6776
6784
  * @param {string} token - The access token
6777
6785
  */},{key:"setAccessToken",value:function setAccessToken(token){this._saveSettings({accessToken:token});}/**
6786
+ * @description Clears the access token to be used with requests
6787
+ */},{key:"clearAccessToken",value:function clearAccessToken(){this._clearSettings();}/**
6778
6788
  * @description Sets the storage key to use when persisting the access token
6779
6789
  * @param {string} storageKey - The storage key name
6780
6790
  */},{key:"setStorageKey",value:function setStorageKey(storageKey){// Set storage key
@@ -6875,7 +6885,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6875
6885
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
6876
6886
  * AIStudio service.
6877
6887
  * @module purecloud-platform-client-v2/api/AIStudioApi
6878
- * @version 239.0.0
6888
+ * @version 241.1.0
6879
6889
  *//**
6880
6890
  * Constructs a new AIStudioApi.
6881
6891
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -6987,6 +6997,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6987
6997
  * @param {Object} body
6988
6998
  */},{key:"postConversationsSummariesSettings",value:function postConversationsSummariesSettings(body){// verify the required parameter 'body' is set
6989
6999
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsSummariesSettings';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7000
+ * Add a turn to a guide session.
7001
+ * Creates a new turn in the specified guide session with the provided request data. If the session ID doesnt exist, a new session will be created automatically.
7002
+ * @param {String} guideId Guide ID
7003
+ * @param {String} guideSessionId Guide Session ID
7004
+ * @param {Object} body
7005
+ */},{key:"postGuideSessionTurns",value:function postGuideSessionTurns(guideId,guideSessionId,body){// verify the required parameter 'guideId' is set
7006
+ if(guideId===undefined||guideId===null||guideId===''){throw'Missing the required parameter "guideId" when calling postGuideSessionTurns';}// verify the required parameter 'guideSessionId' is set
7007
+ if(guideSessionId===undefined||guideSessionId===null||guideSessionId===''){throw'Missing the required parameter "guideSessionId" when calling postGuideSessionTurns';}// verify the required parameter 'body' is set
7008
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuideSessionTurns';}return this.apiClient.callApi('/api/v2/guides/{guideId}/sessions/{guideSessionId}/turns','POST',{'guideId':guideId,'guideSessionId':guideSessionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6990
7009
  * Start the publishing of a guide version.
6991
7010
  *
6992
7011
  * @param {String} guideId Guide ID
@@ -7026,7 +7045,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
7026
7045
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
7027
7046
  * AgentAssistants service.
7028
7047
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
7029
- * @version 239.0.0
7048
+ * @version 241.1.0
7030
7049
  *//**
7031
7050
  * Constructs a new AgentAssistantsApi.
7032
7051
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7053,6 +7072,11 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
7053
7072
  * @param {String} opts.queueIds Comma-separated identifiers of the queues that need to be deleted.
7054
7073
  */},{key:"deleteAssistantQueues",value:function deleteAssistantQueues(assistantId,opts){opts=opts||{};// verify the required parameter 'assistantId' is set
7055
7074
  if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling deleteAssistantQueues';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues','DELETE',{'assistantId':assistantId},{'queueIds':opts['queueIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7075
+ * Delete an agent checklist
7076
+ *
7077
+ * @param {String} agentChecklistId Agent Checklist ID
7078
+ */},{key:"deleteAssistantsAgentchecklist",value:function deleteAssistantsAgentchecklist(agentChecklistId){// verify the required parameter 'agentChecklistId' is set
7079
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling deleteAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','DELETE',{'agentChecklistId':agentChecklistId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7056
7080
  * Get an assistant.
7057
7081
  *
7058
7082
  * @param {String} assistantId Assistant ID
@@ -7089,6 +7113,25 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7089
7113
  * @param {String} opts.name Return the assistant by the given name.
7090
7114
  * @param {Object} opts.expand Which fields, if any, to expand
7091
7115
  */},{key:"getAssistants",value:function getAssistants(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/assistants','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'name':opts['name'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7116
+ * Get an agent checklist
7117
+ *
7118
+ * @param {String} agentChecklistId Agent Checklist ID
7119
+ */},{key:"getAssistantsAgentchecklist",value:function getAssistantsAgentchecklist(agentChecklistId){// verify the required parameter 'agentChecklistId' is set
7120
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling getAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','GET',{'agentChecklistId':agentChecklistId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7121
+ * Get the list of agent checklists
7122
+ *
7123
+ * @param {Object} opts Optional parameters
7124
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
7125
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
7126
+ * @param {String} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 25)
7127
+ * @param {String} opts.namePrefix The agent checklist name prefix filter applied to the listing.
7128
+ * @param {String} opts.language The agent checklist language filter applied to the listing.
7129
+ * @param {Object} opts.sortOrder The sort order for the listing
7130
+ * @param {Object} opts.sortBy The field to sort by for the listing.
7131
+ */},{key:"getAssistantsAgentchecklists",value:function getAssistantsAgentchecklists(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/assistants/agentchecklists','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'namePrefix':opts['namePrefix'],'language':opts['language'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7132
+ * Get the list of supported languages
7133
+ *
7134
+ */},{key:"getAssistantsAgentchecklistsLanguages",value:function getAssistantsAgentchecklistsLanguages(){return this.apiClient.callApi('/api/v2/assistants/agentchecklists/languages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7092
7135
  * Get all queues assigned to any assistant.
7093
7136
  *
7094
7137
  * @param {Object} opts Optional parameters
@@ -7146,6 +7189,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7146
7189
  * @param {Object} body
7147
7190
  */},{key:"postAssistants",value:function postAssistants(body){// verify the required parameter 'body' is set
7148
7191
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistants';}return this.apiClient.callApi('/api/v2/assistants','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7192
+ * Create an agent checklist
7193
+ *
7194
+ * @param {Object} body Request body containing details of checklist to be added
7195
+ */},{key:"postAssistantsAgentchecklists",value:function postAssistantsAgentchecklists(body){// verify the required parameter 'body' is set
7196
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantsAgentchecklists';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7149
7197
  * Create a queue assistant association.
7150
7198
  *
7151
7199
  * @param {String} assistantId Assistant ID
@@ -7154,10 +7202,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7154
7202
  */},{key:"putAssistantQueue",value:function putAssistantQueue(assistantId,queueId,body){// verify the required parameter 'assistantId' is set
7155
7203
  if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling putAssistantQueue';}// verify the required parameter 'queueId' is set
7156
7204
  if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling putAssistantQueue';}// verify the required parameter 'body' is set
7157
- 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(){/**
7205
+ 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']);}/**
7206
+ * Update an agent checklist
7207
+ *
7208
+ * @param {String} agentChecklistId Agent Checklist ID
7209
+ * @param {Object} body Request body containing details of checklist to be updated
7210
+ */},{key:"putAssistantsAgentchecklist",value:function putAssistantsAgentchecklist(agentChecklistId,body){// verify the required parameter 'agentChecklistId' is set
7211
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling putAssistantsAgentchecklist';}// verify the required parameter 'body' is set
7212
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
7158
7213
  * AgentCopilot service.
7159
7214
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7160
- * @version 239.0.0
7215
+ * @version 241.1.0
7161
7216
  *//**
7162
7217
  * Constructs a new AgentCopilotApi.
7163
7218
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7184,7 +7239,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7184
7239
  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(){/**
7185
7240
  * AgentUI service.
7186
7241
  * @module purecloud-platform-client-v2/api/AgentUIApi
7187
- * @version 239.0.0
7242
+ * @version 241.1.0
7188
7243
  *//**
7189
7244
  * Constructs a new AgentUIApi.
7190
7245
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7218,7 +7273,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7218
7273
  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(){/**
7219
7274
  * Alerting service.
7220
7275
  * @module purecloud-platform-client-v2/api/AlertingApi
7221
- * @version 239.0.0
7276
+ * @version 241.1.0
7222
7277
  *//**
7223
7278
  * Constructs a new AlertingApi.
7224
7279
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7307,7 +7362,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7307
7362
  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(){/**
7308
7363
  * Analytics service.
7309
7364
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7310
- * @version 239.0.0
7365
+ * @version 241.1.0
7311
7366
  *//**
7312
7367
  * Constructs a new AnalyticsApi.
7313
7368
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7333,6 +7388,12 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
7333
7388
  * deleteAnalyticsBotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7334
7389
  */},{key:"deleteAnalyticsBotsAggregatesJob",value:function deleteAnalyticsBotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
7335
7390
  if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsBotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7391
+ * Delete/cancel an async request for case management aggregates
7392
+ *
7393
+ * @param {String} jobId jobId
7394
+ * deleteAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7395
+ */},{key:"deleteAnalyticsCasemanagementAggregatesJob",value:function deleteAnalyticsCasemanagementAggregatesJob(jobId){// verify the required parameter 'jobId' is set
7396
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7336
7397
  * Delete/cancel an async request for conversation aggregates
7337
7398
  *
7338
7399
  * @param {String} jobId jobId
@@ -7500,6 +7561,20 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
7500
7561
  * getAnalyticsBotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7501
7562
  */},{key:"getAnalyticsBotsAggregatesJobResults",value:function getAnalyticsBotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
7502
7563
  if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7564
+ * Get status for async query for case management aggregates
7565
+ *
7566
+ * @param {String} jobId jobId
7567
+ * getAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7568
+ */},{key:"getAnalyticsCasemanagementAggregatesJob",value:function getAnalyticsCasemanagementAggregatesJob(jobId){// verify the required parameter 'jobId' is set
7569
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7570
+ * Fetch a page of results for an async case management query
7571
+ *
7572
+ * @param {String} jobId jobId
7573
+ * @param {Object} opts Optional parameters
7574
+ * @param {String} opts.cursor Cursor token to retrieve next page
7575
+ * getAnalyticsCasemanagementAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7576
+ */},{key:"getAnalyticsCasemanagementAggregatesJobResults",value:function getAnalyticsCasemanagementAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
7577
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7503
7578
  * Get a conversation by id
7504
7579
  *
7505
7580
  * @param {String} conversationId conversationId
@@ -7831,6 +7906,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7831
7906
  * @param {Object} body query
7832
7907
  */},{key:"postAnalyticsBotsAggregatesQuery",value:function postAnalyticsBotsAggregatesQuery(body){// verify the required parameter 'body' is set
7833
7908
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7909
+ * Query for case management aggregates asynchronously
7910
+ *
7911
+ * @param {Object} body query
7912
+ * postAnalyticsCasemanagementAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7913
+ */},{key:"postAnalyticsCasemanagementAggregatesJobs",value:function postAnalyticsCasemanagementAggregatesJobs(body){// verify the required parameter 'body' is set
7914
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7915
+ * Query for case management aggregates
7916
+ *
7917
+ * @param {Object} body query
7918
+ * postAnalyticsCasemanagementAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7919
+ */},{key:"postAnalyticsCasemanagementAggregatesQuery",value:function postAnalyticsCasemanagementAggregatesQuery(body){// verify the required parameter 'body' is set
7920
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7834
7921
  * Index conversation properties
7835
7922
  *
7836
7923
  * @param {String} conversationId conversationId
@@ -8083,7 +8170,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8083
8170
  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(){/**
8084
8171
  * Architect service.
8085
8172
  * @module purecloud-platform-client-v2/api/ArchitectApi
8086
- * @version 239.0.0
8173
+ * @version 241.1.0
8087
8174
  *//**
8088
8175
  * Constructs a new ArchitectApi.
8089
8176
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9217,7 +9304,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9217
9304
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
9218
9305
  * Audit service.
9219
9306
  * @module purecloud-platform-client-v2/api/AuditApi
9220
- * @version 239.0.0
9307
+ * @version 241.1.0
9221
9308
  *//**
9222
9309
  * Constructs a new AuditApi.
9223
9310
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9267,7 +9354,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9267
9354
  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(){/**
9268
9355
  * Authorization service.
9269
9356
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9270
- * @version 239.0.0
9357
+ * @version 241.1.0
9271
9358
  *//**
9272
9359
  * Constructs a new AuthorizationApi.
9273
9360
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9286,7 +9373,6 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
9286
9373
  *
9287
9374
  * @param {String} targetName The domain:entity:action target to which the policy is applied
9288
9375
  * @param {String} subjectId The ID of the subject to which the policy is applied
9289
- * deleteAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9290
9376
  */},{key:"deleteAuthorizationPoliciesTargetSubjectSubjectId",value:function deleteAuthorizationPoliciesTargetSubjectSubjectId(targetName,subjectId){// verify the required parameter 'targetName' is set
9291
9377
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';}// verify the required parameter 'subjectId' is set
9292
9378
  if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}','DELETE',{'targetName':targetName,'subjectId':subjectId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9393,7 +9479,6 @@ if(permission===undefined||permission===null){throw'Missing the required paramet
9393
9479
  * @param {Object} opts Optional parameters
9394
9480
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9395
9481
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
9396
- * getAuthorizationPolicies is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9397
9482
  */},{key:"getAuthorizationPolicies",value:function getAuthorizationPolicies(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/policies','GET',{},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9398
9483
  * Get a page of access policies for a given subject
9399
9484
  *
@@ -9401,7 +9486,6 @@ if(permission===undefined||permission===null){throw'Missing the required paramet
9401
9486
  * @param {Object} opts Optional parameters
9402
9487
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9403
9488
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
9404
- * getAuthorizationPoliciesSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9405
9489
  */},{key:"getAuthorizationPoliciesSubjectSubjectId",value:function getAuthorizationPoliciesSubjectSubjectId(subjectId,opts){opts=opts||{};// verify the required parameter 'subjectId' is set
9406
9490
  if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';}return this.apiClient.callApi('/api/v2/authorization/policies/subject/{subjectId}','GET',{'subjectId':subjectId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9407
9491
  * Get a page of access policies for a given policy target
@@ -9410,31 +9494,26 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9410
9494
  * @param {Object} opts Optional parameters
9411
9495
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9412
9496
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
9413
- * getAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9414
9497
  */},{key:"getAuthorizationPoliciesTarget",value:function getAuthorizationPoliciesTarget(targetName,opts){opts=opts||{};// verify the required parameter 'targetName' is set
9415
9498
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}','GET',{'targetName':targetName},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9416
9499
  * Get an access control policy for a specified resource target and subject
9417
9500
  *
9418
9501
  * @param {String} targetName The domain:entity:action resource target to which the policy is applied
9419
9502
  * @param {String} subjectId The ID of the subject to which the policy is applied
9420
- * getAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9421
9503
  */},{key:"getAuthorizationPoliciesTargetSubjectSubjectId",value:function getAuthorizationPoliciesTargetSubjectSubjectId(targetName,subjectId){// verify the required parameter 'targetName' is set
9422
9504
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';}// verify the required parameter 'subjectId' is set
9423
9505
  if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}','GET',{'targetName':targetName,'subjectId':subjectId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9424
9506
  * Get a map of policy targets to valid attributes for those targets
9425
9507
  *
9426
- * getAuthorizationPoliciesTargets is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9427
9508
  */},{key:"getAuthorizationPoliciesTargets",value:function getAuthorizationPoliciesTargets(){return this.apiClient.callApi('/api/v2/authorization/policies/targets','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9428
9509
  * Get an access control policy with the specified policy ID
9429
9510
  *
9430
9511
  * @param {String} policyId The ID of the policy to retrieve
9431
- * getAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9432
9512
  */},{key:"getAuthorizationPolicy",value:function getAuthorizationPolicy(policyId){// verify the required parameter 'policyId' is set
9433
9513
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling getAuthorizationPolicy';}return this.apiClient.callApi('/api/v2/authorization/policies/{policyId}','GET',{'policyId':policyId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9434
9514
  * Get the list of attributes used to evaluate an access control policy with the specified policy ID
9435
9515
  *
9436
9516
  * @param {String} policyId The ID of the policy to retrieve attributes
9437
- * getAuthorizationPolicyAttributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9438
9517
  */},{key:"getAuthorizationPolicyAttributes",value:function getAuthorizationPolicyAttributes(policyId){// verify the required parameter 'policyId' is set
9439
9518
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';}return this.apiClient.callApi('/api/v2/authorization/policies/{policyId}/attributes','GET',{'policyId':policyId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9440
9519
  * Get the list of enabled products
@@ -9555,7 +9634,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9555
9634
  *
9556
9635
  * @param {String} targetName The domain:entity:action target to which the policy will be applied
9557
9636
  * @param {Object} body Access control policy
9558
- * postAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9559
9637
  */},{key:"postAuthorizationPoliciesTarget",value:function postAuthorizationPoliciesTarget(targetName,body){// verify the required parameter 'targetName' is set
9560
9638
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';}// verify the required parameter 'body' is set
9561
9639
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}','POST',{'targetName':targetName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9563,7 +9641,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9563
9641
  *
9564
9642
  * @param {String} targetName The domain:entity:action target to which the policy will be applied
9565
9643
  * @param {Object} body Access control policy
9566
- * postAuthorizationPoliciesTargetValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9567
9644
  */},{key:"postAuthorizationPoliciesTargetValidate",value:function postAuthorizationPoliciesTargetValidate(targetName,body){// verify the required parameter 'targetName' is set
9568
9645
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';}// verify the required parameter 'body' is set
9569
9646
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}/validate','POST',{'targetName':targetName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9571,7 +9648,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9571
9648
  *
9572
9649
  * @param {String} policyId The ID of the policy to test the simulated data against
9573
9650
  * @param {Object} body A map of attribute names to type and simulated data value
9574
- * postAuthorizationPolicySimulate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9575
9651
  */},{key:"postAuthorizationPolicySimulate",value:function postAuthorizationPolicySimulate(policyId,body){// verify the required parameter 'policyId' is set
9576
9652
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';}// verify the required parameter 'body' is set
9577
9653
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';}return this.apiClient.callApi('/api/v2/authorization/policies/{policyId}/simulate','POST',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9650,7 +9726,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9650
9726
  *
9651
9727
  * @param {String} targetName The domain:entity:action target to which the policy will be applied
9652
9728
  * @param {Object} body Access control policy
9653
- * putAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9654
9729
  */},{key:"putAuthorizationPoliciesTarget",value:function putAuthorizationPoliciesTarget(targetName,body){// verify the required parameter 'targetName' is set
9655
9730
  if(targetName===undefined||targetName===null||targetName===''){throw'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';}// verify the required parameter 'body' is set
9656
9731
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';}return this.apiClient.callApi('/api/v2/authorization/policies/targets/{targetName}','PUT',{'targetName':targetName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9658,7 +9733,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9658
9733
  *
9659
9734
  * @param {String} policyId The ID of the policy to update
9660
9735
  * @param {Object} body Access control policy
9661
- * putAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9662
9736
  */},{key:"putAuthorizationPolicy",value:function putAuthorizationPolicy(policyId,body){// verify the required parameter 'policyId' is set
9663
9737
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling putAuthorizationPolicy';}// verify the required parameter 'body' is set
9664
9738
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationPolicy';}return this.apiClient.callApi('/api/v2/authorization/policies/{policyId}','PUT',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -9702,7 +9776,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9702
9776
  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(){/**
9703
9777
  * Billing service.
9704
9778
  * @module purecloud-platform-client-v2/api/BillingApi
9705
- * @version 239.0.0
9779
+ * @version 241.1.0
9706
9780
  *//**
9707
9781
  * Constructs a new BillingApi.
9708
9782
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9779,7 +9853,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9779
9853
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
9780
9854
  * BusinessRules service.
9781
9855
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9782
- * @version 239.0.0
9856
+ * @version 241.1.0
9783
9857
  *//**
9784
9858
  * Constructs a new BusinessRulesApi.
9785
9859
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -10000,7 +10074,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
10000
10074
  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(){/**
10001
10075
  * CarrierServices service.
10002
10076
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10003
- * @version 239.0.0
10077
+ * @version 241.1.0
10004
10078
  *//**
10005
10079
  * Constructs a new CarrierServicesApi.
10006
10080
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -10020,7 +10094,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
10020
10094
  */},{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(){/**
10021
10095
  * Chat service.
10022
10096
  * @module purecloud-platform-client-v2/api/ChatApi
10023
- * @version 239.0.0
10097
+ * @version 241.1.0
10024
10098
  *//**
10025
10099
  * Constructs a new ChatApi.
10026
10100
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10251,7 +10325,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10251
10325
  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(){/**
10252
10326
  * Coaching service.
10253
10327
  * @module purecloud-platform-client-v2/api/CoachingApi
10254
- * @version 239.0.0
10328
+ * @version 241.1.0
10255
10329
  *//**
10256
10330
  * Constructs a new CoachingApi.
10257
10331
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10414,7 +10488,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10414
10488
  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(){/**
10415
10489
  * ContentManagement service.
10416
10490
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10417
- * @version 239.0.0
10491
+ * @version 241.1.0
10418
10492
  *//**
10419
10493
  * Constructs a new ContentManagementApi.
10420
10494
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10696,7 +10770,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
10696
10770
  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(){/**
10697
10771
  * Conversations service.
10698
10772
  * @module purecloud-platform-client-v2/api/ConversationsApi
10699
- * @version 239.0.0
10773
+ * @version 241.1.0
10700
10774
  *//**
10701
10775
  * Constructs a new ConversationsApi.
10702
10776
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10843,6 +10917,33 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
10843
10917
  * @param {String} conversationId conversation ID
10844
10918
  */},{key:"getConversation",value:function getConversation(conversationId){// verify the required parameter 'conversationId' is set
10845
10919
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10920
+ * Get checklist info for a single checklist.
10921
+ *
10922
+ * @param {String} conversationId Conversation ID
10923
+ * @param {String} communicationId Communication ID
10924
+ * @param {String} agentChecklistId Agent Checklist ID
10925
+ */},{key:"getConversationCommunicationAgentchecklist",value:function getConversationCommunicationAgentchecklist(conversationId,communicationId,agentChecklistId){// verify the required parameter 'conversationId' is set
10926
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklist';}// verify the required parameter 'communicationId' is set
10927
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklist';}// verify the required parameter 'agentChecklistId' is set
10928
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklist';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}','GET',{'conversationId':conversationId,'communicationId':communicationId,'agentChecklistId':agentChecklistId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10929
+ * Get inference job status
10930
+ *
10931
+ * @param {String} conversationId Conversation ID
10932
+ * @param {String} communicationId Communication ID
10933
+ * @param {String} agentChecklistId Agent Checklist ID
10934
+ * @param {String} jobId Inference Job ID
10935
+ */},{key:"getConversationCommunicationAgentchecklistJob",value:function getConversationCommunicationAgentchecklistJob(conversationId,communicationId,agentChecklistId,jobId){// verify the required parameter 'conversationId' is set
10936
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklistJob';}// verify the required parameter 'communicationId' is set
10937
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklistJob';}// verify the required parameter 'agentChecklistId' is set
10938
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklistJob';}// verify the required parameter 'jobId' is set
10939
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getConversationCommunicationAgentchecklistJob';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs/{jobId}','GET',{'conversationId':conversationId,'communicationId':communicationId,'agentChecklistId':agentChecklistId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10940
+ * Get information of all checklists associated with a conversation.
10941
+ *
10942
+ * @param {String} conversationId Conversation ID
10943
+ * @param {String} communicationId Communication ID
10944
+ */},{key:"getConversationCommunicationAgentchecklists",value:function getConversationCommunicationAgentchecklists(conversationId,communicationId){// verify the required parameter 'conversationId' is set
10945
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklists';}// verify the required parameter 'communicationId' is set
10946
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklists';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists','GET',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10846
10947
  * Get message
10847
10948
  *
10848
10949
  * @param {String} conversationId conversationId
@@ -11961,6 +12062,48 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
11961
12062
  * @param {String} conversationId Conversation ID
11962
12063
  */},{key:"postConversationCobrowse",value:function postConversationCobrowse(conversationId){// verify the required parameter 'conversationId' is set
11963
12064
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCobrowse';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/cobrowse','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12065
+ * Agent Checklist activation API
12066
+ *
12067
+ * @param {String} conversationId Conversation ID
12068
+ * @param {String} communicationId Communication ID
12069
+ * @param {String} agentChecklistId Agent Checklist ID
12070
+ * @param {Object} body Agent checklist activation payload
12071
+ */},{key:"postConversationCommunicationAgentchecklist",value:function postConversationCommunicationAgentchecklist(conversationId,communicationId,agentChecklistId,body){// verify the required parameter 'conversationId' is set
12072
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklist';}// verify the required parameter 'communicationId' is set
12073
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklist';}// verify the required parameter 'agentChecklistId' is set
12074
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklist';}// verify the required parameter 'body' is set
12075
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklist';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}','POST',{'conversationId':conversationId,'communicationId':communicationId,'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12076
+ * API invoked to capture an agent action.
12077
+ *
12078
+ * @param {String} conversationId Conversation ID
12079
+ * @param {String} communicationId Communication ID
12080
+ * @param {String} agentChecklistId Agent Checklist ID
12081
+ * @param {Object} body Agent action payload
12082
+ */},{key:"postConversationCommunicationAgentchecklistAgentaction",value:function postConversationCommunicationAgentchecklistAgentaction(conversationId,communicationId,agentChecklistId,body){// verify the required parameter 'conversationId' is set
12083
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistAgentaction';}// verify the required parameter 'communicationId' is set
12084
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistAgentaction';}// verify the required parameter 'agentChecklistId' is set
12085
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistAgentaction';}// verify the required parameter 'body' is set
12086
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistAgentaction';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/agentaction','POST',{'conversationId':conversationId,'communicationId':communicationId,'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12087
+ * Create inference job
12088
+ *
12089
+ * @param {String} conversationId Conversation ID
12090
+ * @param {String} communicationId Communication ID
12091
+ * @param {String} agentChecklistId Agent Checklist ID
12092
+ * @param {Object} body Agent checklist inference job payload
12093
+ */},{key:"postConversationCommunicationAgentchecklistJobs",value:function postConversationCommunicationAgentchecklistJobs(conversationId,communicationId,agentChecklistId,body){// verify the required parameter 'conversationId' is set
12094
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistJobs';}// verify the required parameter 'communicationId' is set
12095
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistJobs';}// verify the required parameter 'agentChecklistId' is set
12096
+ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId===''){throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistJobs';}// verify the required parameter 'body' is set
12097
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistJobs';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs','POST',{'conversationId':conversationId,'communicationId':communicationId,'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12098
+ * API invoked to finalize agent checklist evaluation.
12099
+ *
12100
+ * @param {String} conversationId Conversation ID
12101
+ * @param {String} communicationId Communication ID
12102
+ * @param {Object} body Agent checklist finalize payload
12103
+ */},{key:"postConversationCommunicationAgentchecklistsFinalize",value:function postConversationCommunicationAgentchecklistsFinalize(conversationId,communicationId,body){// verify the required parameter 'conversationId' is set
12104
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistsFinalize';}// verify the required parameter 'communicationId' is set
12105
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistsFinalize';}// verify the required parameter 'body' is set
12106
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistsFinalize';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/finalize','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11964
12107
  * Send internal message
11965
12108
  * Send a new internal message for an existing communication.
11966
12109
  * @param {String} conversationId conversationId
@@ -12002,11 +12145,12 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
12002
12145
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'participantId' is set
12003
12146
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'body' is set
12004
12147
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantInternalmessagesUsersCommunications';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/internalmessages/users/communications','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12005
- * Replace this participant with the specified user and/or address
12006
- *
12148
+ * Replace this participant (Deprecated)
12149
+ * This endpoint is deprecated. Use one of the following endpoints instead: /transfer, /replace/agent, /replace/queue, or /replace/contact/external.
12007
12150
  * @param {String} conversationId conversation ID
12008
12151
  * @param {String} participantId participant ID
12009
12152
  * @param {Object} body Transfer request
12153
+ * @deprecated
12010
12154
  */},{key:"postConversationParticipantReplace",value:function postConversationParticipantReplace(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12011
12155
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplace';}// verify the required parameter 'participantId' is set
12012
12156
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplace';}// verify the required parameter 'body' is set
@@ -12025,16 +12169,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12025
12169
  * @param {String} conversationId conversation ID
12026
12170
  * @param {String} participantId participant ID
12027
12171
  * @param {Object} body Transfer request
12028
- * postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12029
12172
  */},{key:"postConversationParticipantReplaceContactExternal",value:function postConversationParticipantReplaceContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12030
12173
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'participantId' is set
12031
12174
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'body' is set
12032
12175
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12033
- * Replace this participant with the an external contact
12034
- *
12176
+ * Replace this participant with the an external contact (Deprecated)
12177
+ * This endpoint is deprecated. Use /replace/contact/external endpoint instead.
12035
12178
  * @param {String} conversationId conversation ID
12036
12179
  * @param {String} participantId participant ID
12037
12180
  * @param {Object} body Transfer request
12181
+ * @deprecated
12038
12182
  */},{key:"postConversationParticipantReplaceExternal",value:function postConversationParticipantReplaceExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12039
12183
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'participantId' is set
12040
12184
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'body' is set
@@ -12062,7 +12206,6 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
12062
12206
  * @param {String} conversationId conversation ID
12063
12207
  * @param {String} participantId participant ID
12064
12208
  * @param {Object} body Transfer request
12065
- * postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12066
12209
  */},{key:"postConversationParticipantTransfer",value:function postConversationParticipantTransfer(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12067
12210
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';}// verify the required parameter 'participantId' is set
12068
12211
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';}// verify the required parameter 'body' is set
@@ -12125,11 +12268,12 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
12125
12268
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
12126
12269
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
12127
12270
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup','POST',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
12128
- * Initiate and update consult transfer
12129
- *
12271
+ * Initiate and update consult transfer (Deprecated)
12272
+ * This endpoint is deprecated. Use one of the following endpoints instead: /voice/consult, /consult/agent, /consult/queue, or /consult/contact/external.
12130
12273
  * @param {String} conversationId conversationId
12131
12274
  * @param {String} participantId participantId
12132
12275
  * @param {Object} body Destination address and initial speak to
12276
+ * @deprecated
12133
12277
  */},{key:"postConversationsCallParticipantConsult",value:function postConversationsCallParticipantConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12134
12278
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsult';}// verify the required parameter 'participantId' is set
12135
12279
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsult';}// verify the required parameter 'body' is set
@@ -12148,16 +12292,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12148
12292
  * @param {String} conversationId conversationId
12149
12293
  * @param {String} participantId participantId
12150
12294
  * @param {Object} body Destination address and initial speak to
12151
- * postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12152
12295
  */},{key:"postConversationsCallParticipantConsultContactExternal",value:function postConversationsCallParticipantConsultContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12153
12296
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'participantId' is set
12154
12297
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'body' is set
12155
12298
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12156
- * Initiate a consult transfer to an external contact
12157
- *
12299
+ * Initiate a consult transfer to an external contact (Deprecated)
12300
+ * This endpoint is deprecated. Use /consult/contact/external endpoints instead.
12158
12301
  * @param {String} conversationId conversationId
12159
12302
  * @param {String} participantId participantId
12160
12303
  * @param {Object} body Destination address and initial speak to
12304
+ * @deprecated
12161
12305
  */},{key:"postConversationsCallParticipantConsultExternal",value:function postConversationsCallParticipantConsultExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12162
12306
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'participantId' is set
12163
12307
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'body' is set
@@ -12192,7 +12336,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12192
12336
  * @param {String} conversationId conversationId
12193
12337
  * @param {String} participantId participantId
12194
12338
  * @param {Object} body Destination address and initial speak to
12195
- * postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12196
12339
  */},{key:"postConversationsCallParticipantVoiceConsult",value:function postConversationsCallParticipantVoiceConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
12197
12340
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'participantId' is set
12198
12341
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'body' is set
@@ -12797,7 +12940,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12797
12940
  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(){/**
12798
12941
  * DataExtensions service.
12799
12942
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12800
- * @version 239.0.0
12943
+ * @version 241.1.0
12801
12944
  *//**
12802
12945
  * Constructs a new DataExtensionsApi.
12803
12946
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12818,7 +12961,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12818
12961
  */},{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(){/**
12819
12962
  * DataPrivacy service.
12820
12963
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12821
- * @version 239.0.0
12964
+ * @version 241.1.0
12822
12965
  *//**
12823
12966
  * Constructs a new DataPrivacyApi.
12824
12967
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12858,7 +13001,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12858
13001
  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(){/**
12859
13002
  * Downloads service.
12860
13003
  * @module purecloud-platform-client-v2/api/DownloadsApi
12861
- * @version 239.0.0
13004
+ * @version 241.1.0
12862
13005
  *//**
12863
13006
  * Constructs a new DownloadsApi.
12864
13007
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12877,7 +13020,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12877
13020
  if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
12878
13021
  * Emails service.
12879
13022
  * @module purecloud-platform-client-v2/api/EmailsApi
12880
- * @version 239.0.0
13023
+ * @version 241.1.0
12881
13024
  *//**
12882
13025
  * Constructs a new EmailsApi.
12883
13026
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12906,7 +13049,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12906
13049
  */},{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(){/**
12907
13050
  * EmployeeEngagement service.
12908
13051
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12909
- * @version 239.0.0
13052
+ * @version 241.1.0
12910
13053
  *//**
12911
13054
  * Constructs a new EmployeeEngagementApi.
12912
13055
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12954,7 +13097,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12954
13097
  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(){/**
12955
13098
  * Events service.
12956
13099
  * @module purecloud-platform-client-v2/api/EventsApi
12957
- * @version 239.0.0
13100
+ * @version 241.1.0
12958
13101
  *//**
12959
13102
  * Constructs a new EventsApi.
12960
13103
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12979,7 +13122,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12979
13122
  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(){/**
12980
13123
  * ExternalContacts service.
12981
13124
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12982
- * @version 239.0.0
13125
+ * @version 241.1.0
12983
13126
  *//**
12984
13127
  * Constructs a new ExternalContactsApi.
12985
13128
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13729,7 +13872,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13729
13872
  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(){/**
13730
13873
  * Fax service.
13731
13874
  * @module purecloud-platform-client-v2/api/FaxApi
13732
- * @version 239.0.0
13875
+ * @version 241.1.0
13733
13876
  *//**
13734
13877
  * Constructs a new FaxApi.
13735
13878
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13778,7 +13921,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13778
13921
  */},{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(){/**
13779
13922
  * Flows service.
13780
13923
  * @module purecloud-platform-client-v2/api/FlowsApi
13781
- * @version 239.0.0
13924
+ * @version 241.1.0
13782
13925
  *//**
13783
13926
  * Constructs a new FlowsApi.
13784
13927
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13832,7 +13975,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13832
13975
  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(){/**
13833
13976
  * Gamification service.
13834
13977
  * @module purecloud-platform-client-v2/api/GamificationApi
13835
- * @version 239.0.0
13978
+ * @version 241.1.0
13836
13979
  *//**
13837
13980
  * Constructs a new GamificationApi.
13838
13981
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -14503,7 +14646,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14503
14646
  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(){/**
14504
14647
  * GeneralDataProtectionRegulation service.
14505
14648
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14506
- * @version 239.0.0
14649
+ * @version 241.1.0
14507
14650
  *//**
14508
14651
  * Constructs a new GeneralDataProtectionRegulationApi.
14509
14652
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14538,7 +14681,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14538
14681
  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(){/**
14539
14682
  * Geolocation service.
14540
14683
  * @module purecloud-platform-client-v2/api/GeolocationApi
14541
- * @version 239.0.0
14684
+ * @version 241.1.0
14542
14685
  *//**
14543
14686
  * Constructs a new GeolocationApi.
14544
14687
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14572,7 +14715,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14572
14715
  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(){/**
14573
14716
  * Greetings service.
14574
14717
  * @module purecloud-platform-client-v2/api/GreetingsApi
14575
- * @version 239.0.0
14718
+ * @version 241.1.0
14576
14719
  *//**
14577
14720
  * Constructs a new GreetingsApi.
14578
14721
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14700,7 +14843,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14700
14843
  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(){/**
14701
14844
  * Groups service.
14702
14845
  * @module purecloud-platform-client-v2/api/GroupsApi
14703
- * @version 239.0.0
14846
+ * @version 241.1.0
14704
14847
  *//**
14705
14848
  * Constructs a new GroupsApi.
14706
14849
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14833,7 +14976,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14833
14976
  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(){/**
14834
14977
  * IdentityProvider service.
14835
14978
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14836
- * @version 239.0.0
14979
+ * @version 241.1.0
14837
14980
  *//**
14838
14981
  * Constructs a new IdentityProviderApi.
14839
14982
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14989,7 +15132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14989
15132
  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(){/**
14990
15133
  * InfrastructureAsCode service.
14991
15134
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14992
- * @version 239.0.0
15135
+ * @version 241.1.0
14993
15136
  *//**
14994
15137
  * Constructs a new InfrastructureAsCodeApi.
14995
15138
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -15043,7 +15186,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
15043
15186
  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(){/**
15044
15187
  * Integrations service.
15045
15188
  * @module purecloud-platform-client-v2/api/IntegrationsApi
15046
- * @version 239.0.0
15189
+ * @version 241.1.0
15047
15190
  *//**
15048
15191
  * Constructs a new IntegrationsApi.
15049
15192
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15733,7 +15876,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15733
15876
  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(){/**
15734
15877
  * Journey service.
15735
15878
  * @module purecloud-platform-client-v2/api/JourneyApi
15736
- * @version 239.0.0
15879
+ * @version 241.1.0
15737
15880
  *//**
15738
15881
  * Constructs a new JourneyApi.
15739
15882
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -15830,7 +15973,7 @@ if(actionMapId===undefined||actionMapId===null||actionMapId===''){throw'Missing
15830
15973
  * @param {String} opts.filterValue Value to filter by. Requires 'filterValue' to also be set.
15831
15974
  * @param {Array.<String>} opts.actionMapIds IDs of action maps to return. Use of this parameter is not compatible with pagination, filtering, sorting or querying. A maximum of 100 action maps are allowed per request.
15832
15975
  * @param {Array.<String>} opts.queryFields Action Map field(s) to query on. Requires 'queryValue' to also be set.
15833
- * @param {String} opts.queryValue Value to query on. Requires 'queryFields' to also be set.
15976
+ * @param {String} opts.queryValue Value to query on using fuzzy matching. Requires 'queryFields' to also be set.
15834
15977
  */},{key:"getJourneyActionmaps",value:function getJourneyActionmaps(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/actionmaps','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'filterField':opts['filterField'],'filterValue':opts['filterValue'],'actionMapIds':this.apiClient.buildCollectionParam(opts['actionMapIds'],'multi'),'queryFields':this.apiClient.buildCollectionParam(opts['queryFields'],'multi'),'queryValue':opts['queryValue']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15835
15978
  * Get status of job.
15836
15979
  *
@@ -15867,7 +16010,7 @@ if(actionTemplateId===undefined||actionTemplateId===null||actionTemplateId==='')
15867
16010
  * @param {Object} opts.mediaType Media type
15868
16011
  * @param {Object} opts.state Action template state.
15869
16012
  * @param {Array.<String>} opts.queryFields ActionTemplate field(s) to query on. Requires 'queryValue' to also be set.
15870
- * @param {String} opts.queryValue Value to query on. Requires 'queryFields' to also be set.
16013
+ * @param {String} opts.queryValue Value to query on using fuzzy matching. Requires 'queryFields' to also be set.
15871
16014
  */},{key:"getJourneyActiontemplates",value:function getJourneyActiontemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/actiontemplates','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'mediaType':opts['mediaType'],'state':opts['state'],'queryFields':this.apiClient.buildCollectionParam(opts['queryFields'],'multi'),'queryValue':opts['queryValue']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15872
16015
  * Send a ping.
15873
16016
  *
@@ -15895,7 +16038,7 @@ if(outcomeId===undefined||outcomeId===null||outcomeId===''){throw'Missing the re
15895
16038
  * @param {String} opts.sortBy Field(s) to sort by. The response can be sorted by any first level property on the Outcome response. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate).
15896
16039
  * @param {Array.<String>} opts.outcomeIds IDs of outcomes to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 20 outcomes are allowed per request.
15897
16040
  * @param {Array.<String>} opts.queryFields Outcome field(s) to query on. Requires 'queryValue' to also be set.
15898
- * @param {String} opts.queryValue Value to query on. Requires 'queryFields' to also be set.
16041
+ * @param {String} opts.queryValue Value to query on using fuzzy matching. Requires 'queryFields' to also be set.
15899
16042
  */},{key:"getJourneyOutcomes",value:function getJourneyOutcomes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/outcomes','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'outcomeIds':this.apiClient.buildCollectionParam(opts['outcomeIds'],'multi'),'queryFields':this.apiClient.buildCollectionParam(opts['queryFields'],'multi'),'queryValue':opts['queryValue']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15900
16043
  * Get job status.
15901
16044
  *
@@ -15931,7 +16074,7 @@ if(segmentId===undefined||segmentId===null||segmentId===''){throw'Missing the re
15931
16074
  * @param {Boolean} opts.isActive Determines whether or not to show only active segments.
15932
16075
  * @param {Array.<String>} opts.segmentIds IDs of segments to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 100 segments are allowed per request.
15933
16076
  * @param {Array.<String>} opts.queryFields Segment field(s) to query on. Requires 'queryValue' to also be set.
15934
- * @param {String} opts.queryValue Value to query on. Requires 'queryFields' to also be set.
16077
+ * @param {String} opts.queryValue Value to query on using fuzzy matching. Requires 'queryFields' to also be set.
15935
16078
  */},{key:"getJourneySegments",value:function getJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','GET',{},{'sortBy':opts['sortBy'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'isActive':opts['isActive'],'segmentIds':this.apiClient.buildCollectionParam(opts['segmentIds'],'multi'),'queryFields':this.apiClient.buildCollectionParam(opts['queryFields'],'multi'),'queryValue':opts['queryValue']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15936
16079
  * Retrieve a single session.
15937
16080
  *
@@ -16242,7 +16385,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16242
16385
  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(){/**
16243
16386
  * Knowledge service.
16244
16387
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16245
- * @version 239.0.0
16388
+ * @version 241.1.0
16246
16389
  *//**
16247
16390
  * Constructs a new KnowledgeApi.
16248
16391
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -17070,7 +17213,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
17070
17213
  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(){/**
17071
17214
  * LanguageUnderstanding service.
17072
17215
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17073
- * @version 239.0.0
17216
+ * @version 241.1.0
17074
17217
  *//**
17075
17218
  * Constructs a new LanguageUnderstandingApi.
17076
17219
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17379,7 +17522,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17379
17522
  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(){/**
17380
17523
  * Languages service.
17381
17524
  * @module purecloud-platform-client-v2/api/LanguagesApi
17382
- * @version 239.0.0
17525
+ * @version 241.1.0
17383
17526
  *//**
17384
17527
  * Constructs a new LanguagesApi.
17385
17528
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17434,7 +17577,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17434
17577
  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(){/**
17435
17578
  * Learning service.
17436
17579
  * @module purecloud-platform-client-v2/api/LearningApi
17437
- * @version 239.0.0
17580
+ * @version 241.1.0
17438
17581
  *//**
17439
17582
  * Constructs a new LearningApi.
17440
17583
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17723,7 +17866,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17723
17866
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
17724
17867
  * License service.
17725
17868
  * @module purecloud-platform-client-v2/api/LicenseApi
17726
- * @version 239.0.0
17869
+ * @version 241.1.0
17727
17870
  *//**
17728
17871
  * Constructs a new LicenseApi.
17729
17872
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17777,7 +17920,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17777
17920
  */},{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(){/**
17778
17921
  * Locations service.
17779
17922
  * @module purecloud-platform-client-v2/api/LocationsApi
17780
- * @version 239.0.0
17923
+ * @version 241.1.0
17781
17924
  *//**
17782
17925
  * Constructs a new LocationsApi.
17783
17926
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17836,7 +17979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17836
17979
  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(){/**
17837
17980
  * LogCapture service.
17838
17981
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17839
- * @version 239.0.0
17982
+ * @version 241.1.0
17840
17983
  *//**
17841
17984
  * Constructs a new LogCaptureApi.
17842
17985
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17885,7 +18028,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17885
18028
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
17886
18029
  * Messaging service.
17887
18030
  * @module purecloud-platform-client-v2/api/MessagingApi
17888
- * @version 239.0.0
18031
+ * @version 241.1.0
17889
18032
  *//**
17890
18033
  * Constructs a new MessagingApi.
17891
18034
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17975,7 +18118,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17975
18118
  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(){/**
17976
18119
  * MobileDevices service.
17977
18120
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17978
- * @version 239.0.0
18121
+ * @version 241.1.0
17979
18122
  *//**
17980
18123
  * Constructs a new MobileDevicesApi.
17981
18124
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -18014,7 +18157,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18014
18157
  if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
18015
18158
  * Notifications service.
18016
18159
  * @module purecloud-platform-client-v2/api/NotificationsApi
18017
- * @version 239.0.0
18160
+ * @version 241.1.0
18018
18161
  *//**
18019
18162
  * Constructs a new NotificationsApi.
18020
18163
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18071,7 +18214,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18071
18214
  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(){/**
18072
18215
  * OAuth service.
18073
18216
  * @module purecloud-platform-client-v2/api/OAuthApi
18074
- * @version 239.0.0
18217
+ * @version 241.1.0
18075
18218
  *//**
18076
18219
  * Constructs a new OAuthApi.
18077
18220
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18156,7 +18299,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18156
18299
  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(){/**
18157
18300
  * Objects service.
18158
18301
  * @module purecloud-platform-client-v2/api/ObjectsApi
18159
- * @version 239.0.0
18302
+ * @version 241.1.0
18160
18303
  *//**
18161
18304
  * Constructs a new ObjectsApi.
18162
18305
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18242,7 +18385,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18242
18385
  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(){/**
18243
18386
  * OperationalEvents service.
18244
18387
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18245
- * @version 239.0.0
18388
+ * @version 241.1.0
18246
18389
  *//**
18247
18390
  * Constructs a new OperationalEventsApi.
18248
18391
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18273,7 +18416,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18273
18416
  */},{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(){/**
18274
18417
  * Organization service.
18275
18418
  * @module purecloud-platform-client-v2/api/OrganizationApi
18276
- * @version 239.0.0
18419
+ * @version 241.1.0
18277
18420
  *//**
18278
18421
  * Constructs a new OrganizationApi.
18279
18422
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18378,7 +18521,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18378
18521
  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(){/**
18379
18522
  * OrganizationAuthorization service.
18380
18523
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18381
- * @version 239.0.0
18524
+ * @version 241.1.0
18382
18525
  *//**
18383
18526
  * Constructs a new OrganizationAuthorizationApi.
18384
18527
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18712,7 +18855,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18712
18855
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
18713
18856
  * Outbound service.
18714
18857
  * @module purecloud-platform-client-v2/api/OutboundApi
18715
- * @version 239.0.0
18858
+ * @version 241.1.0
18716
18859
  *//**
18717
18860
  * Constructs a new OutboundApi.
18718
18861
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19869,7 +20012,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19869
20012
  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(){/**
19870
20013
  * Presence service.
19871
20014
  * @module purecloud-platform-client-v2/api/PresenceApi
19872
- * @version 239.0.0
20015
+ * @version 241.1.0
19873
20016
  *//**
19874
20017
  * Constructs a new PresenceApi.
19875
20018
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -20042,7 +20185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20042
20185
  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(){/**
20043
20186
  * ProcessAutomation service.
20044
20187
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20045
- * @version 239.0.0
20188
+ * @version 241.1.0
20046
20189
  *//**
20047
20190
  * Constructs a new ProcessAutomationApi.
20048
20191
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20105,7 +20248,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20105
20248
  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(){/**
20106
20249
  * Quality service.
20107
20250
  * @module purecloud-platform-client-v2/api/QualityApi
20108
- * @version 239.0.0
20251
+ * @version 241.1.0
20109
20252
  *//**
20110
20253
  * Constructs a new QualityApi.
20111
20254
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20595,7 +20738,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20595
20738
  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(){/**
20596
20739
  * Recording service.
20597
20740
  * @module purecloud-platform-client-v2/api/RecordingApi
20598
- * @version 239.0.0
20741
+ * @version 241.1.0
20599
20742
  *//**
20600
20743
  * Constructs a new RecordingApi.
20601
20744
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20994,7 +21137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20994
21137
  */},{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(){/**
20995
21138
  * ResponseManagement service.
20996
21139
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20997
- * @version 239.0.0
21140
+ * @version 241.1.0
20998
21141
  *//**
20999
21142
  * Constructs a new ResponseManagementApi.
21000
21143
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21115,7 +21258,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21115
21258
  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(){/**
21116
21259
  * Routing service.
21117
21260
  * @module purecloud-platform-client-v2/api/RoutingApi
21118
- * @version 239.0.0
21261
+ * @version 241.1.0
21119
21262
  *//**
21120
21263
  * Constructs a new RoutingApi.
21121
21264
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -21158,6 +21301,12 @@ if(languageId===undefined||languageId===null||languageId===''){throw'Missing the
21158
21301
  * @param {String} predictorId Predictor ID
21159
21302
  */},{key:"deleteRoutingPredictor",value:function deleteRoutingPredictor(predictorId){// verify the required parameter 'predictorId' is set
21160
21303
  if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing the required parameter "predictorId" when calling deleteRoutingPredictor';}return this.apiClient.callApi('/api/v2/routing/predictors/{predictorId}','DELETE',{'predictorId':predictorId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21304
+ * Delete a custom Key Performance Indicator.
21305
+ *
21306
+ * @param {String} kpiId Key Performance Indicator ID
21307
+ * deleteRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21308
+ */},{key:"deleteRoutingPredictorsKeyperformanceindicator",value:function deleteRoutingPredictorsKeyperformanceindicator(kpiId){// verify the required parameter 'kpiId' is set
21309
+ if(kpiId===undefined||kpiId===null||kpiId===''){throw'Missing the required parameter "kpiId" when calling deleteRoutingPredictorsKeyperformanceindicator';}return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicators/{kpiId}','DELETE',{'kpiId':kpiId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21161
21310
  * Delete a queue
21162
21311
  *
21163
21312
  * @param {String} queueId Queue ID
@@ -21422,12 +21571,24 @@ if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing
21422
21571
  * @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
21423
21572
  * @param {Object} opts.state The state used to filter predictors.
21424
21573
  */},{key:"getRoutingPredictors",value:function getRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'queueId':this.apiClient.buildCollectionParam(opts['queueId'],'multi'),'kpiId':opts['kpiId'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21574
+ * Retrieve a single Key Performance Indicator.
21575
+ *
21576
+ * @param {String} kpiId Key Performance Indicator ID
21577
+ * @param {Object} opts Optional parameters
21578
+ * @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
21579
+ * getRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21580
+ */},{key:"getRoutingPredictorsKeyperformanceindicator",value:function getRoutingPredictorsKeyperformanceindicator(kpiId,opts){opts=opts||{};// verify the required parameter 'kpiId' is set
21581
+ if(kpiId===undefined||kpiId===null||kpiId===''){throw'Missing the required parameter "kpiId" when calling getRoutingPredictorsKeyperformanceindicator';}return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicators/{kpiId}','GET',{'kpiId':kpiId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21425
21582
  * Get a list of Key Performance Indicators
21426
21583
  *
21427
21584
  * @param {Object} opts Optional parameters
21428
21585
  * @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
21429
21586
  * @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
21430
21587
  */},{key:"getRoutingPredictorsKeyperformanceindicators",value:function getRoutingPredictorsKeyperformanceindicators(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicators','GET',{},{'kpiGroup':opts['kpiGroup'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21588
+ * Get a list of Key Performance Indicators Types available.
21589
+ *
21590
+ * getRoutingPredictorsKeyperformanceindicatortypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21591
+ */},{key:"getRoutingPredictorsKeyperformanceindicatortypes",value:function getRoutingPredictorsKeyperformanceindicatortypes(){return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicatortypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21431
21592
  * Get details about this queue.
21432
21593
  *
21433
21594
  * @param {String} queueId Queue ID
@@ -21812,6 +21973,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21812
21973
  * @param {Object} opts.body
21813
21974
  */},{key:"patchRoutingPredictor",value:function patchRoutingPredictor(predictorId,opts){opts=opts||{};// verify the required parameter 'predictorId' is set
21814
21975
  if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing the required parameter "predictorId" when calling patchRoutingPredictor';}return this.apiClient.callApi('/api/v2/routing/predictors/{predictorId}','PATCH',{'predictorId':predictorId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21976
+ * Update a custom Key Performance Indicator.
21977
+ *
21978
+ * @param {String} kpiId Key Performance Indicator ID
21979
+ * @param {Object} opts Optional parameters
21980
+ * @param {Object} opts.body
21981
+ * patchRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21982
+ */},{key:"patchRoutingPredictorsKeyperformanceindicator",value:function patchRoutingPredictorsKeyperformanceindicator(kpiId,opts){opts=opts||{};// verify the required parameter 'kpiId' is set
21983
+ if(kpiId===undefined||kpiId===null||kpiId===''){throw'Missing the required parameter "kpiId" when calling patchRoutingPredictorsKeyperformanceindicator';}return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicators/{kpiId}','PATCH',{'kpiId':kpiId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
21815
21984
  * Update the ring number OR joined status for a queue member.
21816
21985
  *
21817
21986
  * @param {String} queueId Queue ID
@@ -21990,6 +22159,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21990
22159
  * @param {Object} opts Optional parameters
21991
22160
  * @param {Object} opts.body
21992
22161
  */},{key:"postRoutingPredictors",value:function postRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
22162
+ * Create a custom Key Performance Indicator.
22163
+ *
22164
+ * @param {Object} body request
22165
+ * postRoutingPredictorsKeyperformanceindicators is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22166
+ */},{key:"postRoutingPredictorsKeyperformanceindicators",value:function postRoutingPredictorsKeyperformanceindicators(body){// verify the required parameter 'body' is set
22167
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingPredictorsKeyperformanceindicators';}return this.apiClient.callApi('/api/v2/routing/predictors/keyperformanceindicators','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21993
22168
  * Bulk add or delete up to 100 queue members
21994
22169
  *
21995
22170
  * @param {String} queueId Queue ID
@@ -22206,7 +22381,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22206
22381
  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(){/**
22207
22382
  * SCIM service.
22208
22383
  * @module purecloud-platform-client-v2/api/SCIMApi
22209
- * @version 239.0.0
22384
+ * @version 241.1.0
22210
22385
  *//**
22211
22386
  * Constructs a new SCIMApi.
22212
22387
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22431,7 +22606,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22431
22606
  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(){/**
22432
22607
  * ScreenRecording service.
22433
22608
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22434
- * @version 239.0.0
22609
+ * @version 241.1.0
22435
22610
  *//**
22436
22611
  * Constructs a new ScreenRecordingApi.
22437
22612
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22446,7 +22621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22446
22621
  */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(){/**
22447
22622
  * Scripts service.
22448
22623
  * @module purecloud-platform-client-v2/api/ScriptsApi
22449
- * @version 239.0.0
22624
+ * @version 241.1.0
22450
22625
  *//**
22451
22626
  * Constructs a new ScriptsApi.
22452
22627
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22592,7 +22767,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22592
22767
  */},{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(){/**
22593
22768
  * Search service.
22594
22769
  * @module purecloud-platform-client-v2/api/SearchApi
22595
- * @version 239.0.0
22770
+ * @version 241.1.0
22596
22771
  *//**
22597
22772
  * Constructs a new SearchApi.
22598
22773
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22751,7 +22926,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22751
22926
  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(){/**
22752
22927
  * Settings service.
22753
22928
  * @module purecloud-platform-client-v2/api/SettingsApi
22754
- * @version 239.0.0
22929
+ * @version 241.1.0
22755
22930
  *//**
22756
22931
  * Constructs a new SettingsApi.
22757
22932
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22823,7 +22998,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22823
22998
  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(){/**
22824
22999
  * SocialMedia service.
22825
23000
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22826
- * @version 239.0.0
23001
+ * @version 241.1.0
22827
23002
  *//**
22828
23003
  * Constructs a new SocialMediaApi.
22829
23004
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23071,7 +23246,8 @@ if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIng
23071
23246
  * @param {Number} opts.pageSize Page size (default to 25)
23072
23247
  * @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
23073
23248
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
23074
- */},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23249
+ * @param {String} opts.name Search for topic by name that contains the given search string, search is case insensitive
23250
+ */},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23075
23251
  * Update a social topic.
23076
23252
  *
23077
23253
  * @param {String} topicId topicId
@@ -23238,7 +23414,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23238
23414
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
23239
23415
  * SpeechTextAnalytics service.
23240
23416
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23241
- * @version 239.0.0
23417
+ * @version 241.1.0
23242
23418
  *//**
23243
23419
  * Constructs a new SpeechTextAnalyticsApi.
23244
23420
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23608,7 +23784,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23608
23784
  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(){/**
23609
23785
  * Stations service.
23610
23786
  * @module purecloud-platform-client-v2/api/StationsApi
23611
- * @version 239.0.0
23787
+ * @version 241.1.0
23612
23788
  *//**
23613
23789
  * Constructs a new StationsApi.
23614
23790
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23640,7 +23816,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23640
23816
  */},{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(){/**
23641
23817
  * Suggest service.
23642
23818
  * @module purecloud-platform-client-v2/api/SuggestApi
23643
- * @version 239.0.0
23819
+ * @version 241.1.0
23644
23820
  *//**
23645
23821
  * Constructs a new SuggestApi.
23646
23822
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23680,7 +23856,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23680
23856
  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(){/**
23681
23857
  * TaskManagement service.
23682
23858
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23683
- * @version 239.0.0
23859
+ * @version 241.1.0
23684
23860
  *//**
23685
23861
  * Constructs a new TaskManagementApi.
23686
23862
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24188,7 +24364,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24188
24364
  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(){/**
24189
24365
  * Teams service.
24190
24366
  * @module purecloud-platform-client-v2/api/TeamsApi
24191
- * @version 239.0.0
24367
+ * @version 241.1.0
24192
24368
  *//**
24193
24369
  * Constructs a new TeamsApi.
24194
24370
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24268,7 +24444,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24268
24444
  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(){/**
24269
24445
  * Telephony service.
24270
24446
  * @module purecloud-platform-client-v2/api/TelephonyApi
24271
- * @version 239.0.0
24447
+ * @version 241.1.0
24272
24448
  *//**
24273
24449
  * Constructs a new TelephonyApi.
24274
24450
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24339,7 +24515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24339
24515
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24340
24516
  * TelephonyProvidersEdge service.
24341
24517
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24342
- * @version 239.0.0
24518
+ * @version 241.1.0
24343
24519
  *//**
24344
24520
  * Constructs a new TelephonyProvidersEdgeApi.
24345
24521
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25187,7 +25363,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25187
25363
  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(){/**
25188
25364
  * Textbots service.
25189
25365
  * @module purecloud-platform-client-v2/api/TextbotsApi
25190
- * @version 239.0.0
25366
+ * @version 241.1.0
25191
25367
  *//**
25192
25368
  * Constructs a new TextbotsApi.
25193
25369
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25223,7 +25399,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25223
25399
  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(){/**
25224
25400
  * Tokens service.
25225
25401
  * @module purecloud-platform-client-v2/api/TokensApi
25226
- * @version 239.0.0
25402
+ * @version 241.1.0
25227
25403
  *//**
25228
25404
  * Constructs a new TokensApi.
25229
25405
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25257,7 +25433,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25257
25433
  */},{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(){/**
25258
25434
  * Uploads service.
25259
25435
  * @module purecloud-platform-client-v2/api/UploadsApi
25260
- * @version 239.0.0
25436
+ * @version 241.1.0
25261
25437
  *//**
25262
25438
  * Constructs a new UploadsApi.
25263
25439
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25325,7 +25501,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25325
25501
  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(){/**
25326
25502
  * Usage service.
25327
25503
  * @module purecloud-platform-client-v2/api/UsageApi
25328
- * @version 239.0.0
25504
+ * @version 241.1.0
25329
25505
  *//**
25330
25506
  * Constructs a new UsageApi.
25331
25507
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25409,7 +25585,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25409
25585
  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(){/**
25410
25586
  * UserRecordings service.
25411
25587
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25412
- * @version 239.0.0
25588
+ * @version 241.1.0
25413
25589
  *//**
25414
25590
  * Constructs a new UserRecordingsApi.
25415
25591
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25457,7 +25633,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25457
25633
  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(){/**
25458
25634
  * Users service.
25459
25635
  * @module purecloud-platform-client-v2/api/UsersApi
25460
- * @version 239.0.0
25636
+ * @version 241.1.0
25461
25637
  *//**
25462
25638
  * Constructs a new UsersApi.
25463
25639
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26201,7 +26377,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26201
26377
  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 UsersRulesApi=/*#__PURE__*/function(){/**
26202
26378
  * UsersRules service.
26203
26379
  * @module purecloud-platform-client-v2/api/UsersRulesApi
26204
- * @version 239.0.0
26380
+ * @version 241.1.0
26205
26381
  *//**
26206
26382
  * Constructs a new UsersRulesApi.
26207
26383
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -26284,7 +26460,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26284
26460
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
26285
26461
  * Utilities service.
26286
26462
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26287
- * @version 239.0.0
26463
+ * @version 241.1.0
26288
26464
  *//**
26289
26465
  * Constructs a new UtilitiesApi.
26290
26466
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26311,7 +26487,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26311
26487
  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(){/**
26312
26488
  * Voicemail service.
26313
26489
  * @module purecloud-platform-client-v2/api/VoicemailApi
26314
- * @version 239.0.0
26490
+ * @version 241.1.0
26315
26491
  *//**
26316
26492
  * Constructs a new VoicemailApi.
26317
26493
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26473,7 +26649,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26473
26649
  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(){/**
26474
26650
  * WebChat service.
26475
26651
  * @module purecloud-platform-client-v2/api/WebChatApi
26476
- * @version 239.0.0
26652
+ * @version 241.1.0
26477
26653
  *//**
26478
26654
  * Constructs a new WebChatApi.
26479
26655
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26620,7 +26796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26620
26796
  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(){/**
26621
26797
  * WebDeployments service.
26622
26798
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26623
- * @version 239.0.0
26799
+ * @version 241.1.0
26624
26800
  *//**
26625
26801
  * Constructs a new WebDeploymentsApi.
26626
26802
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26753,7 +26929,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26753
26929
  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(){/**
26754
26930
  * WebMessaging service.
26755
26931
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26756
- * @version 239.0.0
26932
+ * @version 241.1.0
26757
26933
  *//**
26758
26934
  * Constructs a new WebMessagingApi.
26759
26935
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26794,7 +26970,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26794
26970
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
26795
26971
  * Widgets service.
26796
26972
  * @module purecloud-platform-client-v2/api/WidgetsApi
26797
- * @version 239.0.0
26973
+ * @version 241.1.0
26798
26974
  *//**
26799
26975
  * Constructs a new WidgetsApi.
26800
26976
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26834,7 +27010,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26834
27010
  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(){/**
26835
27011
  * WorkforceManagement service.
26836
27012
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26837
- * @version 239.0.0
27013
+ * @version 241.1.0
26838
27014
  *//**
26839
27015
  * Constructs a new WorkforceManagementApi.
26840
27016
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -28806,7 +28982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28806
28982
  * </pre>
28807
28983
  * </p>
28808
28984
  * @module purecloud-platform-client-v2/index
28809
- * @version 239.0.0
28985
+ * @version 241.1.0
28810
28986
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28811
28987
  * The ApiClient constructor.
28812
28988
  * @property {module:purecloud-platform-client-v2/ApiClient}