Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rlvt/datasources-query-openapi-client

Package Overview
Dependencies
Maintainers
7
Versions
567
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rlvt/datasources-query-openapi-client - npm Package Compare versions

Comparing version 0.0.0-e737cea to 0.0.0-eb4a1e4

68

build/api.d.ts

@@ -11,5 +11,2 @@ import { AxiosInstance, AxiosRequestConfig } from "axios";

private fetchScenarioEvents;
private areIndexesReady;
private createIndexes;
private legacyQuery;
private query;

@@ -123,2 +120,3 @@ private queryValues;

field: string;
query?: string;
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{

@@ -134,66 +132,2 @@ status: "success";

};
get WorkerDatasource(): {
areIndexesReady: (params: {
datasourceId: string;
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
ready: boolean;
};
}>>;
createIndexes: (params: {
datasourceId: string;
}, data: {
fields: string[];
sortBy?: string;
sortOrder?: "desc" | "asc";
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
indexesCreated: number;
};
}>>;
legacyQuery: (params: {
datasourceId: string;
Q: string;
mode: "query" | "count";
page?: number;
perPage?: number;
radius?: number;
center?: number[];
sortBy?: string;
sortOrder?: "desc" | "asc";
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
paginationCount: number;
paginationPage: number;
paginationLimit: number;
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: any[];
} | {
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
count: number;
};
}>>;
};
}

@@ -23,3 +23,4 @@ "use strict";

keys.forEach(key => {
ret[key] = obj[key];
if (key in obj)
ret[key] = obj[key];
});

@@ -44,11 +45,2 @@ return ret;

}
areIndexesReady(params, options) {
return this.axios.get("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), Object.assign({}, { headers: {}, params: {} }, options));
}
createIndexes(params, data, options) {
return this.axios.post("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), data, Object.assign({}, { headers: {}, params: {} }, options));
}
legacyQuery(params, options) {
return this.axios.get("/{datasourceId}/query".replace(/{datasourceId}/, String(params["datasourceId"])), Object.assign({}, { headers: {}, params: pick(params, "Q", "mode", "page", "perPage", "radius", "center", "sortBy", "sortOrder") }, options));
}
query(params, data, options) {

@@ -70,11 +62,4 @@ return this.axios.post("/query", data, Object.assign({}, { headers: pick(params, "x-rlvt-no-cache"), params: pick(params, "page", "perPage") }, options));

}
get WorkerDatasource() {
return {
areIndexesReady: this.areIndexesReady.bind(this),
createIndexes: this.createIndexes.bind(this),
legacyQuery: this.legacyQuery.bind(this)
};
}
}
exports.default = default_1;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLGdEQUE4QjtBQUU5QixTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBUSxFQUFFLENBQUM7SUFDcEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNmLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDeEIsQ0FBQyxDQUFDLENBQUE7SUFDRixPQUFPLEdBQUcsQ0FBQztBQUNmLENBQUM7QUFFRDtJQUdJLFlBQVksZ0JBQW9EO1FB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SSxDQUFDO1lBQ3hELEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDNUIsV0FBVyxFQUFFLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztTQUMzQyxDQUFDO0lBQ04sQ0FBQztDQUNKO0FBdEpELDRCQXNKQyJ9

2

build/definitions.d.ts

@@ -168,3 +168,3 @@ export declare type CPMeta = {

};
export declare type AnyValue = any;
export declare type AnyValue = any | null;
export declare type CarrefourStoresWithFuelFetcherQueryOpts = {

@@ -171,0 +171,0 @@ 'datasourceId': string;

{
"name": "@rlvt/datasources-query-openapi-client",
"version": "0.0.0-e737cea",
"version": "0.0.0-eb4a1e4",
"description": "Openapi client for reelevant service",

@@ -5,0 +5,0 @@ "main": "build/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc