File tree Expand file tree Collapse file tree 7 files changed +13
-4
lines changed Expand file tree Collapse file tree 7 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class ABTestConfiguration(BaseModel):
4040 A/B test configuration.
4141 """
4242
43- outliers : Outliers
43+ outliers : Optional [ Outliers ] = None
4444 empty_search : Optional [EmptySearch ] = None
4545 minimum_detectable_effect : Optional [MinimumDetectableEffect ] = None
4646
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Variant(BaseModel):
7070 """ [Conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate) for this variant. """
7171 currencies : Optional [Dict [str , Currency ]] = None
7272 """ A/B test currencies. """
73- description : str
73+ description : Optional [ str ] = None
7474 """ Description for this variant. """
7575 estimated_sample_size : Optional [int ] = None
7676 """ 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. """
Original file line number Diff line number Diff line change 3131 "around_lat_lng" : "aroundLatLng" ,
3232 "automatic_radius" : "automaticRadius" ,
3333 "exhaustive" : "exhaustive" ,
34+ "applied_rules" : "appliedRules" ,
3435 "exhaustive_facets_count" : "exhaustiveFacetsCount" ,
3536 "exhaustive_nb_hits" : "exhaustiveNbHits" ,
3637 "exhaustive_typo" : "exhaustiveTypo" ,
@@ -77,6 +78,8 @@ class RecommendationsResults(BaseModel):
7778 automatic_radius : Optional [str ] = None
7879 """ Distance from a central coordinate provided by `aroundLatLng`. """
7980 exhaustive : Optional [Exhaustive ] = None
81+ applied_rules : Optional [List [object ]] = None
82+ """ Rules applied to the query. """
8083 exhaustive_facets_count : Optional [bool ] = None
8184 """ See the `facetsCount` field of the `exhaustive` object in the response. """
8285 exhaustive_nb_hits : Optional [bool ] = None
Original file line number Diff line number Diff line change 3131 "around_lat_lng" : "aroundLatLng" ,
3232 "automatic_radius" : "automaticRadius" ,
3333 "exhaustive" : "exhaustive" ,
34+ "applied_rules" : "appliedRules" ,
3435 "exhaustive_facets_count" : "exhaustiveFacetsCount" ,
3536 "exhaustive_nb_hits" : "exhaustiveNbHits" ,
3637 "exhaustive_typo" : "exhaustiveTypo" ,
@@ -80,6 +81,8 @@ class BrowseResponse(BaseModel):
8081 automatic_radius : Optional [str ] = None
8182 """ Distance from a central coordinate provided by `aroundLatLng`. """
8283 exhaustive : Optional [Exhaustive ] = None
84+ applied_rules : Optional [List [object ]] = None
85+ """ Rules applied to the query. """
8386 exhaustive_facets_count : Optional [bool ] = None
8487 """ See the `facetsCount` field of the `exhaustive` object in the response. """
8588 exhaustive_nb_hits : Optional [bool ] = None
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GetApiKeyResponse(BaseModel):
4343 GetApiKeyResponse
4444 """
4545
46- value : Optional [ str ] = None
46+ value : str
4747 """ API key. """
4848 created_at : int
4949 """ Timestamp when the object was created, in milliseconds since the Unix epoch. """
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class GetObjectsResponse(BaseModel):
3232 GetObjectsResponse
3333 """
3434
35- results : List [object ]
35+ results : Optional [ List [object ]] = None
3636 """ Retrieved records. """
3737
3838 model_config = ConfigDict (
Original file line number Diff line number Diff line change 3131 "around_lat_lng" : "aroundLatLng" ,
3232 "automatic_radius" : "automaticRadius" ,
3333 "exhaustive" : "exhaustive" ,
34+ "applied_rules" : "appliedRules" ,
3435 "exhaustive_facets_count" : "exhaustiveFacetsCount" ,
3536 "exhaustive_nb_hits" : "exhaustiveNbHits" ,
3637 "exhaustive_typo" : "exhaustiveTypo" ,
@@ -79,6 +80,8 @@ class SearchResponse(BaseModel):
7980 automatic_radius : Optional [str ] = None
8081 """ Distance from a central coordinate provided by `aroundLatLng`. """
8182 exhaustive : Optional [Exhaustive ] = None
83+ applied_rules : Optional [List [object ]] = None
84+ """ Rules applied to the query. """
8285 exhaustive_facets_count : Optional [bool ] = None
8386 """ See the `facetsCount` field of the `exhaustive` object in the response. """
8487 exhaustive_nb_hits : Optional [bool ] = None
You can’t perform that action at this time.
0 commit comments