API generation

This commit is contained in:
delvedor
2020-06-08 09:30:52 +02:00
parent a84c42c54d
commit 072931f7af
4 changed files with 16 additions and 4 deletions

View File

@ -12,7 +12,8 @@ function buildMlDeleteDataFrameAnalytics (opts) {
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
const acceptedQuerystring = [
'force'
'force',
'timeout'
]
const snakeCase = {

View File

@ -13,11 +13,12 @@ function buildMlGetCategories (opts) {
const acceptedQuerystring = [
'from',
'size'
'size',
'partition_field_value'
]
const snakeCase = {
partitionFieldValue: 'partition_field_value'
}
/**

View File

@ -1777,6 +1777,7 @@ export interface MlDeleteCalendarJob extends Generic {
export interface MlDeleteDataFrameAnalytics extends Generic {
id: string;
force?: boolean;
timeout?: string;
}
export interface MlDeleteDatafeed extends Generic {
@ -1898,6 +1899,7 @@ export interface MlGetCategories<T = RequestBody> extends Generic {
category_id?: number;
from?: number;
size?: number;
partition_field_value?: string;
body?: T;
}