Skip to content

Commit 514f67d

Browse files
algolia-botsbellone
andcommitted
fix(specs): Ingestion API - update destination payload (generated)
algolia/api-clients-automation#6320 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
1 parent 53bf423 commit 514f67d

3 files changed

Lines changed: 20 additions & 5 deletions

File tree

packages/ingestion/model/destinationUpdate.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
// 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.
22

3-
import type { DestinationInput } from './destinationInput';
4-
import type { DestinationType } from './destinationType';
3+
import type { DestinationUpdateInput } from './destinationUpdateInput';
54

65
/**
76
* API request body for updating a destination.
87
*/
98
export type DestinationUpdate = {
10-
type?: DestinationType | undefined;
11-
129
/**
1310
* Descriptive name for the resource.
1411
*/
1512
name?: string | undefined;
1613

17-
input?: DestinationInput | undefined;
14+
input?: DestinationUpdateInput | undefined;
1815

1916
/**
2017
* Universally unique identifier (UUID) of an authentication resource.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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 { RecordType } from './recordType';
4+
5+
export type DestinationUpdateInput = {
6+
/**
7+
* Algolia index name (case-sensitive).
8+
*/
9+
indexName?: string | undefined;
10+
11+
recordType?: RecordType | undefined;
12+
13+
/**
14+
* Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
15+
*/
16+
attributesToExclude?: Array<string> | undefined;
17+
};

packages/ingestion/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export * from './destinationSearch';
3838
export * from './destinationSortKeys';
3939
export * from './destinationType';
4040
export * from './destinationUpdate';
41+
export * from './destinationUpdateInput';
4142
export * from './destinationUpdateResponse';
4243
export * from './dockerStreams';
4344
export * from './dockerStreamsInput';

0 commit comments

Comments
 (0)