@cryptorobot.ai/client 0.0.8

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 (234) hide show
  1. package/lib/app.d.ts +3 -0
  2. package/lib/authentication.d.ts +8 -0
  3. package/lib/channels.d.ts +3 -0
  4. package/lib/client.d.ts +81 -0
  5. package/lib/client.js +99 -0
  6. package/lib/configuration.d.ts +148 -0
  7. package/lib/declarations.d.ts +16 -0
  8. package/lib/helper.d.ts +22 -0
  9. package/lib/helpers/app.helper.d.ts +12 -0
  10. package/lib/helpers/backtest.helper.d.ts +12 -0
  11. package/lib/helpers/ccxt.helper.d.ts +15 -0
  12. package/lib/helpers/deployments.helper.d.ts +11 -0
  13. package/lib/helpers/handlebars.helper.d.ts +10 -0
  14. package/lib/helpers/logging.helper.d.ts +7 -0
  15. package/lib/helpers/trader.helper.d.ts +10 -0
  16. package/lib/hooks/application/setup-ccxt-load-marketplaces.d.ts +2 -0
  17. package/lib/hooks/application/setup-ccxt-load-markets.d.ts +2 -0
  18. package/lib/hooks/application/setup-config-preparation.d.ts +3 -0
  19. package/lib/hooks/application/setup-info.d.ts +3 -0
  20. package/lib/hooks/application/setup-load-indicators.d.ts +3 -0
  21. package/lib/hooks/application/setup-load-strategy-templates.d.ts +3 -0
  22. package/lib/hooks/backtest-copy-candles-from-user-data.d.ts +2 -0
  23. package/lib/hooks/backtest-generate-and-start.d.ts +2 -0
  24. package/lib/hooks/backtest-generate-config.d.ts +2 -0
  25. package/lib/hooks/backtest-generate-exchange-config.d.ts +2 -0
  26. package/lib/hooks/backtest-get-results.d.ts +2 -0
  27. package/lib/hooks/backtest-in-disk-clone-strategy.d.ts +2 -0
  28. package/lib/hooks/backtest-validate.d.ts +2 -0
  29. package/lib/hooks/check-required-credentials.d.ts +2 -0
  30. package/lib/hooks/enrich-webhook-to-event.d.ts +2 -0
  31. package/lib/hooks/exchanges/after-create-ccxt-balances-propagate-to-exchange.d.ts +2 -0
  32. package/lib/hooks/exchanges/after-find-ccxt-load-markets.d.ts +2 -0
  33. package/lib/hooks/exchanges/after-get-whitelist-blacklist-transform.d.ts +2 -0
  34. package/lib/hooks/exchanges/before-create-ccxt-get-balances.d.ts +2 -0
  35. package/lib/hooks/exchanges/before-patch-blacklist-validation-per-exchange.d.ts +2 -0
  36. package/lib/hooks/exchanges/before-patch-ccxt-connect-exchange.d.ts +2 -0
  37. package/lib/hooks/exchanges/before-patch-ccxt-load-markets.d.ts +2 -0
  38. package/lib/hooks/exchanges/before-patch-whitelist-blacklist-transform.d.ts +2 -0
  39. package/lib/hooks/exchanges/before-patch-whitelist-blacklist-validate.d.ts +2 -0
  40. package/lib/hooks/exchanges/download/after-create-get-recent-downloaded-data-info.d.ts +2 -0
  41. package/lib/hooks/exchanges/download/before-create-generate-config.d.ts +2 -0
  42. package/lib/hooks/exchanges/download/before-create-process-exchange-data-download.d.ts +2 -0
  43. package/lib/hooks/log-error.d.ts +2 -0
  44. package/lib/hooks/messages/messages-process-data.d.ts +2 -0
  45. package/lib/hooks/openai-process-request.d.ts +2 -0
  46. package/lib/hooks/pairs-transform.d.ts +2 -0
  47. package/lib/hooks/remove-container.d.ts +2 -0
  48. package/lib/hooks/set-default-strategy.d.ts +2 -0
  49. package/lib/hooks/setup-prepare-maildev-while-in-test-env.d.ts +3 -0
  50. package/lib/hooks/setup-stripe.d.ts +2 -0
  51. package/lib/hooks/strategies/disk-create-strategy.d.ts +2 -0
  52. package/lib/hooks/strategies/disk-remove-strategy.d.ts +2 -0
  53. package/lib/hooks/strategies/file-strategies-clone.d.ts +2 -0
  54. package/lib/hooks/stripe-check-subscription.d.ts +2 -0
  55. package/lib/hooks/stripe-create-payment-intent.d.ts +2 -0
  56. package/lib/hooks/stripe-is-subscription-active.d.ts +2 -0
  57. package/lib/hooks/stripe-sync-customer-data.d.ts +2 -0
  58. package/lib/hooks/tickers-fetch.d.ts +2 -0
  59. package/lib/hooks/traders/after-patch-file-candles-clone.d.ts +2 -0
  60. package/lib/hooks/traders/before-patch-folders-initialize.d.ts +2 -0
  61. package/lib/hooks/traders/before-patch-transform-pairlist-plugins.d.ts +2 -0
  62. package/lib/hooks/traders/container-api-control.d.ts +2 -0
  63. package/lib/hooks/traders/container-stop.d.ts +2 -0
  64. package/lib/hooks/traders/create-trader-container.d.ts +2 -0
  65. package/lib/hooks/traders/generate-exchange-config.d.ts +2 -0
  66. package/lib/hooks/traders/generate-trader-config.d.ts +2 -0
  67. package/lib/hooks/traders/pods-container-inspect.d.ts +2 -0
  68. package/lib/hooks/traders/pods-process-worker.d.ts +2 -0
  69. package/lib/hooks/users/email-verify-signup.d.ts +2 -0
  70. package/lib/index.d.ts +1 -0
  71. package/lib/logger.d.ts +1 -0
  72. package/lib/mongodb.d.ts +8 -0
  73. package/lib/prepare-for-publish.d.ts +1 -0
  74. package/lib/services/auth-management/auth-management.class.d.ts +1 -0
  75. package/lib/services/auth-management/auth-management.d.ts +7 -0
  76. package/lib/services/auth-management/auth-management.shared.d.ts +6 -0
  77. package/lib/services/auth-management/auth-management.shared.js +17 -0
  78. package/lib/services/auth-management/auth-management.utils.d.ts +1 -0
  79. package/lib/services/config/config.class.d.ts +14 -0
  80. package/lib/services/config/config.d.ts +10 -0
  81. package/lib/services/config/config.shared.d.ts +13 -0
  82. package/lib/services/config/config.shared.js +13 -0
  83. package/lib/services/custom/custom.class.d.ts +26 -0
  84. package/lib/services/custom/custom.d.ts +10 -0
  85. package/lib/services/custom/custom.shared.d.ts +13 -0
  86. package/lib/services/custom/custom.shared.js +13 -0
  87. package/lib/services/exchanges/balance/balance.class.d.ts +11 -0
  88. package/lib/services/exchanges/balance/balance.d.ts +11 -0
  89. package/lib/services/exchanges/balance/balance.schema.d.ts +711 -0
  90. package/lib/services/exchanges/balance/balance.shared.d.ts +13 -0
  91. package/lib/services/exchanges/balance/balance.shared.js +13 -0
  92. package/lib/services/exchanges/download/download.class.d.ts +11 -0
  93. package/lib/services/exchanges/download/download.d.ts +11 -0
  94. package/lib/services/exchanges/download/download.schema.d.ts +871 -0
  95. package/lib/services/exchanges/download/download.shared.d.ts +13 -0
  96. package/lib/services/exchanges/download/download.shared.js +13 -0
  97. package/lib/services/exchanges/download/webhooks/webhooks.class.d.ts +11 -0
  98. package/lib/services/exchanges/download/webhooks/webhooks.d.ts +11 -0
  99. package/lib/services/exchanges/download/webhooks/webhooks.schema.d.ts +541 -0
  100. package/lib/services/exchanges/download/webhooks/webhooks.shared.d.ts +13 -0
  101. package/lib/services/exchanges/download/webhooks/webhooks.shared.js +13 -0
  102. package/lib/services/exchanges/exchanges.class.d.ts +11 -0
  103. package/lib/services/exchanges/exchanges.d.ts +11 -0
  104. package/lib/services/exchanges/exchanges.schema.d.ts +835 -0
  105. package/lib/services/exchanges/exchanges.shared.d.ts +13 -0
  106. package/lib/services/exchanges/exchanges.shared.js +13 -0
  107. package/lib/services/exchanges/ticker/ticker.class.d.ts +11 -0
  108. package/lib/services/exchanges/ticker/ticker.d.ts +11 -0
  109. package/lib/services/exchanges/ticker/ticker.schema.d.ts +859 -0
  110. package/lib/services/exchanges/ticker/ticker.shared.d.ts +13 -0
  111. package/lib/services/exchanges/ticker/ticker.shared.js +13 -0
  112. package/lib/services/index.d.ts +2 -0
  113. package/lib/services/mailer/mailer.class.d.ts +26 -0
  114. package/lib/services/mailer/mailer.d.ts +7 -0
  115. package/lib/services/mailer/mailer.shared.d.ts +13 -0
  116. package/lib/services/mailer/mailer.shared.js +13 -0
  117. package/lib/services/marketplaces/marketplaces.class.d.ts +14 -0
  118. package/lib/services/marketplaces/marketplaces.d.ts +10 -0
  119. package/lib/services/marketplaces/marketplaces.shared.d.ts +13 -0
  120. package/lib/services/marketplaces/marketplaces.shared.js +13 -0
  121. package/lib/services/markets/markets.class.d.ts +11 -0
  122. package/lib/services/markets/markets.d.ts +11 -0
  123. package/lib/services/markets/markets.schema.d.ts +503 -0
  124. package/lib/services/markets/markets.shared.d.ts +13 -0
  125. package/lib/services/markets/markets.shared.js +13 -0
  126. package/lib/services/messages/messages.class.d.ts +11 -0
  127. package/lib/services/messages/messages.d.ts +11 -0
  128. package/lib/services/messages/messages.schema.d.ts +711 -0
  129. package/lib/services/messages/messages.shared.d.ts +13 -0
  130. package/lib/services/messages/messages.shared.js +13 -0
  131. package/lib/services/strategies/ai/ai.class.d.ts +11 -0
  132. package/lib/services/strategies/ai/ai.d.ts +11 -0
  133. package/lib/services/strategies/ai/ai.schema.d.ts +287 -0
  134. package/lib/services/strategies/ai/ai.shared.d.ts +13 -0
  135. package/lib/services/strategies/ai/ai.shared.js +13 -0
  136. package/lib/services/strategies/ai/stream/stream.class.d.ts +26 -0
  137. package/lib/services/strategies/ai/stream/stream.d.ts +10 -0
  138. package/lib/services/strategies/ai/stream/stream.shared.d.ts +13 -0
  139. package/lib/services/strategies/ai/stream/stream.shared.js +13 -0
  140. package/lib/services/strategies/backtest/backtest.class.d.ts +11 -0
  141. package/lib/services/strategies/backtest/backtest.d.ts +11 -0
  142. package/lib/services/strategies/backtest/backtest.schema.d.ts +401 -0
  143. package/lib/services/strategies/backtest/backtest.shared.d.ts +13 -0
  144. package/lib/services/strategies/backtest/backtest.shared.js +13 -0
  145. package/lib/services/strategies/backtest/results/results.class.d.ts +11 -0
  146. package/lib/services/strategies/backtest/results/results.d.ts +11 -0
  147. package/lib/services/strategies/backtest/results/results.schema.d.ts +1115 -0
  148. package/lib/services/strategies/backtest/results/results.shared.d.ts +13 -0
  149. package/lib/services/strategies/backtest/results/results.shared.js +13 -0
  150. package/lib/services/strategies/blob/blob.class.d.ts +26 -0
  151. package/lib/services/strategies/blob/blob.d.ts +10 -0
  152. package/lib/services/strategies/blob/blob.shared.d.ts +13 -0
  153. package/lib/services/strategies/blob/blob.shared.js +13 -0
  154. package/lib/services/strategies/indicators/indicators.class.d.ts +11 -0
  155. package/lib/services/strategies/indicators/indicators.d.ts +11 -0
  156. package/lib/services/strategies/indicators/indicators.schema.d.ts +277 -0
  157. package/lib/services/strategies/indicators/indicators.shared.d.ts +13 -0
  158. package/lib/services/strategies/indicators/indicators.shared.js +13 -0
  159. package/lib/services/strategies/strategies.class.d.ts +11 -0
  160. package/lib/services/strategies/strategies.d.ts +11 -0
  161. package/lib/services/strategies/strategies.schema.d.ts +2279 -0
  162. package/lib/services/strategies/strategies.shared.d.ts +13 -0
  163. package/lib/services/strategies/strategies.shared.js +13 -0
  164. package/lib/services/strategies/templates/templates.class.d.ts +11 -0
  165. package/lib/services/strategies/templates/templates.d.ts +11 -0
  166. package/lib/services/strategies/templates/templates.schema.d.ts +269 -0
  167. package/lib/services/strategies/templates/templates.shared.d.ts +13 -0
  168. package/lib/services/strategies/templates/templates.shared.js +13 -0
  169. package/lib/services/stripe/charges/charges.class.d.ts +26 -0
  170. package/lib/services/stripe/charges/charges.d.ts +10 -0
  171. package/lib/services/stripe/charges/charges.shared.d.ts +13 -0
  172. package/lib/services/stripe/charges/charges.shared.js +13 -0
  173. package/lib/services/stripe/customers/cards/cards.class.d.ts +26 -0
  174. package/lib/services/stripe/customers/cards/cards.d.ts +10 -0
  175. package/lib/services/stripe/customers/cards/cards.shared.d.ts +13 -0
  176. package/lib/services/stripe/customers/cards/cards.shared.js +13 -0
  177. package/lib/services/stripe/customers/customers.class.d.ts +26 -0
  178. package/lib/services/stripe/customers/customers.d.ts +10 -0
  179. package/lib/services/stripe/customers/customers.shared.d.ts +13 -0
  180. package/lib/services/stripe/customers/customers.shared.js +13 -0
  181. package/lib/services/stripe/customers/paymentintent/paymentintent.class.d.ts +26 -0
  182. package/lib/services/stripe/customers/paymentintent/paymentintent.d.ts +10 -0
  183. package/lib/services/stripe/customers/paymentintent/paymentintent.shared.d.ts +13 -0
  184. package/lib/services/stripe/customers/paymentintent/paymentintent.shared.js +13 -0
  185. package/lib/services/stripe/customers/paymentmethods/paymentmethods.class.d.ts +26 -0
  186. package/lib/services/stripe/customers/paymentmethods/paymentmethods.d.ts +10 -0
  187. package/lib/services/stripe/customers/paymentmethods/paymentmethods.shared.d.ts +13 -0
  188. package/lib/services/stripe/customers/paymentmethods/paymentmethods.shared.js +13 -0
  189. package/lib/services/stripe/customers/subscriptions/subscriptions.class.d.ts +26 -0
  190. package/lib/services/stripe/customers/subscriptions/subscriptions.d.ts +10 -0
  191. package/lib/services/stripe/customers/subscriptions/subscriptions.shared.d.ts +13 -0
  192. package/lib/services/stripe/customers/subscriptions/subscriptions.shared.js +13 -0
  193. package/lib/services/stripe/products/products.class.d.ts +26 -0
  194. package/lib/services/stripe/products/products.d.ts +10 -0
  195. package/lib/services/stripe/products/products.shared.d.ts +13 -0
  196. package/lib/services/stripe/products/products.shared.js +13 -0
  197. package/lib/services/traders/pods/api/api.class.d.ts +11 -0
  198. package/lib/services/traders/pods/api/api.d.ts +11 -0
  199. package/lib/services/traders/pods/api/api.schema.d.ts +5149 -0
  200. package/lib/services/traders/pods/api/api.shared.d.ts +13 -0
  201. package/lib/services/traders/pods/api/api.shared.js +13 -0
  202. package/lib/services/traders/pods/blob/blob.class.d.ts +26 -0
  203. package/lib/services/traders/pods/blob/blob.d.ts +9 -0
  204. package/lib/services/traders/pods/blob/blob.shared.d.ts +13 -0
  205. package/lib/services/traders/pods/blob/blob.shared.js +13 -0
  206. package/lib/services/traders/pods/events/events.class.d.ts +11 -0
  207. package/lib/services/traders/pods/events/events.d.ts +11 -0
  208. package/lib/services/traders/pods/events/events.schema.d.ts +531 -0
  209. package/lib/services/traders/pods/events/events.shared.d.ts +13 -0
  210. package/lib/services/traders/pods/events/events.shared.js +13 -0
  211. package/lib/services/traders/pods/pods.class.d.ts +11 -0
  212. package/lib/services/traders/pods/pods.d.ts +11 -0
  213. package/lib/services/traders/pods/pods.schema.d.ts +3933 -0
  214. package/lib/services/traders/pods/pods.shared.d.ts +13 -0
  215. package/lib/services/traders/pods/pods.shared.js +13 -0
  216. package/lib/services/traders/pods/webhooks/webhooks.class.d.ts +11 -0
  217. package/lib/services/traders/pods/webhooks/webhooks.d.ts +11 -0
  218. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +351 -0
  219. package/lib/services/traders/pods/webhooks/webhooks.shared.d.ts +13 -0
  220. package/lib/services/traders/pods/webhooks/webhooks.shared.js +13 -0
  221. package/lib/services/traders/traders.class.d.ts +11 -0
  222. package/lib/services/traders/traders.d.ts +11 -0
  223. package/lib/services/traders/traders.schema.d.ts +2825 -0
  224. package/lib/services/traders/traders.shared.d.ts +13 -0
  225. package/lib/services/traders/traders.shared.js +13 -0
  226. package/lib/services/users/users.class.d.ts +11 -0
  227. package/lib/services/users/users.d.ts +11 -0
  228. package/lib/services/users/users.helper.d.ts +9 -0
  229. package/lib/services/users/users.schema.d.ts +615 -0
  230. package/lib/services/users/users.shared.d.ts +13 -0
  231. package/lib/services/users/users.shared.js +13 -0
  232. package/lib/validators.d.ts +3 -0
  233. package/package.json +37 -0
  234. package/readme.md +41 -0
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../client';
3
+ import type { Messages, MessagesData, MessagesPatch, MessagesQuery, MessagesService } from './messages.class';
4
+ export type { Messages, MessagesData, MessagesPatch, MessagesQuery };
5
+ export type MessagesClientService = Pick<MessagesService<Params<MessagesQuery>>, (typeof messagesMethods)[number]>;
6
+ export declare const messagesPath = "messages";
7
+ export declare const messagesMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const messagesClient: (client: ClientApplication) => void;
9
+ declare module '../../client' {
10
+ interface ServiceTypes {
11
+ [messagesPath]: MessagesClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.messagesClient = exports.messagesMethods = exports.messagesPath = void 0;
4
+ exports.messagesPath = 'messages';
5
+ exports.messagesMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const messagesClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.messagesPath, connection.service(exports.messagesPath), {
9
+ methods: exports.messagesMethods
10
+ });
11
+ };
12
+ exports.messagesClient = messagesClient;
13
+ //# sourceMappingURL=messages.shared.js.map
@@ -0,0 +1,11 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import { MongoDBService } from '@feathersjs/mongodb';
3
+ import type { MongoDBAdapterParams, MongoDBAdapterOptions } from '@feathersjs/mongodb';
4
+ import type { Application } from '../../../declarations';
5
+ import type { StrategiesAi, StrategiesAiData, StrategiesAiPatch, StrategiesAiQuery } from './ai.schema';
6
+ export type { StrategiesAi, StrategiesAiData, StrategiesAiPatch, StrategiesAiQuery };
7
+ export interface StrategiesAiParams extends MongoDBAdapterParams<StrategiesAiQuery> {
8
+ }
9
+ export declare class StrategiesAiService<ServiceParams extends Params = StrategiesAiParams> extends MongoDBService<StrategiesAi, StrategiesAiData, StrategiesAiParams, StrategiesAiPatch> {
10
+ }
11
+ export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../../declarations';
2
+ import { StrategiesAiService } from './ai.class';
3
+ import { strategiesAiPath } from './ai.shared';
4
+ export * from './ai.class';
5
+ export * from './ai.schema';
6
+ export declare const strategiesAi: (app: Application) => void;
7
+ declare module '../../../declarations' {
8
+ interface ServiceTypes {
9
+ [strategiesAiPath]: StrategiesAiService;
10
+ }
11
+ }
@@ -0,0 +1,287 @@
1
+ import type { Static } from '@feathersjs/typebox';
2
+ import type { HookContext } from '../../../declarations';
3
+ import type { StrategiesAiService } from './ai.class';
4
+ export declare const strategiesAiSchema: import("@feathersjs/typebox").TObject<{
5
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6
+ strategyId: import("@feathersjs/typebox").TAny;
7
+ prompt: import("@feathersjs/typebox").TString<string>;
8
+ scope: import("@feathersjs/typebox").TString<string>;
9
+ createdAt: import("@feathersjs/typebox").TAny;
10
+ updatedAt: import("@feathersjs/typebox").TAny;
11
+ }>;
12
+ export type StrategiesAi = Static<typeof strategiesAiSchema>;
13
+ export declare const strategiesAiValidator: import("@feathersjs/schema").Validator<any, any>;
14
+ export declare const strategiesAiResolver: import("@feathersjs/schema").Resolver<{
15
+ _id: string | {};
16
+ createdAt: any;
17
+ updatedAt: any;
18
+ strategyId: any;
19
+ prompt: string;
20
+ scope: string;
21
+ }, HookContext<StrategiesAiService<import("./ai.class").StrategiesAiParams>>>;
22
+ export declare const strategiesAiExternalResolver: import("@feathersjs/schema").Resolver<{
23
+ _id: string | {};
24
+ createdAt: any;
25
+ updatedAt: any;
26
+ strategyId: any;
27
+ prompt: string;
28
+ scope: string;
29
+ }, HookContext<StrategiesAiService<import("./ai.class").StrategiesAiParams>>>;
30
+ export declare const strategiesAiDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
31
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
32
+ strategyId: import("@feathersjs/typebox").TAny;
33
+ prompt: import("@feathersjs/typebox").TString<string>;
34
+ scope: import("@feathersjs/typebox").TString<string>;
35
+ createdAt: import("@feathersjs/typebox").TAny;
36
+ updatedAt: import("@feathersjs/typebox").TAny;
37
+ }>, ["strategyId", "scope", "prompt"]>;
38
+ export type StrategiesAiData = Static<typeof strategiesAiDataSchema>;
39
+ export declare const strategiesAiDataValidator: import("@feathersjs/schema").Validator<any, any>;
40
+ export declare const strategiesAiDataResolver: import("@feathersjs/schema").Resolver<{
41
+ _id: string | {};
42
+ createdAt: any;
43
+ updatedAt: any;
44
+ strategyId: any;
45
+ prompt: string;
46
+ scope: string;
47
+ }, HookContext<StrategiesAiService<import("./ai.class").StrategiesAiParams>>>;
48
+ export declare const strategiesAiPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
49
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
50
+ strategyId: import("@feathersjs/typebox").TAny;
51
+ prompt: import("@feathersjs/typebox").TString<string>;
52
+ scope: import("@feathersjs/typebox").TString<string>;
53
+ createdAt: import("@feathersjs/typebox").TAny;
54
+ updatedAt: import("@feathersjs/typebox").TAny;
55
+ }>>;
56
+ export type StrategiesAiPatch = Static<typeof strategiesAiPatchSchema>;
57
+ export declare const strategiesAiPatchValidator: import("@feathersjs/schema").Validator<any, any>;
58
+ export declare const strategiesAiPatchResolver: import("@feathersjs/schema").Resolver<{
59
+ _id: string | {};
60
+ createdAt: any;
61
+ updatedAt: any;
62
+ strategyId: any;
63
+ prompt: string;
64
+ scope: string;
65
+ }, HookContext<StrategiesAiService<import("./ai.class").StrategiesAiParams>>>;
66
+ export declare const strategiesAiQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
67
+ _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
68
+ strategyId: import("@feathersjs/typebox").TAny;
69
+ prompt: import("@feathersjs/typebox").TString<string>;
70
+ scope: import("@feathersjs/typebox").TString<string>;
71
+ createdAt: import("@feathersjs/typebox").TAny;
72
+ updatedAt: import("@feathersjs/typebox").TAny;
73
+ }>, ["_id", "strategyId", "createdAt"]>;
74
+ export declare const strategiesAiQuerySchema: 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
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
79
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
80
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
81
+ }>;
82
+ $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "strategyId")[]>;
83
+ $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
84
+ _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<{
85
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
86
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
87
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
88
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
89
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
90
+ $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<{}>]>>;
91
+ $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<{}>]>>;
92
+ }>, import("@feathersjs/typebox").TObject<{
93
+ [key: string]: import("@feathersjs/typebox").TSchema;
94
+ } | undefined>]>>]>>;
95
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
96
+ $gt: import("@feathersjs/typebox").TAny;
97
+ $gte: import("@feathersjs/typebox").TAny;
98
+ $lt: import("@feathersjs/typebox").TAny;
99
+ $lte: import("@feathersjs/typebox").TAny;
100
+ $ne: import("@feathersjs/typebox").TAny;
101
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
102
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
103
+ }>, import("@feathersjs/typebox").TObject<{
104
+ [key: string]: import("@feathersjs/typebox").TSchema;
105
+ } | undefined>]>>]>>;
106
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
107
+ $gt: import("@feathersjs/typebox").TAny;
108
+ $gte: import("@feathersjs/typebox").TAny;
109
+ $lt: import("@feathersjs/typebox").TAny;
110
+ $lte: import("@feathersjs/typebox").TAny;
111
+ $ne: import("@feathersjs/typebox").TAny;
112
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
113
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
114
+ }>, import("@feathersjs/typebox").TObject<{
115
+ [key: string]: import("@feathersjs/typebox").TSchema;
116
+ } | undefined>]>>]>>;
117
+ }>>, import("@feathersjs/typebox").TObject<{
118
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
119
+ _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<{
120
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
121
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
122
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
123
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
124
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
125
+ $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<{}>]>>;
126
+ $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<{}>]>>;
127
+ }>, import("@feathersjs/typebox").TObject<{
128
+ [key: string]: import("@feathersjs/typebox").TSchema;
129
+ } | undefined>]>>]>>;
130
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
131
+ $gt: import("@feathersjs/typebox").TAny;
132
+ $gte: import("@feathersjs/typebox").TAny;
133
+ $lt: import("@feathersjs/typebox").TAny;
134
+ $lte: import("@feathersjs/typebox").TAny;
135
+ $ne: import("@feathersjs/typebox").TAny;
136
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
137
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
138
+ }>, import("@feathersjs/typebox").TObject<{
139
+ [key: string]: import("@feathersjs/typebox").TSchema;
140
+ } | undefined>]>>]>>;
141
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
142
+ $gt: import("@feathersjs/typebox").TAny;
143
+ $gte: import("@feathersjs/typebox").TAny;
144
+ $lt: import("@feathersjs/typebox").TAny;
145
+ $lte: import("@feathersjs/typebox").TAny;
146
+ $ne: import("@feathersjs/typebox").TAny;
147
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
148
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
149
+ }>, import("@feathersjs/typebox").TObject<{
150
+ [key: string]: import("@feathersjs/typebox").TSchema;
151
+ } | undefined>]>>]>>;
152
+ }>>>;
153
+ }>]>>;
154
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
155
+ _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<{
156
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
157
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
158
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
159
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
160
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
161
+ $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<{}>]>>;
162
+ $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<{}>]>>;
163
+ }>, import("@feathersjs/typebox").TObject<{
164
+ [key: string]: import("@feathersjs/typebox").TSchema;
165
+ } | undefined>]>>]>>;
166
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
167
+ $gt: import("@feathersjs/typebox").TAny;
168
+ $gte: import("@feathersjs/typebox").TAny;
169
+ $lt: import("@feathersjs/typebox").TAny;
170
+ $lte: import("@feathersjs/typebox").TAny;
171
+ $ne: import("@feathersjs/typebox").TAny;
172
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
173
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
174
+ }>, import("@feathersjs/typebox").TObject<{
175
+ [key: string]: import("@feathersjs/typebox").TSchema;
176
+ } | undefined>]>>]>>;
177
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
178
+ $gt: import("@feathersjs/typebox").TAny;
179
+ $gte: import("@feathersjs/typebox").TAny;
180
+ $lt: import("@feathersjs/typebox").TAny;
181
+ $lte: import("@feathersjs/typebox").TAny;
182
+ $ne: import("@feathersjs/typebox").TAny;
183
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
184
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
185
+ }>, import("@feathersjs/typebox").TObject<{
186
+ [key: string]: import("@feathersjs/typebox").TSchema;
187
+ } | undefined>]>>]>>;
188
+ }>>>;
189
+ }>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
190
+ _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<{
191
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
192
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
193
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
194
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
195
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
196
+ $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<{}>]>>;
197
+ $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<{}>]>>;
198
+ }>, import("@feathersjs/typebox").TObject<{
199
+ [key: string]: import("@feathersjs/typebox").TSchema;
200
+ } | undefined>]>>]>>;
201
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
202
+ $gt: import("@feathersjs/typebox").TAny;
203
+ $gte: import("@feathersjs/typebox").TAny;
204
+ $lt: import("@feathersjs/typebox").TAny;
205
+ $lte: import("@feathersjs/typebox").TAny;
206
+ $ne: import("@feathersjs/typebox").TAny;
207
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
208
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
209
+ }>, import("@feathersjs/typebox").TObject<{
210
+ [key: string]: import("@feathersjs/typebox").TSchema;
211
+ } | undefined>]>>]>>;
212
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
213
+ $gt: import("@feathersjs/typebox").TAny;
214
+ $gte: import("@feathersjs/typebox").TAny;
215
+ $lt: import("@feathersjs/typebox").TAny;
216
+ $lte: import("@feathersjs/typebox").TAny;
217
+ $ne: import("@feathersjs/typebox").TAny;
218
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
219
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
220
+ }>, import("@feathersjs/typebox").TObject<{
221
+ [key: string]: import("@feathersjs/typebox").TSchema;
222
+ } | undefined>]>>]>>;
223
+ }>>]>, import("@feathersjs/typebox").TObject<{}>]>;
224
+ export type StrategiesAiQuery = Static<typeof strategiesAiQuerySchema>;
225
+ export declare const strategiesAiQueryValidator: import("@feathersjs/schema").Validator<any, any>;
226
+ export declare const strategiesAiQueryResolver: import("@feathersjs/schema").Resolver<Partial<{
227
+ $limit: number;
228
+ $skip: number;
229
+ $sort: {
230
+ _id?: number | undefined;
231
+ createdAt?: number | undefined;
232
+ strategyId?: number | undefined;
233
+ };
234
+ $select: ("_id" | "createdAt" | "strategyId")[];
235
+ $and: ({
236
+ _id?: string | {} | Partial<{
237
+ $gt: string | {};
238
+ $gte: string | {};
239
+ $lt: string | {};
240
+ $lte: string | {};
241
+ $ne: string | {};
242
+ $in: string | {} | (string | {})[];
243
+ $nin: string | {} | (string | {})[];
244
+ } & {}> | undefined;
245
+ createdAt?: any;
246
+ strategyId?: any;
247
+ } | {
248
+ $or: {
249
+ _id?: string | {} | Partial<{
250
+ $gt: string | {};
251
+ $gte: string | {};
252
+ $lt: string | {};
253
+ $lte: string | {};
254
+ $ne: string | {};
255
+ $in: string | {} | (string | {})[];
256
+ $nin: string | {} | (string | {})[];
257
+ } & {}> | undefined;
258
+ createdAt?: any;
259
+ strategyId?: any;
260
+ }[];
261
+ })[];
262
+ $or: {
263
+ _id?: string | {} | Partial<{
264
+ $gt: string | {};
265
+ $gte: string | {};
266
+ $lt: string | {};
267
+ $lte: string | {};
268
+ $ne: string | {};
269
+ $in: string | {} | (string | {})[];
270
+ $nin: string | {} | (string | {})[];
271
+ } & {}> | undefined;
272
+ createdAt?: any;
273
+ strategyId?: any;
274
+ }[];
275
+ }> & {
276
+ _id?: string | {} | Partial<{
277
+ $gt: string | {};
278
+ $gte: string | {};
279
+ $lt: string | {};
280
+ $lte: string | {};
281
+ $ne: string | {};
282
+ $in: string | {} | (string | {})[];
283
+ $nin: string | {} | (string | {})[];
284
+ } & {}> | undefined;
285
+ createdAt?: any;
286
+ strategyId?: any;
287
+ } & {}, HookContext<StrategiesAiService<import("./ai.class").StrategiesAiParams>>>;
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../../client';
3
+ import type { StrategiesAi, StrategiesAiData, StrategiesAiPatch, StrategiesAiQuery, StrategiesAiService } from './ai.class';
4
+ export type { StrategiesAi, StrategiesAiData, StrategiesAiPatch, StrategiesAiQuery };
5
+ export type StrategiesAiClientService = Pick<StrategiesAiService<Params<StrategiesAiQuery>>, (typeof strategiesAiMethods)[number]>;
6
+ export declare const strategiesAiPath = "strategies/ai";
7
+ export declare const strategiesAiMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const strategiesAiClient: (client: ClientApplication) => void;
9
+ declare module '../../../client' {
10
+ interface ServiceTypes {
11
+ [strategiesAiPath]: StrategiesAiClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.strategiesAiClient = exports.strategiesAiMethods = exports.strategiesAiPath = void 0;
4
+ exports.strategiesAiPath = 'strategies/ai';
5
+ exports.strategiesAiMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const strategiesAiClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.strategiesAiPath, connection.service(exports.strategiesAiPath), {
9
+ methods: exports.strategiesAiMethods
10
+ });
11
+ };
12
+ exports.strategiesAiClient = strategiesAiClient;
13
+ //# sourceMappingURL=ai.shared.js.map
@@ -0,0 +1,26 @@
1
+ import type { Id, NullableId, Params, ServiceInterface } from '@feathersjs/feathers';
2
+ import type { Application } from '../../../../declarations';
3
+ type StrategiesAiStream = any;
4
+ type StrategiesAiStreamData = any;
5
+ type StrategiesAiStreamPatch = any;
6
+ type StrategiesAiStreamQuery = any;
7
+ export type { StrategiesAiStream, StrategiesAiStreamData, StrategiesAiStreamPatch, StrategiesAiStreamQuery };
8
+ export interface StrategiesAiStreamServiceOptions {
9
+ app: Application;
10
+ }
11
+ export interface StrategiesAiStreamParams extends Params<StrategiesAiStreamQuery> {
12
+ }
13
+ export declare class StrategiesAiStreamService<ServiceParams extends StrategiesAiStreamParams = StrategiesAiStreamParams> implements ServiceInterface<StrategiesAiStream, StrategiesAiStreamData, ServiceParams, StrategiesAiStreamPatch> {
14
+ options: StrategiesAiStreamServiceOptions;
15
+ constructor(options: StrategiesAiStreamServiceOptions);
16
+ find(_params?: ServiceParams): Promise<StrategiesAiStream[]>;
17
+ get(id: Id, _params?: ServiceParams): Promise<StrategiesAiStream>;
18
+ create(data: StrategiesAiStreamData, params?: ServiceParams): Promise<StrategiesAiStream>;
19
+ create(data: StrategiesAiStreamData[], params?: ServiceParams): Promise<StrategiesAiStream[]>;
20
+ update(id: NullableId, data: StrategiesAiStreamData, _params?: ServiceParams): Promise<StrategiesAiStream>;
21
+ patch(id: NullableId, data: StrategiesAiStreamPatch, _params?: ServiceParams): Promise<StrategiesAiStream>;
22
+ remove(id: NullableId, _params?: ServiceParams): Promise<StrategiesAiStream>;
23
+ }
24
+ export declare const getOptions: (app: Application) => {
25
+ app: Application;
26
+ };
@@ -0,0 +1,10 @@
1
+ import type { Application } from '../../../../declarations';
2
+ import { StrategiesAiStreamService } from './stream.class';
3
+ import { strategiesAiStreamPath } from './stream.shared';
4
+ export * from './stream.class';
5
+ export declare const strategiesAiStream: (app: Application) => void;
6
+ declare module '../../../../declarations' {
7
+ interface ServiceTypes {
8
+ [strategiesAiStreamPath]: StrategiesAiStreamService;
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../../../client';
3
+ import type { StrategiesAiStream, StrategiesAiStreamData, StrategiesAiStreamPatch, StrategiesAiStreamQuery, StrategiesAiStreamService } from './stream.class';
4
+ export type { StrategiesAiStream, StrategiesAiStreamData, StrategiesAiStreamPatch, StrategiesAiStreamQuery };
5
+ export type StrategiesAiStreamClientService = Pick<StrategiesAiStreamService<Params<StrategiesAiStreamQuery>>, (typeof strategiesAiStreamMethods)[number]>;
6
+ export declare const strategiesAiStreamPath = "strategies/ai/stream";
7
+ export declare const strategiesAiStreamMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const strategiesAiStreamClient: (client: ClientApplication) => void;
9
+ declare module '../../../../client' {
10
+ interface ServiceTypes {
11
+ [strategiesAiStreamPath]: StrategiesAiStreamClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.strategiesAiStreamClient = exports.strategiesAiStreamMethods = exports.strategiesAiStreamPath = void 0;
4
+ exports.strategiesAiStreamPath = 'strategies/ai/stream';
5
+ exports.strategiesAiStreamMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const strategiesAiStreamClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.strategiesAiStreamPath, connection.service(exports.strategiesAiStreamPath), {
9
+ methods: exports.strategiesAiStreamMethods
10
+ });
11
+ };
12
+ exports.strategiesAiStreamClient = strategiesAiStreamClient;
13
+ //# sourceMappingURL=stream.shared.js.map
@@ -0,0 +1,11 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import { MongoDBService } from '@feathersjs/mongodb';
3
+ import type { MongoDBAdapterParams, MongoDBAdapterOptions } from '@feathersjs/mongodb';
4
+ import type { Application } from '../../../declarations';
5
+ import type { StrategiesBacktest, StrategiesBacktestData, StrategiesBacktestPatch, StrategiesBacktestQuery } from './backtest.schema';
6
+ export type { StrategiesBacktest, StrategiesBacktestData, StrategiesBacktestPatch, StrategiesBacktestQuery };
7
+ export interface StrategiesBacktestParams extends MongoDBAdapterParams<StrategiesBacktestQuery> {
8
+ }
9
+ export declare class StrategiesBacktestService<ServiceParams extends Params = StrategiesBacktestParams> extends MongoDBService<StrategiesBacktest, StrategiesBacktestData, StrategiesBacktestParams, StrategiesBacktestPatch> {
10
+ }
11
+ export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../../declarations';
2
+ import { StrategiesBacktestService } from './backtest.class';
3
+ import { strategiesBacktestPath } from './backtest.shared';
4
+ export * from './backtest.class';
5
+ export * from './backtest.schema';
6
+ export declare const strategiesBacktest: (app: Application) => void;
7
+ declare module '../../../declarations' {
8
+ interface ServiceTypes {
9
+ [strategiesBacktestPath]: StrategiesBacktestService;
10
+ }
11
+ }