omni-osint-query-client 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -2
- package/dist/sdk.gen.d.ts +1 -5
- package/dist/sdk.gen.js +1 -9
- package/dist/types.gen.d.ts +0 -24
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { ClientOptions, Event,
|
|
1
|
+
export { type Options, queryEvents, queryNeighbors, queryNeighborsBatch } from './sdk.gen';
|
|
2
|
+
export type { ClientOptions, Event, HttpValidationError, LocationData, NeighborsResponse, Organization, Person, QueryEventsData, QueryEventsError, QueryEventsErrors, QueryEventsResponse, QueryEventsResponses, QueryNeighborsBatchData, QueryNeighborsBatchError, QueryNeighborsBatchErrors, QueryNeighborsBatchResponse, QueryNeighborsBatchResponses, QueryNeighborsData, QueryNeighborsError, QueryNeighborsErrors, QueryNeighborsResponse, QueryNeighborsResponses, QueryResponse, Relation, Source, ValidationError, Website } from './types.gen';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.queryNeighborsBatch = exports.queryNeighbors = exports.queryEvents =
|
|
4
|
+
exports.queryNeighborsBatch = exports.queryNeighbors = exports.queryEvents = void 0;
|
|
5
5
|
var sdk_gen_1 = require("./sdk.gen");
|
|
6
|
-
Object.defineProperty(exports, "healthCheck", { enumerable: true, get: function () { return sdk_gen_1.healthCheck; } });
|
|
7
6
|
Object.defineProperty(exports, "queryEvents", { enumerable: true, get: function () { return sdk_gen_1.queryEvents; } });
|
|
8
7
|
Object.defineProperty(exports, "queryNeighbors", { enumerable: true, get: function () { return sdk_gen_1.queryNeighbors; } });
|
|
9
8
|
Object.defineProperty(exports, "queryNeighborsBatch", { enumerable: true, get: function () { return sdk_gen_1.queryNeighborsBatch; } });
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { QueryEventsData, QueryEventsErrors, QueryEventsResponses, QueryNeighborsBatchData, QueryNeighborsBatchErrors, QueryNeighborsBatchResponses, QueryNeighborsData, QueryNeighborsErrors, QueryNeighborsResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -25,7 +25,3 @@ export declare const queryNeighbors: <ThrowOnError extends boolean = false>(opti
|
|
|
25
25
|
* Query Neighbors Batch
|
|
26
26
|
*/
|
|
27
27
|
export declare const queryNeighborsBatch: <ThrowOnError extends boolean = false>(options?: Options<QueryNeighborsBatchData, ThrowOnError>) => import("./client").RequestResult<QueryNeighborsBatchResponses, QueryNeighborsBatchErrors, ThrowOnError>;
|
|
28
|
-
/**
|
|
29
|
-
* Health Check
|
|
30
|
-
*/
|
|
31
|
-
export declare const healthCheck: <ThrowOnError extends boolean = false>(options?: Options<HealthCheckData, ThrowOnError>) => import("./client").RequestResult<HealthCheckResponses, unknown, ThrowOnError>;
|
package/dist/sdk.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.queryNeighborsBatch = exports.queryNeighbors = exports.queryEvents = void 0;
|
|
5
5
|
const client_gen_1 = require("./client.gen");
|
|
6
6
|
/**
|
|
7
7
|
* Query Events
|
|
@@ -27,11 +27,3 @@ const queryNeighborsBatch = (options) => {
|
|
|
27
27
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ responseType: 'json', url: '/entities/neighbors' }, options));
|
|
28
28
|
};
|
|
29
29
|
exports.queryNeighborsBatch = queryNeighborsBatch;
|
|
30
|
-
/**
|
|
31
|
-
* Health Check
|
|
32
|
-
*/
|
|
33
|
-
const healthCheck = (options) => {
|
|
34
|
-
var _a;
|
|
35
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ responseType: 'json', url: '/health/osint/query' }, options));
|
|
36
|
-
};
|
|
37
|
-
exports.healthCheck = healthCheck;
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -107,17 +107,6 @@ export type HttpValidationError = {
|
|
|
107
107
|
*/
|
|
108
108
|
detail?: Array<ValidationError>;
|
|
109
109
|
};
|
|
110
|
-
/**
|
|
111
|
-
* HealthCheck
|
|
112
|
-
*/
|
|
113
|
-
export type HealthCheck = {
|
|
114
|
-
/**
|
|
115
|
-
* Status
|
|
116
|
-
*
|
|
117
|
-
* The health status of the service.
|
|
118
|
-
*/
|
|
119
|
-
status: string;
|
|
120
|
-
};
|
|
121
110
|
/**
|
|
122
111
|
* LocationData
|
|
123
112
|
*
|
|
@@ -967,16 +956,3 @@ export type QueryNeighborsBatchResponses = {
|
|
|
967
956
|
200: NeighborsResponse;
|
|
968
957
|
};
|
|
969
958
|
export type QueryNeighborsBatchResponse = QueryNeighborsBatchResponses[keyof QueryNeighborsBatchResponses];
|
|
970
|
-
export type HealthCheckData = {
|
|
971
|
-
body?: never;
|
|
972
|
-
path?: never;
|
|
973
|
-
query?: never;
|
|
974
|
-
url: '/health/osint/query';
|
|
975
|
-
};
|
|
976
|
-
export type HealthCheckResponses = {
|
|
977
|
-
/**
|
|
978
|
-
* Successful Response
|
|
979
|
-
*/
|
|
980
|
-
200: HealthCheck;
|
|
981
|
-
};
|
|
982
|
-
export type HealthCheckResponse = HealthCheckResponses[keyof HealthCheckResponses];
|