@cryptorobot.ai/client 0.0.32 → 0.0.35

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 (41) 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 +41 -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 +80 -32
  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/backtest/results/results.schema.d.ts +4 -4
  26. package/lib/services/strategies/indicators/indicators.schema.d.ts +61 -61
  27. package/lib/services/strategies/strategies.d.ts +1 -0
  28. package/lib/services/strategies/strategies.schema.d.ts +36 -20
  29. package/lib/services/strategies/templates/templates.schema.d.ts +9 -1
  30. package/lib/services/stripe/webhooks/webhooks.class.d.ts +26 -0
  31. package/lib/services/stripe/webhooks/webhooks.d.ts +9 -0
  32. package/lib/services/stripe/webhooks/webhooks.shared.d.ts +13 -0
  33. package/lib/services/stripe/webhooks/webhooks.shared.js +13 -0
  34. package/lib/services/traders/pods/api/api.schema.d.ts +116 -76
  35. package/lib/services/traders/pods/pods.schema.d.ts +92 -60
  36. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +217 -3
  37. package/lib/services/traders/traders.schema.d.ts +141 -133
  38. package/lib/services/users/users.d.ts +1 -0
  39. package/lib/services/users/users.helper.d.ts +1 -1
  40. package/lib/services/users/users.schema.d.ts +236 -88
  41. package/package.json +1 -1
@@ -61,7 +61,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
61
61
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
62
62
  configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
63
63
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
64
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
64
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
65
65
  name: import("@feathersjs/typebox").TAny;
66
66
  createdAt: import("@feathersjs/typebox").TAny;
67
67
  updatedAt: import("@feathersjs/typebox").TAny;
@@ -236,7 +236,8 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
236
236
  reload: import("@feathersjs/typebox").TBoolean;
237
237
  balance_dust_level: import("@feathersjs/typebox").TNumber;
238
238
  }>>;
239
- pod: import("@feathersjs/typebox").TString<string>;
239
+ pod: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{}>>;
240
+ _include: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
240
241
  reset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
241
242
  host: import("@feathersjs/typebox").TString<string>;
242
243
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -249,6 +250,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
249
250
  type: import("@feathersjs/typebox").TString<string>;
250
251
  description: import("@feathersjs/typebox").TString<string>;
251
252
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
253
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
252
254
  values: import("@feathersjs/typebox").TAny;
253
255
  }>>>;
254
256
  'strategies/indicators': import("@feathersjs/typebox").TAny;
@@ -256,7 +258,6 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
256
258
  export type Strategies = Static<typeof strategiesSchema>;
257
259
  export declare const strategiesValidator: import("@feathersjs/schema").Validator<any, any>;
258
260
  export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
259
- _id?: string | {} | undefined;
260
261
  traders?: {
261
262
  telegram?: {
262
263
  access_hash?: string | null | undefined;
@@ -293,6 +294,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
293
294
  reload: boolean;
294
295
  balance_dust_level: number;
295
296
  } | undefined;
297
+ _id?: string | {} | undefined;
296
298
  plugins?: {
297
299
  number_assets?: number | undefined;
298
300
  refresh_period?: number | undefined;
@@ -388,6 +390,8 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
388
390
  close_rate: string;
389
391
  };
390
392
  } | undefined;
393
+ pod?: {} | undefined;
394
+ _include?: any;
391
395
  reset?: boolean | undefined;
392
396
  host: string;
393
397
  name: any;
@@ -395,7 +399,6 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
395
399
  strategies: string[];
396
400
  secret: string;
397
401
  key: string;
398
- _id: string | {};
399
402
  createdAt: any;
400
403
  updatedAt: any;
401
404
  connected: boolean;
@@ -438,14 +441,15 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
438
441
  jwt_secret_key: string;
439
442
  CORS_origins: string[];
440
443
  };
441
- pod: string;
442
444
  }[] | undefined;
445
+ _id?: string | {} | undefined;
443
446
  createdAt?: any;
444
447
  updatedAt?: any;
445
448
  userId?: string | {} | undefined;
446
449
  'strategies/templates'?: {
447
450
  _id?: string | {} | undefined;
448
451
  createdAt?: any;
452
+ updatedAt?: any;
449
453
  values: any;
450
454
  name: string;
451
455
  description: string;
@@ -508,7 +512,6 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
508
512
  'strategies/indicators': any;
509
513
  }, HookContext<StrategiesService<import("./strategies.class").StrategiesParams>>>;
510
514
  export declare const strategiesExternalResolver: import("@feathersjs/schema").Resolver<{
511
- _id?: string | {} | undefined;
512
515
  traders?: {
513
516
  telegram?: {
514
517
  access_hash?: string | null | undefined;
@@ -545,6 +548,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
545
548
  reload: boolean;
546
549
  balance_dust_level: number;
547
550
  } | undefined;
551
+ _id?: string | {} | undefined;
548
552
  plugins?: {
549
553
  number_assets?: number | undefined;
550
554
  refresh_period?: number | undefined;
@@ -640,6 +644,8 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
640
644
  close_rate: string;
641
645
  };
642
646
  } | undefined;
647
+ pod?: {} | undefined;
648
+ _include?: any;
643
649
  reset?: boolean | undefined;
644
650
  host: string;
645
651
  name: any;
@@ -647,7 +653,6 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
647
653
  strategies: string[];
648
654
  secret: string;
649
655
  key: string;
650
- _id: string | {};
651
656
  createdAt: any;
652
657
  updatedAt: any;
653
658
  connected: boolean;
@@ -690,14 +695,15 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
690
695
  jwt_secret_key: string;
691
696
  CORS_origins: string[];
692
697
  };
693
- pod: string;
694
698
  }[] | undefined;
699
+ _id?: string | {} | undefined;
695
700
  createdAt?: any;
696
701
  updatedAt?: any;
697
702
  userId?: string | {} | undefined;
698
703
  'strategies/templates'?: {
699
704
  _id?: string | {} | undefined;
700
705
  createdAt?: any;
706
+ updatedAt?: any;
701
707
  values: any;
702
708
  name: string;
703
709
  description: string;
@@ -819,7 +825,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
819
825
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
820
826
  configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
821
827
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
822
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
828
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
823
829
  name: import("@feathersjs/typebox").TAny;
824
830
  createdAt: import("@feathersjs/typebox").TAny;
825
831
  updatedAt: import("@feathersjs/typebox").TAny;
@@ -994,7 +1000,8 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
994
1000
  reload: import("@feathersjs/typebox").TBoolean;
995
1001
  balance_dust_level: import("@feathersjs/typebox").TNumber;
996
1002
  }>>;
997
- pod: import("@feathersjs/typebox").TString<string>;
1003
+ pod: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{}>>;
1004
+ _include: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
998
1005
  reset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
999
1006
  host: import("@feathersjs/typebox").TString<string>;
1000
1007
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -1007,6 +1014,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
1007
1014
  type: import("@feathersjs/typebox").TString<string>;
1008
1015
  description: import("@feathersjs/typebox").TString<string>;
1009
1016
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
1017
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
1010
1018
  values: import("@feathersjs/typebox").TAny;
1011
1019
  }>>>;
1012
1020
  'strategies/indicators': import("@feathersjs/typebox").TAny;
@@ -1014,7 +1022,6 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
1014
1022
  export type StrategiesData = Static<typeof strategiesDataSchema>;
1015
1023
  export declare const strategiesDataValidator: import("@feathersjs/schema").Validator<any, any>;
1016
1024
  export declare const strategiesDataResolver: import("@feathersjs/schema").Resolver<{
1017
- _id?: string | {} | undefined;
1018
1025
  traders?: {
1019
1026
  telegram?: {
1020
1027
  access_hash?: string | null | undefined;
@@ -1051,6 +1058,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1051
1058
  reload: boolean;
1052
1059
  balance_dust_level: number;
1053
1060
  } | undefined;
1061
+ _id?: string | {} | undefined;
1054
1062
  plugins?: {
1055
1063
  number_assets?: number | undefined;
1056
1064
  refresh_period?: number | undefined;
@@ -1146,6 +1154,8 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1146
1154
  close_rate: string;
1147
1155
  };
1148
1156
  } | undefined;
1157
+ pod?: {} | undefined;
1158
+ _include?: any;
1149
1159
  reset?: boolean | undefined;
1150
1160
  host: string;
1151
1161
  name: any;
@@ -1153,7 +1163,6 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1153
1163
  strategies: string[];
1154
1164
  secret: string;
1155
1165
  key: string;
1156
- _id: string | {};
1157
1166
  createdAt: any;
1158
1167
  updatedAt: any;
1159
1168
  connected: boolean;
@@ -1196,14 +1205,15 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1196
1205
  jwt_secret_key: string;
1197
1206
  CORS_origins: string[];
1198
1207
  };
1199
- pod: string;
1200
1208
  }[] | undefined;
1209
+ _id?: string | {} | undefined;
1201
1210
  createdAt?: any;
1202
1211
  updatedAt?: any;
1203
1212
  userId?: string | {} | undefined;
1204
1213
  'strategies/templates'?: {
1205
1214
  _id?: string | {} | undefined;
1206
1215
  createdAt?: any;
1216
+ updatedAt?: any;
1207
1217
  values: any;
1208
1218
  name: string;
1209
1219
  description: string;
@@ -1325,7 +1335,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1325
1335
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
1326
1336
  configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1327
1337
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
1328
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1338
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1329
1339
  name: import("@feathersjs/typebox").TAny;
1330
1340
  createdAt: import("@feathersjs/typebox").TAny;
1331
1341
  updatedAt: import("@feathersjs/typebox").TAny;
@@ -1500,7 +1510,8 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1500
1510
  reload: import("@feathersjs/typebox").TBoolean;
1501
1511
  balance_dust_level: import("@feathersjs/typebox").TNumber;
1502
1512
  }>>;
1503
- pod: import("@feathersjs/typebox").TString<string>;
1513
+ pod: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{}>>;
1514
+ _include: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
1504
1515
  reset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1505
1516
  host: import("@feathersjs/typebox").TString<string>;
1506
1517
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -1513,6 +1524,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1513
1524
  type: import("@feathersjs/typebox").TString<string>;
1514
1525
  description: import("@feathersjs/typebox").TString<string>;
1515
1526
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
1527
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
1516
1528
  values: import("@feathersjs/typebox").TAny;
1517
1529
  }>>>;
1518
1530
  'strategies/indicators': import("@feathersjs/typebox").TAny;
@@ -1520,7 +1532,6 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1520
1532
  export type StrategiesPatch = Static<typeof strategiesPatchSchema>;
1521
1533
  export declare const strategiesPatchValidator: import("@feathersjs/schema").Validator<any, any>;
1522
1534
  export declare const strategiesPatchResolver: import("@feathersjs/schema").Resolver<{
1523
- _id?: string | {} | undefined;
1524
1535
  traders?: {
1525
1536
  telegram?: {
1526
1537
  access_hash?: string | null | undefined;
@@ -1557,6 +1568,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1557
1568
  reload: boolean;
1558
1569
  balance_dust_level: number;
1559
1570
  } | undefined;
1571
+ _id?: string | {} | undefined;
1560
1572
  plugins?: {
1561
1573
  number_assets?: number | undefined;
1562
1574
  refresh_period?: number | undefined;
@@ -1652,6 +1664,8 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1652
1664
  close_rate: string;
1653
1665
  };
1654
1666
  } | undefined;
1667
+ pod?: {} | undefined;
1668
+ _include?: any;
1655
1669
  reset?: boolean | undefined;
1656
1670
  host: string;
1657
1671
  name: any;
@@ -1659,7 +1673,6 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1659
1673
  strategies: string[];
1660
1674
  secret: string;
1661
1675
  key: string;
1662
- _id: string | {};
1663
1676
  createdAt: any;
1664
1677
  updatedAt: any;
1665
1678
  connected: boolean;
@@ -1702,14 +1715,15 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1702
1715
  jwt_secret_key: string;
1703
1716
  CORS_origins: string[];
1704
1717
  };
1705
- pod: string;
1706
1718
  }[] | undefined;
1719
+ _id?: string | {} | undefined;
1707
1720
  createdAt?: any;
1708
1721
  updatedAt?: any;
1709
1722
  userId?: string | {} | undefined;
1710
1723
  'strategies/templates'?: {
1711
1724
  _id?: string | {} | undefined;
1712
1725
  createdAt?: any;
1726
+ updatedAt?: any;
1713
1727
  values: any;
1714
1728
  name: string;
1715
1729
  description: string;
@@ -1831,7 +1845,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1831
1845
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
1832
1846
  configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1833
1847
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
1834
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1848
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1835
1849
  name: import("@feathersjs/typebox").TAny;
1836
1850
  createdAt: import("@feathersjs/typebox").TAny;
1837
1851
  updatedAt: import("@feathersjs/typebox").TAny;
@@ -2006,7 +2020,8 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
2006
2020
  reload: import("@feathersjs/typebox").TBoolean;
2007
2021
  balance_dust_level: import("@feathersjs/typebox").TNumber;
2008
2022
  }>>;
2009
- pod: import("@feathersjs/typebox").TString<string>;
2023
+ pod: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{}>>;
2024
+ _include: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2010
2025
  reset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2011
2026
  host: import("@feathersjs/typebox").TString<string>;
2012
2027
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -2019,6 +2034,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
2019
2034
  type: import("@feathersjs/typebox").TString<string>;
2020
2035
  description: import("@feathersjs/typebox").TString<string>;
2021
2036
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2037
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2022
2038
  values: import("@feathersjs/typebox").TAny;
2023
2039
  }>>>;
2024
2040
  'strategies/indicators': import("@feathersjs/typebox").TAny;
@@ -7,6 +7,7 @@ export declare const strategiesTemplatesSchema: import("@feathersjs/typebox").TO
7
7
  type: import("@feathersjs/typebox").TString<string>;
8
8
  description: import("@feathersjs/typebox").TString<string>;
9
9
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
10
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
10
11
  values: import("@feathersjs/typebox").TAny;
11
12
  }>;
12
13
  export type StrategiesTemplates = Static<typeof strategiesTemplatesSchema>;
@@ -14,6 +15,7 @@ export declare const strategiesTemplatesValidator: import("@feathersjs/schema").
14
15
  export declare const strategiesTemplatesResolver: import("@feathersjs/schema").Resolver<{
15
16
  _id?: string | {} | undefined;
16
17
  createdAt?: any;
18
+ updatedAt?: any;
17
19
  values: any;
18
20
  name: string;
19
21
  description: string;
@@ -22,6 +24,7 @@ export declare const strategiesTemplatesResolver: import("@feathersjs/schema").R
22
24
  export declare const strategiesTemplatesExternalResolver: import("@feathersjs/schema").Resolver<{
23
25
  _id?: string | {} | undefined;
24
26
  createdAt?: any;
27
+ updatedAt?: any;
25
28
  values: any;
26
29
  name: string;
27
30
  description: string;
@@ -33,13 +36,15 @@ export declare const strategiesTemplatesDataSchema: import("@feathersjs/typebox"
33
36
  type: import("@feathersjs/typebox").TString<string>;
34
37
  description: import("@feathersjs/typebox").TString<string>;
35
38
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
39
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
36
40
  values: import("@feathersjs/typebox").TAny;
37
- }>, ["name", "type", "description", "values"]>;
41
+ }>, ["_id", "name", "type", "description", "createdAt", "updatedAt", "values"]>;
38
42
  export type StrategiesTemplatesData = Static<typeof strategiesTemplatesDataSchema>;
39
43
  export declare const strategiesTemplatesDataValidator: import("@feathersjs/schema").Validator<any, any>;
40
44
  export declare const strategiesTemplatesDataResolver: import("@feathersjs/schema").Resolver<{
41
45
  _id?: string | {} | undefined;
42
46
  createdAt?: any;
47
+ updatedAt?: any;
43
48
  values: any;
44
49
  name: string;
45
50
  description: string;
@@ -51,6 +56,7 @@ export declare const strategiesTemplatesPatchSchema: import("@feathersjs/typebox
51
56
  type: import("@feathersjs/typebox").TString<string>;
52
57
  description: import("@feathersjs/typebox").TString<string>;
53
58
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
59
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
54
60
  values: import("@feathersjs/typebox").TAny;
55
61
  }>>;
56
62
  export type StrategiesTemplatesPatch = Static<typeof strategiesTemplatesPatchSchema>;
@@ -58,6 +64,7 @@ export declare const strategiesTemplatesPatchValidator: import("@feathersjs/sche
58
64
  export declare const strategiesTemplatesPatchResolver: import("@feathersjs/schema").Resolver<{
59
65
  _id?: string | {} | undefined;
60
66
  createdAt?: any;
67
+ updatedAt?: any;
61
68
  values: any;
62
69
  name: string;
63
70
  description: string;
@@ -69,6 +76,7 @@ export declare const strategiesTemplatesQueryProperties: import("@feathersjs/typ
69
76
  type: import("@feathersjs/typebox").TString<string>;
70
77
  description: import("@feathersjs/typebox").TString<string>;
71
78
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
79
+ updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
72
80
  values: import("@feathersjs/typebox").TAny;
73
81
  }>, ["_id", "name"]>;
74
82
  export declare const strategiesTemplatesQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
@@ -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