Skip to content

Commit 350d005

Browse files
algolia-botleonardogavaudanshortcuts
committed
feat(clients): add new abtesting-v3 package to clients + stabilize alpha js package (generated)
algolia/api-clients-automation#5157 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Leonardo Gavaudan <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 0eede47 commit 350d005

File tree

69 files changed

+3439
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3439
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2013-Present Algolia
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
targets:
2+
$default:
3+
builders:
4+
json_serializable:
5+
options:
6+
any_map: false
7+
checked: true
8+
create_factory: true
9+
create_to_json: true
10+
disallow_unrecognized_keys: false
11+
explicit_to_json: true
12+
field_rename: none
13+
ignore_unannotated: false
14+
include_if_null: false
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import 'package:algolia_client_abtesting_v3/algolia_client_abtesting_v3.dart';
2+
3+
void main() async {
4+
// Creating an instance of the Abtesting V3 client with the provided App ID and API key.
5+
final abtesting = AbtestingV3Client(
6+
appId: 'latency',
7+
apiKey: '6be0576ff61c053d5f9a3225e2a90f76',
8+
region: 'us',
9+
);
10+
11+
await abtesting.getABTest(
12+
id: 123,
13+
);
14+
15+
// Close the client and dispose of all underlying resources.
16+
abtesting.dispose();
17+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// A sub-package of the AlgoliaSearch library, offering abtesting v3-specific functionalities for enhanced search and discovery in Dart/Flutter apps.
2+
library;
3+
4+
export 'package:algolia_client_core/algolia_client_core.dart';
5+
6+
export 'src/api/abtesting_v3_client.dart';
7+
8+
export 'src/model/ab_test.dart';
9+
export 'src/model/ab_test_configuration.dart';
10+
export 'src/model/ab_test_response.dart';
11+
export 'src/model/ab_tests_variant.dart';
12+
export 'src/model/ab_tests_variant_search_params.dart';
13+
export 'src/model/add_ab_tests_request.dart';
14+
export 'src/model/create_metric.dart';
15+
export 'src/model/custom_search_params.dart';
16+
export 'src/model/direction.dart';
17+
export 'src/model/effect_metric.dart';
18+
export 'src/model/empty_search_filter.dart';
19+
export 'src/model/error_base.dart';
20+
export 'src/model/error_correction_type.dart';
21+
export 'src/model/estimate_ab_test_request.dart';
22+
export 'src/model/estimate_ab_test_response.dart';
23+
export 'src/model/estimate_configuration.dart';
24+
export 'src/model/filter_effects.dart';
25+
export 'src/model/list_ab_tests_response.dart';
26+
export 'src/model/metric_date.dart';
27+
export 'src/model/metric_metadata.dart';
28+
export 'src/model/metric_name.dart';
29+
export 'src/model/metric_result.dart';
30+
export 'src/model/metrics_filter.dart';
31+
export 'src/model/minimum_detectable_effect.dart';
32+
export 'src/model/outliers_filter.dart';
33+
export 'src/model/schedule_ab_test_response.dart';
34+
export 'src/model/schedule_ab_tests_request.dart';
35+
export 'src/model/status.dart';
36+
export 'src/model/timeseries.dart';
37+
export 'src/model/timeseries_variant.dart';
38+
export 'src/model/variant.dart';
39+
export 'src/model/variant_metadata.dart';
40+
41+
export 'src/extension.dart';

0 commit comments

Comments
 (0)