diff --git a/generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java b/generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java index 1dc0a4b6592..00b24aabb46 100644 --- a/generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java +++ b/generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java @@ -63,6 +63,8 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen { "edit", "edittype", "errorbase", + "event", + "eventstatus", "eventtype", "exactonsinglewordquery", "exhaustive", @@ -120,6 +122,7 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen { "typotolerance", "typotoleranceenum", "value", + "watchresponse", "widgets" ); diff --git a/specs/common/parameters/ingestion.yml b/specs/common/parameters/ingestion.yml new file mode 100644 index 00000000000..f27dbed97d8 --- /dev/null +++ b/specs/common/parameters/ingestion.yml @@ -0,0 +1,29 @@ +RunID: + type: string + # format: uuid + description: Universally unique identifier (UUID) of a task run. + example: 6c02aeb1-775e-418e-870b-1faccd4b2c0f + +EventID: + type: string + # format: uuid + description: Universally unique identifier (UUID) of an event. + example: 6c02aeb1-775e-418e-870b-1faccd4b2c0f + +CreatedAt: + type: string + description: Date of creation in RFC 3339 format. + +PublishedAt: + type: string + description: Date of publish RFC 3339 format. + +EventStatus: + oneOf: + - type: string + enum: [created, started, retried, failed, succeeded, critical] + - type: 'null' + +EventType: + type: string + enum: [fetch, record, log, transform] diff --git a/specs/ingestion/common/schemas/event.yml b/specs/common/schemas/ingestion/Observability.yml similarity index 60% rename from specs/ingestion/common/schemas/event.yml rename to specs/common/schemas/ingestion/Observability.yml index c8083ad51be..1b4e5e1f4a0 100644 --- a/specs/ingestion/common/schemas/event.yml +++ b/specs/common/schemas/ingestion/Observability.yml @@ -4,13 +4,13 @@ Event: additionalProperties: false properties: eventID: - $ref: './common.yml#/eventID' + $ref: '../../parameters/ingestion.yml#/EventID' runID: - $ref: './common.yml#/runID' + $ref: '../../parameters/ingestion.yml#/RunID' status: - $ref: '#/EventStatus' + $ref: '../../parameters/ingestion.yml#/EventStatus' type: - $ref: '#/EventType' + $ref: '../../parameters/ingestion.yml#/EventType' batchSize: type: integer description: The extracted record batch size. @@ -23,7 +23,7 @@ Event: additionalProperties: true - type: 'null' publishedAt: - $ref: './common.yml#/publishedAt' + $ref: '../../parameters/ingestion.yml#/PublishedAt' required: - eventID - runID @@ -31,13 +31,3 @@ Event: - type - batchSize - publishedAt - -EventStatus: - oneOf: - - type: string - enum: [created, started, retried, failed, succeeded, critical] - - type: 'null' - -EventType: - type: string - enum: [fetch, record, log, transform] diff --git a/specs/common/schemas/ingestion/WatchResponse.yml b/specs/common/schemas/ingestion/WatchResponse.yml new file mode 100644 index 00000000000..fffc79ada6d --- /dev/null +++ b/specs/common/schemas/ingestion/WatchResponse.yml @@ -0,0 +1,26 @@ +type: object +additionalProperties: false +properties: + runID: + $ref: '../../parameters/ingestion.yml#/RunID' + eventID: + $ref: '../../parameters/ingestion.yml#/EventID' + data: + type: array + description: | + This field is always null when used with the Push endpoint. + When used for a source discover or source validate run, it will include the sampled data of the source. + items: + type: object + events: + description: in case of error, observability events will be added to the response. + type: array + items: + $ref: './Observability.yml#/Event' + message: + description: a message describing the outcome of the operation that has been ran (push, discover or validate) run. + type: string + createdAt: + $ref: '../../parameters/ingestion.yml#/CreatedAt' +required: + - runID diff --git a/specs/ingestion/common/observabilityParameters.yml b/specs/ingestion/common/observabilityParameters.yml index 109892474ac..14ecc3418e2 100644 --- a/specs/ingestion/common/observabilityParameters.yml +++ b/specs/ingestion/common/observabilityParameters.yml @@ -5,7 +5,7 @@ eventStatus: schema: type: array items: - $ref: './schemas/event.yml#/EventStatus' + $ref: '../../common/parameters/ingestion.yml#/EventStatus' eventType: name: type @@ -14,7 +14,7 @@ eventType: schema: type: array items: - $ref: './schemas/event.yml#/EventType' + $ref: '../../common/parameters/ingestion.yml#/EventType' runStatus: name: status diff --git a/specs/ingestion/common/parameters.yml b/specs/ingestion/common/parameters.yml index 62e4a3ee873..c9a87b062a9 100644 --- a/specs/ingestion/common/parameters.yml +++ b/specs/ingestion/common/parameters.yml @@ -44,7 +44,7 @@ pathRunID: required: true description: Unique identifier of a task run. schema: - $ref: './schemas/common.yml#/runID' + $ref: '../../common/parameters/ingestion.yml#/RunID' pathEventID: name: eventID @@ -52,7 +52,7 @@ pathEventID: required: true description: Unique identifier of an event. schema: - $ref: './schemas/common.yml#/eventID' + $ref: '../../common/parameters/ingestion.yml#/EventID' itemsPerPage: name: itemsPerPage diff --git a/specs/ingestion/common/schemas/authentication.yml b/specs/ingestion/common/schemas/authentication.yml index a7aa4e6708f..19bfef77697 100644 --- a/specs/ingestion/common/schemas/authentication.yml +++ b/specs/ingestion/common/schemas/authentication.yml @@ -16,7 +16,7 @@ Authentication: input: $ref: '#/AuthInputPartial' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' required: @@ -55,7 +55,7 @@ AuthenticationCreateResponse: name: $ref: './common.yml#/name' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - authenticationID - name diff --git a/specs/ingestion/common/schemas/common.yml b/specs/ingestion/common/schemas/common.yml index 3767f80c745..fc9dcb6b70d 100644 --- a/specs/ingestion/common/schemas/common.yml +++ b/specs/ingestion/common/schemas/common.yml @@ -1,7 +1,3 @@ -createdAt: - type: string - description: Date of creation in RFC 3339 format. - updatedAt: type: string description: Date of last update in RFC 3339 format. @@ -14,10 +10,6 @@ finishedAt: type: string description: Date of finish in RFC 3339 format. -publishedAt: - type: string - description: Date of publish RFC 3339 format. - cursor: type: string description: Date of the last cursor in RFC 3339 format. @@ -66,18 +58,6 @@ transformationID: description: Universally unique identifier (UUID) of a transformation. example: 6c02aeb1-775e-418e-870b-1faccd4b2c0f -runID: - type: string - # format: uuid - description: Universally unique identifier (UUID) of a task run. - example: 6c02aeb1-775e-418e-870b-1faccd4b2c0f - -eventID: - type: string - # format: uuid - description: Universally unique identifier (UUID) of an event. - example: 6c02aeb1-775e-418e-870b-1faccd4b2c0f - name: type: string description: Descriptive name for the resource. @@ -102,29 +82,3 @@ Window: required: - startDate - endDate - -WatchResponse: - type: object - additionalProperties: false - properties: - runID: - $ref: '#/runID' - eventID: - $ref: '#/eventID' - data: - type: array - description: when used with discovering or validating sources, the sampled data of your source is returned. - items: - type: object - events: - description: in case of error, observability events will be added to the response, if any. - type: array - items: - $ref: '../../common/schemas/event.yml#/Event' - message: - description: a message describing the outcome of a validate run. - type: string - createdAt: - $ref: '#/createdAt' - required: - - runID diff --git a/specs/ingestion/common/schemas/destination.yml b/specs/ingestion/common/schemas/destination.yml index a0914ac1d29..79a96efac0c 100644 --- a/specs/ingestion/common/schemas/destination.yml +++ b/specs/ingestion/common/schemas/destination.yml @@ -14,7 +14,7 @@ Destination: input: $ref: '#/DestinationInput' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' authenticationID: @@ -59,7 +59,7 @@ DestinationCreateResponse: name: $ref: './common.yml#/name' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - destinationID - name diff --git a/specs/ingestion/common/schemas/run.yml b/specs/ingestion/common/schemas/run.yml index ad06e61252d..f0b8510e181 100644 --- a/specs/ingestion/common/schemas/run.yml +++ b/specs/ingestion/common/schemas/run.yml @@ -4,9 +4,9 @@ RunResponse: description: API response for running a task. properties: runID: - $ref: './common.yml#/runID' + $ref: '../../../common/parameters/ingestion.yml#/RunID' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - runID - createdAt @@ -33,7 +33,7 @@ Run: additionalProperties: false properties: runID: - $ref: './common.yml#/runID' + $ref: '../../../common/parameters/ingestion.yml#/RunID' appID: type: string taskID: @@ -64,7 +64,7 @@ Run: type: $ref: '#/RunType' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' startedAt: $ref: './common.yml#/startedAt' finishedAt: diff --git a/specs/ingestion/common/schemas/source.yml b/specs/ingestion/common/schemas/source.yml index d72fa7778cf..21c304807b0 100644 --- a/specs/ingestion/common/schemas/source.yml +++ b/specs/ingestion/common/schemas/source.yml @@ -15,7 +15,7 @@ Source: authenticationID: $ref: './common.yml#/authenticationID' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' required: @@ -52,7 +52,7 @@ SourceCreateResponse: type: string description: Descriptive name of the source. createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - sourceID - name diff --git a/specs/ingestion/common/schemas/task.yml b/specs/ingestion/common/schemas/task.yml index 158b7f4e8b9..d0b0ad0fe82 100644 --- a/specs/ingestion/common/schemas/task.yml +++ b/specs/ingestion/common/schemas/task.yml @@ -35,7 +35,7 @@ Task: policies: $ref: '#/Policies' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' required: @@ -77,7 +77,7 @@ TaskV1: policies: $ref: '#/Policies' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' required: @@ -174,7 +174,7 @@ TaskCreateResponse: taskID: $ref: './common.yml#/taskID' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - taskID - createdAt diff --git a/specs/ingestion/common/schemas/transformation.yml b/specs/ingestion/common/schemas/transformation.yml index e65af3c4472..f5d24c46e42 100644 --- a/specs/ingestion/common/schemas/transformation.yml +++ b/specs/ingestion/common/schemas/transformation.yml @@ -19,7 +19,7 @@ Transformation: owner: $ref: './common.yml#/owner' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' updatedAt: $ref: './common.yml#/updatedAt' required: @@ -118,7 +118,7 @@ TransformationCreateResponse: transformationID: $ref: './common.yml#/transformationID' createdAt: - $ref: './common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - transformationID - createdAt diff --git a/specs/ingestion/paths/push.yml b/specs/ingestion/paths/push.yml index 99befc0e2bb..4e6b7ec4df8 100644 --- a/specs/ingestion/paths/push.yml +++ b/specs/ingestion/paths/push.yml @@ -32,6 +32,6 @@ post: content: application/json: schema: - $ref: '../common/schemas/common.yml#/WatchResponse' + $ref: '../../common/schemas/ingestion/WatchResponse.yml' '400': $ref: '../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/paths/runs/events/eventID.yml b/specs/ingestion/paths/runs/events/eventID.yml index 107539a95aa..450a22ea338 100644 --- a/specs/ingestion/paths/runs/events/eventID.yml +++ b/specs/ingestion/paths/runs/events/eventID.yml @@ -17,6 +17,6 @@ get: content: application/json: schema: - $ref: '../../../common/schemas/event.yml#/Event' + $ref: '../../../../common/schemas/ingestion/Observability.yml#/Event' '400': $ref: '../../../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/paths/runs/events/events.yml b/specs/ingestion/paths/runs/events/events.yml index ecd2ec27377..60a9d3f8026 100644 --- a/specs/ingestion/paths/runs/events/events.yml +++ b/specs/ingestion/paths/runs/events/events.yml @@ -39,7 +39,7 @@ get: events: type: array items: - $ref: '../../../common/schemas/event.yml#/Event' + $ref: '../../../../common/schemas/ingestion/Observability.yml#/Event' pagination: $ref: '../../../common/schemas/pagination.yml#/Pagination' window: diff --git a/specs/ingestion/paths/sources/discover.yml b/specs/ingestion/paths/sources/discover.yml index a09e1ec76df..472cdca72d9 100644 --- a/specs/ingestion/paths/sources/discover.yml +++ b/specs/ingestion/paths/sources/discover.yml @@ -22,6 +22,6 @@ post: content: application/json: schema: - $ref: '../../common/schemas/common.yml#/WatchResponse' + $ref: '../../../common/schemas/ingestion/WatchResponse.yml' '400': $ref: '../../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/paths/sources/runSource.yml b/specs/ingestion/paths/sources/runSource.yml index f81d6bc79a0..a8693f2c94c 100644 --- a/specs/ingestion/paths/sources/runSource.yml +++ b/specs/ingestion/paths/sources/runSource.yml @@ -31,7 +31,7 @@ post: additionalProperties: type: string createdAt: - $ref: '../../common/schemas/common.yml#/createdAt' + $ref: '../../../common/parameters/ingestion.yml#/CreatedAt' required: - taskWithRunID - createdAt diff --git a/specs/ingestion/paths/sources/validate.yml b/specs/ingestion/paths/sources/validate.yml index b749c72155b..151c48256a4 100644 --- a/specs/ingestion/paths/sources/validate.yml +++ b/specs/ingestion/paths/sources/validate.yml @@ -25,6 +25,6 @@ post: content: application/json: schema: - $ref: '../../common/schemas/common.yml#/WatchResponse' + $ref: '../../../common/schemas/ingestion/WatchResponse.yml' '400': $ref: '../../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/paths/sources/validateID.yml b/specs/ingestion/paths/sources/validateID.yml index 079e43eefb9..8770fd66d45 100644 --- a/specs/ingestion/paths/sources/validateID.yml +++ b/specs/ingestion/paths/sources/validateID.yml @@ -27,6 +27,6 @@ post: content: application/json: schema: - $ref: '../../common/schemas/common.yml#/WatchResponse' + $ref: '../../../common/schemas/ingestion/WatchResponse.yml' '400': $ref: '../../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/paths/tasks/v2/pushTask.yml b/specs/ingestion/paths/tasks/v2/pushTask.yml index 16dfe0a85cb..71d52f7bdde 100644 --- a/specs/ingestion/paths/tasks/v2/pushTask.yml +++ b/specs/ingestion/paths/tasks/v2/pushTask.yml @@ -33,6 +33,6 @@ post: content: application/json: schema: - $ref: '../../../common/schemas/common.yml#/WatchResponse' + $ref: '../../../../common/schemas/ingestion/WatchResponse.yml' '400': $ref: '../../../../common/responses/BadRequest.yml' diff --git a/specs/search/helpers/partialUpdateObjectsWithTransformation.yml b/specs/search/helpers/partialUpdateObjectsWithTransformation.yml new file mode 100644 index 00000000000..8fbc30c07b0 --- /dev/null +++ b/specs/search/helpers/partialUpdateObjectsWithTransformation.yml @@ -0,0 +1,60 @@ +method: + post: + x-helper: true + tags: + - Records + operationId: partialUpdateObjectsWithTransformation + summary: Save objects to an Algolia index by leveraging the Transformation pipeline setup using the Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) + description: | + Helper: Similar to the `partialUpdateObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must have been passed to the client instantiation method. + parameters: + - in: query + name: indexName + description: The `indexName` where to update `objects`. + required: true + schema: + type: string + - in: query + name: objects + description: The objects to update. + required: true + schema: + type: array + items: + type: object + - in: query + name: createIfNotExists + description: To be provided if non-existing objects are passed, otherwise, the call will fail. + required: false + schema: + type: boolean + default: false + - in: query + name: waitForTasks + description: Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable. + required: false + schema: + type: boolean + default: false + - in: query + name: batchSize + description: The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000. + required: false + schema: + type: integer + default: 1000 + - in: query + name: requestOptions + description: The request options to pass to the `batch` method. + required: false + schema: + type: object + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '../../common/schemas/ingestion/WatchResponse.yml' + '400': + $ref: '../../common/responses/IndexNotFound.yml' diff --git a/specs/search/helpers/saveObjectsWithTransformation.yml b/specs/search/helpers/saveObjectsWithTransformation.yml new file mode 100644 index 00000000000..3bb6e3ae6f5 --- /dev/null +++ b/specs/search/helpers/saveObjectsWithTransformation.yml @@ -0,0 +1,53 @@ +method: + get: + x-helper: true + tags: + - Records + operationId: saveObjectsWithTransformation + summary: Save objects to an Algolia index by leveraging the Transformation pipeline setup using the Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) + description: | + Helper: Similar to the `saveObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must have been passed to the client instantiation method. + parameters: + - in: query + name: indexName + description: The `indexName` to save `objects` into. + required: true + schema: + type: string + - in: query + name: objects + description: The objects to save in the index. + required: true + schema: + type: array + items: + type: object + - in: query + name: waitForTasks + description: Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable. + required: false + schema: + type: boolean + default: false + - in: query + name: batchSize + description: The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000. + required: false + schema: + type: integer + default: 1000 + - in: query + name: requestOptions + description: The request options to pass to the `batch` method. + required: false + schema: + type: object + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '../../common/schemas/ingestion/WatchResponse.yml' + '400': + $ref: '../../common/responses/IndexNotFound.yml' diff --git a/specs/search/spec.yml b/specs/search/spec.yml index 224d6ab0479..0d861f445bc 100644 --- a/specs/search/spec.yml +++ b/specs/search/spec.yml @@ -384,12 +384,18 @@ paths: /saveObjects: $ref: 'helpers/saveObjects.yml#/method' + /saveObjectsWithTransformation: + $ref: 'helpers/saveObjectsWithTransformation.yml#/method' + /deleteObjects: $ref: 'helpers/deleteObjects.yml#/method' /partialUpdateObjects: $ref: 'helpers/partialUpdateObjects.yml#/method' + /partialUpdateObjectsWithTransformation: + $ref: 'helpers/partialUpdateObjectsWithTransformation.yml#/method' + /indexExists: $ref: 'helpers/indexExists.yml#/method' diff --git a/templates/javascript/clients/algoliasearch/builds/definition.mustache b/templates/javascript/clients/algoliasearch/builds/definition.mustache index 72cc59995fc..c587d275e49 100644 --- a/templates/javascript/clients/algoliasearch/builds/definition.mustache +++ b/templates/javascript/clients/algoliasearch/builds/definition.mustache @@ -32,9 +32,9 @@ export type Algoliasearch = SearchClient & { // Bridge helpers to expose along with the search endpoints at the root of the API client /** - * Helper: Similar to the `saveObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must've been passed to the client instantiation method. + * Helper: Similar to the `saveObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must have been passed to the client instantiation method. * - * @summary Save objects to an Algolia index by leveraging the Transformation pipeline setup in the Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/). + * @summary Save objects to an Algolia index by leveraging the Transformation pipeline setup using the Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/). * @param saveObjects - The `saveObjects` object. * @param saveObjects.indexName - The `indexName` to save `objects` in. * @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`. @@ -45,7 +45,7 @@ export type Algoliasearch = SearchClient & { saveObjectsWithTransformation: (options: SaveObjectsOptions, requestOptions?: RequestOptions) => Promise; /** - * Helper: Similar to the `partialUpdateObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must've been passed to the client instantiation method. + * Helper: Similar to the `partialUpdateObjects` method but requires a Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/) to be created first, in order to transform records before indexing them to Algolia. The `region` must have been passed to the client instantiation method. * * @summary Save objects to an Algolia index by leveraging the Transformation pipeline setup in the Push connector (https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/connectors/push/). * @param partialUpdateObjects - The `partialUpdateObjects` object. diff --git a/templates/javascript/clients/algoliasearch/builds/models.mustache b/templates/javascript/clients/algoliasearch/builds/models.mustache index 6309a558414..9a5479a41ff 100644 --- a/templates/javascript/clients/algoliasearch/builds/models.mustache +++ b/templates/javascript/clients/algoliasearch/builds/models.mustache @@ -113,6 +113,11 @@ import type { import type { EventType, } from '@algolia/client-personalization'; +import type { + Event, + EventStatus, + WatchResponse, +} from '@algolia/ingestion'; {{#dependencies}} export * from '{{{dependencyPackage}}}'; @@ -168,6 +173,8 @@ export type { Edit, EditType, ErrorBase, + Event, + EventStatus, ExactOnSingleWordQuery, Exhaustive, FacetFilters, @@ -226,6 +233,7 @@ export type { TypoTolerance, TypoToleranceEnum, Value, + WatchResponse, Widgets, };