@algolia/client-analytics 5.0.0-alpha.5 → 5.0.0-alpha.51

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 (100) hide show
  1. package/dist/builds/browser.d.ts +1 -1
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +1 -1
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/client-analytics.cjs.js +1 -1
  6. package/dist/client-analytics.esm.browser.js +60 -108
  7. package/dist/client-analytics.esm.node.js +1 -1
  8. package/dist/client-analytics.umd.js +2 -2
  9. package/dist/model/averageClickEvent.d.ts +1 -1
  10. package/dist/model/averageClickEvent.d.ts.map +1 -1
  11. package/dist/model/clickPosition.d.ts +1 -1
  12. package/dist/model/clickPosition.d.ts.map +1 -1
  13. package/dist/model/clickThroughRateEvent.d.ts +1 -1
  14. package/dist/model/clickThroughRateEvent.d.ts.map +1 -1
  15. package/dist/model/clientMethodProps.d.ts +21 -21
  16. package/dist/model/clientMethodProps.d.ts.map +1 -1
  17. package/dist/model/conversionRateEvent.d.ts +1 -1
  18. package/dist/model/conversionRateEvent.d.ts.map +1 -1
  19. package/dist/model/direction.d.ts +1 -1
  20. package/dist/model/direction.d.ts.map +1 -1
  21. package/dist/model/errorBase.d.ts +1 -1
  22. package/dist/model/errorBase.d.ts.map +1 -1
  23. package/dist/model/getAverageClickPositionResponse.d.ts +1 -1
  24. package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -1
  25. package/dist/model/getClickPositionsResponse.d.ts +1 -1
  26. package/dist/model/getClickPositionsResponse.d.ts.map +1 -1
  27. package/dist/model/getClickThroughRateResponse.d.ts +1 -1
  28. package/dist/model/getClickThroughRateResponse.d.ts.map +1 -1
  29. package/dist/model/getConversationRateResponse.d.ts +1 -1
  30. package/dist/model/getConversationRateResponse.d.ts.map +1 -1
  31. package/dist/model/getNoClickRateResponse.d.ts +1 -1
  32. package/dist/model/getNoClickRateResponse.d.ts.map +1 -1
  33. package/dist/model/getNoResultsRateResponse.d.ts +1 -1
  34. package/dist/model/getNoResultsRateResponse.d.ts.map +1 -1
  35. package/dist/model/getSearchesCountResponse.d.ts +1 -1
  36. package/dist/model/getSearchesCountResponse.d.ts.map +1 -1
  37. package/dist/model/getSearchesNoClicksResponse.d.ts +1 -1
  38. package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -1
  39. package/dist/model/getSearchesNoResultsResponse.d.ts +1 -1
  40. package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -1
  41. package/dist/model/getStatusResponse.d.ts +1 -1
  42. package/dist/model/getStatusResponse.d.ts.map +1 -1
  43. package/dist/model/getTopCountriesResponse.d.ts +1 -1
  44. package/dist/model/getTopCountriesResponse.d.ts.map +1 -1
  45. package/dist/model/getTopFilterAttribute.d.ts +1 -1
  46. package/dist/model/getTopFilterAttribute.d.ts.map +1 -1
  47. package/dist/model/getTopFilterAttributesResponse.d.ts +1 -1
  48. package/dist/model/getTopFilterAttributesResponse.d.ts.map +1 -1
  49. package/dist/model/getTopFilterForAttribute.d.ts +1 -1
  50. package/dist/model/getTopFilterForAttribute.d.ts.map +1 -1
  51. package/dist/model/getTopFilterForAttributeResponse.d.ts +1 -1
  52. package/dist/model/getTopFilterForAttributeResponse.d.ts.map +1 -1
  53. package/dist/model/getTopFiltersNoResultsResponse.d.ts +1 -1
  54. package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
  55. package/dist/model/getTopFiltersNoResultsValue.d.ts +1 -1
  56. package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
  57. package/dist/model/getTopFiltersNoResultsValues.d.ts +1 -1
  58. package/dist/model/getTopFiltersNoResultsValues.d.ts.map +1 -1
  59. package/dist/model/getTopHitsResponse.d.ts +1 -1
  60. package/dist/model/getTopHitsResponse.d.ts.map +1 -1
  61. package/dist/model/getTopSearchesResponse.d.ts +1 -1
  62. package/dist/model/getTopSearchesResponse.d.ts.map +1 -1
  63. package/dist/model/getUsersCountResponse.d.ts +1 -1
  64. package/dist/model/getUsersCountResponse.d.ts.map +1 -1
  65. package/dist/model/index.d.ts.map +1 -1
  66. package/dist/model/noClickRateEvent.d.ts +1 -1
  67. package/dist/model/noClickRateEvent.d.ts.map +1 -1
  68. package/dist/model/noResultsRateEvent.d.ts +1 -1
  69. package/dist/model/noResultsRateEvent.d.ts.map +1 -1
  70. package/dist/model/orderBy.d.ts +1 -1
  71. package/dist/model/orderBy.d.ts.map +1 -1
  72. package/dist/model/searchEvent.d.ts +1 -1
  73. package/dist/model/searchEvent.d.ts.map +1 -1
  74. package/dist/model/searchNoClickEvent.d.ts +1 -1
  75. package/dist/model/searchNoClickEvent.d.ts.map +1 -1
  76. package/dist/model/searchNoResultEvent.d.ts +1 -1
  77. package/dist/model/searchNoResultEvent.d.ts.map +1 -1
  78. package/dist/model/topCountry.d.ts +1 -1
  79. package/dist/model/topCountry.d.ts.map +1 -1
  80. package/dist/model/topHit.d.ts +1 -1
  81. package/dist/model/topHit.d.ts.map +1 -1
  82. package/dist/model/topHitWithAnalytics.d.ts +1 -1
  83. package/dist/model/topHitWithAnalytics.d.ts.map +1 -1
  84. package/dist/model/topHitsResponse.d.ts +1 -1
  85. package/dist/model/topHitsResponse.d.ts.map +1 -1
  86. package/dist/model/topHitsResponseWithAnalytics.d.ts +1 -1
  87. package/dist/model/topHitsResponseWithAnalytics.d.ts.map +1 -1
  88. package/dist/model/topSearch.d.ts +1 -1
  89. package/dist/model/topSearch.d.ts.map +1 -1
  90. package/dist/model/topSearchWithAnalytics.d.ts +1 -1
  91. package/dist/model/topSearchWithAnalytics.d.ts.map +1 -1
  92. package/dist/model/topSearchesResponse.d.ts +1 -1
  93. package/dist/model/topSearchesResponse.d.ts.map +1 -1
  94. package/dist/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  95. package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +1 -1
  96. package/dist/model/userWithDate.d.ts +1 -1
  97. package/dist/model/userWithDate.d.ts.map +1 -1
  98. package/dist/src/analyticsClient.d.ts +3 -3
  99. package/dist/src/analyticsClient.d.ts.map +1 -1
  100. package/package.json +31 -13
@@ -1,2 +1,2 @@
1
- /*! client-analytics.umd.js | 5.0.0-alpha.5 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/client-analytics"]={})}(this,(function(e){"use strict";function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e){let t;const r=`algolia-client-js-${e.key}`;function i(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(i().getItem(r)||"{}")}return{get:(e,t,r={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{const r=JSON.stringify(e),i=a()[r];return Promise.all([i||t(),void 0!==i])})).then((([e,t])=>Promise.all([e,t||r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const o=a();return o[JSON.stringify(e)]=t,i().setItem(r,JSON.stringify(o)),t})),delete:e=>Promise.resolve().then((()=>{const t=a();delete t[JSON.stringify(e)],i().setItem(r,JSON.stringify(t))})),clear:()=>Promise.resolve().then((()=>{i().removeItem(r)}))}}function i(e){const t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,a,o={miss:()=>Promise.resolve()})=>r.get(e,a,o).catch((()=>i({caches:t}).get(e,a,o))),set:(e,a)=>r.set(e,a).catch((()=>i({caches:t}).set(e,a))),delete:e=>r.delete(e).catch((()=>i({caches:t}).delete(e))),clear:()=>r.clear().catch((()=>i({caches:t}).clear()))}}function a(e={serializable:!0}){let t={};return{get(r,i,a={miss:()=>Promise.resolve()}){const o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);const n=i();return n.then((e=>a.miss(e))).then((()=>n))},set:(r,i)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(i):i,Promise.resolve(i)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}const o=12e4;function n(e,t="up"){const r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>o},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=o}}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c extends Error{constructor(e,t){super(e),s(this,"name","AlgoliaError"),t&&(this.name=t)}}class u extends c{constructor(e,t,r){super(e,r),s(this,"stackTrace",void 0),this.stackTrace=t}}class d extends u{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",e,"RetryError")}}class l extends u{constructor(e,t,r){super(e,r,"ApiError"),s(this,"status",void 0),this.status=t}}class g extends c{constructor(e,t){super(e,"DeserializationError"),s(this,"response",void 0),this.response=t}}function h(e,t,r){const i=function(e){const t=e=>"[object Object]"===Object.prototype.toString.call(e)||"[object Array]"===Object.prototype.toString.call(e);return Object.keys(e).map((r=>`${r}=${t(e[r])?JSON.stringify(e[r]):e[r]}`)).join("&")}(r);let a=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return i.length&&(a+=`?${i}`),a}function v(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function m({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:i,algoliaAgent:a,timeouts:o,requester:s,requestsCache:c,responsesCache:u}){async function m(c,u,m=!0){const f=[],p=function(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(c,u),y=function(e,t,r){const i={Accept:"application/json",...e,...t,...r},a={};return Object.keys(i).forEach((e=>{const t=i[e];a[e.toLowerCase()]=t})),a}(r,c.headers,u.headers),S="GET"===c.method?{...c.data,...u.data}:{},w={"x-algolia-agent":a.value,...i,...c.queryParameters,...S};if(u&&u.queryParameters)for(const e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?w[e]=u.queryParameters[e].toString():w[e]=u.queryParameters[e];let P=0;const q=async(e,r)=>{const i=e.pop();if(void 0===i)throw new d(function(e){return e.map((e=>v(e)))}(f));let a=u.timeout;void 0===a&&(a=m?o.read:o.write);const S={data:p,headers:y,method:c.method,url:h(i,c.path,w),connectTimeout:r(P,o.connect),responseTimeout:r(P,a)},b=t=>{const r={request:S,response:t,host:i,triesLeft:e.length};return f.push(r),r},O=await s.send(S);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(O)){const a=b(O);return O.isTimedOut&&P++,console.log("Retryable failure",v(a)),await t.set(i,n(i,O.isTimedOut?"timed out":"down")),q(e,r)}if(function({status:e}){return 2==~~(e/100)}(O))return function(e){try{return JSON.parse(e.content)}catch(t){throw new g(t.message,e)}}(O);throw b(O),function({content:e,status:t},r){let i=e;try{i=JSON.parse(e).message}catch(e){}return new l(i,t,r)}(O,f)},b=e.filter((e=>"readWrite"===e.accept||(m?"read"===e.accept:"write"===e.accept))),O=await async function(e){const r=await Promise.all(e.map((e=>t.get(e,(()=>Promise.resolve(n(e))))))),i=r.filter((e=>e.isUp())),a=r.filter((e=>e.isTimedOut())),o=[...i,...a];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===a.length&&0===e?1:a.length+3+e)*t}}(b);return q([...O.hosts].reverse(),O.getTimeout)}return{hostsCache:t,requester:s,timeouts:o,algoliaAgent:a,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){const a=e.useReadTransporter||"GET"===e.method;if(!a)return m(e,t,a);const o=()=>m(e,t);if(!0!==(t.cacheable||e.cacheable))return o();const n={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(n,(()=>c.get(n,(()=>c.set(n,o()).then((e=>Promise.all([c.delete(n),e])),(e=>Promise.all([c.delete(n),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>u.set(n,e)})},requestsCache:c,responsesCache:u}}function f({algoliaAgents:e,client:t,version:r}){const i=function(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(r).add({segment:t,version:r});return e.forEach((e=>i.add(e))),i}function p(e,t){if(null==e)return{};var r,i,a=function(e,t){if(null==e)return{};var r,i,a={},o=Object.keys(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var y=["appId","apiKey","authMode","algoliaAgents","region"];function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function w(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?S(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var P="5.0.0-alpha.5",q=["de","us"];function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}e.analyticsClient=function(e,o,n,s){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!o||"string"!=typeof o)throw new Error("`apiKey` is missing.");if(n&&("string"!=typeof n||!q.includes(n)))throw new Error("`region` must be one of the following: ".concat(q.join(", ")));return function(e){var t,r=e.appId,i=e.apiKey,a=e.authMode,o=e.algoliaAgents,n=e.region,s=p(e,y),c=function(e,t,r="WithinHeaders"){const i={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?i:{},queryParameters:()=>"WithinQueryParameters"===r?i:{}}}(r,i,a),u=m(w(w({hosts:(t=n,[{url:t?"analytics.{region}.algolia.com".replace("{region}",t):"analytics.algolia.com",accept:"readWrite",protocol:"https"}])},s),{},{algoliaAgent:f({algoliaAgents:o,client:"Analytics",version:P}),baseHeaders:w(w({"content-type":"text/plain"},c.headers()),s.baseHeaders),baseQueryParameters:w(w({},c.queryParameters()),s.baseQueryParameters)}));return{transporter:u,appId:r,clearCache:function(){return Promise.all([u.requestsCache.clear(),u.responsesCache.clear()]).then((function(){}))},get _ua(){return u.algoliaAgent.value},addAlgoliaAgent:function(e,t){u.algoliaAgent.add({segment:e,version:t})},del:function(e,t){var r=e.path,i=e.parameters;if(!r)throw new Error("Parameter `path` is required when calling `del`.");var a={method:"DELETE",path:"/1{path}".replace("{path}",r),queryParameters:i||{},headers:{}};return u.request(a,t)},get:function(e,t){var r=e.path,i=e.parameters;if(!r)throw new Error("Parameter `path` is required when calling `get`.");var a={method:"GET",path:"/1{path}".replace("{path}",r),queryParameters:i||{},headers:{}};return u.request(a,t)},getAverageClickPosition:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getAverageClickPosition`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:n,headers:{}};return u.request(s,t)},getClickPositions:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getClickPositions`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/clicks/positions",queryParameters:n,headers:{}};return u.request(s,t)},getClickThroughRate:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getClickThroughRate`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:n,headers:{}};return u.request(s,t)},getConversationRate:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getConversationRate`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/conversions/conversionRate",queryParameters:n,headers:{}};return u.request(s,t)},getNoClickRate:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getNoClickRate`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/searches/noClickRate",queryParameters:n,headers:{}};return u.request(s,t)},getNoResultsRate:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getNoResultsRate`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/searches/noResultRate",queryParameters:n,headers:{}};return u.request(s,t)},getSearchesCount:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getSearchesCount`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/searches/count",queryParameters:n,headers:{}};return u.request(s,t)},getSearchesNoClicks:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.limit,n=e.offset,s=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getSearchesNoClicks`.");var c={};void 0!==r&&(c.index=r.toString()),void 0!==i&&(c.startDate=i.toString()),void 0!==a&&(c.endDate=a.toString()),void 0!==o&&(c.limit=o.toString()),void 0!==n&&(c.offset=n.toString()),void 0!==s&&(c.tags=s.toString());var d={method:"GET",path:"/2/searches/noClicks",queryParameters:c,headers:{}};return u.request(d,t)},getSearchesNoResults:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.limit,n=e.offset,s=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getSearchesNoResults`.");var c={};void 0!==r&&(c.index=r.toString()),void 0!==i&&(c.startDate=i.toString()),void 0!==a&&(c.endDate=a.toString()),void 0!==o&&(c.limit=o.toString()),void 0!==n&&(c.offset=n.toString()),void 0!==s&&(c.tags=s.toString());var d={method:"GET",path:"/2/searches/noResults",queryParameters:c,headers:{}};return u.request(d,t)},getStatus:function(e,t){var r=e.index;if(!r)throw new Error("Parameter `index` is required when calling `getStatus`.");var i={};void 0!==r&&(i.index=r.toString());var a={method:"GET",path:"/2/status",queryParameters:i,headers:{}};return u.request(a,t)},getTopCountries:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.limit,n=e.offset,s=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getTopCountries`.");var c={};void 0!==r&&(c.index=r.toString()),void 0!==i&&(c.startDate=i.toString()),void 0!==a&&(c.endDate=a.toString()),void 0!==o&&(c.limit=o.toString()),void 0!==n&&(c.offset=n.toString()),void 0!==s&&(c.tags=s.toString());var d={method:"GET",path:"/2/countries",queryParameters:c,headers:{}};return u.request(d,t)},getTopFilterAttributes:function(e,t){var r=e.index,i=e.search,a=e.startDate,o=e.endDate,n=e.limit,s=e.offset,c=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getTopFilterAttributes`.");var d={};void 0!==r&&(d.index=r.toString()),void 0!==i&&(d.search=i.toString()),void 0!==a&&(d.startDate=a.toString()),void 0!==o&&(d.endDate=o.toString()),void 0!==n&&(d.limit=n.toString()),void 0!==s&&(d.offset=s.toString()),void 0!==c&&(d.tags=c.toString());var l={method:"GET",path:"/2/filters",queryParameters:d,headers:{}};return u.request(l,t)},getTopFilterForAttribute:function(e,t){var r=e.attribute,i=e.index,a=e.search,o=e.startDate,n=e.endDate,s=e.limit,c=e.offset,d=e.tags;if(!r)throw new Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!i)throw new Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");var l="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(r)),g={};void 0!==i&&(g.index=i.toString()),void 0!==a&&(g.search=a.toString()),void 0!==o&&(g.startDate=o.toString()),void 0!==n&&(g.endDate=n.toString()),void 0!==s&&(g.limit=s.toString()),void 0!==c&&(g.offset=c.toString()),void 0!==d&&(g.tags=d.toString());var h={method:"GET",path:l,queryParameters:g,headers:{}};return u.request(h,t)},getTopFiltersNoResults:function(e,t){var r=e.index,i=e.search,a=e.startDate,o=e.endDate,n=e.limit,s=e.offset,c=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");var d={};void 0!==r&&(d.index=r.toString()),void 0!==i&&(d.search=i.toString()),void 0!==a&&(d.startDate=a.toString()),void 0!==o&&(d.endDate=o.toString()),void 0!==n&&(d.limit=n.toString()),void 0!==s&&(d.offset=s.toString()),void 0!==c&&(d.tags=c.toString());var l={method:"GET",path:"/2/filters/noResults",queryParameters:d,headers:{}};return u.request(l,t)},getTopHits:function(e,t){var r=e.index,i=e.search,a=e.clickAnalytics,o=e.startDate,n=e.endDate,s=e.limit,c=e.offset,d=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getTopHits`.");var l={};void 0!==r&&(l.index=r.toString()),void 0!==i&&(l.search=i.toString()),void 0!==a&&(l.clickAnalytics=a.toString()),void 0!==o&&(l.startDate=o.toString()),void 0!==n&&(l.endDate=n.toString()),void 0!==s&&(l.limit=s.toString()),void 0!==c&&(l.offset=c.toString()),void 0!==d&&(l.tags=d.toString());var g={method:"GET",path:"/2/hits",queryParameters:l,headers:{}};return u.request(g,t)},getTopSearches:function(e,t){var r=e.index,i=e.clickAnalytics,a=e.startDate,o=e.endDate,n=e.orderBy,s=e.direction,c=e.limit,d=e.offset,l=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getTopSearches`.");var g={};void 0!==r&&(g.index=r.toString()),void 0!==i&&(g.clickAnalytics=i.toString()),void 0!==a&&(g.startDate=a.toString()),void 0!==o&&(g.endDate=o.toString()),void 0!==n&&(g.orderBy=n.toString()),void 0!==s&&(g.direction=s.toString()),void 0!==c&&(g.limit=c.toString()),void 0!==d&&(g.offset=d.toString()),void 0!==l&&(g.tags=l.toString());var h={method:"GET",path:"/2/searches",queryParameters:g,headers:{}};return u.request(h,t)},getUsersCount:function(e,t){var r=e.index,i=e.startDate,a=e.endDate,o=e.tags;if(!r)throw new Error("Parameter `index` is required when calling `getUsersCount`.");var n={};void 0!==r&&(n.index=r.toString()),void 0!==i&&(n.startDate=i.toString()),void 0!==a&&(n.endDate=a.toString()),void 0!==o&&(n.tags=o.toString());var s={method:"GET",path:"/2/users/count",queryParameters:n,headers:{}};return u.request(s,t)},post:function(e,t){var r=e.path,i=e.parameters,a=e.body;if(!r)throw new Error("Parameter `path` is required when calling `post`.");var o={method:"POST",path:"/1{path}".replace("{path}",r),queryParameters:i||{},headers:{},data:a||{}};return u.request(o,t)},put:function(e,t){var r=e.path,i=e.parameters,a=e.body;if(!r)throw new Error("Parameter `path` is required when calling `put`.");var o={method:"PUT",path:"/1{path}".replace("{path}",r),queryParameters:i||{},headers:{},data:a||{}};return u.request(o,t)}}}(function(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?b(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({appId:e,apiKey:o,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const i=(e,i)=>setTimeout((()=>{r.abort(),t({status:0,content:i,isTimedOut:!0})}),e),a=i(e.connectTimeout,"Connection timeout");let o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(a),o=i(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(a),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(a),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:a(),requestsCache:a({serializable:!1}),hostsCache:i({caches:[r({key:"".concat(P,"-").concat(e)}),a()]})},s))},e.apiClientVersion=P}));
1
+ /*! client-analytics.umd.js | 5.0.0-alpha.51 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/client-analytics"]={})}(this,(function(e){"use strict";function t(e){let t;const r=`algolia-client-js-${e.key}`;function i(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(i().getItem(r)||"{}")}return{get:(e,t,r={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{const r=JSON.stringify(e),i=o()[r];return Promise.all([i||t(),void 0!==i])})).then((([e,t])=>Promise.all([e,t||r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const s=o();return s[JSON.stringify(e)]=t,i().setItem(r,JSON.stringify(s)),t})),delete:e=>Promise.resolve().then((()=>{const t=o();delete t[JSON.stringify(e)],i().setItem(r,JSON.stringify(t))})),clear:()=>Promise.resolve().then((()=>{i().removeItem(r)}))}}function r(e){const t=[...e.caches],i=t.shift();return void 0===i?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,o,s={miss:()=>Promise.resolve()})=>i.get(e,o,s).catch((()=>r({caches:t}).get(e,o,s))),set:(e,o)=>i.set(e,o).catch((()=>r({caches:t}).set(e,o))),delete:e=>i.delete(e).catch((()=>r({caches:t}).delete(e))),clear:()=>i.clear().catch((()=>r({caches:t}).clear()))}}function i(e={serializable:!0}){let t={};return{get(r,i,o={miss:()=>Promise.resolve()}){const s=JSON.stringify(r);if(s in t)return Promise.resolve(e.serializable?JSON.parse(t[s]):t[s]);const a=i();return a.then((e=>o.miss(e))).then((()=>a))},set:(r,i)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(i):i,Promise.resolve(i)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}const o=12e4;function s(e,t="up"){const r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>o},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=o}}}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class n extends Error{constructor(e,t){super(e),a(this,"name","AlgoliaError"),t&&(this.name=t)}}class d extends n{constructor(e,t,r){super(e,r),a(this,"stackTrace",void 0),this.stackTrace=t}}class c extends d{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",e,"RetryError")}}class u extends d{constructor(e,t,r,i="ApiError"){super(e,r,i),a(this,"status",void 0),this.status=t}}class l extends n{constructor(e,t){super(e,"DeserializationError"),a(this,"response",void 0),this.response=t}}class g extends u{constructor(e,t,r,i){super(e,t,i,"DetailedApiError"),a(this,"error",void 0),this.error=r}}function h(e,t,r){const i=function(e){const t=e=>"[object Object]"===Object.prototype.toString.call(e)||"[object Array]"===Object.prototype.toString.call(e);return Object.keys(e).map((r=>`${r}=${encodeURIComponent(t(e[r])?JSON.stringify(e[r]):e[r])}`)).join("&")}(r);let o=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return i.length&&(o+=`?${i}`),o}function m(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function p({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:n,requestsCache:d,responsesCache:p}){async function f(d,p,f=!0){const v=[],S=function(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(d,p),y=function(e,t,r){const i={Accept:"application/json",...e,...t,...r},o={};return Object.keys(i).forEach((e=>{const t=i[e];o[e.toLowerCase()]=t})),o}(r,d.headers,p.headers),w="GET"===d.method?{...d.data,...p.data}:{},P={...i,...d.queryParameters,...w};if(o.value&&(P["x-algolia-agent"]=o.value),p&&p.queryParameters)for(const e of Object.keys(p.queryParameters))p.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(p.queryParameters[e])?P[e]=p.queryParameters[e].toString():P[e]=p.queryParameters[e];let q=0;const D=async(e,r)=>{const i=e.pop();if(void 0===i)throw new c(function(e){return e.map((e=>m(e)))}(v));let o=p.timeout;void 0===o&&(o=f?a.read:a.write);const w={data:S,headers:y,method:d.method,url:h(i,d.path,P),connectTimeout:r(q,a.connect),responseTimeout:r(q,o)},T=t=>{const r={request:w,response:t,host:i,triesLeft:e.length};return v.push(r),r},x=await n.send(w);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(x)){const o=T(x);return x.isTimedOut&&q++,console.log("Retryable failure",m(o)),await t.set(i,s(i,x.isTimedOut?"timed out":"down")),D(e,r)}if(function({status:e}){return 2==~~(e/100)}(x))return function(e){try{return JSON.parse(e.content)}catch(t){throw new l(t.message,e)}}(x);throw T(x),function({content:e,status:t},r){try{const i=JSON.parse(e);return"error"in i?new g(i.message,t,i.error,r):new u(i.message,t,r)}catch(e){}return new u(e,t,r)}(x,v)},T=e.filter((e=>"readWrite"===e.accept||(f?"read"===e.accept:"write"===e.accept))),x=await async function(e){const r=await Promise.all(e.map((e=>t.get(e,(()=>Promise.resolve(s(e))))))),i=r.filter((e=>e.isUp())),o=r.filter((e=>e.isTimedOut())),a=[...i,...o];return{hosts:a.length>0?a:e,getTimeout:(e,t)=>(0===o.length&&0===e?1:o.length+3+e)*t}}(T);return D([...x.hosts].reverse(),x.getTimeout)}return{hostsCache:t,requester:n,timeouts:a,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){const o=e.useReadTransporter||"GET"===e.method;if(!o)return f(e,t,o);const s=()=>f(e,t);if(!0!==(t.cacheable||e.cacheable))return s();const a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return p.get(a,(()=>d.get(a,(()=>d.set(a,s()).then((e=>Promise.all([d.delete(a),e])),(e=>Promise.all([d.delete(a),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>p.set(a,e)})},requestsCache:d,responsesCache:p}}function f({algoliaAgents:e,client:t,version:r}){const i=function(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(r).add({segment:t,version:r});return e.forEach((e=>i.add(e))),i}const v=1e3,S=2e3,y=3e4;const w="5.0.0-alpha.51",P=["de","us"];e.analyticsClient=function(e,o,s,a){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!o||"string"!=typeof o)throw new Error("`apiKey` is missing.");if(s&&("string"!=typeof s||!P.includes(s)))throw new Error(`\`region\` must be one of the following: ${P.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:i,region:o,...s}){const a=function(e,t,r="WithinHeaders"){const i={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?i:{},queryParameters:()=>"WithinQueryParameters"===r?i:{}}}(e,t,r),n=p({hosts:(d=o,[{url:d?"analytics.{region}.algolia.com".replace("{region}",d):"analytics.algolia.com",accept:"readWrite",protocol:"https"}]),...s,algoliaAgent:f({algoliaAgents:i,client:"Analytics",version:w}),baseHeaders:{"content-type":"text/plain",...a.headers(),...s.baseHeaders},baseQueryParameters:{...a.queryParameters(),...s.baseQueryParameters}});var d;return{transporter:n,appId:e,clearCache:()=>Promise.all([n.requestsCache.clear(),n.responsesCache.clear()]).then((()=>{})),get _ua(){return n.algoliaAgent.value},addAlgoliaAgent(e,t){n.algoliaAgent.add({segment:e,version:t})},del({path:e,parameters:t},r){if(!e)throw new Error("Parameter `path` is required when calling `del`.");const i={method:"DELETE",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{}};return n.request(i,r)},get({path:e,parameters:t},r){if(!e)throw new Error("Parameter `path` is required when calling `get`.");const i={method:"GET",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{}};return n.request(i,r)},getAverageClickPosition({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getAverageClickPosition`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:s,headers:{}};return n.request(a,o)},getClickPositions({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getClickPositions`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/clicks/positions",queryParameters:s,headers:{}};return n.request(a,o)},getClickThroughRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getClickThroughRate`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:s,headers:{}};return n.request(a,o)},getConversationRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getConversationRate`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/conversions/conversionRate",queryParameters:s,headers:{}};return n.request(a,o)},getNoClickRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getNoClickRate`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/searches/noClickRate",queryParameters:s,headers:{}};return n.request(a,o)},getNoResultsRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getNoResultsRate`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/searches/noResultRate",queryParameters:s,headers:{}};return n.request(a,o)},getSearchesCount({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getSearchesCount`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/searches/count",queryParameters:s,headers:{}};return n.request(a,o)},getSearchesNoClicks({index:e,startDate:t,endDate:r,limit:i,offset:o,tags:s},a){if(!e)throw new Error("Parameter `index` is required when calling `getSearchesNoClicks`.");const d={};void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.startDate=t.toString()),void 0!==r&&(d.endDate=r.toString()),void 0!==i&&(d.limit=i.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==s&&(d.tags=s.toString());const c={method:"GET",path:"/2/searches/noClicks",queryParameters:d,headers:{}};return n.request(c,a)},getSearchesNoResults({index:e,startDate:t,endDate:r,limit:i,offset:o,tags:s},a){if(!e)throw new Error("Parameter `index` is required when calling `getSearchesNoResults`.");const d={};void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.startDate=t.toString()),void 0!==r&&(d.endDate=r.toString()),void 0!==i&&(d.limit=i.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==s&&(d.tags=s.toString());const c={method:"GET",path:"/2/searches/noResults",queryParameters:d,headers:{}};return n.request(c,a)},getStatus({index:e},t){if(!e)throw new Error("Parameter `index` is required when calling `getStatus`.");const r={};void 0!==e&&(r.index=e.toString());const i={method:"GET",path:"/2/status",queryParameters:r,headers:{}};return n.request(i,t)},getTopCountries({index:e,startDate:t,endDate:r,limit:i,offset:o,tags:s},a){if(!e)throw new Error("Parameter `index` is required when calling `getTopCountries`.");const d={};void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.startDate=t.toString()),void 0!==r&&(d.endDate=r.toString()),void 0!==i&&(d.limit=i.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==s&&(d.tags=s.toString());const c={method:"GET",path:"/2/countries",queryParameters:d,headers:{}};return n.request(c,a)},getTopFilterAttributes({index:e,search:t,startDate:r,endDate:i,limit:o,offset:s,tags:a},d){if(!e)throw new Error("Parameter `index` is required when calling `getTopFilterAttributes`.");const c={};void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==i&&(c.endDate=i.toString()),void 0!==o&&(c.limit=o.toString()),void 0!==s&&(c.offset=s.toString()),void 0!==a&&(c.tags=a.toString());const u={method:"GET",path:"/2/filters",queryParameters:c,headers:{}};return n.request(u,d)},getTopFilterForAttribute({attribute:e,index:t,search:r,startDate:i,endDate:o,limit:s,offset:a,tags:d},c){if(!e)throw new Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!t)throw new Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");const u="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),l={};void 0!==t&&(l.index=t.toString()),void 0!==r&&(l.search=r.toString()),void 0!==i&&(l.startDate=i.toString()),void 0!==o&&(l.endDate=o.toString()),void 0!==s&&(l.limit=s.toString()),void 0!==a&&(l.offset=a.toString()),void 0!==d&&(l.tags=d.toString());const g={method:"GET",path:u,queryParameters:l,headers:{}};return n.request(g,c)},getTopFiltersNoResults({index:e,search:t,startDate:r,endDate:i,limit:o,offset:s,tags:a},d){if(!e)throw new Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");const c={};void 0!==e&&(c.index=e.toString()),void 0!==t&&(c.search=t.toString()),void 0!==r&&(c.startDate=r.toString()),void 0!==i&&(c.endDate=i.toString()),void 0!==o&&(c.limit=o.toString()),void 0!==s&&(c.offset=s.toString()),void 0!==a&&(c.tags=a.toString());const u={method:"GET",path:"/2/filters/noResults",queryParameters:c,headers:{}};return n.request(u,d)},getTopHits({index:e,search:t,clickAnalytics:r,startDate:i,endDate:o,limit:s,offset:a,tags:d},c){if(!e)throw new Error("Parameter `index` is required when calling `getTopHits`.");const u={};void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.clickAnalytics=r.toString()),void 0!==i&&(u.startDate=i.toString()),void 0!==o&&(u.endDate=o.toString()),void 0!==s&&(u.limit=s.toString()),void 0!==a&&(u.offset=a.toString()),void 0!==d&&(u.tags=d.toString());const l={method:"GET",path:"/2/hits",queryParameters:u,headers:{}};return n.request(l,c)},getTopSearches({index:e,clickAnalytics:t,startDate:r,endDate:i,orderBy:o,direction:s,limit:a,offset:d,tags:c},u){if(!e)throw new Error("Parameter `index` is required when calling `getTopSearches`.");const l={};void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.clickAnalytics=t.toString()),void 0!==r&&(l.startDate=r.toString()),void 0!==i&&(l.endDate=i.toString()),void 0!==o&&(l.orderBy=o.toString()),void 0!==s&&(l.direction=s.toString()),void 0!==a&&(l.limit=a.toString()),void 0!==d&&(l.offset=d.toString()),void 0!==c&&(l.tags=c.toString());const g={method:"GET",path:"/2/searches",queryParameters:l,headers:{}};return n.request(g,u)},getUsersCount({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getUsersCount`.");const s={};void 0!==e&&(s.index=e.toString()),void 0!==t&&(s.startDate=t.toString()),void 0!==r&&(s.endDate=r.toString()),void 0!==i&&(s.tags=i.toString());const a={method:"GET",path:"/2/users/count",queryParameters:s,headers:{}};return n.request(a,o)},post({path:e,parameters:t,body:r},i){if(!e)throw new Error("Parameter `path` is required when calling `post`.");const o={method:"POST",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(o,i)},put({path:e,parameters:t,body:r},i){if(!e)throw new Error("Parameter `path` is required when calling `put`.");const o={method:"PUT",path:"/1{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(o,i)}}}({appId:e,apiKey:o,region:s,timeouts:{connect:v,read:S,write:y},requester:{send:function(e){return new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const i=(e,i)=>setTimeout((()=>{r.abort(),t({status:0,content:i,isTimedOut:!0})}),e),o=i(e.connectTimeout,"Connection timeout");let s;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===s&&(clearTimeout(o),s=i(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(o),clearTimeout(s),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(o),clearTimeout(s),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:i(),requestsCache:i({serializable:!1}),hostsCache:r({caches:[t({key:`${w}-${e}`}),i()]}),...a})},e.apiClientVersion=w}));
@@ -1,4 +1,4 @@
1
- export declare type AverageClickEvent = {
1
+ export type AverageClickEvent = {
2
2
  /**
3
3
  * The average of all the click count event.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"averageClickEvent.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/averageClickEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,iBAAiB,GAAG;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"averageClickEvent.d.ts","sourceRoot":"","sources":["../../model/averageClickEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type ClickPosition = {
1
+ export type ClickPosition = {
2
2
  /**
3
3
  * Range of positions with the following pattern: - Positions from 1 to 10 included are displayed in separated groups. - Positions from 11 to 20 included are grouped together. - Positions from 21 and up are grouped together.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"clickPosition.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/clickPosition.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"clickPosition.d.ts","sourceRoot":"","sources":["../../model/clickPosition.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type ClickThroughRateEvent = {
1
+ export type ClickThroughRateEvent = {
2
2
  /**
3
3
  * The click-through rate.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"clickThroughRateEvent.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/clickThroughRateEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"clickThroughRateEvent.d.ts","sourceRoot":"","sources":["../../model/clickThroughRateEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -3,7 +3,7 @@ import type { OrderBy } from './orderBy';
3
3
  /**
4
4
  * Properties for the `del` method.
5
5
  */
6
- export declare type DelProps = {
6
+ export type DelProps = {
7
7
  /**
8
8
  * The path of the API endpoint to target, anything after the /1 needs to be specified.
9
9
  */
@@ -16,7 +16,7 @@ export declare type DelProps = {
16
16
  /**
17
17
  * Properties for the `get` method.
18
18
  */
19
- export declare type GetProps = {
19
+ export type GetProps = {
20
20
  /**
21
21
  * The path of the API endpoint to target, anything after the /1 needs to be specified.
22
22
  */
@@ -29,7 +29,7 @@ export declare type GetProps = {
29
29
  /**
30
30
  * Properties for the `getAverageClickPosition` method.
31
31
  */
32
- export declare type GetAverageClickPositionProps = {
32
+ export type GetAverageClickPositionProps = {
33
33
  /**
34
34
  * The index name to target.
35
35
  */
@@ -50,7 +50,7 @@ export declare type GetAverageClickPositionProps = {
50
50
  /**
51
51
  * Properties for the `getClickPositions` method.
52
52
  */
53
- export declare type GetClickPositionsProps = {
53
+ export type GetClickPositionsProps = {
54
54
  /**
55
55
  * The index name to target.
56
56
  */
@@ -71,7 +71,7 @@ export declare type GetClickPositionsProps = {
71
71
  /**
72
72
  * Properties for the `getClickThroughRate` method.
73
73
  */
74
- export declare type GetClickThroughRateProps = {
74
+ export type GetClickThroughRateProps = {
75
75
  /**
76
76
  * The index name to target.
77
77
  */
@@ -92,7 +92,7 @@ export declare type GetClickThroughRateProps = {
92
92
  /**
93
93
  * Properties for the `getConversationRate` method.
94
94
  */
95
- export declare type GetConversationRateProps = {
95
+ export type GetConversationRateProps = {
96
96
  /**
97
97
  * The index name to target.
98
98
  */
@@ -113,7 +113,7 @@ export declare type GetConversationRateProps = {
113
113
  /**
114
114
  * Properties for the `getNoClickRate` method.
115
115
  */
116
- export declare type GetNoClickRateProps = {
116
+ export type GetNoClickRateProps = {
117
117
  /**
118
118
  * The index name to target.
119
119
  */
@@ -134,7 +134,7 @@ export declare type GetNoClickRateProps = {
134
134
  /**
135
135
  * Properties for the `getNoResultsRate` method.
136
136
  */
137
- export declare type GetNoResultsRateProps = {
137
+ export type GetNoResultsRateProps = {
138
138
  /**
139
139
  * The index name to target.
140
140
  */
@@ -155,7 +155,7 @@ export declare type GetNoResultsRateProps = {
155
155
  /**
156
156
  * Properties for the `getSearchesCount` method.
157
157
  */
158
- export declare type GetSearchesCountProps = {
158
+ export type GetSearchesCountProps = {
159
159
  /**
160
160
  * The index name to target.
161
161
  */
@@ -176,7 +176,7 @@ export declare type GetSearchesCountProps = {
176
176
  /**
177
177
  * Properties for the `getSearchesNoClicks` method.
178
178
  */
179
- export declare type GetSearchesNoClicksProps = {
179
+ export type GetSearchesNoClicksProps = {
180
180
  /**
181
181
  * The index name to target.
182
182
  */
@@ -205,7 +205,7 @@ export declare type GetSearchesNoClicksProps = {
205
205
  /**
206
206
  * Properties for the `getSearchesNoResults` method.
207
207
  */
208
- export declare type GetSearchesNoResultsProps = {
208
+ export type GetSearchesNoResultsProps = {
209
209
  /**
210
210
  * The index name to target.
211
211
  */
@@ -234,7 +234,7 @@ export declare type GetSearchesNoResultsProps = {
234
234
  /**
235
235
  * Properties for the `getStatus` method.
236
236
  */
237
- export declare type GetStatusProps = {
237
+ export type GetStatusProps = {
238
238
  /**
239
239
  * The index name to target.
240
240
  */
@@ -243,7 +243,7 @@ export declare type GetStatusProps = {
243
243
  /**
244
244
  * Properties for the `getTopCountries` method.
245
245
  */
246
- export declare type GetTopCountriesProps = {
246
+ export type GetTopCountriesProps = {
247
247
  /**
248
248
  * The index name to target.
249
249
  */
@@ -272,7 +272,7 @@ export declare type GetTopCountriesProps = {
272
272
  /**
273
273
  * Properties for the `getTopFilterAttributes` method.
274
274
  */
275
- export declare type GetTopFilterAttributesProps = {
275
+ export type GetTopFilterAttributesProps = {
276
276
  /**
277
277
  * The index name to target.
278
278
  */
@@ -305,7 +305,7 @@ export declare type GetTopFilterAttributesProps = {
305
305
  /**
306
306
  * Properties for the `getTopFilterForAttribute` method.
307
307
  */
308
- export declare type GetTopFilterForAttributeProps = {
308
+ export type GetTopFilterForAttributeProps = {
309
309
  /**
310
310
  * The exact name of the attribute.
311
311
  */
@@ -342,7 +342,7 @@ export declare type GetTopFilterForAttributeProps = {
342
342
  /**
343
343
  * Properties for the `getTopFiltersNoResults` method.
344
344
  */
345
- export declare type GetTopFiltersNoResultsProps = {
345
+ export type GetTopFiltersNoResultsProps = {
346
346
  /**
347
347
  * The index name to target.
348
348
  */
@@ -375,7 +375,7 @@ export declare type GetTopFiltersNoResultsProps = {
375
375
  /**
376
376
  * Properties for the `getTopHits` method.
377
377
  */
378
- export declare type GetTopHitsProps = {
378
+ export type GetTopHitsProps = {
379
379
  /**
380
380
  * The index name to target.
381
381
  */
@@ -412,7 +412,7 @@ export declare type GetTopHitsProps = {
412
412
  /**
413
413
  * Properties for the `getTopSearches` method.
414
414
  */
415
- export declare type GetTopSearchesProps = {
415
+ export type GetTopSearchesProps = {
416
416
  /**
417
417
  * The index name to target.
418
418
  */
@@ -453,7 +453,7 @@ export declare type GetTopSearchesProps = {
453
453
  /**
454
454
  * Properties for the `getUsersCount` method.
455
455
  */
456
- export declare type GetUsersCountProps = {
456
+ export type GetUsersCountProps = {
457
457
  /**
458
458
  * The index name to target.
459
459
  */
@@ -474,7 +474,7 @@ export declare type GetUsersCountProps = {
474
474
  /**
475
475
  * Properties for the `post` method.
476
476
  */
477
- export declare type PostProps = {
477
+ export type PostProps = {
478
478
  /**
479
479
  * The path of the API endpoint to target, anything after the /1 needs to be specified.
480
480
  */
@@ -491,7 +491,7 @@ export declare type PostProps = {
491
491
  /**
492
492
  * Properties for the `put` method.
493
493
  */
494
- export declare type PutProps = {
494
+ export type PutProps = {
495
495
  /**
496
496
  * The path of the API endpoint to target, anything after the /1 needs to be specified.
497
497
  */
@@ -1 +1 @@
1
- {"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,oBAAY,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,oBAAY,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC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H,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type ConversionRateEvent = {
1
+ export type ConversionRateEvent = {
2
2
  /**
3
3
  * The click-through rate.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"conversionRateEvent.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/conversionRateEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"conversionRateEvent.d.ts","sourceRoot":"","sources":["../../model/conversionRateEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare type Direction = 'asc' | 'desc';
1
+ export type Direction = 'asc' | 'desc';
2
2
  //# sourceMappingURL=direction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/direction.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../../model/direction.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Error.
3
3
  */
4
- export declare type ErrorBase = Record<string, any> & {
4
+ export type ErrorBase = Record<string, any> & {
5
5
  message?: string;
6
6
  };
7
7
  //# sourceMappingURL=errorBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { AverageClickEvent } from './averageClickEvent';
2
- export declare type GetAverageClickPositionResponse = {
2
+ export type GetAverageClickPositionResponse = {
3
3
  /**
4
4
  * The average of all the click count event.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getAverageClickPositionResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getAverageClickPositionResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,oBAAY,+BAA+B,GAAG;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"getAverageClickPositionResponse.d.ts","sourceRoot":"","sources":["../../model/getAverageClickPositionResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ClickPosition } from './clickPosition';
2
- export declare type GetClickPositionsResponse = {
2
+ export type GetClickPositionsResponse = {
3
3
  /**
4
4
  * A list of the click positions with their click count.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getClickPositionsResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getClickPositionsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"getClickPositionsResponse.d.ts","sourceRoot":"","sources":["../../model/getClickPositionsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ClickThroughRateEvent } from './clickThroughRateEvent';
2
- export declare type GetClickThroughRateResponse = {
2
+ export type GetClickThroughRateResponse = {
3
3
  /**
4
4
  * The click-through rate.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getClickThroughRateResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getClickThroughRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"getClickThroughRateResponse.d.ts","sourceRoot":"","sources":["../../model/getClickThroughRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;CAChC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ConversionRateEvent } from './conversionRateEvent';
2
- export declare type GetConversationRateResponse = {
2
+ export type GetConversationRateResponse = {
3
3
  /**
4
4
  * The click-through rate.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getConversationRateResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getConversationRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"getConversationRateResponse.d.ts","sourceRoot":"","sources":["../../model/getConversationRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { NoClickRateEvent } from './noClickRateEvent';
2
- export declare type GetNoClickRateResponse = {
2
+ export type GetNoClickRateResponse = {
3
3
  /**
4
4
  * The click-through rate.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getNoClickRateResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getNoClickRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B,CAAC"}
1
+ {"version":3,"file":"getNoClickRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoClickRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { NoResultsRateEvent } from './noResultsRateEvent';
2
- export declare type GetNoResultsRateResponse = {
2
+ export type GetNoResultsRateResponse = {
3
3
  /**
4
4
  * The click-through rate.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getNoResultsRateResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getNoResultsRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"getNoResultsRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoResultsRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { SearchEvent } from './searchEvent';
2
- export declare type GetSearchesCountResponse = {
2
+ export type GetSearchesCountResponse = {
3
3
  /**
4
4
  * The number of occurrences.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getSearchesCountResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getSearchesCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"getSearchesCountResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { SearchNoClickEvent } from './searchNoClickEvent';
2
- export declare type GetSearchesNoClicksResponse = {
2
+ export type GetSearchesNoClicksResponse = {
3
3
  /**
4
4
  * A list of searches with no clicks and their count.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getSearchesNoClicksResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getSearchesNoClicksResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"getSearchesNoClicksResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoClicksResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { SearchNoResultEvent } from './searchNoResultEvent';
2
- export declare type GetSearchesNoResultsResponse = {
2
+ export type GetSearchesNoResultsResponse = {
3
3
  /**
4
4
  * A list of searches with no results and their count.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getSearchesNoResultsResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getSearchesNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC"}
1
+ {"version":3,"file":"getSearchesNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type GetStatusResponse = {
1
+ export type GetStatusResponse = {
2
2
  /**
3
3
  * Date of last update (ISO-8601 format).
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getStatusResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getStatusResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"getStatusResponse.d.ts","sourceRoot":"","sources":["../../model/getStatusResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { TopCountry } from './topCountry';
2
- export declare type GetTopCountriesResponse = {
2
+ export type GetTopCountriesResponse = {
3
3
  /**
4
4
  * A list of countries with their count.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopCountriesResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopCountriesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"getTopCountriesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopCountriesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type GetTopFilterAttribute = {
1
+ export type GetTopFilterAttribute = {
2
2
  /**
3
3
  * The attribute.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFilterAttribute.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopFilterAttribute.ts"],"names":[],"mappings":"AAEA,oBAAY,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"getTopFilterAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterAttribute.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { GetTopFilterAttribute } from './getTopFilterAttribute';
2
- export declare type GetTopFilterAttributesResponse = {
2
+ export type GetTopFilterAttributesResponse = {
3
3
  /**
4
4
  * A list of attributes with their count.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFilterAttributesResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopFilterAttributesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,oBAAY,8BAA8B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,qBAAqB,EAAE,CAAC;CACrC,CAAC"}
1
+ {"version":3,"file":"getTopFilterAttributesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFilterAttributesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,qBAAqB,EAAE,CAAC;CACrC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type GetTopFilterForAttribute = {
1
+ export type GetTopFilterForAttribute = {
2
2
  /**
3
3
  * The attribute.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFilterForAttribute.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopFilterForAttribute.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"getTopFilterForAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttribute.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { GetTopFilterForAttribute } from './getTopFilterForAttribute';
2
- export declare type GetTopFilterForAttributeResponse = {
2
+ export type GetTopFilterForAttributeResponse = {
3
3
  /**
4
4
  * A list of filters for the given attributes.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFilterForAttributeResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopFilterForAttributeResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,oBAAY,gCAAgC,GAAG;IAC7C;;OAEG;IACH,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAAC"}
1
+ {"version":3,"file":"getTopFilterForAttributeResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttributeResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValues';
2
- export declare type GetTopFiltersNoResultsResponse = {
2
+ export type GetTopFiltersNoResultsResponse = {
3
3
  /**
4
4
  * A list of filters without results.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFiltersNoResultsResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-analytics/model/getTopFiltersNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,oBAAY,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,EAAE,4BAA4B,EAAE,CAAC;CACxC,CAAC"}
1
+ {"version":3,"file":"getTopFiltersNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,EAAE,4BAA4B,EAAE,CAAC;CACxC,CAAC"}