You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/recommend/model/clientMethodProps.ts
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,25 @@
1
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.
// 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
+
* Response, taskID, and update timestamp.
5
+
*/
6
+
exporttypeRecommendUpdatedAtResponse={
7
+
/**
8
+
* Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
9
+
*/
10
+
taskID: number;
11
+
12
+
/**
13
+
* Date and time when the object was updated, in RFC 3339 format.
// 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
+
exporttypeTimeRange={
4
+
/**
5
+
* When the rule should start to be active, in Unix epoch time.
6
+
*/
7
+
from: number;
8
+
9
+
/**
10
+
* When the rule should stop to be active, in Unix epoch time.
@@ -139,6 +141,47 @@ export function createRecommendClient({
139
141
}
140
142
},
141
143
144
+
/**
145
+
* Create or update a batch of Recommend Rules Each Recommend Rule is created or updated, depending on whether a Recommend Rule with the same `objectID` already exists. You may also specify `true` for `clearExistingRules`, in which case the batch will atomically replace all the existing Recommend Rules. Recommend Rules are similar to Search Rules, except that the conditions and consequences apply to a [source item](/doc/guides/algolia-recommend/overview/#recommend-models) instead of a query. The main differences are the following: - Conditions `pattern` and `anchoring` are unavailable. - Condition `filters` triggers if the source item matches the specified filters. - Condition `filters` accepts numeric filters. - Consequence `params` only covers filtering parameters. - Consequence `automaticFacetFilters` doesn\'t require a facet value placeholder (it tries to match the data source item\'s attributes instead).
146
+
*
147
+
* Required API Key ACLs:
148
+
* - editSettings.
149
+
*
150
+
* @param batchRecommendRules - The batchRecommendRules object.
151
+
* @param batchRecommendRules.indexName - Name of the index on which to perform the operation.
0 commit comments