Skip to content

Commit

Permalink
Merge branch 'main' into connector-api-apply-new-8.14-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrazb authored Apr 29, 2024
2 parents d278650 + 6b6e16e commit c78d531
Show file tree
Hide file tree
Showing 6 changed files with 221 additions and 21 deletions.
55 changes: 54 additions & 1 deletion output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 132 additions & 13 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion specification/_doc_ids/table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ connector-sync-job-cancel,https://www.elastic.co/guide/en/elasticsearch/referenc
connector-sync-job-delete,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-connector-sync-job-api.html
connector-sync-job-get,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-sync-job-api.html
connector-sync-job-post,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-sync-job-api.html
connector-sync-job-list,https://www.elastic.co/guide/en/elasticsearch/reference/{list}/list-connector-sync-jobs-api.html
connector-sync-job-list,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/list-connector-sync-jobs-api.html
connector-checkin,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/check-in-connector-api.html
connector-delete,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-connector-api.html
connector-get,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-api.html
Expand Down
25 changes: 23 additions & 2 deletions specification/_types/query_dsl/term.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,30 @@ export class NumberRangeQuery extends RangeQueryBase {
to?: double | null
}

/** @codegen_names date, number */
export class TermsRangeQuery extends RangeQueryBase {
/**
* Greater than.
*/
gt?: string
/**
* Greater than or equal to.
*/
gte?: string
/**
* Less than.
*/
lt?: string
/**
* Less than or equal to.
*/
lte?: string
from?: string | null
to?: string | null
}

/** @codegen_names date, number, terms */
// Note: deserialization depends on value types
export type RangeQuery = DateRangeQuery | NumberRangeQuery
export type RangeQuery = DateRangeQuery | NumberRangeQuery | TermsRangeQuery

export enum RangeRelation {
/**
Expand Down
Loading

0 comments on commit c78d531

Please sign in to comment.