@algolia/client-analytics 5.2.4 → 5.3.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.
- package/dist/browser.d.ts +1742 -0
- package/dist/builds/browser.js +1125 -0
- package/dist/builds/browser.js.map +1 -0
- package/dist/builds/browser.min.js +2 -0
- package/dist/builds/browser.min.js.map +1 -0
- package/dist/builds/browser.umd.js +12 -0
- package/dist/builds/node.cjs +1143 -0
- package/dist/builds/node.cjs.map +1 -0
- package/dist/builds/node.js +1123 -0
- package/dist/builds/node.js.map +1 -0
- package/dist/node.d.cts +1742 -0
- package/dist/node.d.ts +1742 -0
- package/dist/src/analyticsClient.cjs +1110 -0
- package/dist/src/analyticsClient.cjs.map +1 -0
- package/dist/src/{analyticsClient.d.ts → analyticsClient.js} +749 -58
- package/dist/src/analyticsClient.js.map +1 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +28 -25
- package/dist/builds/browser.d.ts +0 -40
- package/dist/builds/browser.d.ts.map +0 -1
- package/dist/builds/node.d.ts +0 -40
- package/dist/builds/node.d.ts.map +0 -1
- package/dist/client-analytics.cjs +0 -1089
- package/dist/client-analytics.esm.browser.js +0 -1763
- package/dist/client-analytics.esm.node.js +0 -1086
- package/dist/client-analytics.umd.js +0 -2
- package/dist/model/clickPosition.d.ts +0 -14
- package/dist/model/clickPosition.d.ts.map +0 -1
- package/dist/model/clientMethodProps.d.ts +0 -579
- package/dist/model/clientMethodProps.d.ts.map +0 -1
- package/dist/model/currencyCode.d.ts +0 -14
- package/dist/model/currencyCode.d.ts.map +0 -1
- package/dist/model/dailyAddToCartRates.d.ts +0 -19
- package/dist/model/dailyAddToCartRates.d.ts.map +0 -1
- package/dist/model/dailyAverageClicks.d.ts +0 -15
- package/dist/model/dailyAverageClicks.d.ts.map +0 -1
- package/dist/model/dailyClickThroughRates.d.ts +0 -19
- package/dist/model/dailyClickThroughRates.d.ts.map +0 -1
- package/dist/model/dailyConversionRates.d.ts +0 -19
- package/dist/model/dailyConversionRates.d.ts.map +0 -1
- package/dist/model/dailyNoClickRates.d.ts +0 -19
- package/dist/model/dailyNoClickRates.d.ts.map +0 -1
- package/dist/model/dailyNoResultsRates.d.ts +0 -19
- package/dist/model/dailyNoResultsRates.d.ts.map +0 -1
- package/dist/model/dailyPurchaseRates.d.ts +0 -19
- package/dist/model/dailyPurchaseRates.d.ts.map +0 -1
- package/dist/model/dailyRevenue.d.ts +0 -12
- package/dist/model/dailyRevenue.d.ts.map +0 -1
- package/dist/model/dailySearches.d.ts +0 -11
- package/dist/model/dailySearches.d.ts.map +0 -1
- package/dist/model/dailySearchesNoClicks.d.ts +0 -15
- package/dist/model/dailySearchesNoClicks.d.ts.map +0 -1
- package/dist/model/dailySearchesNoResults.d.ts +0 -15
- package/dist/model/dailySearchesNoResults.d.ts.map +0 -1
- package/dist/model/dailyUsers.d.ts +0 -11
- package/dist/model/dailyUsers.d.ts.map +0 -1
- package/dist/model/direction.d.ts +0 -2
- package/dist/model/direction.d.ts.map +0 -1
- package/dist/model/errorBase.d.ts +0 -7
- package/dist/model/errorBase.d.ts.map +0 -1
- package/dist/model/getAddToCartRateResponse.d.ts +0 -20
- package/dist/model/getAddToCartRateResponse.d.ts.map +0 -1
- package/dist/model/getAverageClickPositionResponse.d.ts +0 -16
- package/dist/model/getAverageClickPositionResponse.d.ts.map +0 -1
- package/dist/model/getClickPositionsResponse.d.ts +0 -8
- package/dist/model/getClickPositionsResponse.d.ts.map +0 -1
- package/dist/model/getClickThroughRateResponse.d.ts +0 -20
- package/dist/model/getClickThroughRateResponse.d.ts.map +0 -1
- package/dist/model/getConversionRateResponse.d.ts +0 -20
- package/dist/model/getConversionRateResponse.d.ts.map +0 -1
- package/dist/model/getNoClickRateResponse.d.ts +0 -20
- package/dist/model/getNoClickRateResponse.d.ts.map +0 -1
- package/dist/model/getNoResultsRateResponse.d.ts +0 -20
- package/dist/model/getNoResultsRateResponse.d.ts.map +0 -1
- package/dist/model/getPurchaseRateResponse.d.ts +0 -20
- package/dist/model/getPurchaseRateResponse.d.ts.map +0 -1
- package/dist/model/getRevenue.d.ts +0 -13
- package/dist/model/getRevenue.d.ts.map +0 -1
- package/dist/model/getSearchesCountResponse.d.ts +0 -12
- package/dist/model/getSearchesCountResponse.d.ts.map +0 -1
- package/dist/model/getSearchesNoClicksResponse.d.ts +0 -8
- package/dist/model/getSearchesNoClicksResponse.d.ts.map +0 -1
- package/dist/model/getSearchesNoResultsResponse.d.ts +0 -8
- package/dist/model/getSearchesNoResultsResponse.d.ts.map +0 -1
- package/dist/model/getStatusResponse.d.ts +0 -7
- package/dist/model/getStatusResponse.d.ts.map +0 -1
- package/dist/model/getTopCountriesResponse.d.ts +0 -8
- package/dist/model/getTopCountriesResponse.d.ts.map +0 -1
- package/dist/model/getTopFilterAttribute.d.ts +0 -11
- package/dist/model/getTopFilterAttribute.d.ts.map +0 -1
- package/dist/model/getTopFilterAttributesResponse.d.ts +0 -8
- package/dist/model/getTopFilterAttributesResponse.d.ts.map +0 -1
- package/dist/model/getTopFilterForAttribute.d.ts +0 -17
- package/dist/model/getTopFilterForAttribute.d.ts.map +0 -1
- package/dist/model/getTopFilterForAttributeResponse.d.ts +0 -8
- package/dist/model/getTopFilterForAttributeResponse.d.ts.map +0 -1
- package/dist/model/getTopFiltersNoResultsResponse.d.ts +0 -8
- package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +0 -1
- package/dist/model/getTopFiltersNoResultsValue.d.ts +0 -13
- package/dist/model/getTopFiltersNoResultsValue.d.ts.map +0 -1
- package/dist/model/getTopFiltersNoResultsValues.d.ts +0 -12
- package/dist/model/getTopFiltersNoResultsValues.d.ts.map +0 -1
- package/dist/model/getTopHitsResponse.d.ts +0 -5
- package/dist/model/getTopHitsResponse.d.ts.map +0 -1
- package/dist/model/getTopSearchesResponse.d.ts +0 -5
- package/dist/model/getTopSearchesResponse.d.ts.map +0 -1
- package/dist/model/getUsersCountResponse.d.ts +0 -12
- package/dist/model/getUsersCountResponse.d.ts.map +0 -1
- package/dist/model/index.d.ts +0 -57
- package/dist/model/index.d.ts.map +0 -1
- package/dist/model/operator.d.ts +0 -5
- package/dist/model/operator.d.ts.map +0 -1
- package/dist/model/orderBy.d.ts +0 -5
- package/dist/model/orderBy.d.ts.map +0 -1
- package/dist/model/topCountry.d.ts +0 -11
- package/dist/model/topCountry.d.ts.map +0 -1
- package/dist/model/topHit.d.ts +0 -11
- package/dist/model/topHit.d.ts.map +0 -1
- package/dist/model/topHitWithAnalytics.d.ts +0 -31
- package/dist/model/topHitWithAnalytics.d.ts.map +0 -1
- package/dist/model/topHitWithRevenueAnalytics.d.ts +0 -52
- package/dist/model/topHitWithRevenueAnalytics.d.ts.map +0 -1
- package/dist/model/topHitsResponse.d.ts +0 -8
- package/dist/model/topHitsResponse.d.ts.map +0 -1
- package/dist/model/topHitsResponseWithAnalytics.d.ts +0 -8
- package/dist/model/topHitsResponseWithAnalytics.d.ts.map +0 -1
- package/dist/model/topHitsResponseWithRevenueAnalytics.d.ts +0 -8
- package/dist/model/topHitsResponseWithRevenueAnalytics.d.ts.map +0 -1
- package/dist/model/topSearch.d.ts +0 -15
- package/dist/model/topSearch.d.ts.map +0 -1
- package/dist/model/topSearchWithAnalytics.d.ts +0 -44
- package/dist/model/topSearchWithAnalytics.d.ts.map +0 -1
- package/dist/model/topSearchWithRevenueAnalytics.d.ts +0 -65
- package/dist/model/topSearchWithRevenueAnalytics.d.ts.map +0 -1
- package/dist/model/topSearchesResponse.d.ts +0 -8
- package/dist/model/topSearchesResponse.d.ts.map +0 -1
- package/dist/model/topSearchesResponseWithAnalytics.d.ts +0 -8
- package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +0 -1
- package/dist/model/topSearchesResponseWithRevenueAnalytics.d.ts +0 -8
- package/dist/model/topSearchesResponseWithRevenueAnalytics.d.ts.map +0 -1
- package/dist/src/analyticsClient.d.ts.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! client-analytics.umd.js | 5.2.4 | © 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)||"{}")}function s(e){i().setItem(r,JSON.stringify(e))}return{get:(t,r,i={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>(function(){const t=e.timeToLive?1e3*e.timeToLive:null,r=o(),i=Object.fromEntries(Object.entries(r).filter((([,e])=>void 0!==e.timestamp)));if(s(i),!t)return;s(Object.fromEntries(Object.entries(i).filter((([,e])=>{const r=(new Date).getTime();return!(e.timestamp+t<r)}))))}(),o()[JSON.stringify(t)]))).then((e=>Promise.all([e?e.value:r(),void 0!==e]))).then((([e,t])=>Promise.all([e,t||i.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const s=o();return s[JSON.stringify(e)]={timestamp:(new Date).getTime(),value: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||!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: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, please reach out to the Algolia Support team: https://alg.li/support.",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=(o=r,Object.keys(o).filter((e=>void 0!==o[e])).sort().map((e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(o[e])?o[e].join(","):o[e]).replaceAll("+","%20")}`)).join("&"));var o;let s=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return i.length&&(s+=`?${i}`),s}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 v({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:n,requestsCache:d,responsesCache:v}){async function p(d,v,p=!0){const f=[],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,v),w=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,v.headers),y="GET"===d.method?{...d.data,...v.data}:{},P={...i,...d.queryParameters,...y};if(o.value&&(P["x-algolia-agent"]=o.value),v&&v.queryParameters)for(const e of Object.keys(v.queryParameters))v.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(v.queryParameters[e])?P[e]=v.queryParameters[e].toString():P[e]=v.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)))}(f));const o={...a,...v.timeouts},y={data:S,headers:w,method:d.method,url:h(i,d.path,P),connectTimeout:r(q,o.connect),responseTimeout:r(q,p?o.read:o.write)},T=t=>{const r={request:y,response:t,host:i,triesLeft:e.length};return f.push(r),r},x=await n.send(y);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&!~~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{}return new u(e,t,r)}(x,f)},T=e.filter((e=>"readWrite"===e.accept||(p?"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 p(e,t,o);const s=()=>p(e,t);if(!0!==(t.cacheable||e.cacheable))return s();const a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return v.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=>v.set(a,e)})},requestsCache:d,responsesCache:v}}function p({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 f="5.2.4",S=["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||!S.includes(s)))throw new Error(`\`region\` must be one of the following: ${S.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=v({hosts:(d=o,[{url:d?"analytics.{region}.algolia.com".replace("{region}",d):"analytics.algolia.com",accept:"readWrite",protocol:"https"}]),...s,algoliaAgent:p({algoliaAgents:i,client:"Analytics",version:f}),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})},customDelete({path:e,parameters:t},r){if(!e)throw new Error("Parameter `path` is required when calling `customDelete`.");const i={method:"DELETE",path:"/{path}".replace("{path}",e),queryParameters:t||{},headers:{}};return n.request(i,r)},customGet({path:e,parameters:t},r){if(!e)throw new Error("Parameter `path` is required when calling `customGet`.");const i={method:"GET",path:"/{path}".replace("{path}",e),queryParameters:t||{},headers:{}};return n.request(i,r)},customPost({path:e,parameters:t,body:r},i){if(!e)throw new Error("Parameter `path` is required when calling `customPost`.");const o={method:"POST",path:"/{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(o,i)},customPut({path:e,parameters:t,body:r},i){if(!e)throw new Error("Parameter `path` is required when calling `customPut`.");const o={method:"PUT",path:"/{path}".replace("{path}",e),queryParameters:t||{},headers:{},data:r||{}};return n.request(o,i)},getAddToCartRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getAddToCartRate`.");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/addToCartRate",queryParameters:s,headers:{}};return n.request(a,o)},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)},getConversionRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getConversionRate`.");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)},getPurchaseRate({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getPurchaseRate`.");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/purchaseRate",queryParameters:s,headers:{}};return n.request(a,o)},getRevenue({index:e,startDate:t,endDate:r,tags:i},o){if(!e)throw new Error("Parameter `index` is required when calling `getRevenue`.");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/revenue",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,revenueAnalytics:i,startDate:o,endDate:s,limit:a,offset:d,tags:c},u){if(!e)throw new Error("Parameter `index` is required when calling `getTopHits`.");const l={};void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.search=t.toString()),void 0!==r&&(l.clickAnalytics=r.toString()),void 0!==i&&(l.revenueAnalytics=i.toString()),void 0!==o&&(l.startDate=o.toString()),void 0!==s&&(l.endDate=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/hits",queryParameters:l,headers:{}};return n.request(g,u)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:i,endDate:o,orderBy:s,direction:a,limit:d,offset:c,tags:u},l){if(!e)throw new Error("Parameter `index` is required when calling `getTopSearches`.");const g={};void 0!==e&&(g.index=e.toString()),void 0!==t&&(g.clickAnalytics=t.toString()),void 0!==r&&(g.revenueAnalytics=r.toString()),void 0!==i&&(g.startDate=i.toString()),void 0!==o&&(g.endDate=o.toString()),void 0!==s&&(g.orderBy=s.toString()),void 0!==a&&(g.direction=a.toString()),void 0!==d&&(g.limit=d.toString()),void 0!==c&&(g.offset=c.toString()),void 0!==u&&(g.tags=u.toString());const h={method:"GET",path:"/2/searches",queryParameters:g,headers:{}};return n.request(h,l)},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)}}}({appId:e,apiKey:o,region:s,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),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:`${f}-${e}`}),i()]}),...a})},e.apiClientVersion=f}));
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Click position.
|
|
3
|
-
*/
|
|
4
|
-
export type ClickPosition = {
|
|
5
|
-
/**
|
|
6
|
-
* Range of positions in the search results, using the pattern `[start,end]`. For positions 11 and up, click events are summed over the specified range. `-1` indicates the end of the list of search results.
|
|
7
|
-
*/
|
|
8
|
-
position?: number[];
|
|
9
|
-
/**
|
|
10
|
-
* Number of times this search has been clicked at that position.
|
|
11
|
-
*/
|
|
12
|
-
clickCount?: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=clickPosition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clickPosition.d.ts","sourceRoot":"","sources":["../../model/clickPosition.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,579 +0,0 @@
|
|
|
1
|
-
import type { Direction } from './direction';
|
|
2
|
-
import type { OrderBy } from './orderBy';
|
|
3
|
-
/**
|
|
4
|
-
* Properties for the `customDelete` method.
|
|
5
|
-
*/
|
|
6
|
-
export type CustomDeleteProps = {
|
|
7
|
-
/**
|
|
8
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
9
|
-
*/
|
|
10
|
-
path: string;
|
|
11
|
-
/**
|
|
12
|
-
* Query parameters to apply to the current query.
|
|
13
|
-
*/
|
|
14
|
-
parameters?: Record<string, any>;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Properties for the `customGet` method.
|
|
18
|
-
*/
|
|
19
|
-
export type CustomGetProps = {
|
|
20
|
-
/**
|
|
21
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
22
|
-
*/
|
|
23
|
-
path: string;
|
|
24
|
-
/**
|
|
25
|
-
* Query parameters to apply to the current query.
|
|
26
|
-
*/
|
|
27
|
-
parameters?: Record<string, any>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Properties for the `customPost` method.
|
|
31
|
-
*/
|
|
32
|
-
export type CustomPostProps = {
|
|
33
|
-
/**
|
|
34
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
35
|
-
*/
|
|
36
|
-
path: string;
|
|
37
|
-
/**
|
|
38
|
-
* Query parameters to apply to the current query.
|
|
39
|
-
*/
|
|
40
|
-
parameters?: Record<string, any>;
|
|
41
|
-
/**
|
|
42
|
-
* Parameters to send with the custom request.
|
|
43
|
-
*/
|
|
44
|
-
body?: Record<string, unknown>;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Properties for the `customPut` method.
|
|
48
|
-
*/
|
|
49
|
-
export type CustomPutProps = {
|
|
50
|
-
/**
|
|
51
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
52
|
-
*/
|
|
53
|
-
path: string;
|
|
54
|
-
/**
|
|
55
|
-
* Query parameters to apply to the current query.
|
|
56
|
-
*/
|
|
57
|
-
parameters?: Record<string, any>;
|
|
58
|
-
/**
|
|
59
|
-
* Parameters to send with the custom request.
|
|
60
|
-
*/
|
|
61
|
-
body?: Record<string, unknown>;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Properties for the `getAddToCartRate` method.
|
|
65
|
-
*/
|
|
66
|
-
export type GetAddToCartRateProps = {
|
|
67
|
-
/**
|
|
68
|
-
* Index name.
|
|
69
|
-
*/
|
|
70
|
-
index: string;
|
|
71
|
-
/**
|
|
72
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
73
|
-
*/
|
|
74
|
-
startDate?: string;
|
|
75
|
-
/**
|
|
76
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
77
|
-
*/
|
|
78
|
-
endDate?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
81
|
-
*/
|
|
82
|
-
tags?: string;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Properties for the `getAverageClickPosition` method.
|
|
86
|
-
*/
|
|
87
|
-
export type GetAverageClickPositionProps = {
|
|
88
|
-
/**
|
|
89
|
-
* Index name.
|
|
90
|
-
*/
|
|
91
|
-
index: string;
|
|
92
|
-
/**
|
|
93
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
94
|
-
*/
|
|
95
|
-
startDate?: string;
|
|
96
|
-
/**
|
|
97
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
98
|
-
*/
|
|
99
|
-
endDate?: string;
|
|
100
|
-
/**
|
|
101
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
102
|
-
*/
|
|
103
|
-
tags?: string;
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Properties for the `getClickPositions` method.
|
|
107
|
-
*/
|
|
108
|
-
export type GetClickPositionsProps = {
|
|
109
|
-
/**
|
|
110
|
-
* Index name.
|
|
111
|
-
*/
|
|
112
|
-
index: string;
|
|
113
|
-
/**
|
|
114
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
115
|
-
*/
|
|
116
|
-
startDate?: string;
|
|
117
|
-
/**
|
|
118
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
119
|
-
*/
|
|
120
|
-
endDate?: string;
|
|
121
|
-
/**
|
|
122
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
123
|
-
*/
|
|
124
|
-
tags?: string;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Properties for the `getClickThroughRate` method.
|
|
128
|
-
*/
|
|
129
|
-
export type GetClickThroughRateProps = {
|
|
130
|
-
/**
|
|
131
|
-
* Index name.
|
|
132
|
-
*/
|
|
133
|
-
index: string;
|
|
134
|
-
/**
|
|
135
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
136
|
-
*/
|
|
137
|
-
startDate?: string;
|
|
138
|
-
/**
|
|
139
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
140
|
-
*/
|
|
141
|
-
endDate?: string;
|
|
142
|
-
/**
|
|
143
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
144
|
-
*/
|
|
145
|
-
tags?: string;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Properties for the `getConversionRate` method.
|
|
149
|
-
*/
|
|
150
|
-
export type GetConversionRateProps = {
|
|
151
|
-
/**
|
|
152
|
-
* Index name.
|
|
153
|
-
*/
|
|
154
|
-
index: string;
|
|
155
|
-
/**
|
|
156
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
157
|
-
*/
|
|
158
|
-
startDate?: string;
|
|
159
|
-
/**
|
|
160
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
161
|
-
*/
|
|
162
|
-
endDate?: string;
|
|
163
|
-
/**
|
|
164
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
165
|
-
*/
|
|
166
|
-
tags?: string;
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* Properties for the `getNoClickRate` method.
|
|
170
|
-
*/
|
|
171
|
-
export type GetNoClickRateProps = {
|
|
172
|
-
/**
|
|
173
|
-
* Index name.
|
|
174
|
-
*/
|
|
175
|
-
index: string;
|
|
176
|
-
/**
|
|
177
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
178
|
-
*/
|
|
179
|
-
startDate?: string;
|
|
180
|
-
/**
|
|
181
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
182
|
-
*/
|
|
183
|
-
endDate?: string;
|
|
184
|
-
/**
|
|
185
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
186
|
-
*/
|
|
187
|
-
tags?: string;
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* Properties for the `getNoResultsRate` method.
|
|
191
|
-
*/
|
|
192
|
-
export type GetNoResultsRateProps = {
|
|
193
|
-
/**
|
|
194
|
-
* Index name.
|
|
195
|
-
*/
|
|
196
|
-
index: string;
|
|
197
|
-
/**
|
|
198
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
199
|
-
*/
|
|
200
|
-
startDate?: string;
|
|
201
|
-
/**
|
|
202
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
203
|
-
*/
|
|
204
|
-
endDate?: string;
|
|
205
|
-
/**
|
|
206
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
207
|
-
*/
|
|
208
|
-
tags?: string;
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* Properties for the `getPurchaseRate` method.
|
|
212
|
-
*/
|
|
213
|
-
export type GetPurchaseRateProps = {
|
|
214
|
-
/**
|
|
215
|
-
* Index name.
|
|
216
|
-
*/
|
|
217
|
-
index: string;
|
|
218
|
-
/**
|
|
219
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
220
|
-
*/
|
|
221
|
-
startDate?: string;
|
|
222
|
-
/**
|
|
223
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
224
|
-
*/
|
|
225
|
-
endDate?: string;
|
|
226
|
-
/**
|
|
227
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
228
|
-
*/
|
|
229
|
-
tags?: string;
|
|
230
|
-
};
|
|
231
|
-
/**
|
|
232
|
-
* Properties for the `getRevenue` method.
|
|
233
|
-
*/
|
|
234
|
-
export type GetRevenueProps = {
|
|
235
|
-
/**
|
|
236
|
-
* Index name.
|
|
237
|
-
*/
|
|
238
|
-
index: string;
|
|
239
|
-
/**
|
|
240
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
241
|
-
*/
|
|
242
|
-
startDate?: string;
|
|
243
|
-
/**
|
|
244
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
245
|
-
*/
|
|
246
|
-
endDate?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
249
|
-
*/
|
|
250
|
-
tags?: string;
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* Properties for the `getSearchesCount` method.
|
|
254
|
-
*/
|
|
255
|
-
export type GetSearchesCountProps = {
|
|
256
|
-
/**
|
|
257
|
-
* Index name.
|
|
258
|
-
*/
|
|
259
|
-
index: string;
|
|
260
|
-
/**
|
|
261
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
262
|
-
*/
|
|
263
|
-
startDate?: string;
|
|
264
|
-
/**
|
|
265
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
266
|
-
*/
|
|
267
|
-
endDate?: string;
|
|
268
|
-
/**
|
|
269
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
270
|
-
*/
|
|
271
|
-
tags?: string;
|
|
272
|
-
};
|
|
273
|
-
/**
|
|
274
|
-
* Properties for the `getSearchesNoClicks` method.
|
|
275
|
-
*/
|
|
276
|
-
export type GetSearchesNoClicksProps = {
|
|
277
|
-
/**
|
|
278
|
-
* Index name.
|
|
279
|
-
*/
|
|
280
|
-
index: string;
|
|
281
|
-
/**
|
|
282
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
283
|
-
*/
|
|
284
|
-
startDate?: string;
|
|
285
|
-
/**
|
|
286
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
287
|
-
*/
|
|
288
|
-
endDate?: string;
|
|
289
|
-
/**
|
|
290
|
-
* Number of items to return.
|
|
291
|
-
*/
|
|
292
|
-
limit?: number;
|
|
293
|
-
/**
|
|
294
|
-
* Position of the first item to return.
|
|
295
|
-
*/
|
|
296
|
-
offset?: number;
|
|
297
|
-
/**
|
|
298
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
299
|
-
*/
|
|
300
|
-
tags?: string;
|
|
301
|
-
};
|
|
302
|
-
/**
|
|
303
|
-
* Properties for the `getSearchesNoResults` method.
|
|
304
|
-
*/
|
|
305
|
-
export type GetSearchesNoResultsProps = {
|
|
306
|
-
/**
|
|
307
|
-
* Index name.
|
|
308
|
-
*/
|
|
309
|
-
index: string;
|
|
310
|
-
/**
|
|
311
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
312
|
-
*/
|
|
313
|
-
startDate?: string;
|
|
314
|
-
/**
|
|
315
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
316
|
-
*/
|
|
317
|
-
endDate?: string;
|
|
318
|
-
/**
|
|
319
|
-
* Number of items to return.
|
|
320
|
-
*/
|
|
321
|
-
limit?: number;
|
|
322
|
-
/**
|
|
323
|
-
* Position of the first item to return.
|
|
324
|
-
*/
|
|
325
|
-
offset?: number;
|
|
326
|
-
/**
|
|
327
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
328
|
-
*/
|
|
329
|
-
tags?: string;
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* Properties for the `getStatus` method.
|
|
333
|
-
*/
|
|
334
|
-
export type GetStatusProps = {
|
|
335
|
-
/**
|
|
336
|
-
* Index name.
|
|
337
|
-
*/
|
|
338
|
-
index: string;
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* Properties for the `getTopCountries` method.
|
|
342
|
-
*/
|
|
343
|
-
export type GetTopCountriesProps = {
|
|
344
|
-
/**
|
|
345
|
-
* Index name.
|
|
346
|
-
*/
|
|
347
|
-
index: string;
|
|
348
|
-
/**
|
|
349
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
350
|
-
*/
|
|
351
|
-
startDate?: string;
|
|
352
|
-
/**
|
|
353
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
354
|
-
*/
|
|
355
|
-
endDate?: string;
|
|
356
|
-
/**
|
|
357
|
-
* Number of items to return.
|
|
358
|
-
*/
|
|
359
|
-
limit?: number;
|
|
360
|
-
/**
|
|
361
|
-
* Position of the first item to return.
|
|
362
|
-
*/
|
|
363
|
-
offset?: number;
|
|
364
|
-
/**
|
|
365
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
366
|
-
*/
|
|
367
|
-
tags?: string;
|
|
368
|
-
};
|
|
369
|
-
/**
|
|
370
|
-
* Properties for the `getTopFilterAttributes` method.
|
|
371
|
-
*/
|
|
372
|
-
export type GetTopFilterAttributesProps = {
|
|
373
|
-
/**
|
|
374
|
-
* Index name.
|
|
375
|
-
*/
|
|
376
|
-
index: string;
|
|
377
|
-
/**
|
|
378
|
-
* Search query.
|
|
379
|
-
*/
|
|
380
|
-
search?: string;
|
|
381
|
-
/**
|
|
382
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
383
|
-
*/
|
|
384
|
-
startDate?: string;
|
|
385
|
-
/**
|
|
386
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
387
|
-
*/
|
|
388
|
-
endDate?: string;
|
|
389
|
-
/**
|
|
390
|
-
* Number of items to return.
|
|
391
|
-
*/
|
|
392
|
-
limit?: number;
|
|
393
|
-
/**
|
|
394
|
-
* Position of the first item to return.
|
|
395
|
-
*/
|
|
396
|
-
offset?: number;
|
|
397
|
-
/**
|
|
398
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
399
|
-
*/
|
|
400
|
-
tags?: string;
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* Properties for the `getTopFilterForAttribute` method.
|
|
404
|
-
*/
|
|
405
|
-
export type GetTopFilterForAttributeProps = {
|
|
406
|
-
/**
|
|
407
|
-
* Attribute name.
|
|
408
|
-
*/
|
|
409
|
-
attribute: string;
|
|
410
|
-
/**
|
|
411
|
-
* Index name.
|
|
412
|
-
*/
|
|
413
|
-
index: string;
|
|
414
|
-
/**
|
|
415
|
-
* Search query.
|
|
416
|
-
*/
|
|
417
|
-
search?: string;
|
|
418
|
-
/**
|
|
419
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
420
|
-
*/
|
|
421
|
-
startDate?: string;
|
|
422
|
-
/**
|
|
423
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
424
|
-
*/
|
|
425
|
-
endDate?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Number of items to return.
|
|
428
|
-
*/
|
|
429
|
-
limit?: number;
|
|
430
|
-
/**
|
|
431
|
-
* Position of the first item to return.
|
|
432
|
-
*/
|
|
433
|
-
offset?: number;
|
|
434
|
-
/**
|
|
435
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
436
|
-
*/
|
|
437
|
-
tags?: string;
|
|
438
|
-
};
|
|
439
|
-
/**
|
|
440
|
-
* Properties for the `getTopFiltersNoResults` method.
|
|
441
|
-
*/
|
|
442
|
-
export type GetTopFiltersNoResultsProps = {
|
|
443
|
-
/**
|
|
444
|
-
* Index name.
|
|
445
|
-
*/
|
|
446
|
-
index: string;
|
|
447
|
-
/**
|
|
448
|
-
* Search query.
|
|
449
|
-
*/
|
|
450
|
-
search?: string;
|
|
451
|
-
/**
|
|
452
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
453
|
-
*/
|
|
454
|
-
startDate?: string;
|
|
455
|
-
/**
|
|
456
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
457
|
-
*/
|
|
458
|
-
endDate?: string;
|
|
459
|
-
/**
|
|
460
|
-
* Number of items to return.
|
|
461
|
-
*/
|
|
462
|
-
limit?: number;
|
|
463
|
-
/**
|
|
464
|
-
* Position of the first item to return.
|
|
465
|
-
*/
|
|
466
|
-
offset?: number;
|
|
467
|
-
/**
|
|
468
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
469
|
-
*/
|
|
470
|
-
tags?: string;
|
|
471
|
-
};
|
|
472
|
-
/**
|
|
473
|
-
* Properties for the `getTopHits` method.
|
|
474
|
-
*/
|
|
475
|
-
export type GetTopHitsProps = {
|
|
476
|
-
/**
|
|
477
|
-
* Index name.
|
|
478
|
-
*/
|
|
479
|
-
index: string;
|
|
480
|
-
/**
|
|
481
|
-
* Search query.
|
|
482
|
-
*/
|
|
483
|
-
search?: string;
|
|
484
|
-
/**
|
|
485
|
-
* Whether to include metrics related to click and conversion events in the response.
|
|
486
|
-
*/
|
|
487
|
-
clickAnalytics?: boolean;
|
|
488
|
-
/**
|
|
489
|
-
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
|
|
490
|
-
*/
|
|
491
|
-
revenueAnalytics?: boolean;
|
|
492
|
-
/**
|
|
493
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
494
|
-
*/
|
|
495
|
-
startDate?: string;
|
|
496
|
-
/**
|
|
497
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
498
|
-
*/
|
|
499
|
-
endDate?: string;
|
|
500
|
-
/**
|
|
501
|
-
* Number of items to return.
|
|
502
|
-
*/
|
|
503
|
-
limit?: number;
|
|
504
|
-
/**
|
|
505
|
-
* Position of the first item to return.
|
|
506
|
-
*/
|
|
507
|
-
offset?: number;
|
|
508
|
-
/**
|
|
509
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
510
|
-
*/
|
|
511
|
-
tags?: string;
|
|
512
|
-
};
|
|
513
|
-
/**
|
|
514
|
-
* Properties for the `getTopSearches` method.
|
|
515
|
-
*/
|
|
516
|
-
export type GetTopSearchesProps = {
|
|
517
|
-
/**
|
|
518
|
-
* Index name.
|
|
519
|
-
*/
|
|
520
|
-
index: string;
|
|
521
|
-
/**
|
|
522
|
-
* Whether to include metrics related to click and conversion events in the response.
|
|
523
|
-
*/
|
|
524
|
-
clickAnalytics?: boolean;
|
|
525
|
-
/**
|
|
526
|
-
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
|
|
527
|
-
*/
|
|
528
|
-
revenueAnalytics?: boolean;
|
|
529
|
-
/**
|
|
530
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
531
|
-
*/
|
|
532
|
-
startDate?: string;
|
|
533
|
-
/**
|
|
534
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
535
|
-
*/
|
|
536
|
-
endDate?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
|
|
539
|
-
*/
|
|
540
|
-
orderBy?: OrderBy;
|
|
541
|
-
/**
|
|
542
|
-
* Sorting direction of the results: ascending or descending.
|
|
543
|
-
*/
|
|
544
|
-
direction?: Direction;
|
|
545
|
-
/**
|
|
546
|
-
* Number of items to return.
|
|
547
|
-
*/
|
|
548
|
-
limit?: number;
|
|
549
|
-
/**
|
|
550
|
-
* Position of the first item to return.
|
|
551
|
-
*/
|
|
552
|
-
offset?: number;
|
|
553
|
-
/**
|
|
554
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
555
|
-
*/
|
|
556
|
-
tags?: string;
|
|
557
|
-
};
|
|
558
|
-
/**
|
|
559
|
-
* Properties for the `getUsersCount` method.
|
|
560
|
-
*/
|
|
561
|
-
export type GetUsersCountProps = {
|
|
562
|
-
/**
|
|
563
|
-
* Index name.
|
|
564
|
-
*/
|
|
565
|
-
index: string;
|
|
566
|
-
/**
|
|
567
|
-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
568
|
-
*/
|
|
569
|
-
startDate?: string;
|
|
570
|
-
/**
|
|
571
|
-
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
572
|
-
*/
|
|
573
|
-
endDate?: string;
|
|
574
|
-
/**
|
|
575
|
-
* Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
576
|
-
*/
|
|
577
|
-
tags?: string;
|
|
578
|
-
};
|
|
579
|
-
//# sourceMappingURL=clientMethodProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC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EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Currency code.
|
|
3
|
-
*/
|
|
4
|
-
export type CurrencyCode = {
|
|
5
|
-
/**
|
|
6
|
-
* Currency code.
|
|
7
|
-
*/
|
|
8
|
-
currency?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Revenue associated with this search in this currency.
|
|
11
|
-
*/
|
|
12
|
-
revenue?: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=currencyCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currencyCode.d.ts","sourceRoot":"","sources":["../../model/currencyCode.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|