@algolia/client-abtesting 5.0.0-alpha.11 → 5.0.0-alpha.111

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 (60) hide show
  1. package/dist/builds/browser.d.ts +24 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +24 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{client-abtesting.cjs.js → client-abtesting.cjs} +333 -318
  6. package/dist/client-abtesting.esm.browser.js +543 -554
  7. package/dist/client-abtesting.esm.node.js +333 -316
  8. package/dist/client-abtesting.umd.js +2 -2
  9. package/dist/model/aBTest.d.ts +51 -39
  10. package/dist/model/aBTest.d.ts.map +1 -1
  11. package/dist/model/aBTestResponse.d.ts +14 -14
  12. package/dist/model/aBTestResponse.d.ts.map +1 -1
  13. package/dist/model/abTestsVariant.d.ts +14 -14
  14. package/dist/model/abTestsVariant.d.ts.map +1 -1
  15. package/dist/model/abTestsVariantSearchParams.d.ts +3 -3
  16. package/dist/model/abTestsVariantSearchParams.d.ts.map +1 -1
  17. package/dist/model/addABTestsRequest.d.ts +15 -15
  18. package/dist/model/addABTestsRequest.d.ts.map +1 -1
  19. package/dist/model/addABTestsVariant.d.ts +3 -3
  20. package/dist/model/addABTestsVariant.d.ts.map +1 -1
  21. package/dist/model/clientMethodProps.d.ts +108 -100
  22. package/dist/model/clientMethodProps.d.ts.map +1 -1
  23. package/dist/model/currency.d.ts +19 -0
  24. package/dist/model/currency.d.ts.map +1 -0
  25. package/dist/model/customSearchParams.d.ts +6 -3
  26. package/dist/model/customSearchParams.d.ts.map +1 -1
  27. package/dist/model/errorBase.d.ts +6 -6
  28. package/dist/model/errorBase.d.ts.map +1 -1
  29. package/dist/model/filterEffects.d.ts +10 -0
  30. package/dist/model/filterEffects.d.ts.map +1 -0
  31. package/dist/model/filterEffectsEmptySearch.d.ts +14 -0
  32. package/dist/model/filterEffectsEmptySearch.d.ts.map +1 -0
  33. package/dist/model/filterEffectsOutliers.d.ts +14 -0
  34. package/dist/model/filterEffectsOutliers.d.ts.map +1 -0
  35. package/dist/model/index.d.ts +15 -11
  36. package/dist/model/index.d.ts.map +1 -1
  37. package/dist/model/listABTestsResponse.d.ts +15 -15
  38. package/dist/model/listABTestsResponse.d.ts.map +1 -1
  39. package/dist/model/variant.d.ts +81 -50
  40. package/dist/model/variant.d.ts.map +1 -1
  41. package/dist/src/abtestingClient.d.ts +128 -124
  42. package/dist/src/abtestingClient.d.ts.map +1 -1
  43. package/index.js +1 -1
  44. package/model/aBTest.ts +27 -12
  45. package/model/aBTestResponse.ts +4 -4
  46. package/model/abTestsVariant.ts +4 -4
  47. package/model/abTestsVariantSearchParams.ts +1 -1
  48. package/model/addABTestsRequest.ts +4 -4
  49. package/model/addABTestsVariant.ts +1 -1
  50. package/model/clientMethodProps.ts +54 -46
  51. package/model/currency.ts +23 -0
  52. package/model/customSearchParams.ts +4 -1
  53. package/model/errorBase.ts +1 -1
  54. package/model/filterEffects.ts +13 -0
  55. package/model/filterEffectsEmptySearch.ts +16 -0
  56. package/model/filterEffectsOutliers.ts +16 -0
  57. package/model/index.ts +5 -1
  58. package/model/listABTestsResponse.ts +5 -5
  59. package/model/variant.ts +60 -20
  60. package/package.json +10 -9
@@ -1,6 +1,25 @@
1
- import type { ClientOptions } from '@algolia/client-common';
2
- import type { AbtestingClient, Region } from '../src/abtestingClient';
3
- export { apiClientVersion, AbtestingClient } from '../src/abtestingClient';
4
- export * from '../model';
5
- export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): AbtestingClient;
1
+ import type { ClientOptions } from '@algolia/client-common';
2
+ import type { Region } from '../src/abtestingClient';
3
+ export { apiClientVersion, Region } from '../src/abtestingClient';
4
+ export * from '../model';
5
+ /**
6
+ * The client type.
7
+ */
8
+ export type AbtestingClient = ReturnType<typeof abtestingClient>;
9
+ export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): {
10
+ transporter: import("@algolia/client-common").Transporter;
11
+ appId: string;
12
+ clearCache(): Promise<void>;
13
+ readonly _ua: string;
14
+ addAlgoliaAgent(segment: string, version?: string | undefined): void;
15
+ addABTests(addABTestsRequest: import("../model").AddABTestsRequest, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
16
+ customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
17
+ customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
18
+ customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
19
+ customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
20
+ deleteABTest({ id }: import("../model").DeleteABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
21
+ getABTest({ id }: import("../model").GetABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTest>;
22
+ listABTests({ offset, limit, indexPrefix, indexSuffix }?: import("../model").ListABTestsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListABTestsResponse>;
23
+ stopABTest({ id }: import("../model").StopABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
24
+ };
6
25
  //# sourceMappingURL=browser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOtE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAqCjB"}
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAClE,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EAsCxB"}
@@ -1,6 +1,25 @@
1
- import type { ClientOptions } from '@algolia/client-common';
2
- import type { AbtestingClient, Region } from '../src/abtestingClient';
3
- export { apiClientVersion, AbtestingClient } from '../src/abtestingClient';
4
- export * from '../model';
5
- export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): AbtestingClient;
1
+ import type { ClientOptions } from '@algolia/client-common';
2
+ import type { Region } from '../src/abtestingClient';
3
+ export { apiClientVersion, Region } from '../src/abtestingClient';
4
+ export * from '../model';
5
+ /**
6
+ * The client type.
7
+ */
8
+ export type AbtestingClient = ReturnType<typeof abtestingClient>;
9
+ export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): {
10
+ transporter: import("@algolia/client-common").Transporter;
11
+ appId: string;
12
+ clearCache(): Promise<void>;
13
+ _ua: string;
14
+ addAlgoliaAgent(segment: string, version?: string | undefined): void;
15
+ addABTests(addABTestsRequest: import("../model").AddABTestsRequest, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
16
+ customDelete({ path, parameters }: import("../model").CustomDeleteProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
17
+ customGet({ path, parameters }: import("../model").CustomGetProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
18
+ customPost({ path, parameters, body }: import("../model").CustomPostProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
19
+ customPut({ path, parameters, body }: import("../model").CustomPutProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<Record<string, any>>;
20
+ deleteABTest({ id }: import("../model").DeleteABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
21
+ getABTest({ id }: import("../model").GetABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTest>;
22
+ listABTests({ offset, limit, indexPrefix, indexSuffix }?: import("../model").ListABTestsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListABTestsResponse>;
23
+ stopABTest({ id }: import("../model").StopABTestProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ABTestResponse>;
24
+ };
6
25
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAU5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGtE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CA+BjB"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAU5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAClE,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;EAkCxB"}