@rlvt/datasources-query-openapi-client
Advanced tools
Comparing version 0.0.0-397b40c to 0.0.0-3a99b67
import { AxiosInstance, AxiosRequestConfig } from "axios"; | ||
import * as Types from "./definitions"; | ||
export * from "./definitions"; | ||
@@ -18,61 +19,3 @@ export default class { | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
limit?: number; | ||
cp?: { | ||
count: number; | ||
index?: number; | ||
group: string; | ||
pickId: string; | ||
}; | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
} | { | ||
limit?: number; | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
cp?: { | ||
count: number; | ||
index?: number; | ||
group: string; | ||
pickId: string; | ||
}; | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}, data: Types.WorkerFetcherFetchOpts | Types.IngesterFetcherFetchOpts | Types.TrackingFetcherFetchOpts | Types.ProxyFetcherFetchOpts | Types.CarrefourStoresRetailsFetcherFetchOpts | Types.CarrefourStoresWithDriveSlotsFetcherFetchOpts | Types.CarrefourStoresWithFuelFetcherFetchOpts | Types.BestWesternHotelsFetcherFetchOpts | Types.FdjBetsFetcherFetchOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
@@ -92,12 +35,3 @@ program: string; | ||
}[]; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
meta?: Types.CPMeta; | ||
}; | ||
@@ -107,45 +41,3 @@ }>>; | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
cp?: { | ||
count: number; | ||
index?: number; | ||
group: string; | ||
pickId: string; | ||
}; | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}, data: Types.CarrefourStoresWithFuelFetcherFetchOpts | Types.WorkerFetcherCountOpts | Types.IngesterFetcherCountOpts | Types.TrackingFetcherCountOpts | Types.ProxyFetcherCountOpts | Types.CarrefourStoresRetailsFetcherCountOpts | Types.CarrefourStoresWithDriveSlotsFetcherCountOpts | Types.BestWesternHotelsFetcherCountOpts | Types.FdjBetsFetcherCountOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
@@ -161,10 +53,3 @@ program: string; | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
limit?: number; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
} & { | ||
}, data: Types.Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ & { | ||
companyId: string; | ||
@@ -186,12 +71,3 @@ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}[]; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
meta?: Types.CPMeta; | ||
}; | ||
@@ -201,10 +77,3 @@ }>>; | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
limit?: number; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
} & { | ||
}, data: Types.Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ & { | ||
companyId: string; | ||
@@ -226,12 +95,3 @@ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}[]; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
meta?: Types.CPMeta; | ||
}; | ||
@@ -243,47 +103,3 @@ }>>; | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
} | { | ||
datasourceId: string; | ||
query: string; | ||
geo?: { | ||
radius: number; | ||
center: number[]; | ||
}; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}, data: Types.CarrefourStoresWithFuelFetcherQueryOpts | Types.FdjBetsFetcherQueryOpts | Types.WorkerFetcherQueryOpts | Types.IngesterFetcherQueryOpts | Types.TrackingFetcherQueryOpts | Types.ProxyFetcherQueryOpts | Types.CarrefourStoresRetailsFetcherQueryOpts | Types.CarrefourStoresWithDriveSlotsFetcherQueryOpts | Types.BestWesternHotelsFetcherQueryOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
paginationCount: number; | ||
@@ -309,2 +125,17 @@ paginationPage: number; | ||
}>>; | ||
queryValues: (params: { | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
datasourceId: string; | ||
field: string; | ||
query?: string; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
program: string; | ||
version: string; | ||
datetime: string; | ||
code?: number; | ||
message: string; | ||
data: string[]; | ||
}>>; | ||
}; | ||
@@ -362,5 +193,3 @@ get WorkerDatasource(): { | ||
message: string; | ||
data: { | ||
[x: string]: any; | ||
}[]; | ||
data: any[]; | ||
} | { | ||
@@ -378,18 +207,2 @@ status: "success"; | ||
}; | ||
get Default(): { | ||
queryValues: (params: { | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
datasourceId: string; | ||
field: string; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
program: string; | ||
version: string; | ||
datetime: string; | ||
code?: number; | ||
message: string; | ||
data: string[]; | ||
}>>; | ||
}; | ||
} |
@@ -23,3 +23,4 @@ "use strict"; | ||
keys.forEach(key => { | ||
ret[key] = obj[key]; | ||
if (key in obj) | ||
ret[key] = obj[key]; | ||
}); | ||
@@ -65,3 +66,4 @@ return ret; | ||
fetchScenarioEvents: this.fetchScenarioEvents.bind(this), | ||
query: this.query.bind(this) | ||
query: this.query.bind(this), | ||
queryValues: this.queryValues.bind(this) | ||
}; | ||
@@ -76,9 +78,4 @@ } | ||
} | ||
get Default() { | ||
return { | ||
queryValues: this.queryValues.bind(this) | ||
}; | ||
} | ||
} | ||
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BRSxJQUFJLENBQUMsZUFBZSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDaEQsYUFBYSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUM1QyxXQUFXLEVBQUUsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQzNDLENBQUM7SUFDTixDQUFDO0NBQ0o7QUFyT0QsNEJBcU9DIn0= |
@@ -1,18 +0,1 @@ | ||
declare type Id<T> = {} & { | ||
[P in keyof T]: T[P]; | ||
}; | ||
declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date; | ||
declare type Without<T, V, WithNevers = { | ||
[K in keyof T]: Exclude<T[K], undefined> extends V ? never : (T[K] extends Record<string, unknown> ? Without<T[K], V> : T[K]); | ||
}> = Id<Pick<WithNevers, { | ||
[K in keyof WithNevers]: WithNevers[K] extends never ? never : K; | ||
}[keyof WithNevers]>>; | ||
declare type RemoveReadonly<T> = T extends Primitive ? T : T extends Array<infer U> ? RemoveReadonly<U>[] : { | ||
[key in keyof T]: 'readonly' extends keyof T[key] ? T[key]['readonly'] extends '__readonly' | undefined ? never : RemoveReadonly<T[key]> : T[key] extends infer TP ? RemoveReadonly<TP> : never; | ||
}; | ||
export declare type WithoutReadonly<T> = Without<RemoveReadonly<T>, never>; | ||
declare type RemoveWriteonly<T> = T extends Primitive ? T : T extends Array<infer U> ? RemoveWriteonly<U>[] : { | ||
[key in keyof T]: 'writeonly' extends keyof T[key] ? T[key]['writeonly'] extends '__writeonly' | undefined ? never : RemoveWriteonly<T[key]> : T[key] extends infer TP ? RemoveWriteonly<TP> : never; | ||
}; | ||
export declare type WithoutWriteonly<T> = Without<RemoveWriteonly<T>, never>; | ||
export declare type CPMeta = { | ||
@@ -49,2 +32,5 @@ 'cp': { | ||
'limit'?: number; | ||
'group'?: { | ||
'by': string; | ||
}; | ||
'datasourceId': string; | ||
@@ -57,2 +43,29 @@ 'query': string; | ||
}; | ||
export declare type TrackingFetcherFetchOpts = { | ||
'datasourceId': string; | ||
'query': string | (string)[]; | ||
'excludeQuery'?: string; | ||
'userIds': (string)[]; | ||
'date': { | ||
'start': Date; | ||
'end': Date; | ||
} | { | ||
'end': Date; | ||
} | { | ||
'start': Date; | ||
} | { | ||
'duration': number; | ||
}; | ||
'excludeDate'?: { | ||
'start': Date; | ||
'end': Date; | ||
} | { | ||
'end': Date; | ||
} | { | ||
'start': Date; | ||
} | { | ||
'duration': number; | ||
}; | ||
'limit': number; | ||
}; | ||
export declare type ProxyFetcherFetchOpts = { | ||
@@ -108,2 +121,6 @@ 'datasourceId': string; | ||
}; | ||
export declare type TrackingFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type ProxyFetcherCountOpts = { | ||
@@ -143,3 +160,3 @@ 'datasourceId': string; | ||
}; | ||
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_ = { | ||
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ = { | ||
'query': string; | ||
@@ -151,2 +168,5 @@ 'limit'?: number; | ||
}; | ||
'group'?: { | ||
'by': string; | ||
}; | ||
}; | ||
@@ -182,2 +202,10 @@ export declare type AnyValue = any; | ||
}; | ||
export declare type TrackingFetcherQueryOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
'sort'?: { | ||
'by': string; | ||
'order': 'desc' | 'asc'; | ||
}; | ||
}; | ||
export declare type ProxyFetcherQueryOpts = { | ||
@@ -207,2 +235,1 @@ 'sort'?: { | ||
}; | ||
export {}; |
{ | ||
"name": "@rlvt/datasources-query-openapi-client", | ||
"version": "0.0.0-397b40c", | ||
"version": "0.0.0-3a99b67", | ||
"description": "Openapi client for reelevant service", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24290
535
0