@rlvt/datasources-query-openapi-client
Advanced tools
Comparing version 0.0.0-c5b0681 to 0.0.0-d82c6f3
import { AxiosInstance, AxiosRequestConfig } from "axios"; | ||
import * as Types from "./definitions"; | ||
export * from "./definitions"; | ||
@@ -7,2 +8,3 @@ export default class { | ||
private fetch; | ||
private count; | ||
private fetchWorkflowEvents; | ||
@@ -18,61 +20,3 @@ private fetchScenarioEvents; | ||
'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.ProxyFetcherFetchOpts | Types.CarrefourStoresRetailsFetcherFetchOpts | Types.CarrefourStoresWithDriveSlotsFetcherFetchOpts | Types.CarrefourStoresWithFuelFetcherFetchOpts | Types.BestWesternHotelsFetcherFetchOpts | Types.FdjBetsFetcherFetchOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
@@ -91,25 +35,20 @@ program: string; | ||
rlvt_datasourceId?: string; | ||
}; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
}[]; | ||
meta?: Types.CPMeta; | ||
}; | ||
}>>; | ||
count: (params: { | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: Types.CarrefourStoresWithFuelFetcherFetchOpts | Types.WorkerFetcherCountOpts | Types.IngesterFetcherCountOpts | Types.ProxyFetcherCountOpts | Types.CarrefourStoresRetailsFetcherCountOpts | Types.CarrefourStoresWithDriveSlotsFetcherCountOpts | Types.BestWesternHotelsFetcherCountOpts | Types.FdjBetsFetcherCountOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
status: "success"; | ||
program: string; | ||
version: string; | ||
datetime: string; | ||
code?: number; | ||
message: string; | ||
data: number; | ||
}>>; | ||
fetchWorkflowEvents: (params: { | ||
'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; | ||
@@ -131,12 +70,3 @@ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}[]; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
meta?: Types.CPMeta; | ||
}; | ||
@@ -146,10 +76,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; | ||
@@ -171,12 +94,3 @@ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
}[]; | ||
meta?: { | ||
cp: { | ||
datasourceId: string; | ||
index: number; | ||
productId: string; | ||
productsId: string[]; | ||
cpId: string; | ||
k: number; | ||
}; | ||
}; | ||
meta?: Types.CPMeta; | ||
}; | ||
@@ -188,47 +102,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.ProxyFetcherQueryOpts | Types.CarrefourStoresRetailsFetcherQueryOpts | Types.CarrefourStoresWithDriveSlotsFetcherQueryOpts | Types.BestWesternHotelsFetcherQueryOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
paginationCount: number; | ||
@@ -254,2 +124,16 @@ paginationPage: number; | ||
}>>; | ||
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[]; | ||
}>>; | ||
}; | ||
@@ -307,5 +191,3 @@ get WorkerDatasource(): { | ||
message: string; | ||
data: { | ||
[x: string]: any; | ||
}[]; | ||
data: any[]; | ||
} | { | ||
@@ -323,18 +205,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[]; | ||
}>>; | ||
}; | ||
} |
@@ -34,2 +34,5 @@ "use strict"; | ||
} | ||
count(params, data, options) { | ||
return this.axios.post("/count", data, Object.assign({}, { headers: pick(params, "x-rlvt-no-cache"), params: {} }, options)); | ||
} | ||
fetchWorkflowEvents(params, data, options) { | ||
@@ -59,5 +62,7 @@ return this.axios.post("/fetch-workflow-events", data, Object.assign({}, { headers: pick(params, "x-rlvt-no-cache"), params: {} }, options)); | ||
fetch: this.fetch.bind(this), | ||
count: this.count.bind(this), | ||
fetchWorkflowEvents: this.fetchWorkflowEvents.bind(this), | ||
fetchScenarioEvents: this.fetchScenarioEvents.bind(this), | ||
query: this.query.bind(this) | ||
query: this.query.bind(this), | ||
queryValues: this.queryValues.bind(this) | ||
}; | ||
@@ -72,9 +77,4 @@ } | ||
} | ||
get Default() { | ||
return { | ||
queryValues: this.queryValues.bind(this) | ||
}; | ||
} | ||
} | ||
exports.default = default_1; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7Q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Q0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUM1QixtQkFBbUIsRUFBRSxJQUFJLENBQUMsbUJBQW1CLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUN4RCxtQkFBbUIsRUFBRSxJQUFJLENBQUMsbUJBQW1CLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUN4RCxLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQzVCLFdBQVcsRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDM0MsQ0FBQztJQUNOLENBQUM7SUFFRCxJQUFJLGdCQUFnQjtRQUNoQixPQUFPO1lBQ0gsZUFBZSxFQUFFLElBQUksQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUNoRCxhQUFhLEVBQUUsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQzVDLFdBQVcsRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDM0MsQ0FBQztJQUNOLENBQUM7Q0FDSjtBQXBPRCw0QkFvT0MifQ== |
@@ -1,25 +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 Data = { | ||
'distance'?: number; | ||
'rlvt_lat'?: number; | ||
'rlvt_lng'?: number; | ||
'rlvt_productKey'?: string; | ||
'rlvt_datasourceId'?: string; | ||
}; | ||
export declare type CPMeta = { | ||
@@ -56,2 +32,5 @@ 'cp': { | ||
'limit'?: number; | ||
'group'?: { | ||
'by': string; | ||
}; | ||
'datasourceId': string; | ||
@@ -102,4 +81,50 @@ 'query': string; | ||
}; | ||
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_ = { | ||
export declare type WorkerFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
'geo'?: { | ||
'radius': number; | ||
'center': (number | number)[]; | ||
}; | ||
}; | ||
export declare type IngesterFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type ProxyFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type CarrefourStoresRetailsFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type CarrefourStoresWithDriveSlotsFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type BestWesternHotelsFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
'cp'?: { | ||
'count': number; | ||
'index'?: number; | ||
'group': string; | ||
'pickId': string; | ||
}; | ||
'geo'?: { | ||
'radius': number; | ||
'center': (number | number)[]; | ||
}; | ||
'sort'?: { | ||
'by': string; | ||
'order': 'desc' | 'asc'; | ||
}; | ||
}; | ||
export declare type FdjBetsFetcherCountOpts = { | ||
'datasourceId': string; | ||
'query': string; | ||
}; | ||
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ = { | ||
'query': string; | ||
'limit'?: number; | ||
@@ -110,2 +135,5 @@ 'sort'?: { | ||
}; | ||
'group'?: { | ||
'by': string; | ||
}; | ||
}; | ||
@@ -165,2 +193,1 @@ export declare type AnyValue = any; | ||
}; | ||
export {}; |
{ | ||
"name": "@rlvt/datasources-query-openapi-client", | ||
"version": "0.0.0-c5b0681", | ||
"version": "0.0.0-d82c6f3", | ||
"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
23291
494