@cryptorobot.ai/client 0.0.38 → 0.0.40

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.
Files changed (99) hide show
  1. package/lib/src/client.js +33 -3
  2. package/lib/src/services/agents/agents.class.d.ts +11 -0
  3. package/lib/src/services/agents/agents.d.ts +11 -0
  4. package/lib/src/services/agents/agents.schema.d.ts +2371 -0
  5. package/lib/src/services/agents/agents.shared.d.ts +13 -0
  6. package/lib/src/services/agents/agents.shared.js +13 -0
  7. package/lib/src/services/agents/prepare/prepare.class.d.ts +18 -0
  8. package/lib/src/services/agents/prepare/prepare.d.ts +11 -0
  9. package/lib/src/services/agents/prepare/prepare.schema.d.ts +285 -0
  10. package/lib/src/services/agents/prepare/prepare.shared.d.ts +13 -0
  11. package/lib/src/services/agents/prepare/prepare.shared.js +13 -0
  12. package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +11 -0
  13. package/lib/src/services/agents/sessions/conversations/conversations.d.ts +11 -0
  14. package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +2561 -0
  15. package/lib/src/services/agents/sessions/conversations/conversations.shared.d.ts +13 -0
  16. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +13 -0
  17. package/lib/src/services/agents/sessions/sessions.class.d.ts +11 -0
  18. package/lib/src/services/agents/sessions/sessions.d.ts +11 -0
  19. package/lib/src/services/agents/sessions/sessions.schema.d.ts +803 -0
  20. package/lib/src/services/agents/sessions/sessions.shared.d.ts +13 -0
  21. package/lib/src/services/agents/sessions/sessions.shared.js +13 -0
  22. package/lib/src/services/events/events.class.d.ts +11 -0
  23. package/lib/src/services/events/events.d.ts +11 -0
  24. package/lib/src/services/events/events.schema.d.ts +786 -0
  25. package/lib/src/services/events/events.shared.d.ts +13 -0
  26. package/lib/src/services/events/events.shared.js +13 -0
  27. package/lib/src/services/events/triggers/triggers.class.d.ts +11 -0
  28. package/lib/src/services/events/triggers/triggers.d.ts +11 -0
  29. package/lib/src/services/events/triggers/triggers.schema.d.ts +1582 -0
  30. package/lib/src/services/events/triggers/triggers.shared.d.ts +13 -0
  31. package/lib/src/services/events/triggers/triggers.shared.js +13 -0
  32. package/lib/src/services/events/types/types.class.d.ts +11 -0
  33. package/lib/src/services/events/types/types.d.ts +11 -0
  34. package/lib/src/services/events/types/types.schema.d.ts +688 -0
  35. package/lib/src/services/events/types/types.shared.d.ts +13 -0
  36. package/lib/src/services/events/types/types.shared.js +13 -0
  37. package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
  38. package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
  39. package/lib/src/services/exchanges/download/download.shared.d.ts +1 -1
  40. package/lib/src/services/exchanges/download/download.shared.js +1 -1
  41. package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
  42. package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
  43. package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
  44. package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
  45. package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
  46. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
  47. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
  48. package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
  49. package/lib/src/services/extensions/extensions.class.d.ts +11 -0
  50. package/lib/src/services/extensions/extensions.d.ts +11 -0
  51. package/lib/src/services/extensions/extensions.schema.d.ts +1275 -0
  52. package/lib/src/services/extensions/extensions.shared.d.ts +13 -0
  53. package/lib/src/services/extensions/extensions.shared.js +13 -0
  54. package/lib/src/services/keys/KeysService.d.ts +13 -0
  55. package/lib/src/services/keys/keys.class.d.ts +11 -0
  56. package/lib/src/services/keys/keys.d.ts +11 -0
  57. package/lib/src/services/keys/keys.schema.d.ts +719 -0
  58. package/lib/src/services/keys/keys.shared.d.ts +14 -0
  59. package/lib/src/services/keys/keys.shared.js +13 -0
  60. package/lib/src/services/messages/messages.schema.d.ts +64 -32
  61. package/lib/src/services/restricted/restricted.class.d.ts +26 -0
  62. package/lib/src/services/restricted/restricted.d.ts +21 -0
  63. package/lib/src/services/restricted/restricted.shared.d.ts +13 -0
  64. package/lib/src/services/restricted/restricted.shared.js +13 -0
  65. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
  66. package/lib/src/services/strategies/backtest/results/results.schema.d.ts +36 -36
  67. package/lib/src/services/strategies/generate/generate.class.d.ts +11 -0
  68. package/lib/src/services/strategies/generate/generate.d.ts +11 -0
  69. package/lib/src/services/strategies/generate/generate.schema.d.ts +429 -0
  70. package/lib/src/services/strategies/generate/generate.shared.d.ts +13 -0
  71. package/lib/src/services/strategies/generate/generate.shared.js +13 -0
  72. package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +16 -8
  73. package/lib/src/services/strategies/indicators/indicators.schema.d.ts +177 -97
  74. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
  75. package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
  76. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
  77. package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
  78. package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
  79. package/lib/src/services/strategies/strategies.schema.d.ts +2732 -327
  80. package/lib/src/services/strategies/templates/templates.schema.d.ts +2146 -16
  81. package/lib/src/services/tools/openapi/openapi.class.d.ts +34 -0
  82. package/lib/src/services/tools/openapi/openapi.d.ts +10 -0
  83. package/lib/src/services/tools/openapi/openapi.shared.d.ts +13 -0
  84. package/lib/src/services/tools/openapi/openapi.shared.js +13 -0
  85. package/lib/src/services/tools/tools.class.d.ts +11 -0
  86. package/lib/src/services/tools/tools.d.ts +11 -0
  87. package/lib/src/services/tools/tools.schema.d.ts +269 -0
  88. package/lib/src/services/tools/tools.shared.d.ts +13 -0
  89. package/lib/src/services/tools/tools.shared.js +13 -0
  90. package/lib/src/services/traders/pods/api/api.schema.d.ts +1650 -464
  91. package/lib/src/services/traders/pods/events/events.schema.d.ts +4 -4
  92. package/lib/src/services/traders/pods/pods.schema.d.ts +1539 -443
  93. package/lib/src/services/traders/traders.schema.d.ts +142 -142
  94. package/lib/src/services/users/users.class.d.ts +178 -3
  95. package/lib/src/services/users/users.schema.d.ts +123 -85
  96. package/lib/src/services/users/users.shared.d.ts +4 -3
  97. package/lib/src/services/users/users.shared.js +1 -1
  98. package/package.json +2 -3
  99. package/readme.md +1 -2
@@ -0,0 +1,34 @@
1
+ import type { Id, NullableId, Params, ServiceInterface } from '@feathersjs/feathers';
2
+ import type { Application } from '../../../declarations';
3
+ type ToolsOpenapi = any;
4
+ type ToolsOpenapiData = any;
5
+ type ToolsOpenapiPatch = any;
6
+ type ToolsOpenapiQuery = any;
7
+ export type { ToolsOpenapi, ToolsOpenapiData, ToolsOpenapiPatch, ToolsOpenapiQuery };
8
+ export interface ToolsOpenapiServiceOptions {
9
+ app: Application;
10
+ }
11
+ export interface ToolsOpenapiParams extends Params<ToolsOpenapiQuery> {
12
+ }
13
+ export declare class ToolsOpenapiService<ServiceParams extends ToolsOpenapiParams = ToolsOpenapiParams> implements ServiceInterface<ToolsOpenapi, ToolsOpenapiData, ServiceParams, ToolsOpenapiPatch> {
14
+ options: ToolsOpenapiServiceOptions;
15
+ constructor(options: ToolsOpenapiServiceOptions);
16
+ find(_params?: ServiceParams): Promise<ToolsOpenapi[]>;
17
+ /** Extract service information from tool configuration */
18
+ private extractServiceFromTool;
19
+ /** Determine HTTP method based on tool configuration */
20
+ private getHttpMethodForTool;
21
+ /** Generate tags for the tool based on service or tool name */
22
+ private getTagsForTool;
23
+ /** Generate query parameters for GET requests */
24
+ private generateQueryParameters;
25
+ get(id: Id, _params?: ServiceParams): Promise<ToolsOpenapi>;
26
+ create(data: ToolsOpenapiData, params?: ServiceParams): Promise<ToolsOpenapi>;
27
+ create(data: ToolsOpenapiData[], params?: ServiceParams): Promise<ToolsOpenapi[]>;
28
+ update(id: NullableId, data: ToolsOpenapiData, _params?: ServiceParams): Promise<ToolsOpenapi>;
29
+ patch(id: NullableId, data: ToolsOpenapiPatch, _params?: ServiceParams): Promise<ToolsOpenapi>;
30
+ remove(id: NullableId, _params?: ServiceParams): Promise<ToolsOpenapi>;
31
+ }
32
+ export declare const getOptions: (app: Application) => {
33
+ app: Application;
34
+ };
@@ -0,0 +1,10 @@
1
+ import type { Application } from '../../../declarations';
2
+ import { ToolsOpenapiService } from './openapi.class';
3
+ import { toolsOpenapiPath } from './openapi.shared';
4
+ export * from './openapi.class';
5
+ export declare const toolsOpenapi: (app: Application) => void;
6
+ declare module '../../../declarations' {
7
+ interface ServiceTypes {
8
+ [toolsOpenapiPath]: ToolsOpenapiService;
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../../client';
3
+ import type { ToolsOpenapi, ToolsOpenapiData, ToolsOpenapiPatch, ToolsOpenapiQuery, ToolsOpenapiService } from './openapi.class';
4
+ export type { ToolsOpenapi, ToolsOpenapiData, ToolsOpenapiPatch, ToolsOpenapiQuery };
5
+ export type ToolsOpenapiClientService = Pick<ToolsOpenapiService<Params<ToolsOpenapiQuery>>, (typeof toolsOpenapiMethods)[number]>;
6
+ export declare const toolsOpenapiPath = "tools/openapi";
7
+ export declare const toolsOpenapiMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const toolsOpenapiClient: (client: ClientApplication) => void;
9
+ declare module '../../../client' {
10
+ interface ServiceTypes {
11
+ [toolsOpenapiPath]: ToolsOpenapiClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toolsOpenapiClient = exports.toolsOpenapiMethods = exports.toolsOpenapiPath = void 0;
4
+ exports.toolsOpenapiPath = 'tools/openapi';
5
+ exports.toolsOpenapiMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const toolsOpenapiClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.toolsOpenapiPath, connection.service(exports.toolsOpenapiPath), {
9
+ methods: exports.toolsOpenapiMethods
10
+ });
11
+ };
12
+ exports.toolsOpenapiClient = toolsOpenapiClient;
13
+ //# sourceMappingURL=openapi.shared.js.map
@@ -0,0 +1,11 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
+ import type { Application } from '../../declarations';
5
+ import type { Tools, ToolsData, ToolsPatch, ToolsQuery } from './tools.schema';
6
+ export type { Tools, ToolsData, ToolsPatch, ToolsQuery };
7
+ export interface ToolsParams extends MongoDBAdapterParams<ToolsQuery> {
8
+ }
9
+ export declare class ToolsService<ServiceParams extends Params = ToolsParams> extends MongoDBService<Tools, ToolsData, ToolsParams, ToolsPatch> {
10
+ }
11
+ export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../declarations';
2
+ import { ToolsService } from './tools.class';
3
+ import { toolsPath } from './tools.shared';
4
+ export * from './tools.class';
5
+ export * from './tools.schema';
6
+ export declare const tools: (app: Application) => void;
7
+ declare module '../../declarations' {
8
+ interface ServiceTypes {
9
+ [toolsPath]: ToolsService;
10
+ }
11
+ }
@@ -0,0 +1,269 @@
1
+ import type { Static } from '@feathersjs/typebox';
2
+ import type { HookContext } from '../../declarations';
3
+ import type { ToolsService } from './tools.class';
4
+ export declare const toolsSchema: import("@feathersjs/typebox").TObject<{
5
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6
+ name: import("@feathersjs/typebox").TString<string>;
7
+ description: import("@feathersjs/typebox").TString<string>;
8
+ parameters: import("@feathersjs/typebox").TObject<{}>;
9
+ method: import("@feathersjs/typebox").TString<string>;
10
+ inputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
11
+ }>;
12
+ export type Tools = Static<typeof toolsSchema>;
13
+ export declare const toolsValidator: import("@feathersjs/schema").Validator<any, any>;
14
+ export declare const toolsResolver: import("@feathersjs/schema").Resolver<{
15
+ name: string;
16
+ _id: string | {};
17
+ description: string;
18
+ method: string;
19
+ parameters: {};
20
+ inputs: string[];
21
+ }, HookContext<ToolsService<import("./tools.class").ToolsParams>>>;
22
+ export declare const toolsExternalResolver: import("@feathersjs/schema").Resolver<{
23
+ name: string;
24
+ _id: string | {};
25
+ description: string;
26
+ method: string;
27
+ parameters: {};
28
+ inputs: string[];
29
+ }, HookContext<ToolsService<import("./tools.class").ToolsParams>>>;
30
+ export declare const toolsDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
31
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
32
+ name: import("@feathersjs/typebox").TString<string>;
33
+ description: import("@feathersjs/typebox").TString<string>;
34
+ parameters: import("@feathersjs/typebox").TObject<{}>;
35
+ method: import("@feathersjs/typebox").TString<string>;
36
+ inputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
37
+ }>, ["name", "description", "parameters", "method", "inputs"]>;
38
+ export type ToolsData = Static<typeof toolsDataSchema>;
39
+ export declare const toolsDataValidator: import("@feathersjs/schema").Validator<any, any>;
40
+ export declare const toolsDataResolver: import("@feathersjs/schema").Resolver<{
41
+ name: string;
42
+ _id: string | {};
43
+ description: string;
44
+ method: string;
45
+ parameters: {};
46
+ inputs: string[];
47
+ }, HookContext<ToolsService<import("./tools.class").ToolsParams>>>;
48
+ export declare const toolsPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
49
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
50
+ name: import("@feathersjs/typebox").TString<string>;
51
+ description: import("@feathersjs/typebox").TString<string>;
52
+ parameters: import("@feathersjs/typebox").TObject<{}>;
53
+ method: import("@feathersjs/typebox").TString<string>;
54
+ inputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
55
+ }>>;
56
+ export type ToolsPatch = Static<typeof toolsPatchSchema>;
57
+ export declare const toolsPatchValidator: import("@feathersjs/schema").Validator<any, any>;
58
+ export declare const toolsPatchResolver: import("@feathersjs/schema").Resolver<{
59
+ name: string;
60
+ _id: string | {};
61
+ description: string;
62
+ method: string;
63
+ parameters: {};
64
+ inputs: string[];
65
+ }, HookContext<ToolsService<import("./tools.class").ToolsParams>>>;
66
+ export declare const toolsQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
67
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
68
+ name: import("@feathersjs/typebox").TString<string>;
69
+ description: import("@feathersjs/typebox").TString<string>;
70
+ parameters: import("@feathersjs/typebox").TObject<{}>;
71
+ method: import("@feathersjs/typebox").TString<string>;
72
+ inputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
73
+ }>, ["_id", "name"]>;
74
+ export declare const toolsQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
75
+ $limit: import("@feathersjs/typebox").TNumber;
76
+ $skip: import("@feathersjs/typebox").TNumber;
77
+ $sort: import("@feathersjs/typebox").TObject<{
78
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
79
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
80
+ }>;
81
+ $select: import("@feathersjs/typebox").TUnsafe<("name" | "_id")[]>;
82
+ $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
83
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
84
+ $gt: import("@feathersjs/typebox").TString<string>;
85
+ $gte: import("@feathersjs/typebox").TString<string>;
86
+ $lt: import("@feathersjs/typebox").TString<string>;
87
+ $lte: import("@feathersjs/typebox").TString<string>;
88
+ $ne: import("@feathersjs/typebox").TString<string>;
89
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
90
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
91
+ }>, import("@feathersjs/typebox").TObject<{
92
+ [key: string]: import("@feathersjs/typebox").TSchema;
93
+ } | undefined>]>>]>>;
94
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
95
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
96
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
97
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
98
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
99
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
100
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
101
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
102
+ }>, import("@feathersjs/typebox").TObject<{
103
+ [key: string]: import("@feathersjs/typebox").TSchema;
104
+ } | undefined>]>>]>>;
105
+ }>>, import("@feathersjs/typebox").TObject<{
106
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
107
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
108
+ $gt: import("@feathersjs/typebox").TString<string>;
109
+ $gte: import("@feathersjs/typebox").TString<string>;
110
+ $lt: import("@feathersjs/typebox").TString<string>;
111
+ $lte: import("@feathersjs/typebox").TString<string>;
112
+ $ne: import("@feathersjs/typebox").TString<string>;
113
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
114
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
115
+ }>, import("@feathersjs/typebox").TObject<{
116
+ [key: string]: import("@feathersjs/typebox").TSchema;
117
+ } | undefined>]>>]>>;
118
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
119
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
120
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
121
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
122
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
123
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
124
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
125
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
126
+ }>, import("@feathersjs/typebox").TObject<{
127
+ [key: string]: import("@feathersjs/typebox").TSchema;
128
+ } | undefined>]>>]>>;
129
+ }>>>;
130
+ }>]>>;
131
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
132
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
133
+ $gt: import("@feathersjs/typebox").TString<string>;
134
+ $gte: import("@feathersjs/typebox").TString<string>;
135
+ $lt: import("@feathersjs/typebox").TString<string>;
136
+ $lte: import("@feathersjs/typebox").TString<string>;
137
+ $ne: import("@feathersjs/typebox").TString<string>;
138
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
139
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
140
+ }>, import("@feathersjs/typebox").TObject<{
141
+ [key: string]: import("@feathersjs/typebox").TSchema;
142
+ } | undefined>]>>]>>;
143
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
144
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
145
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
146
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
147
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
148
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
149
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
150
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
151
+ }>, import("@feathersjs/typebox").TObject<{
152
+ [key: string]: import("@feathersjs/typebox").TSchema;
153
+ } | undefined>]>>]>>;
154
+ }>>>;
155
+ }>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
156
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
157
+ $gt: import("@feathersjs/typebox").TString<string>;
158
+ $gte: import("@feathersjs/typebox").TString<string>;
159
+ $lt: import("@feathersjs/typebox").TString<string>;
160
+ $lte: import("@feathersjs/typebox").TString<string>;
161
+ $ne: import("@feathersjs/typebox").TString<string>;
162
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
163
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
164
+ }>, import("@feathersjs/typebox").TObject<{
165
+ [key: string]: import("@feathersjs/typebox").TSchema;
166
+ } | undefined>]>>]>>;
167
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
168
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
169
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
170
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
171
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
172
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
173
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
174
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
175
+ }>, import("@feathersjs/typebox").TObject<{
176
+ [key: string]: import("@feathersjs/typebox").TSchema;
177
+ } | undefined>]>>]>>;
178
+ }>>]>, import("@feathersjs/typebox").TObject<{}>]>;
179
+ export type ToolsQuery = Static<typeof toolsQuerySchema>;
180
+ export declare const toolsQueryValidator: import("@feathersjs/schema").Validator<any, any>;
181
+ export declare const toolsQueryResolver: import("@feathersjs/schema").Resolver<Partial<{
182
+ $limit: number;
183
+ $skip: number;
184
+ $sort: {
185
+ name?: number | undefined;
186
+ _id?: number | undefined;
187
+ };
188
+ $select: ("name" | "_id")[];
189
+ $and: ({
190
+ name?: string | Partial<{
191
+ $gt: string;
192
+ $gte: string;
193
+ $lt: string;
194
+ $lte: string;
195
+ $ne: string;
196
+ $in: string | string[];
197
+ $nin: string | string[];
198
+ } & {}> | undefined;
199
+ _id?: string | {} | Partial<{
200
+ $gt: string | {};
201
+ $gte: string | {};
202
+ $lt: string | {};
203
+ $lte: string | {};
204
+ $ne: string | {};
205
+ $in: string | {} | (string | {})[];
206
+ $nin: string | {} | (string | {})[];
207
+ } & {}> | undefined;
208
+ } | {
209
+ $or: {
210
+ name?: string | Partial<{
211
+ $gt: string;
212
+ $gte: string;
213
+ $lt: string;
214
+ $lte: string;
215
+ $ne: string;
216
+ $in: string | string[];
217
+ $nin: string | string[];
218
+ } & {}> | undefined;
219
+ _id?: string | {} | Partial<{
220
+ $gt: string | {};
221
+ $gte: string | {};
222
+ $lt: string | {};
223
+ $lte: string | {};
224
+ $ne: string | {};
225
+ $in: string | {} | (string | {})[];
226
+ $nin: string | {} | (string | {})[];
227
+ } & {}> | undefined;
228
+ }[];
229
+ })[];
230
+ $or: {
231
+ name?: string | Partial<{
232
+ $gt: string;
233
+ $gte: string;
234
+ $lt: string;
235
+ $lte: string;
236
+ $ne: string;
237
+ $in: string | string[];
238
+ $nin: string | string[];
239
+ } & {}> | undefined;
240
+ _id?: string | {} | Partial<{
241
+ $gt: string | {};
242
+ $gte: string | {};
243
+ $lt: string | {};
244
+ $lte: string | {};
245
+ $ne: string | {};
246
+ $in: string | {} | (string | {})[];
247
+ $nin: string | {} | (string | {})[];
248
+ } & {}> | undefined;
249
+ }[];
250
+ }> & {
251
+ name?: string | Partial<{
252
+ $gt: string;
253
+ $gte: string;
254
+ $lt: string;
255
+ $lte: string;
256
+ $ne: string;
257
+ $in: string | string[];
258
+ $nin: string | string[];
259
+ } & {}> | undefined;
260
+ _id?: string | {} | Partial<{
261
+ $gt: string | {};
262
+ $gte: string | {};
263
+ $lt: string | {};
264
+ $lte: string | {};
265
+ $ne: string | {};
266
+ $in: string | {} | (string | {})[];
267
+ $nin: string | {} | (string | {})[];
268
+ } & {}> | undefined;
269
+ } & {}, HookContext<ToolsService<import("./tools.class").ToolsParams>>>;
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../client';
3
+ import type { Tools, ToolsData, ToolsPatch, ToolsQuery, ToolsService } from './tools.class';
4
+ export type { Tools, ToolsData, ToolsPatch, ToolsQuery };
5
+ export type ToolsClientService = Pick<ToolsService<Params<ToolsQuery>>, (typeof toolsMethods)[number]>;
6
+ export declare const toolsPath = "tools";
7
+ export declare const toolsMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const toolsClient: (client: ClientApplication) => void;
9
+ declare module '../../client' {
10
+ interface ServiceTypes {
11
+ [toolsPath]: ToolsClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toolsClient = exports.toolsMethods = exports.toolsPath = void 0;
4
+ exports.toolsPath = 'tools';
5
+ exports.toolsMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const toolsClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.toolsPath, connection.service(exports.toolsPath), {
9
+ methods: exports.toolsMethods
10
+ });
11
+ };
12
+ exports.toolsClient = toolsClient;
13
+ //# sourceMappingURL=tools.shared.js.map