@algolia/client-abtesting 5.9.0 → 5.10.0-beta.1
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/README.md +4 -4
- package/dist/browser.d.ts +1 -1
- package/dist/builds/browser.js +1 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +1 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +1 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +1 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/src/abtestingClient.cjs +1 -1
- package/dist/src/abtestingClient.cjs.map +1 -1
- package/dist/src/abtestingClient.js +1 -1
- package/dist/src/abtestingClient.js.map +1 -1
- package/package.json +6 -7
- package/model/aBTest.ts +0 -51
- package/model/aBTestConfiguration.ts +0 -16
- package/model/aBTestResponse.ts +0 -18
- package/model/abTestsVariant.ts +0 -18
- package/model/abTestsVariantSearchParams.ts +0 -6
- package/model/addABTestsRequest.ts +0 -20
- package/model/addABTestsVariant.ts +0 -6
- package/model/clientMethodProps.ts +0 -117
- package/model/currency.ts +0 -23
- package/model/customSearchParams.ts +0 -8
- package/model/effect.ts +0 -6
- package/model/emptySearch.ts +0 -11
- package/model/emptySearchFilter.ts +0 -16
- package/model/errorBase.ts +0 -8
- package/model/filterEffects.ts +0 -13
- package/model/index.ts +0 -25
- package/model/listABTestsResponse.ts +0 -20
- package/model/minimumDetectableEffect.ts +0 -15
- package/model/outliers.ts +0 -11
- package/model/outliersFilter.ts +0 -16
- package/model/scheduleABTestResponse.ts +0 -8
- package/model/scheduleABTestsRequest.ts +0 -25
- package/model/status.ts +0 -6
- package/model/variant.ts +0 -103
package/model/index.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
export * from './aBTest';
|
|
4
|
-
export * from './aBTestConfiguration';
|
|
5
|
-
export * from './aBTestResponse';
|
|
6
|
-
export * from './abTestsVariant';
|
|
7
|
-
export * from './abTestsVariantSearchParams';
|
|
8
|
-
export * from './addABTestsRequest';
|
|
9
|
-
export * from './addABTestsVariant';
|
|
10
|
-
export * from './clientMethodProps';
|
|
11
|
-
export * from './currency';
|
|
12
|
-
export * from './customSearchParams';
|
|
13
|
-
export * from './effect';
|
|
14
|
-
export * from './emptySearch';
|
|
15
|
-
export * from './emptySearchFilter';
|
|
16
|
-
export * from './errorBase';
|
|
17
|
-
export * from './filterEffects';
|
|
18
|
-
export * from './listABTestsResponse';
|
|
19
|
-
export * from './minimumDetectableEffect';
|
|
20
|
-
export * from './outliers';
|
|
21
|
-
export * from './outliersFilter';
|
|
22
|
-
export * from './scheduleABTestResponse';
|
|
23
|
-
export * from './scheduleABTestsRequest';
|
|
24
|
-
export * from './status';
|
|
25
|
-
export * from './variant';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { ABTest } from './aBTest';
|
|
4
|
-
|
|
5
|
-
export type ListABTestsResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* A/B tests.
|
|
8
|
-
*/
|
|
9
|
-
abtests: Array<ABTest> | null;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Number of A/B tests.
|
|
13
|
-
*/
|
|
14
|
-
count: number;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Number of retrievable A/B tests.
|
|
18
|
-
*/
|
|
19
|
-
total: number;
|
|
20
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { Effect } from './effect';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Configuration for the smallest difference between test variants you want to detect.
|
|
7
|
-
*/
|
|
8
|
-
export type MinimumDetectableEffect = {
|
|
9
|
-
/**
|
|
10
|
-
* Smallest difference in an observable metric between variants. For example, to detect a 10% difference between variants, set this value to 0.1.
|
|
11
|
-
*/
|
|
12
|
-
size?: number;
|
|
13
|
-
|
|
14
|
-
effect?: Effect;
|
|
15
|
-
};
|
package/model/outliers.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Configuration for handling outliers.
|
|
5
|
-
*/
|
|
6
|
-
export type Outliers = {
|
|
7
|
-
/**
|
|
8
|
-
* Whether to exclude outliers when calculating A/B test results.
|
|
9
|
-
*/
|
|
10
|
-
exclude?: boolean;
|
|
11
|
-
};
|
package/model/outliersFilter.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Outliers removed from the A/B test as a result of configuration settings.
|
|
5
|
-
*/
|
|
6
|
-
export type OutliersFilter = {
|
|
7
|
-
/**
|
|
8
|
-
* Number of users removed from the A/B test.
|
|
9
|
-
*/
|
|
10
|
-
usersCount?: number;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Number of tracked searches removed from the A/B test.
|
|
14
|
-
*/
|
|
15
|
-
trackedSearchesCount?: number;
|
|
16
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
export type ScheduleABTestResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* Unique scheduled A/B test identifier.
|
|
6
|
-
*/
|
|
7
|
-
abTestScheduleID: number;
|
|
8
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { AddABTestsVariant } from './addABTestsVariant';
|
|
4
|
-
|
|
5
|
-
export type ScheduleABTestsRequest = {
|
|
6
|
-
/**
|
|
7
|
-
* A/B test name.
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A/B test variants.
|
|
13
|
-
*/
|
|
14
|
-
variants: Array<AddABTestsVariant>;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Date and time when the A/B test is scheduled to start, in RFC 3339 format.
|
|
18
|
-
*/
|
|
19
|
-
scheduledAt: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* End date and time of the A/B test, in RFC 3339 format.
|
|
23
|
-
*/
|
|
24
|
-
endAt: string;
|
|
25
|
-
};
|
package/model/status.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A/B test status. - `active`. The A/B test is live and search traffic is split between the two variants. - `stopped`. You stopped the A/B test. The A/B test data is still available for analysis. - `expired`. The A/B test was automatically stopped after reaching its end date. - `failed`. Creating the A/B test failed.
|
|
5
|
-
*/
|
|
6
|
-
export type Status = 'active' | 'stopped' | 'expired' | 'failed';
|
package/model/variant.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { Currency } from './currency';
|
|
4
|
-
import type { FilterEffects } from './filterEffects';
|
|
5
|
-
|
|
6
|
-
export type Variant = {
|
|
7
|
-
/**
|
|
8
|
-
* Number of add-to-cart events for this variant.
|
|
9
|
-
*/
|
|
10
|
-
addToCartCount: number;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* [Add-to-cart rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#add-to-cart-rate) for this variant.
|
|
14
|
-
*/
|
|
15
|
-
addToCartRate?: number | null;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* [Average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position) for this variant.
|
|
19
|
-
*/
|
|
20
|
-
averageClickPosition?: number | null;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Number of click events for this variant.
|
|
24
|
-
*/
|
|
25
|
-
clickCount: number;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* [Click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate) for this variant.
|
|
29
|
-
*/
|
|
30
|
-
clickThroughRate?: number | null;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Number of click events for this variant.
|
|
34
|
-
*/
|
|
35
|
-
conversionCount: number;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* [Conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate) for this variant.
|
|
39
|
-
*/
|
|
40
|
-
conversionRate?: number | null;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* A/B test currencies.
|
|
44
|
-
*/
|
|
45
|
-
currencies?: { [key: string]: Currency };
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Description for this variant.
|
|
49
|
-
*/
|
|
50
|
-
description?: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Estimated number of searches required to achieve the desired statistical significance. The A/B test configuration must include a `mininmumDetectableEffect` setting for this number to be included in the response.
|
|
54
|
-
*/
|
|
55
|
-
estimatedSampleSize?: number;
|
|
56
|
-
|
|
57
|
-
filterEffects?: FilterEffects;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Index name of the A/B test variant (case-sensitive).
|
|
61
|
-
*/
|
|
62
|
-
index: string;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Number of [searches without results](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#searches-without-results) for this variant.
|
|
66
|
-
*/
|
|
67
|
-
noResultCount: number | null;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Number of purchase events for this variant.
|
|
71
|
-
*/
|
|
72
|
-
purchaseCount: number;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* [Purchase rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#purchase-rate) for this variant.
|
|
76
|
-
*/
|
|
77
|
-
purchaseRate?: number | null;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Number of searches for this variant.
|
|
81
|
-
*/
|
|
82
|
-
searchCount: number | null;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
|
|
86
|
-
*/
|
|
87
|
-
trackedSearchCount?: number;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Percentage of search requests each variant receives.
|
|
91
|
-
*/
|
|
92
|
-
trafficPercentage: number;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Number of users that made searches to this variant.
|
|
96
|
-
*/
|
|
97
|
-
userCount: number | null;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Number of users that made tracked searches to this variant.
|
|
101
|
-
*/
|
|
102
|
-
trackedUserCount: number | null;
|
|
103
|
-
};
|