@algolia/client-abtesting 5.0.0-alpha.8 → 5.0.0-alpha.80

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 (47) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +5 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{client-abtesting.cjs.js → client-abtesting.cjs} +324 -318
  6. package/dist/client-abtesting.esm.browser.js +507 -547
  7. package/dist/client-abtesting.esm.node.js +324 -316
  8. package/dist/client-abtesting.umd.js +2 -2
  9. package/dist/model/aBTest.d.ts +35 -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/customSearchParams.d.ts +6 -3
  24. package/dist/model/customSearchParams.d.ts.map +1 -1
  25. package/dist/model/errorBase.d.ts +6 -6
  26. package/dist/model/errorBase.d.ts.map +1 -1
  27. package/dist/model/index.d.ts +11 -11
  28. package/dist/model/listABTestsResponse.d.ts +15 -15
  29. package/dist/model/listABTestsResponse.d.ts.map +1 -1
  30. package/dist/model/variant.d.ts +58 -50
  31. package/dist/model/variant.d.ts.map +1 -1
  32. package/dist/src/abtestingClient.d.ts +126 -124
  33. package/dist/src/abtestingClient.d.ts.map +1 -1
  34. package/index.js +1 -1
  35. package/model/aBTest.ts +9 -14
  36. package/model/aBTestResponse.ts +4 -4
  37. package/model/abTestsVariant.ts +4 -4
  38. package/model/abTestsVariantSearchParams.ts +1 -1
  39. package/model/addABTestsRequest.ts +4 -4
  40. package/model/addABTestsVariant.ts +1 -1
  41. package/model/clientMethodProps.ts +23 -15
  42. package/model/customSearchParams.ts +4 -1
  43. package/model/errorBase.ts +1 -1
  44. package/model/index.ts +1 -1
  45. package/model/listABTestsResponse.ts +4 -4
  46. package/model/variant.ts +23 -13
  47. package/package.json +30 -13
@@ -1,6 +1,6 @@
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 { AbtestingClient, Region } from '../src/abtestingClient';
3
+ export { apiClientVersion, AbtestingClient, Region, } from '../src/abtestingClient';
4
+ export * from '../model';
5
+ export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): AbtestingClient;
6
6
  //# 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,eAAe,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOtE,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,MAAM,GACP,MAAM,wBAAwB,CAAC;AAChC,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,6 +1,6 @@
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 { AbtestingClient, Region } from '../src/abtestingClient';
3
+ export { apiClientVersion, AbtestingClient, Region, } from '../src/abtestingClient';
4
+ export * from '../model';
5
+ export declare function abtestingClient(appId: string, apiKey: string, region?: Region, options?: ClientOptions): AbtestingClient;
6
6
  //# 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,eAAe,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGtE,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,MAAM,GACP,MAAM,wBAAwB,CAAC;AAChC,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"}