omni-osint-query-client 2.0.4 → 2.1.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/sdk.gen.js CHANGED
@@ -8,7 +8,7 @@ const client_gen_1 = require("./client.gen");
8
8
  */
9
9
  const queryEvents = (options) => {
10
10
  var _a;
11
- 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: '/events' }, options));
11
+ 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: '/events/query' }, options));
12
12
  };
13
13
  exports.queryEvents = queryEvents;
14
14
  /**
@@ -16,7 +16,7 @@ exports.queryEvents = queryEvents;
16
16
  */
17
17
  const queryNeighbors = (options) => {
18
18
  var _a;
19
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ responseType: 'json', url: '/entities/{id}/neighbors' }, options));
19
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ responseType: 'json', url: '/entity/neighbors' }, options));
20
20
  };
21
21
  exports.queryNeighbors = queryNeighbors;
22
22
  /**
@@ -825,7 +825,7 @@ export type QueryEventsData = {
825
825
  */
826
826
  offset?: number;
827
827
  };
828
- url: '/events';
828
+ url: '/events/query';
829
829
  };
830
830
  export type QueryEventsErrors = {
831
831
  /**
@@ -849,15 +849,14 @@ export type QueryNeighborsData = {
849
849
  */
850
850
  authorization?: string | null;
851
851
  };
852
- path: {
852
+ path?: never;
853
+ query: {
853
854
  /**
854
855
  * Id
855
856
  *
856
857
  * The ArangoDB Document ID (e.g., collection/123)
857
858
  */
858
859
  id: string;
859
- };
860
- query?: {
861
860
  /**
862
861
  * Limit
863
862
  *
@@ -883,7 +882,7 @@ export type QueryNeighborsData = {
883
882
  */
884
883
  exclude?: Array<string>;
885
884
  };
886
- url: '/entities/{id}/neighbors';
885
+ url: '/entity/neighbors';
887
886
  };
888
887
  export type QueryNeighborsErrors = {
889
888
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-osint-query-client",
3
- "version": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "engines": {
5
5
  "node": ">=24.0.0"
6
6
  },