@cryptorobot.ai/client 0.0.32 → 0.0.34

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 (40) hide show
  1. package/lib/app.d.ts +1 -0
  2. package/lib/client.d.ts +2 -0
  3. package/lib/client.js +7 -5
  4. package/lib/configuration.d.ts +12 -1
  5. package/lib/helpers/app.helper.d.ts +1 -0
  6. package/lib/helpers/ccxt.helper.d.ts +2 -0
  7. package/lib/helpers/deployments.helper.d.ts +1 -1
  8. package/lib/helpers/funnel.helper.d.ts +2 -0
  9. package/lib/helpers/push-notification.helper.d.ts +1 -0
  10. package/lib/hooks/application/setup-ccxt-load-marketplaces-mocked.d.ts +3 -0
  11. package/lib/hooks/application/setup-fs.d.ts +3 -0
  12. package/lib/hooks/revenuecat-is-subscription-active.d.ts +2 -0
  13. package/lib/services/auth-management/auth-management.shared.js +1 -12
  14. package/lib/services/config/config.class.d.ts +1 -1
  15. package/lib/services/exchanges/balance/balance.class.d.ts +1 -1
  16. package/lib/services/exchanges/balance/balance.schema.d.ts +32 -24
  17. package/lib/services/exchanges/download/download.schema.d.ts +32 -24
  18. package/lib/services/exchanges/exchanges.d.ts +1 -0
  19. package/lib/services/exchanges/exchanges.schema.d.ts +85 -77
  20. package/lib/services/exchanges/ticker/ticker.schema.d.ts +32 -24
  21. package/lib/services/index.d.ts +1 -1
  22. package/lib/services/messages/messages.schema.d.ts +40 -24
  23. package/lib/services/strategies/backtest/backtest.d.ts +1 -0
  24. package/lib/services/strategies/backtest/backtest.schema.d.ts +133 -197
  25. package/lib/services/strategies/indicators/indicators.schema.d.ts +61 -61
  26. package/lib/services/strategies/strategies.d.ts +1 -0
  27. package/lib/services/strategies/strategies.schema.d.ts +32 -16
  28. package/lib/services/strategies/templates/templates.schema.d.ts +9 -1
  29. package/lib/services/stripe/webhooks/webhooks.class.d.ts +26 -0
  30. package/lib/services/stripe/webhooks/webhooks.d.ts +9 -0
  31. package/lib/services/stripe/webhooks/webhooks.shared.d.ts +13 -0
  32. package/lib/services/stripe/webhooks/webhooks.shared.js +13 -0
  33. package/lib/services/traders/pods/api/api.schema.d.ts +112 -72
  34. package/lib/services/traders/pods/pods.schema.d.ts +88 -56
  35. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +217 -3
  36. package/lib/services/traders/traders.schema.d.ts +141 -133
  37. package/lib/services/users/users.d.ts +1 -0
  38. package/lib/services/users/users.helper.d.ts +1 -1
  39. package/lib/services/users/users.schema.d.ts +196 -80
  40. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ import type { Id, NullableId, Params, ServiceInterface } from '@feathersjs/feathers';
2
+ import type { Application } from '../../../declarations';
3
+ type StripeWebhooks = any;
4
+ type StripeWebhooksData = any;
5
+ type StripeWebhooksPatch = any;
6
+ type StripeWebhooksQuery = any;
7
+ export type { StripeWebhooks, StripeWebhooksData, StripeWebhooksPatch, StripeWebhooksQuery };
8
+ export interface StripeWebhooksServiceOptions {
9
+ app: Application;
10
+ }
11
+ export interface StripeWebhooksParams extends Params<StripeWebhooksQuery> {
12
+ }
13
+ export declare class StripeWebhooksService<ServiceParams extends StripeWebhooksParams = StripeWebhooksParams> implements ServiceInterface<StripeWebhooks, StripeWebhooksData, ServiceParams, StripeWebhooksPatch> {
14
+ options: StripeWebhooksServiceOptions;
15
+ constructor(options: StripeWebhooksServiceOptions);
16
+ find(_params?: ServiceParams): Promise<StripeWebhooks[]>;
17
+ get(id: Id, _params?: ServiceParams): Promise<StripeWebhooks>;
18
+ create(data: StripeWebhooksData, params?: ServiceParams): Promise<StripeWebhooks>;
19
+ create(data: StripeWebhooksData[], params?: ServiceParams): Promise<StripeWebhooks[]>;
20
+ update(id: NullableId, data: StripeWebhooksData, _params?: ServiceParams): Promise<StripeWebhooks>;
21
+ patch(id: NullableId, data: StripeWebhooksPatch, _params?: ServiceParams): Promise<StripeWebhooks>;
22
+ remove(id: NullableId, _params?: ServiceParams): Promise<StripeWebhooks>;
23
+ }
24
+ export declare const getOptions: (app: Application) => {
25
+ app: Application;
26
+ };
@@ -0,0 +1,9 @@
1
+ import type { Application } from '../../../declarations';
2
+ import { stripeWebhooksPath } from './webhooks.shared';
3
+ export * from './webhooks.class';
4
+ export declare const stripeWebhooks: (app: Application) => void;
5
+ declare module '../../../declarations' {
6
+ interface ServiceTypes {
7
+ [stripeWebhooksPath]: any;
8
+ }
9
+ }
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../../client';
3
+ import type { StripeWebhooks, StripeWebhooksData, StripeWebhooksPatch, StripeWebhooksQuery, StripeWebhooksService } from './webhooks.class';
4
+ export type { StripeWebhooks, StripeWebhooksData, StripeWebhooksPatch, StripeWebhooksQuery };
5
+ export type StripeWebhooksClientService = Pick<StripeWebhooksService<Params<StripeWebhooksQuery>>, (typeof stripeWebhooksMethods)[number]>;
6
+ export declare const stripeWebhooksPath = "stripe/webhooks";
7
+ export declare const stripeWebhooksMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const stripeWebhooksClient: (client: ClientApplication) => void;
9
+ declare module '../../../client' {
10
+ interface ServiceTypes {
11
+ [stripeWebhooksPath]: StripeWebhooksClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stripeWebhooksClient = exports.stripeWebhooksMethods = exports.stripeWebhooksPath = void 0;
4
+ exports.stripeWebhooksPath = 'stripe/webhooks';
5
+ exports.stripeWebhooksMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const stripeWebhooksClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.stripeWebhooksPath, connection.service(exports.stripeWebhooksPath), {
9
+ methods: exports.stripeWebhooksMethods
10
+ });
11
+ };
12
+ exports.stripeWebhooksClient = stripeWebhooksClient;
13
+ //# sourceMappingURL=webhooks.shared.js.map