@cryptorobot.ai/client 0.0.35 → 0.0.37

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 (291) hide show
  1. package/lib/{services → src/services}/exchanges/balance/balance.schema.d.ts +28 -4
  2. package/lib/{services → src/services}/exchanges/download/download.class.d.ts +1 -1
  3. package/lib/{services → src/services}/exchanges/download/download.d.ts +1 -0
  4. package/lib/{services → src/services}/exchanges/download/download.schema.d.ts +28 -4
  5. package/lib/{services → src/services}/exchanges/download/webhooks/webhooks.class.d.ts +1 -1
  6. package/lib/{services → src/services}/exchanges/download/webhooks/webhooks.d.ts +1 -0
  7. package/lib/{services → src/services}/exchanges/exchanges.class.d.ts +1 -1
  8. package/lib/{services → src/services}/exchanges/exchanges.schema.d.ts +246 -90
  9. package/lib/{services → src/services}/exchanges/ticker/ticker.class.d.ts +1 -1
  10. package/lib/{services → src/services}/exchanges/ticker/ticker.schema.d.ts +28 -4
  11. package/lib/{services → src/services}/homepage/homepage.schema.d.ts +17 -1
  12. package/lib/{services → src/services}/marketplaces/marketplaces.class.d.ts +1 -1
  13. package/lib/{services → src/services}/markets/markets.class.d.ts +1 -1
  14. package/lib/{services → src/services}/messages/messages.class.d.ts +1 -1
  15. package/lib/{services → src/services}/strategies/ai/ai.class.d.ts +1 -1
  16. package/lib/{services → src/services}/strategies/backtest/backtest.class.d.ts +1 -1
  17. package/lib/{services → src/services}/strategies/backtest/backtest.schema.d.ts +92 -92
  18. package/lib/{services → src/services}/strategies/hyperopt/hyperopt.d.ts +1 -0
  19. package/lib/{services → src/services}/strategies/indicators/indicators.class.d.ts +1 -1
  20. package/lib/{services → src/services}/strategies/strategies.class.d.ts +1 -1
  21. package/lib/{services → src/services}/strategies/strategies.schema.d.ts +117 -35
  22. package/lib/{services → src/services}/strategies/templates/templates.class.d.ts +1 -1
  23. package/lib/{services → src/services}/traders/pods/api/api.schema.d.ts +164 -140
  24. package/lib/{services → src/services}/traders/pods/events/events.class.d.ts +1 -1
  25. package/lib/{services → src/services}/traders/pods/events/events.d.ts +1 -0
  26. package/lib/{services → src/services}/traders/pods/events/events.schema.d.ts +93 -3
  27. package/lib/{services → src/services}/traders/pods/pods.class.d.ts +1 -1
  28. package/lib/{services → src/services}/traders/pods/pods.schema.d.ts +84 -60
  29. package/lib/{services → src/services}/traders/pods/webhooks/webhooks.class.d.ts +1 -1
  30. package/lib/{services → src/services}/traders/pods/webhooks/webhooks.d.ts +1 -0
  31. package/lib/{services → src/services}/traders/traders.schema.d.ts +263 -131
  32. package/lib/{services → src/services}/users/users.schema.d.ts +185 -3
  33. package/package.json +13 -10
  34. package/readme.md +50 -2
  35. package/lib/app.d.ts +0 -4
  36. package/lib/authentication.d.ts +0 -8
  37. package/lib/channels.d.ts +0 -3
  38. package/lib/client.d.ts +0 -87
  39. package/lib/configuration.d.ts +0 -226
  40. package/lib/declarations.d.ts +0 -16
  41. package/lib/firebase-push-notification.d.ts +0 -1
  42. package/lib/helper.d.ts +0 -22
  43. package/lib/helpers/app.helper.d.ts +0 -17
  44. package/lib/helpers/backtest.helper.d.ts +0 -61
  45. package/lib/helpers/ccxt.helper.d.ts +0 -92
  46. package/lib/helpers/deployments.helper.d.ts +0 -84
  47. package/lib/helpers/funnel.helper.d.ts +0 -19
  48. package/lib/helpers/handlebars.helper.d.ts +0 -25
  49. package/lib/helpers/hyperopt.helper.d.ts +0 -22
  50. package/lib/helpers/logging.helper.d.ts +0 -9
  51. package/lib/helpers/push-notification.helper.d.ts +0 -8
  52. package/lib/helpers/queue.helper.d.ts +0 -13
  53. package/lib/helpers/rules.helper.d.ts +0 -13
  54. package/lib/helpers/sqlite3.helper.d.ts +0 -6
  55. package/lib/helpers/sqs.helper.d.ts +0 -7
  56. package/lib/helpers/subscription.helper.d.ts +0 -48
  57. package/lib/helpers/telegram.helper.d.ts +0 -32
  58. package/lib/helpers/trader.helper.d.ts +0 -38
  59. package/lib/hooks/application/setup-ccxt-load-marketplaces-mocked.d.ts +0 -3
  60. package/lib/hooks/application/setup-ccxt-load-marketplaces.d.ts +0 -2
  61. package/lib/hooks/application/setup-ccxt-load-markets.d.ts +0 -2
  62. package/lib/hooks/application/setup-config-preparation.d.ts +0 -3
  63. package/lib/hooks/application/setup-fs.d.ts +0 -3
  64. package/lib/hooks/application/setup-info.d.ts +0 -3
  65. package/lib/hooks/application/setup-load-indicators.d.ts +0 -3
  66. package/lib/hooks/application/setup-load-strategy-templates.d.ts +0 -3
  67. package/lib/hooks/backtest-copy-candles-from-user-data.d.ts +0 -2
  68. package/lib/hooks/backtest-generate-and-queue.d.ts +0 -2
  69. package/lib/hooks/backtest-generate-config.d.ts +0 -8
  70. package/lib/hooks/backtest-generate-exchange-config.d.ts +0 -8
  71. package/lib/hooks/backtest-get-results.d.ts +0 -14
  72. package/lib/hooks/backtest-in-disk-clone-strategy.d.ts +0 -2
  73. package/lib/hooks/backtest-validate.d.ts +0 -2
  74. package/lib/hooks/bootstrap-user-exchanges.d.ts +0 -2
  75. package/lib/hooks/bootstrap-user-strategies.d.ts +0 -2
  76. package/lib/hooks/bootstrap-user-traders.d.ts +0 -2
  77. package/lib/hooks/check-required-credentials.d.ts +0 -2
  78. package/lib/hooks/enrich-webhook-to-event.d.ts +0 -2
  79. package/lib/hooks/exchanges/after-create-ccxt-balances-propagate-to-exchange.d.ts +0 -2
  80. package/lib/hooks/exchanges/after-find-ccxt-load-markets.d.ts +0 -2
  81. package/lib/hooks/exchanges/after-get-whitelist-blacklist-transform.d.ts +0 -2
  82. package/lib/hooks/exchanges/before-create-ccxt-get-balances.d.ts +0 -2
  83. package/lib/hooks/exchanges/before-patch-blacklist-validation-per-exchange.d.ts +0 -2
  84. package/lib/hooks/exchanges/before-patch-ccxt-connect-exchange.d.ts +0 -2
  85. package/lib/hooks/exchanges/before-patch-ccxt-load-markets.d.ts +0 -2
  86. package/lib/hooks/exchanges/before-patch-whitelist-blacklist-transform.d.ts +0 -2
  87. package/lib/hooks/exchanges/before-patch-whitelist-blacklist-validate.d.ts +0 -2
  88. package/lib/hooks/exchanges/download/after-create-get-recent-downloaded-data-info.d.ts +0 -2
  89. package/lib/hooks/exchanges/download/before-create-generate-config.d.ts +0 -2
  90. package/lib/hooks/exchanges/download/before-create-process-exchange-data-download.d.ts +0 -2
  91. package/lib/hooks/file-generate-config-hyperopt.d.ts +0 -2
  92. package/lib/hooks/hyperopt-generate-and-queue.d.ts +0 -2
  93. package/lib/hooks/hyperopt-generate-exchange-config.d.ts +0 -8
  94. package/lib/hooks/hyperopt-get-results.d.ts +0 -2
  95. package/lib/hooks/hyperopt-in-disk-clone-strategy.d.ts +0 -2
  96. package/lib/hooks/hyperopt-track-usage.d.ts +0 -2
  97. package/lib/hooks/init-data-folder.d.ts +0 -2
  98. package/lib/hooks/log-error.d.ts +0 -2
  99. package/lib/hooks/messages/messages-process-data.d.ts +0 -2
  100. package/lib/hooks/openai-process-request.d.ts +0 -2
  101. package/lib/hooks/pairs-transform.d.ts +0 -2
  102. package/lib/hooks/remove-container.d.ts +0 -2
  103. package/lib/hooks/revenuecat-is-subscription-active.d.ts +0 -2
  104. package/lib/hooks/set-default-strategy.d.ts +0 -2
  105. package/lib/hooks/setup-aws-sdk.d.ts +0 -2
  106. package/lib/hooks/setup-cronjobs.d.ts +0 -2
  107. package/lib/hooks/setup-ensure-image.d.ts +0 -3
  108. package/lib/hooks/setup-firebase.d.ts +0 -2
  109. package/lib/hooks/setup-homepage.d.ts +0 -3
  110. package/lib/hooks/setup-mautic.d.ts +0 -3
  111. package/lib/hooks/setup-mixpanel.d.ts +0 -3
  112. package/lib/hooks/setup-prepare-maildev-while-in-test-env.d.ts +0 -3
  113. package/lib/hooks/setup-queues.d.ts +0 -3
  114. package/lib/hooks/setup-stripe.d.ts +0 -2
  115. package/lib/hooks/setup-telegram-client.d.ts +0 -3
  116. package/lib/hooks/sqlite-reset-database.d.ts +0 -2
  117. package/lib/hooks/strategies/disk-create-strategy.d.ts +0 -2
  118. package/lib/hooks/strategies/disk-remove-strategy.d.ts +0 -2
  119. package/lib/hooks/strategies/file-strategies-clone.d.ts +0 -2
  120. package/lib/hooks/stripe-check-subscription.d.ts +0 -2
  121. package/lib/hooks/stripe-create-payment-intent.d.ts +0 -2
  122. package/lib/hooks/stripe-is-subscription-active.d.ts +0 -2
  123. package/lib/hooks/stripe-sync-customer-data.d.ts +0 -2
  124. package/lib/hooks/telegram-create-group.d.ts +0 -2
  125. package/lib/hooks/telegram-delete-group.d.ts +0 -2
  126. package/lib/hooks/telegram-update-group.d.ts +0 -2
  127. package/lib/hooks/tickers-fetch.d.ts +0 -2
  128. package/lib/hooks/traders/after-patch-file-candles-clone.d.ts +0 -2
  129. package/lib/hooks/traders/before-patch-folders-initialize.d.ts +0 -2
  130. package/lib/hooks/traders/before-patch-transform-pairlist-plugins.d.ts +0 -2
  131. package/lib/hooks/traders/container-api-control.d.ts +0 -2
  132. package/lib/hooks/traders/container-stop.d.ts +0 -2
  133. package/lib/hooks/traders/create-trader-container.d.ts +0 -2
  134. package/lib/hooks/traders/generate-exchange-config.d.ts +0 -2
  135. package/lib/hooks/traders/generate-trader-config.d.ts +0 -2
  136. package/lib/hooks/traders/pods-container-inspect.d.ts +0 -2
  137. package/lib/hooks/traders/pods-process-worker.d.ts +0 -7
  138. package/lib/hooks/users/email-verify-signup.d.ts +0 -2
  139. package/lib/index.d.ts +0 -1
  140. package/lib/logger.d.ts +0 -1
  141. package/lib/mongodb.d.ts +0 -8
  142. package/lib/prepare-for-publish.d.ts +0 -1
  143. package/lib/sentry.d.ts +0 -2
  144. package/lib/telegram-get-credentials.d.ts +0 -1
  145. package/lib/validators.d.ts +0 -3
  146. package/{readme.client.md → README.md} +0 -0
  147. package/lib/{client.js → src/client.js} +0 -0
  148. package/lib/{services → src/services}/auth-management/auth-management.class.d.ts +0 -0
  149. package/lib/{services → src/services}/auth-management/auth-management.d.ts +0 -0
  150. package/lib/{services → src/services}/auth-management/auth-management.shared.d.ts +0 -0
  151. package/lib/{services → src/services}/auth-management/auth-management.shared.js +0 -0
  152. package/lib/{services → src/services}/auth-management/auth-management.utils.d.ts +0 -0
  153. package/lib/{services → src/services}/config/config.class.d.ts +0 -0
  154. package/lib/{services → src/services}/config/config.d.ts +0 -0
  155. package/lib/{services → src/services}/config/config.shared.d.ts +0 -0
  156. package/lib/{services → src/services}/config/config.shared.js +0 -0
  157. package/lib/{services → src/services}/custom/custom.class.d.ts +0 -0
  158. package/lib/{services → src/services}/custom/custom.d.ts +0 -0
  159. package/lib/{services → src/services}/custom/custom.shared.d.ts +0 -0
  160. package/lib/{services → src/services}/custom/custom.shared.js +0 -0
  161. package/lib/{services → src/services}/exchanges/balance/balance.class.d.ts +0 -0
  162. package/lib/{services → src/services}/exchanges/balance/balance.d.ts +0 -0
  163. package/lib/{services → src/services}/exchanges/balance/balance.shared.d.ts +0 -0
  164. package/lib/{services → src/services}/exchanges/balance/balance.shared.js +0 -0
  165. package/lib/{services → src/services}/exchanges/download/download.shared.d.ts +0 -0
  166. package/lib/{services → src/services}/exchanges/download/download.shared.js +0 -0
  167. package/lib/{services → src/services}/exchanges/download/webhooks/webhooks.schema.d.ts +0 -0
  168. package/lib/{services → src/services}/exchanges/download/webhooks/webhooks.shared.d.ts +0 -0
  169. package/lib/{services → src/services}/exchanges/download/webhooks/webhooks.shared.js +0 -0
  170. package/lib/{services → src/services}/exchanges/exchanges.d.ts +0 -0
  171. package/lib/{services → src/services}/exchanges/exchanges.shared.d.ts +0 -0
  172. package/lib/{services → src/services}/exchanges/exchanges.shared.js +0 -0
  173. package/lib/{services → src/services}/exchanges/ticker/ticker.d.ts +0 -0
  174. package/lib/{services → src/services}/exchanges/ticker/ticker.shared.d.ts +0 -0
  175. package/lib/{services → src/services}/exchanges/ticker/ticker.shared.js +0 -0
  176. package/lib/{services → src/services}/homepage/homepage.class.d.ts +1 -1
  177. package/lib/{services → src/services}/homepage/homepage.d.ts +0 -0
  178. package/lib/{services → src/services}/homepage/homepage.shared.d.ts +0 -0
  179. package/lib/{services → src/services}/homepage/homepage.shared.js +0 -0
  180. package/lib/{services → src/services}/index.d.ts +0 -0
  181. package/lib/{services → src/services}/mailer/mailer.class.d.ts +0 -0
  182. package/lib/{services → src/services}/mailer/mailer.d.ts +0 -0
  183. package/lib/{services → src/services}/mailer/mailer.shared.d.ts +0 -0
  184. package/lib/{services → src/services}/mailer/mailer.shared.js +0 -0
  185. package/lib/{services → src/services}/marketplaces/marketplaces.d.ts +0 -0
  186. package/lib/{services → src/services}/marketplaces/marketplaces.shared.d.ts +0 -0
  187. package/lib/{services → src/services}/marketplaces/marketplaces.shared.js +0 -0
  188. package/lib/{services → src/services}/markets/markets.d.ts +0 -0
  189. package/lib/{services → src/services}/markets/markets.schema.d.ts +0 -0
  190. package/lib/{services → src/services}/markets/markets.shared.d.ts +0 -0
  191. package/lib/{services → src/services}/markets/markets.shared.js +0 -0
  192. package/lib/{services → src/services}/messages/messages.d.ts +0 -0
  193. package/lib/{services → src/services}/messages/messages.schema.d.ts +0 -0
  194. package/lib/{services → src/services}/messages/messages.shared.d.ts +0 -0
  195. package/lib/{services → src/services}/messages/messages.shared.js +0 -0
  196. package/lib/{services → src/services}/strategies/ai/ai.d.ts +0 -0
  197. package/lib/{services → src/services}/strategies/ai/ai.schema.d.ts +0 -0
  198. package/lib/{services → src/services}/strategies/ai/ai.shared.d.ts +0 -0
  199. package/lib/{services → src/services}/strategies/ai/ai.shared.js +0 -0
  200. package/lib/{services → src/services}/strategies/ai/stream/stream.class.d.ts +0 -0
  201. package/lib/{services → src/services}/strategies/ai/stream/stream.d.ts +0 -0
  202. package/lib/{services → src/services}/strategies/ai/stream/stream.shared.d.ts +0 -0
  203. package/lib/{services → src/services}/strategies/ai/stream/stream.shared.js +0 -0
  204. package/lib/{services → src/services}/strategies/backtest/backtest.d.ts +0 -0
  205. package/lib/{services → src/services}/strategies/backtest/backtest.shared.d.ts +0 -0
  206. package/lib/{services → src/services}/strategies/backtest/backtest.shared.js +0 -0
  207. package/lib/{services → src/services}/strategies/backtest/results/results.class.d.ts +0 -0
  208. package/lib/{services → src/services}/strategies/backtest/results/results.d.ts +0 -0
  209. package/lib/{services → src/services}/strategies/backtest/results/results.schema.d.ts +0 -0
  210. package/lib/{services → src/services}/strategies/backtest/results/results.shared.d.ts +0 -0
  211. package/lib/{services → src/services}/strategies/backtest/results/results.shared.js +0 -0
  212. package/lib/{services → src/services}/strategies/blob/blob.class.d.ts +0 -0
  213. package/lib/{services → src/services}/strategies/blob/blob.d.ts +0 -0
  214. package/lib/{services → src/services}/strategies/blob/blob.shared.d.ts +0 -0
  215. package/lib/{services → src/services}/strategies/blob/blob.shared.js +0 -0
  216. package/lib/{services → src/services}/strategies/hyperopt/hyperopt.class.d.ts +0 -0
  217. package/lib/{services → src/services}/strategies/hyperopt/hyperopt.schema.d.ts +8 -8
  218. /package/lib/{services → src/services}/strategies/hyperopt/hyperopt.shared.d.ts +0 -0
  219. /package/lib/{services → src/services}/strategies/hyperopt/hyperopt.shared.js +0 -0
  220. /package/lib/{services → src/services}/strategies/indicators/indicators.d.ts +0 -0
  221. /package/lib/{services → src/services}/strategies/indicators/indicators.schema.d.ts +0 -0
  222. /package/lib/{services → src/services}/strategies/indicators/indicators.shared.d.ts +0 -0
  223. /package/lib/{services → src/services}/strategies/indicators/indicators.shared.js +0 -0
  224. /package/lib/{services → src/services}/strategies/strategies.d.ts +0 -0
  225. /package/lib/{services → src/services}/strategies/strategies.shared.d.ts +0 -0
  226. /package/lib/{services → src/services}/strategies/strategies.shared.js +0 -0
  227. /package/lib/{services → src/services}/strategies/templates/templates.d.ts +0 -0
  228. /package/lib/{services → src/services}/strategies/templates/templates.schema.d.ts +0 -0
  229. /package/lib/{services → src/services}/strategies/templates/templates.shared.d.ts +0 -0
  230. /package/lib/{services → src/services}/strategies/templates/templates.shared.js +0 -0
  231. /package/lib/{services → src/services}/stripe/charges/charges.class.d.ts +0 -0
  232. /package/lib/{services → src/services}/stripe/charges/charges.d.ts +0 -0
  233. /package/lib/{services → src/services}/stripe/charges/charges.shared.d.ts +0 -0
  234. /package/lib/{services → src/services}/stripe/charges/charges.shared.js +0 -0
  235. /package/lib/{services → src/services}/stripe/customers/cards/cards.class.d.ts +0 -0
  236. /package/lib/{services → src/services}/stripe/customers/cards/cards.d.ts +0 -0
  237. /package/lib/{services → src/services}/stripe/customers/cards/cards.shared.d.ts +0 -0
  238. /package/lib/{services → src/services}/stripe/customers/cards/cards.shared.js +0 -0
  239. /package/lib/{services → src/services}/stripe/customers/customers.class.d.ts +0 -0
  240. /package/lib/{services → src/services}/stripe/customers/customers.d.ts +0 -0
  241. /package/lib/{services → src/services}/stripe/customers/customers.shared.d.ts +0 -0
  242. /package/lib/{services → src/services}/stripe/customers/customers.shared.js +0 -0
  243. /package/lib/{services → src/services}/stripe/customers/paymentintent/paymentintent.class.d.ts +0 -0
  244. /package/lib/{services → src/services}/stripe/customers/paymentintent/paymentintent.d.ts +0 -0
  245. /package/lib/{services → src/services}/stripe/customers/paymentintent/paymentintent.shared.d.ts +0 -0
  246. /package/lib/{services → src/services}/stripe/customers/paymentintent/paymentintent.shared.js +0 -0
  247. /package/lib/{services → src/services}/stripe/customers/paymentmethods/paymentmethods.class.d.ts +0 -0
  248. /package/lib/{services → src/services}/stripe/customers/paymentmethods/paymentmethods.d.ts +0 -0
  249. /package/lib/{services → src/services}/stripe/customers/paymentmethods/paymentmethods.shared.d.ts +0 -0
  250. /package/lib/{services → src/services}/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -0
  251. /package/lib/{services → src/services}/stripe/customers/subscriptions/subscriptions.class.d.ts +0 -0
  252. /package/lib/{services → src/services}/stripe/customers/subscriptions/subscriptions.d.ts +0 -0
  253. /package/lib/{services → src/services}/stripe/customers/subscriptions/subscriptions.shared.d.ts +0 -0
  254. /package/lib/{services → src/services}/stripe/customers/subscriptions/subscriptions.shared.js +0 -0
  255. /package/lib/{services → src/services}/stripe/products/products.class.d.ts +0 -0
  256. /package/lib/{services → src/services}/stripe/products/products.d.ts +0 -0
  257. /package/lib/{services → src/services}/stripe/products/products.shared.d.ts +0 -0
  258. /package/lib/{services → src/services}/stripe/products/products.shared.js +0 -0
  259. /package/lib/{services → src/services}/stripe/webhooks/webhooks.class.d.ts +0 -0
  260. /package/lib/{services → src/services}/stripe/webhooks/webhooks.d.ts +0 -0
  261. /package/lib/{services → src/services}/stripe/webhooks/webhooks.shared.d.ts +0 -0
  262. /package/lib/{services → src/services}/stripe/webhooks/webhooks.shared.js +0 -0
  263. /package/lib/{services → src/services}/traders/pods/api/api.class.d.ts +0 -0
  264. /package/lib/{services → src/services}/traders/pods/api/api.d.ts +0 -0
  265. /package/lib/{services → src/services}/traders/pods/api/api.shared.d.ts +0 -0
  266. /package/lib/{services → src/services}/traders/pods/api/api.shared.js +0 -0
  267. /package/lib/{services → src/services}/traders/pods/blob/blob.class.d.ts +0 -0
  268. /package/lib/{services → src/services}/traders/pods/blob/blob.d.ts +0 -0
  269. /package/lib/{services → src/services}/traders/pods/blob/blob.shared.d.ts +0 -0
  270. /package/lib/{services → src/services}/traders/pods/blob/blob.shared.js +0 -0
  271. /package/lib/{services → src/services}/traders/pods/events/events.shared.d.ts +0 -0
  272. /package/lib/{services → src/services}/traders/pods/events/events.shared.js +0 -0
  273. /package/lib/{services → src/services}/traders/pods/pods.d.ts +0 -0
  274. /package/lib/{services → src/services}/traders/pods/pods.shared.d.ts +0 -0
  275. /package/lib/{services → src/services}/traders/pods/pods.shared.js +0 -0
  276. /package/lib/{services → src/services}/traders/pods/webhooks/webhooks.schema.d.ts +0 -0
  277. /package/lib/{services → src/services}/traders/pods/webhooks/webhooks.shared.d.ts +0 -0
  278. /package/lib/{services → src/services}/traders/pods/webhooks/webhooks.shared.js +0 -0
  279. /package/lib/{services → src/services}/traders/traders.class.d.ts +0 -0
  280. /package/lib/{services → src/services}/traders/traders.d.ts +0 -0
  281. /package/lib/{services → src/services}/traders/traders.shared.d.ts +0 -0
  282. /package/lib/{services → src/services}/traders/traders.shared.js +0 -0
  283. /package/lib/{services → src/services}/users/users.class.d.ts +0 -0
  284. /package/lib/{services → src/services}/users/users.d.ts +0 -0
  285. /package/lib/{services → src/services}/users/users.helper.d.ts +0 -0
  286. /package/lib/{services → src/services}/users/users.shared.d.ts +0 -0
  287. /package/lib/{services → src/services}/users/users.shared.js +0 -0
  288. /package/lib/{services → src/services}/version/version.class.d.ts +0 -0
  289. /package/lib/{services → src/services}/version/version.d.ts +0 -0
  290. /package/lib/{services → src/services}/version/version.shared.d.ts +0 -0
  291. /package/lib/{services → src/services}/version/version.shared.js +0 -0
@@ -510,20 +510,23 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
510
510
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
511
511
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
512
512
  skipEmailVerification: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
513
- }>, ["_id", "email", "verifyToken", "googleId", "appleId", "stripe", "stripe.id"]>;
513
+ }>, ["_id", "name", "email", "verifyToken", "googleId", "createdAt", "appleId", "stripe", "stripe.id", "subscription"]>;
514
514
  export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
515
515
  $limit: import("@feathersjs/typebox").TNumber;
516
516
  $skip: import("@feathersjs/typebox").TNumber;
517
517
  $sort: import("@feathersjs/typebox").TObject<{
518
518
  email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
519
+ name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
520
+ subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
519
521
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
520
522
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
521
523
  googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
522
524
  appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
523
525
  "stripe.id": import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
524
526
  verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
527
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
525
528
  }>;
526
- $select: import("@feathersjs/typebox").TUnsafe<("email" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken")[]>;
529
+ $select: import("@feathersjs/typebox").TUnsafe<("email" | "name" | "subscription" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken" | "createdAt")[]>;
527
530
  $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
528
531
  email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
529
532
  $gt: import("@feathersjs/typebox").TString<"email">;
@@ -536,6 +539,28 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
536
539
  }>, import("@feathersjs/typebox").TObject<{
537
540
  [key: string]: import("@feathersjs/typebox").TSchema;
538
541
  } | undefined>]>>]>>;
542
+ 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<{
543
+ $gt: import("@feathersjs/typebox").TString<string>;
544
+ $gte: import("@feathersjs/typebox").TString<string>;
545
+ $lt: import("@feathersjs/typebox").TString<string>;
546
+ $lte: import("@feathersjs/typebox").TString<string>;
547
+ $ne: import("@feathersjs/typebox").TString<string>;
548
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
549
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
550
+ }>, import("@feathersjs/typebox").TObject<{
551
+ [key: string]: import("@feathersjs/typebox").TSchema;
552
+ } | undefined>]>>]>>;
553
+ subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
554
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
555
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
556
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
557
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
558
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
559
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
560
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
561
+ }>, import("@feathersjs/typebox").TObject<{
562
+ [key: string]: import("@feathersjs/typebox").TSchema;
563
+ } | undefined>]>>]>>;
539
564
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
540
565
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
541
566
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -602,6 +627,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
602
627
  }>, import("@feathersjs/typebox").TObject<{
603
628
  [key: string]: import("@feathersjs/typebox").TSchema;
604
629
  } | undefined>]>>]>>;
630
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
631
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
632
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
633
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
634
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
635
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
636
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
637
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
638
+ }>, import("@feathersjs/typebox").TObject<{
639
+ [key: string]: import("@feathersjs/typebox").TSchema;
640
+ } | undefined>]>>]>>;
605
641
  }>>, import("@feathersjs/typebox").TObject<{
606
642
  $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
607
643
  email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
@@ -615,6 +651,28 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
615
651
  }>, import("@feathersjs/typebox").TObject<{
616
652
  [key: string]: import("@feathersjs/typebox").TSchema;
617
653
  } | undefined>]>>]>>;
654
+ 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<{
655
+ $gt: import("@feathersjs/typebox").TString<string>;
656
+ $gte: import("@feathersjs/typebox").TString<string>;
657
+ $lt: import("@feathersjs/typebox").TString<string>;
658
+ $lte: import("@feathersjs/typebox").TString<string>;
659
+ $ne: import("@feathersjs/typebox").TString<string>;
660
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
661
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
662
+ }>, import("@feathersjs/typebox").TObject<{
663
+ [key: string]: import("@feathersjs/typebox").TSchema;
664
+ } | undefined>]>>]>>;
665
+ subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
666
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
667
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
668
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
669
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
670
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
671
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
672
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
673
+ }>, import("@feathersjs/typebox").TObject<{
674
+ [key: string]: import("@feathersjs/typebox").TSchema;
675
+ } | undefined>]>>]>>;
618
676
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
619
677
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
620
678
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -681,6 +739,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
681
739
  }>, import("@feathersjs/typebox").TObject<{
682
740
  [key: string]: import("@feathersjs/typebox").TSchema;
683
741
  } | undefined>]>>]>>;
742
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
743
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
744
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
745
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
746
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
747
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
748
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
749
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
750
+ }>, import("@feathersjs/typebox").TObject<{
751
+ [key: string]: import("@feathersjs/typebox").TSchema;
752
+ } | undefined>]>>]>>;
684
753
  }>>>;
685
754
  }>]>>;
686
755
  $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
@@ -695,6 +764,28 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
695
764
  }>, import("@feathersjs/typebox").TObject<{
696
765
  [key: string]: import("@feathersjs/typebox").TSchema;
697
766
  } | undefined>]>>]>>;
767
+ 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<{
768
+ $gt: import("@feathersjs/typebox").TString<string>;
769
+ $gte: import("@feathersjs/typebox").TString<string>;
770
+ $lt: import("@feathersjs/typebox").TString<string>;
771
+ $lte: import("@feathersjs/typebox").TString<string>;
772
+ $ne: import("@feathersjs/typebox").TString<string>;
773
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
774
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
775
+ }>, import("@feathersjs/typebox").TObject<{
776
+ [key: string]: import("@feathersjs/typebox").TSchema;
777
+ } | undefined>]>>]>>;
778
+ subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
779
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
780
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
781
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
782
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
783
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
784
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
785
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
786
+ }>, import("@feathersjs/typebox").TObject<{
787
+ [key: string]: import("@feathersjs/typebox").TSchema;
788
+ } | undefined>]>>]>>;
698
789
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
699
790
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
700
791
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -761,6 +852,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
761
852
  }>, import("@feathersjs/typebox").TObject<{
762
853
  [key: string]: import("@feathersjs/typebox").TSchema;
763
854
  } | undefined>]>>]>>;
855
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
856
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
857
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
858
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
859
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
860
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
861
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
862
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
863
+ }>, import("@feathersjs/typebox").TObject<{
864
+ [key: string]: import("@feathersjs/typebox").TSchema;
865
+ } | undefined>]>>]>>;
764
866
  }>>>;
765
867
  }>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
766
868
  email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
@@ -774,6 +876,28 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
774
876
  }>, import("@feathersjs/typebox").TObject<{
775
877
  [key: string]: import("@feathersjs/typebox").TSchema;
776
878
  } | undefined>]>>]>>;
879
+ 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<{
880
+ $gt: import("@feathersjs/typebox").TString<string>;
881
+ $gte: import("@feathersjs/typebox").TString<string>;
882
+ $lt: import("@feathersjs/typebox").TString<string>;
883
+ $lte: import("@feathersjs/typebox").TString<string>;
884
+ $ne: import("@feathersjs/typebox").TString<string>;
885
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
886
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
887
+ }>, import("@feathersjs/typebox").TObject<{
888
+ [key: string]: import("@feathersjs/typebox").TSchema;
889
+ } | undefined>]>>]>>;
890
+ subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
891
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
892
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
893
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
894
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
895
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
896
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
897
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
898
+ }>, import("@feathersjs/typebox").TObject<{
899
+ [key: string]: import("@feathersjs/typebox").TSchema;
900
+ } | undefined>]>>]>>;
777
901
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
778
902
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
779
903
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -840,6 +964,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
840
964
  }>, import("@feathersjs/typebox").TObject<{
841
965
  [key: string]: import("@feathersjs/typebox").TSchema;
842
966
  } | undefined>]>>]>>;
967
+ createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
968
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
969
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
970
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
971
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
972
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
973
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
974
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
975
+ }>, import("@feathersjs/typebox").TObject<{
976
+ [key: string]: import("@feathersjs/typebox").TSchema;
977
+ } | undefined>]>>]>>;
843
978
  }>>]>, import("@feathersjs/typebox").TObject<{}>]>;
844
979
  export type UserQuery = Static<typeof userQuerySchema>;
845
980
  export declare const userQueryValidator: import("@feathersjs/schema").Validator<any, any>;
@@ -848,14 +983,17 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
848
983
  $skip: number;
849
984
  $sort: {
850
985
  email?: number | undefined;
986
+ name?: number | undefined;
987
+ subscription?: number | undefined;
851
988
  stripe?: number | undefined;
852
989
  _id?: number | undefined;
853
990
  googleId?: number | undefined;
854
991
  appleId?: number | undefined;
855
992
  "stripe.id"?: number | undefined;
856
993
  verifyToken?: number | undefined;
994
+ createdAt?: number | undefined;
857
995
  };
858
- $select: ("email" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken")[];
996
+ $select: ("email" | "name" | "subscription" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken" | "createdAt")[];
859
997
  $and: ({
860
998
  email?: string | Partial<{
861
999
  $gt: string;
@@ -866,6 +1004,16 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
866
1004
  $in: string | string[];
867
1005
  $nin: string | string[];
868
1006
  } & {}> | undefined;
1007
+ name?: string | Partial<{
1008
+ $gt: string;
1009
+ $gte: string;
1010
+ $lt: string;
1011
+ $lte: string;
1012
+ $ne: string;
1013
+ $in: string | string[];
1014
+ $nin: string | string[];
1015
+ } & {}> | undefined;
1016
+ subscription?: any;
869
1017
  stripe?: any;
870
1018
  _id?: string | {} | Partial<{
871
1019
  $gt?: string | {} | undefined;
@@ -888,6 +1036,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
888
1036
  $in: string | (string | null)[] | null;
889
1037
  $nin: string | (string | null)[] | null;
890
1038
  } & {}> | null | undefined;
1039
+ createdAt?: any;
891
1040
  } | {
892
1041
  $or: {
893
1042
  email?: string | Partial<{
@@ -899,6 +1048,16 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
899
1048
  $in: string | string[];
900
1049
  $nin: string | string[];
901
1050
  } & {}> | undefined;
1051
+ name?: string | Partial<{
1052
+ $gt: string;
1053
+ $gte: string;
1054
+ $lt: string;
1055
+ $lte: string;
1056
+ $ne: string;
1057
+ $in: string | string[];
1058
+ $nin: string | string[];
1059
+ } & {}> | undefined;
1060
+ subscription?: any;
902
1061
  stripe?: any;
903
1062
  _id?: string | {} | Partial<{
904
1063
  $gt?: string | {} | undefined;
@@ -921,6 +1080,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
921
1080
  $in: string | (string | null)[] | null;
922
1081
  $nin: string | (string | null)[] | null;
923
1082
  } & {}> | null | undefined;
1083
+ createdAt?: any;
924
1084
  }[];
925
1085
  })[];
926
1086
  $or: {
@@ -933,6 +1093,16 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
933
1093
  $in: string | string[];
934
1094
  $nin: string | string[];
935
1095
  } & {}> | undefined;
1096
+ name?: string | Partial<{
1097
+ $gt: string;
1098
+ $gte: string;
1099
+ $lt: string;
1100
+ $lte: string;
1101
+ $ne: string;
1102
+ $in: string | string[];
1103
+ $nin: string | string[];
1104
+ } & {}> | undefined;
1105
+ subscription?: any;
936
1106
  stripe?: any;
937
1107
  _id?: string | {} | Partial<{
938
1108
  $gt?: string | {} | undefined;
@@ -955,6 +1125,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
955
1125
  $in: string | (string | null)[] | null;
956
1126
  $nin: string | (string | null)[] | null;
957
1127
  } & {}> | null | undefined;
1128
+ createdAt?: any;
958
1129
  }[];
959
1130
  }> & {
960
1131
  email?: string | Partial<{
@@ -966,6 +1137,16 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
966
1137
  $in: string | string[];
967
1138
  $nin: string | string[];
968
1139
  } & {}> | undefined;
1140
+ name?: string | Partial<{
1141
+ $gt: string;
1142
+ $gte: string;
1143
+ $lt: string;
1144
+ $lte: string;
1145
+ $ne: string;
1146
+ $in: string | string[];
1147
+ $nin: string | string[];
1148
+ } & {}> | undefined;
1149
+ subscription?: any;
969
1150
  stripe?: any;
970
1151
  _id?: string | {} | Partial<{
971
1152
  $gt?: string | {} | undefined;
@@ -988,4 +1169,5 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
988
1169
  $in: string | (string | null)[] | null;
989
1170
  $nin: string | (string | null)[] | null;
990
1171
  } & {}> | null | undefined;
1172
+ createdAt?: any;
991
1173
  } & {}, HookContext<UserService<import("./users.class").UserParams>>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cryptorobot.ai/client",
3
3
  "description": "A typed client for the cryptorobot.ai platform",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "homepage": "",
6
6
  "keywords": [
7
7
  "cryptocurrency",
@@ -16,7 +16,7 @@
16
16
  "contributors": [],
17
17
  "bugs": {},
18
18
  "engines": {
19
- "node": ">= 18.0.0"
19
+ "node": ">= 22.0.0"
20
20
  },
21
21
  "feathers": {
22
22
  "language": "ts",
@@ -35,11 +35,14 @@
35
35
  "config": "config"
36
36
  },
37
37
  "files": [
38
- "lib/client.js",
39
- "lib/**/*.d.ts",
40
- "lib/**/*.shared.js"
38
+ "lib/src/client.js",
39
+ "lib/src/services/**/*.d.ts",
40
+ "lib/src/**/*.shared.js",
41
+ "!lib/src/hooks/**",
42
+ "!lib/src/helpers/**",
43
+ "!lib/src/mongodb.d.ts"
41
44
  ],
42
- "main": "lib/client",
45
+ "main": "lib/src/client",
43
46
  "config": {
44
47
  "commitizen": {
45
48
  "path": "node_modules/cz-customizable"
@@ -56,13 +59,13 @@
56
59
  "@feathersjs/configuration": "^5.0.21",
57
60
  "@feathersjs/errors": "^5.0.21",
58
61
  "@feathersjs/feathers": "^5.0.21",
59
- "@feathersjs/schema": "^5.0.21",
60
62
  "@feathersjs/koa": "^5.0.21",
63
+ "@feathersjs/memory": "^5.0.21",
61
64
  "@feathersjs/mongodb": "^5.0.21",
65
+ "@feathersjs/schema": "^5.0.21",
62
66
  "@feathersjs/socketio": "^5.0.21",
63
- "@feathersjs/transport-commons": "^5.0.21",
64
- "@feathersjs/typebox": "^5.0.21",
65
67
  "@feathersjs/socketio-client": "^5.0.21",
66
- "@feathersjs/memory": "^5.0.21"
68
+ "@feathersjs/transport-commons": "^5.0.21",
69
+ "@feathersjs/typebox": "^5.0.21"
67
70
  }
68
71
  }
package/readme.md CHANGED
@@ -1,4 +1,52 @@
1
- # @cryptorobot.ai/client
1
+ [![codecov](https://codecov.io/gh/crytptorobot-ai/backend/graph/badge.svg?token=RFPX6YKX4O)](https://codecov.io/gh/crytptorobot-ai/backend)
2
2
 
3
- > A client package for the cryptorobot.ai high-frequency cryptocurrency trading platform
3
+ # backend
4
4
 
5
+ > A backend application for a high-frequency cryptocurrency trading platform
6
+
7
+ ## About
8
+
9
+ This project uses [Feathers](http://feathersjs.com). An open source framework for building APIs and real-time applications.
10
+
11
+ ## Getting Started
12
+
13
+ 1. Make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
14
+ 2. Install your dependencies
15
+
16
+ ```
17
+ cd path/to/backend
18
+ npm install
19
+ ```
20
+
21
+ 3. Start your app
22
+
23
+ ```
24
+ npm run compile # Compile TypeScript source
25
+ npm start
26
+ ```
27
+
28
+ ## Testing
29
+
30
+ Run `npm test` and all your tests in the `test/` directory will be run.
31
+
32
+ ## Scaffolding
33
+
34
+ This app comes with a powerful command line interface for Feathers. Here are a few things it can do:
35
+
36
+ ```
37
+ $ npx feathers help # Show all commands
38
+ $ npx feathers generate service # Generate a new Service
39
+ ```
40
+
41
+ ## Help
42
+
43
+ For more information on all the things you can do with Feathers visit [docs.feathersjs.com](http://docs.feathersjs.com).
44
+
45
+ ## Update sensitive information
46
+
47
+ aws ssm put-parameter \
48
+ --name "/cryptorobotai/production-secrets" \
49
+ --type "SecureString" \
50
+ --value '{"project":{"zipcode":"11333"}' \
51
+ --overwrite \
52
+ --region us-east-1
package/lib/app.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import type { Application } from './declarations';
2
- declare const app: Application;
3
- export declare const hooks: any;
4
- export { app };
@@ -1,8 +0,0 @@
1
- import { AuthenticationService } from '@feathersjs/authentication';
2
- import type { Application } from './declarations';
3
- declare module './declarations' {
4
- interface ServiceTypes {
5
- authentication: AuthenticationService;
6
- }
7
- }
8
- export declare const authentication: (app: Application) => void;
package/lib/channels.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import '@feathersjs/transport-commons';
2
- import type { Application } from './declarations';
3
- export declare const channels: (app: Application) => void;
package/lib/client.d.ts DELETED
@@ -1,87 +0,0 @@
1
- import type { AuthenticationClientOptions } from '@feathersjs/authentication-client';
2
- import './services/stripe/webhooks/webhooks.shared';
3
- export type { StripeWebhooks, StripeWebhooksData, StripeWebhooksPatch, StripeWebhooksQuery } from './services/stripe/webhooks/webhooks.shared';
4
- export type { Config, ConfigData, ConfigPatch, ConfigQuery } from './services/config/config.shared';
5
- export type { Custom, CustomData, CustomPatch, CustomQuery } from './services/custom/custom.shared';
6
- export type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery } from './services/exchanges/balance/balance.shared';
7
- export type { ExchangesDownload, ExchangesDownloadData, ExchangesDownloadPatch, ExchangesDownloadQuery } from './services/exchanges/download/download.shared';
8
- export type { ExchangesDownloadWebhooks, ExchangesDownloadWebhooksData, ExchangesDownloadWebhooksPatch, ExchangesDownloadWebhooksQuery } from './services/exchanges/download/webhooks/webhooks.shared';
9
- export type { Exchanges, ExchangesData, ExchangesPatch, ExchangesQuery } from './services/exchanges/exchanges.shared';
10
- export type { ExchangesTicker, ExchangesTickerData, ExchangesTickerPatch, ExchangesTickerQuery } from './services/exchanges/ticker/ticker.shared';
11
- export type { HomepageService } from './services/homepage/homepage.class';
12
- export type { Homepage, HomepageData, HomepagePatch, HomepageQuery } from './services/homepage/homepage.shared';
13
- export type { Marketplaces, MarketplacesData, MarketplacesPatch, MarketplacesQuery } from './services/marketplaces/marketplaces.shared';
14
- export type { Markets, MarketsData, MarketsPatch, MarketsQuery } from './services/markets/markets.shared';
15
- export type { Messages, MessagesData, MessagesPatch, MessagesQuery } from './services/messages/messages.shared';
16
- export type { StrategiesAi, StrategiesAiData, StrategiesAiPatch, StrategiesAiQuery } from './services/strategies/ai/ai.shared';
17
- export type { StrategiesAiStream, StrategiesAiStreamData, StrategiesAiStreamPatch, StrategiesAiStreamQuery } from './services/strategies/ai/stream/stream.shared';
18
- export type { StrategiesBacktest, StrategiesBacktestData, StrategiesBacktestPatch, StrategiesBacktestQuery } from './services/strategies/backtest/backtest.shared';
19
- export type { StrategiesBlob, StrategiesBlobData, StrategiesBlobPatch, StrategiesBlobQuery } from './services/strategies/blob/blob.shared';
20
- export type { StrategiesHyperopt, StrategiesHyperoptData, StrategiesHyperoptPatch, StrategiesHyperoptQuery } from './services/strategies/hyperopt/hyperopt.shared';
21
- export type { StrategiesIndicators, StrategiesIndicatorsData, StrategiesIndicatorsPatch, StrategiesIndicatorsQuery } from './services/strategies/indicators/indicators.shared';
22
- export type { Strategies, StrategiesData, StrategiesPatch, StrategiesQuery } from './services/strategies/strategies.shared';
23
- export type { StrategiesTemplates, StrategiesTemplatesData, StrategiesTemplatesPatch, StrategiesTemplatesQuery } from './services/strategies/templates/templates.shared';
24
- export type { StripeCharges, StripeChargesData, StripeChargesPatch, StripeChargesQuery } from './services/stripe/charges/charges.shared';
25
- export type { StripeCustomersCards, StripeCustomersCardsData, StripeCustomersCardsPatch, StripeCustomersCardsQuery } from './services/stripe/customers/cards/cards.shared';
26
- export type { StripeCustomers, StripeCustomersData, StripeCustomersPatch, StripeCustomersQuery } from './services/stripe/customers/customers.shared';
27
- export type { StripeCustomersPaymentintent, StripeCustomersPaymentintentData, StripeCustomersPaymentintentPatch, StripeCustomersPaymentintentQuery } from './services/stripe/customers/paymentintent/paymentintent.shared';
28
- export type { StripeCustomersPaymentmethods, StripeCustomersPaymentmethodsData, StripeCustomersPaymentmethodsPatch, StripeCustomersPaymentmethodsQuery } from './services/stripe/customers/paymentmethods/paymentmethods.shared';
29
- export type { StripeCustomersSubscriptions, StripeCustomersSubscriptionsData, StripeCustomersSubscriptionsPatch, StripeCustomersSubscriptionsQuery } from './services/stripe/customers/subscriptions/subscriptions.shared';
30
- export type { StripeProducts, StripeProductsData, StripeProductsPatch, StripeProductsQuery } from './services/stripe/products/products.shared';
31
- export type { TradersPodsApi, TradersPodsApiData, TradersPodsApiPatch, TradersPodsApiQuery } from './services/traders/pods/api/api.shared';
32
- export type { TradersPodsBlob, TradersPodsBlobData, TradersPodsBlobPatch, TradersPodsBlobQuery } from './services/traders/pods/blob/blob.shared';
33
- export type { TradersPodsEvents, TradersPodsEventsData, TradersPodsEventsPatch, TradersPodsEventsQuery } from './services/traders/pods/events/events.shared';
34
- export type { TradersPods, TradersPodsData, TradersPodsPatch, TradersPodsQuery } from './services/traders/pods/pods.shared';
35
- export type { TradersPodsWebhooks, TradersPodsWebhooksData, TradersPodsWebhooksPatch, TradersPodsWebhooksQuery } from './services/traders/pods/webhooks/webhooks.shared';
36
- export type { Traders, TradersData, TradersPatch, TradersQuery } from './services/traders/traders.shared';
37
- export type { User, UserData, UserPatch, UserQuery } from './services/users/users.shared';
38
- export type { Version, VersionData, VersionPatch, VersionQuery } from './services/version/version.shared';
39
- import './services/strategies/hyperopt/hyperopt.shared';
40
- import type { Application, TransportConnection } from '@feathersjs/feathers';
41
- import './services/version/version.shared';
42
- import './services/stripe/customers/paymentmethods/paymentmethods.shared';
43
- import './services/stripe/customers/subscriptions/subscriptions.shared';
44
- import './services/stripe/products/products.shared';
45
- import './services/stripe/customers/cards/cards.shared';
46
- import './services/stripe/customers/paymentintent/paymentintent.shared';
47
- import './services/stripe/customers/customers.shared';
48
- import './services/stripe/charges/charges.shared';
49
- import './services/strategies/ai/stream/stream.shared';
50
- import './services/strategies/ai/ai.shared';
51
- import './services/strategies/backtest/backtest.shared';
52
- import './services/traders/pods/events/events.shared';
53
- import './services/traders/pods/webhooks/webhooks.shared';
54
- import './services/traders/pods/api/api.shared';
55
- import './services/strategies/indicators/indicators.shared';
56
- import './services/strategies/templates/templates.shared';
57
- import './services/strategies/blob/blob.shared';
58
- import './services/strategies/strategies.shared';
59
- import './services/traders/pods/pods.shared';
60
- import './services/traders/traders.shared';
61
- import './services/exchanges/download/webhooks/webhooks.shared';
62
- import './services/traders/pods/blob/blob.shared';
63
- import './services/exchanges/download/download.shared';
64
- import './services/exchanges/balance/balance.shared';
65
- import './services/exchanges/ticker/ticker.shared';
66
- import './services/marketplaces/marketplaces.shared';
67
- import './services/config/config.shared';
68
- import './services/markets/markets.shared';
69
- import './services/exchanges/exchanges.shared';
70
- import './services/custom/custom.shared';
71
- import './services/messages/messages.shared';
72
- import './services/users/users.shared';
73
- export interface Configuration {
74
- connection: TransportConnection<ServiceTypes>;
75
- }
76
- export interface ServiceTypes {
77
- }
78
- export type ClientApplication = Application<ServiceTypes, Configuration>;
79
- /**
80
- * Returns a typed client for the backend app.
81
- *
82
- * @param connection The REST or Socket.io Feathers client connection
83
- * @param authenticationOptions Additional settings for the authentication client
84
- * @returns The Feathers client application
85
- * @see https://dove.feathersjs.com/api/client.html
86
- */
87
- export declare const createClient: <Configuration_1 = any>(connection: TransportConnection<ServiceTypes>, authenticationOptions?: Partial<AuthenticationClientOptions>) => ClientApplication;