@cryptorobot.ai/client 1.26.0-dev.999 → 1.27.0
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.
- package/lib/src/client.d.ts +0 -8
- package/lib/src/client.js +0 -10
- package/lib/src/services/advisor/advisor.class.d.ts +2 -2
- package/lib/src/services/advisor/advisor.schema.d.ts +1 -1
- package/lib/src/services/advisor/advisor.shared.js +0 -1
- package/lib/src/services/advisor/messages/messages.class.d.ts +2 -2
- package/lib/src/services/advisor/messages/messages.schema.d.ts +144 -144
- package/lib/src/services/advisor/messages/messages.shared.js +0 -1
- package/lib/src/services/affiliates/affiliates.class.d.ts +2 -5
- package/lib/src/services/affiliates/affiliates.shared.js +0 -1
- package/lib/src/services/affiliates/clicks/clicks.class.d.ts +2 -2
- package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
- package/lib/src/services/affiliates/comissions/comissions.class.d.ts +2 -2
- package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
- package/lib/src/services/affiliates/contracts/contracts.class.d.ts +2 -2
- package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
- package/lib/src/services/affiliates/coupons/coupons.class.d.ts +2 -2
- package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
- package/lib/src/services/affiliates/links/links.class.d.ts +2 -2
- package/lib/src/services/affiliates/links/links.shared.js +7 -2
- package/lib/src/services/affiliates/payouts/payouts.class.d.ts +2 -2
- package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
- package/lib/src/services/agents/agents.class.d.ts +2 -2
- package/lib/src/services/agents/agents.schema.d.ts +1 -1
- package/lib/src/services/agents/agents.shared.js +0 -1
- package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
- package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
- package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +85 -3
- package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/agents/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/sessions.schema.d.ts +143 -143
- package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
- package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
- package/lib/src/services/auth-management/auth-management.shared.js +0 -2
- package/lib/src/services/autotune/apply-params.d.ts +0 -39
- package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
- package/lib/src/services/autotune/score.d.ts +0 -25
- package/lib/src/services/autotune/storage.d.ts +0 -2
- package/lib/src/services/autotune/studies/studies.class.d.ts +2 -2
- package/lib/src/services/autotune/studies/studies.shared.js +0 -1
- package/lib/src/services/autotune/trials/trials.class.d.ts +2 -2
- package/lib/src/services/autotune/trials/trials.shared.js +0 -1
- package/lib/src/services/autotune/usage/usage.class.d.ts +2 -2
- package/lib/src/services/autotune/usage/usage.schema.d.ts +3 -3
- package/lib/src/services/autotune/usage/usage.shared.js +0 -1
- package/lib/src/services/blog/actions/actions.shared.js +0 -1
- package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
- package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
- package/lib/src/services/blog/posts/posts.shared.js +0 -1
- package/lib/src/services/blog/queries/queries.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
- package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
- package/lib/src/services/changelog/changelog.class.d.ts +0 -3
- package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
- package/lib/src/services/changelog/changelog.shared.js +0 -1
- package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
- package/lib/src/services/config/config.class.d.ts +2 -2
- package/lib/src/services/config/config.shared.js +0 -1
- package/lib/src/services/copilot/concerns/concerns.class.d.ts +2 -2
- package/lib/src/services/copilot/concerns/concerns.schema.d.ts +8 -8
- package/lib/src/services/copilot/concerns/concerns.shared.js +7 -2
- package/lib/src/services/copilot/decisions/decisions.class.d.ts +2 -2
- package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
- package/lib/src/services/copilot/help/help.shared.js +0 -1
- package/lib/src/services/copilot/recommendations/recommendations.class.d.ts +2 -2
- package/lib/src/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
- package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
- package/lib/src/services/currencies/currencies.class.d.ts +2 -2
- package/lib/src/services/currencies/currencies.shared.js +0 -1
- package/lib/src/services/custom/custom.shared.js +0 -1
- package/lib/src/services/emails/emails.class.d.ts +2 -2
- package/lib/src/services/emails/emails.shared.js +0 -1
- package/lib/src/services/events/events.class.d.ts +2 -2
- package/lib/src/services/events/events.shared.js +0 -1
- package/lib/src/services/events/triggers/triggers.class.d.ts +2 -2
- package/lib/src/services/events/triggers/triggers.shared.js +0 -1
- package/lib/src/services/events/types/types.class.d.ts +2 -2
- package/lib/src/services/events/types/types.shared.js +0 -1
- package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
- package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
- package/lib/src/services/exchanges/balance/balance.class.d.ts +2 -2
- package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/deposits.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -8
- package/lib/src/services/exchanges/download/download.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/download.shared.js +0 -1
- package/lib/src/services/exchanges/download/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/exchanges/exchanges.class.d.ts +2 -2
- package/lib/src/services/exchanges/exchanges.shared.js +0 -1
- package/lib/src/services/exchanges/ledger/ledger.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -2
- package/lib/src/services/exchanges/ledger/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
- package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/history/history.class.d.ts +2 -2
- package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
- package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
- package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
- package/lib/src/services/exchanges/ticker/ticker.class.d.ts +2 -2
- package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/transactions.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
- package/lib/src/services/extensions/extensions.class.d.ts +2 -2
- package/lib/src/services/extensions/extensions.shared.js +0 -1
- package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
- package/lib/src/services/homepage/homepage.shared.js +0 -1
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +2 -14
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
- package/lib/src/services/insights/etf-flow/etf-flow.class.d.ts +2 -2
- package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.class.d.ts +2 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
- package/lib/src/services/insights/global/global.class.d.ts +2 -2
- package/lib/src/services/insights/global/global.shared.js +0 -1
- package/lib/src/services/insights/insights.class.d.ts +2 -2
- package/lib/src/services/insights/insights.hooks.d.ts +0 -11
- package/lib/src/services/insights/insights.shared.js +0 -1
- package/lib/src/services/insights/news/news.class.d.ts +2 -5
- package/lib/src/services/insights/news/news.shared.js +0 -1
- package/lib/src/services/keys/KeysService.d.ts +2 -2
- package/lib/src/services/keys/keys.class.d.ts +2 -2
- package/lib/src/services/keys/keys.shared.js +0 -1
- package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
- package/lib/src/services/knowledges/knowledges.shared.js +0 -1
- package/lib/src/services/mailer/mailer.shared.js +0 -1
- package/lib/src/services/marketplaces/marketplaces.class.d.ts +2 -2
- package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
- package/lib/src/services/markets/markets.class.d.ts +2 -2
- package/lib/src/services/markets/markets.shared.js +0 -1
- package/lib/src/services/messages/messages.class.d.ts +2 -2
- package/lib/src/services/messages/messages.shared.js +0 -1
- package/lib/src/services/models/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/models/pods/events/events.schema.d.ts +3 -3
- package/lib/src/services/models/pods/events/events.shared.js +0 -1
- package/lib/src/services/models/pods/pods.class.d.ts +2 -2
- package/lib/src/services/models/pods/pods.shared.js +0 -1
- package/lib/src/services/models/presets/presets.class.d.ts +2 -2
- package/lib/src/services/models/presets/presets.shared.js +0 -1
- package/lib/src/services/models/signals/history/history.class.d.ts +2 -2
- package/lib/src/services/models/signals/history/history.shared.js +0 -1
- package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
- package/lib/src/services/models/signals/signals.class.d.ts +2 -2
- package/lib/src/services/models/signals/signals.shared.js +0 -1
- package/lib/src/services/models/signals/subscriptions/subscriptions.class.d.ts +2 -2
- package/lib/src/services/models/signals/subscriptions/subscriptions.schema.d.ts +3 -3
- package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
- package/lib/src/services/objectives/objectives.class.d.ts +2 -2
- package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
- package/lib/src/services/objectives/objectives.shared.js +0 -1
- package/lib/src/services/plans/plans.shared.js +0 -1
- package/lib/src/services/referrals/referrals.class.d.ts +2 -2
- package/lib/src/services/referrals/referrals.shared.js +0 -1
- package/lib/src/services/restricted/restricted.d.ts +0 -11
- package/lib/src/services/restricted/restricted.shared.js +0 -1
- package/lib/src/services/security/events/security-events.schema.d.ts +71 -71
- package/lib/src/services/security/events/security-events.shared.js +0 -1
- package/lib/src/services/series/balance/balance.class.d.ts +2 -2
- package/lib/src/services/series/balance/balance.shared.js +7 -2
- package/lib/src/services/series/performance/performance.class.d.ts +2 -2
- package/lib/src/services/series/performance/performance.shared.js +0 -1
- package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
- package/lib/src/services/snapshot/snapshot.class.d.ts +2 -2
- package/lib/src/services/snapshot/snapshot.schema.d.ts +1040 -336
- package/lib/src/services/snapshot/snapshot.shared.js +0 -2
- package/lib/src/services/store/items/items.class.d.ts +2 -2
- package/lib/src/services/store/items/items.shared.js +0 -1
- package/lib/src/services/strategies/ai/ai.class.d.ts +2 -2
- package/lib/src/services/strategies/ai/ai.shared.js +0 -1
- package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
- package/lib/src/services/strategies/backtest/backtest.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/backtest.schema.d.ts +234 -134
- package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
- package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
- package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
- package/lib/src/services/strategies/backtest/results/results.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
- package/lib/src/services/strategies/blob/blob.shared.js +0 -1
- package/lib/src/services/strategies/follow/follow.class.d.ts +2 -2
- package/lib/src/services/strategies/follow/follow.shared.js +0 -1
- package/lib/src/services/strategies/generate/generate.class.d.ts +2 -2
- package/lib/src/services/strategies/generate/generate.schema.d.ts +80 -84
- package/lib/src/services/strategies/generate/generate.shared.js +0 -1
- package/lib/src/services/strategies/history/history.class.d.ts +2 -2
- package/lib/src/services/strategies/history/history.schema.d.ts +152 -152
- package/lib/src/services/strategies/history/history.shared.js +0 -1
- package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
- package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
- package/lib/src/services/strategies/hyperopt/hyperopt.class.d.ts +2 -2
- package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
- package/lib/src/services/strategies/indicators/indicators.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
- package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
- package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
- package/lib/src/services/strategies/research/research.class.d.ts +2 -2
- package/lib/src/services/strategies/research/research.schema.d.ts +72 -87
- package/lib/src/services/strategies/research/research.shared.js +0 -1
- package/lib/src/services/strategies/strategies.class.d.ts +2 -2
- package/lib/src/services/strategies/strategies.schema.d.ts +455 -36
- package/lib/src/services/strategies/strategies.shared.js +0 -1
- package/lib/src/services/strategies/templates/templates.class.d.ts +2 -2
- package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
- package/lib/src/services/strategies/templates/templates.shared.js +0 -1
- package/lib/src/services/stripe/charges/charges.shared.js +0 -1
- package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
- package/lib/src/services/stripe/customers/customers.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
- package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
- package/lib/src/services/stripe/products/products.shared.js +0 -1
- package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/support/support.shared.js +0 -1
- package/lib/src/services/tasks/comments/comments.class.d.ts +2 -2
- package/lib/src/services/tasks/comments/comments.shared.js +0 -1
- package/lib/src/services/tasks/tasks.class.d.ts +2 -2
- package/lib/src/services/tasks/tasks.hooks.d.ts +0 -73
- package/lib/src/services/tasks/tasks.shared.js +0 -1
- package/lib/src/services/tax/research/research.class.d.ts +2 -2
- package/lib/src/services/tax/research/research.shared.js +7 -2
- package/lib/src/services/tax/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/tax/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/sessions.schema.d.ts +72 -72
- package/lib/src/services/tax/sessions/sessions.shared.js +7 -2
- package/lib/src/services/telegram/link/link.class.d.ts +0 -8
- package/lib/src/services/telegram/link/link.shared.js +0 -1
- package/lib/src/services/telegram/telegram.class.d.ts +0 -5
- package/lib/src/services/telegram/telegram.shared.js +0 -1
- package/lib/src/services/toggles/toggles.shared.js +0 -1
- package/lib/src/services/tokens/tokens.class.d.ts +2 -2
- package/lib/src/services/tokens/tokens.schema.d.ts +72 -72
- package/lib/src/services/tokens/tokens.shared.js +0 -1
- package/lib/src/services/traders/pods/api/api.class.d.ts +2 -2
- package/lib/src/services/traders/pods/api/api.schema.d.ts +496 -48
- package/lib/src/services/traders/pods/api/api.shared.js +0 -1
- package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
- package/lib/src/services/traders/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/traders/pods/events/events.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/events/events.shared.js +0 -1
- package/lib/src/services/traders/pods/pods.class.d.ts +2 -2
- package/lib/src/services/traders/pods/pods.schema.d.ts +621 -117
- package/lib/src/services/traders/pods/pods.shared.js +0 -1
- package/lib/src/services/traders/pods/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/traders/pods/webhooks/webhooks.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/traders/traders.class.d.ts +2 -2
- package/lib/src/services/traders/traders.shared.js +0 -1
- package/lib/src/services/trades/trades.class.d.ts +2 -2
- package/lib/src/services/trades/trades.shared.js +0 -1
- package/lib/src/services/users/access/access.class.d.ts +2 -2
- package/lib/src/services/users/access/access.schema.d.ts +70 -70
- package/lib/src/services/users/access/access.shared.js +7 -2
- package/lib/src/services/users/marketing/campaigns/12-bot-no-trades.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/13-trial-ending-cold.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/14-trial-ending-engaged.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/15-eve-followup-14d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/16-eve-followup-30d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +1 -11
- package/lib/src/services/users/marketing/marketing.class.d.ts +2 -6
- package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
- package/lib/src/services/users/marketing/marketing.shared.js +0 -1
- package/lib/src/services/users/onboarding/onboarding.class.d.ts +2 -2
- package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
- package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
- package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
- package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
- package/lib/src/services/users/sessions/sessions.schema.d.ts +70 -78
- package/lib/src/services/users/sessions/sessions.shared.js +0 -1
- package/lib/src/services/users/users.class.d.ts +0 -1
- package/lib/src/services/users/users.schema.d.ts +0 -13
- package/lib/src/services/users/users.shared.d.ts +1 -3
- package/lib/src/services/users/users.shared.js +0 -1
- package/lib/src/services/version/version.shared.js +0 -1
- package/package.json +1 -1
- package/lib/src/services/advisor/advisor.hooks.d.ts +0 -9
- package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -11
|
@@ -3,19 +3,15 @@ import type { HookContext } from '../../../declarations';
|
|
|
3
3
|
import type { UsersSessionsService } from './sessions.class';
|
|
4
4
|
export declare const usersSessionsSchema: import("@feathersjs/typebox").TObject<{
|
|
5
5
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
6
|
-
userId: import("@feathersjs/typebox").TString<string>;
|
|
7
|
-
/** JWT id claim — used to match / revoke a specific token */
|
|
6
|
+
userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
8
7
|
jti: import("@feathersjs/typebox").TString<string>;
|
|
9
8
|
strategy: import("@feathersjs/typebox").TString<string>;
|
|
10
9
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
11
10
|
userAgent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
12
|
-
/** Parsed UA family, e.g. "Chrome 125 / macOS" */
|
|
13
11
|
deviceLabel: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
14
12
|
country: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
15
13
|
city: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
16
|
-
/** SHA-256 fingerprint sent by the frontend (optional) */
|
|
17
14
|
fingerprint: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
18
|
-
/** Risk score computed at login (0-100) */
|
|
19
15
|
riskScore: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
20
16
|
active: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
21
17
|
revokedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -26,7 +22,7 @@ export type UsersSessions = Static<typeof usersSessionsSchema>;
|
|
|
26
22
|
export declare const usersSessionsValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
27
23
|
export declare const usersSessionsResolver: import("@feathersjs/schema").Resolver<{
|
|
28
24
|
_id: string | {};
|
|
29
|
-
userId: string;
|
|
25
|
+
userId: string | {};
|
|
30
26
|
jti: string;
|
|
31
27
|
strategy: string;
|
|
32
28
|
ip?: string | undefined;
|
|
@@ -43,7 +39,7 @@ export declare const usersSessionsResolver: import("@feathersjs/schema").Resolve
|
|
|
43
39
|
}, HookContext<UsersSessionsService<import("./sessions.class").UsersSessionsParams>>>;
|
|
44
40
|
export declare const usersSessionsExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
45
41
|
_id: string | {};
|
|
46
|
-
userId: string;
|
|
42
|
+
userId: string | {};
|
|
47
43
|
jti: string;
|
|
48
44
|
strategy: string;
|
|
49
45
|
ip?: string | undefined;
|
|
@@ -59,7 +55,7 @@ export declare const usersSessionsExternalResolver: import("@feathersjs/schema")
|
|
|
59
55
|
createdAt?: any;
|
|
60
56
|
}, HookContext<UsersSessionsService<import("./sessions.class").UsersSessionsParams>>>;
|
|
61
57
|
export declare const usersSessionsDataSchema: import("@feathersjs/typebox").TObject<{
|
|
62
|
-
userId: import("@feathersjs/typebox").TString<string>;
|
|
58
|
+
userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
63
59
|
jti: import("@feathersjs/typebox").TString<string>;
|
|
64
60
|
strategy: import("@feathersjs/typebox").TString<string>;
|
|
65
61
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -76,7 +72,7 @@ export type UsersSessionsData = Static<typeof usersSessionsDataSchema>;
|
|
|
76
72
|
export declare const usersSessionsDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
77
73
|
export declare const usersSessionsDataResolver: import("@feathersjs/schema").Resolver<{
|
|
78
74
|
_id: string | {};
|
|
79
|
-
userId: string;
|
|
75
|
+
userId: string | {};
|
|
80
76
|
jti: string;
|
|
81
77
|
strategy: string;
|
|
82
78
|
ip?: string | undefined;
|
|
@@ -103,19 +99,15 @@ export declare const usersSessionsPatchResolver: import("@feathersjs/schema").Re
|
|
|
103
99
|
}>, HookContext<UsersSessionsService<import("./sessions.class").UsersSessionsParams>>>;
|
|
104
100
|
export declare const usersSessionsQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
105
101
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
106
|
-
userId: import("@feathersjs/typebox").TString<string>;
|
|
107
|
-
/** JWT id claim — used to match / revoke a specific token */
|
|
102
|
+
userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
108
103
|
jti: import("@feathersjs/typebox").TString<string>;
|
|
109
104
|
strategy: import("@feathersjs/typebox").TString<string>;
|
|
110
105
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
111
106
|
userAgent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
112
|
-
/** Parsed UA family, e.g. "Chrome 125 / macOS" */
|
|
113
107
|
deviceLabel: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
114
108
|
country: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
115
109
|
city: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
116
|
-
/** SHA-256 fingerprint sent by the frontend (optional) */
|
|
117
110
|
fingerprint: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
118
|
-
/** Risk score computed at login (0-100) */
|
|
119
111
|
riskScore: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
120
112
|
active: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
121
113
|
revokedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -202,14 +194,14 @@ export declare const usersSessionsQuerySchema: import("@feathersjs/typebox").TIn
|
|
|
202
194
|
}>, import("@feathersjs/typebox").TObject<{
|
|
203
195
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
204
196
|
} | undefined>]>>]>>;
|
|
205
|
-
userId: 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<{
|
|
206
|
-
$gt: import("@feathersjs/typebox").TString<string>;
|
|
207
|
-
$gte: import("@feathersjs/typebox").TString<string>;
|
|
208
|
-
$lt: import("@feathersjs/typebox").TString<string>;
|
|
209
|
-
$lte: import("@feathersjs/typebox").TString<string>;
|
|
210
|
-
$ne: import("@feathersjs/typebox").TString<string>;
|
|
211
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
212
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
197
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
198
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
199
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
200
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
201
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
202
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
203
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
204
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
213
205
|
}>, import("@feathersjs/typebox").TObject<{
|
|
214
206
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
215
207
|
} | undefined>]>>]>>;
|
|
@@ -281,14 +273,14 @@ export declare const usersSessionsQuerySchema: import("@feathersjs/typebox").TIn
|
|
|
281
273
|
}>, import("@feathersjs/typebox").TObject<{
|
|
282
274
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
283
275
|
} | undefined>]>>]>>;
|
|
284
|
-
userId: 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<{
|
|
285
|
-
$gt: import("@feathersjs/typebox").TString<string>;
|
|
286
|
-
$gte: import("@feathersjs/typebox").TString<string>;
|
|
287
|
-
$lt: import("@feathersjs/typebox").TString<string>;
|
|
288
|
-
$lte: import("@feathersjs/typebox").TString<string>;
|
|
289
|
-
$ne: import("@feathersjs/typebox").TString<string>;
|
|
290
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
291
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
276
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
277
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
278
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
279
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
280
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
281
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
282
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
283
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
292
284
|
}>, import("@feathersjs/typebox").TObject<{
|
|
293
285
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
294
286
|
} | undefined>]>>]>>;
|
|
@@ -361,14 +353,14 @@ export declare const usersSessionsQuerySchema: import("@feathersjs/typebox").TIn
|
|
|
361
353
|
}>, import("@feathersjs/typebox").TObject<{
|
|
362
354
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
363
355
|
} | undefined>]>>]>>;
|
|
364
|
-
userId: 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<{
|
|
365
|
-
$gt: import("@feathersjs/typebox").TString<string>;
|
|
366
|
-
$gte: import("@feathersjs/typebox").TString<string>;
|
|
367
|
-
$lt: import("@feathersjs/typebox").TString<string>;
|
|
368
|
-
$lte: import("@feathersjs/typebox").TString<string>;
|
|
369
|
-
$ne: import("@feathersjs/typebox").TString<string>;
|
|
370
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
371
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
356
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
357
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
358
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
359
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
360
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
361
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
362
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
363
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
372
364
|
}>, import("@feathersjs/typebox").TObject<{
|
|
373
365
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
374
366
|
} | undefined>]>>]>>;
|
|
@@ -440,14 +432,14 @@ export declare const usersSessionsQuerySchema: import("@feathersjs/typebox").TIn
|
|
|
440
432
|
}>, import("@feathersjs/typebox").TObject<{
|
|
441
433
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
442
434
|
} | undefined>]>>]>>;
|
|
443
|
-
userId: 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<{
|
|
444
|
-
$gt: import("@feathersjs/typebox").TString<string>;
|
|
445
|
-
$gte: import("@feathersjs/typebox").TString<string>;
|
|
446
|
-
$lt: import("@feathersjs/typebox").TString<string>;
|
|
447
|
-
$lte: import("@feathersjs/typebox").TString<string>;
|
|
448
|
-
$ne: import("@feathersjs/typebox").TString<string>;
|
|
449
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
450
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
|
|
435
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
436
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
437
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
438
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
439
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
440
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
441
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
442
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
451
443
|
}>, import("@feathersjs/typebox").TObject<{
|
|
452
444
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
453
445
|
} | undefined>]>>]>>;
|
|
@@ -515,14 +507,14 @@ export declare const usersSessionsQueryResolver: import("@feathersjs/schema").Re
|
|
|
515
507
|
$nin: string | string[];
|
|
516
508
|
} & {}> | undefined;
|
|
517
509
|
userId?: string | Partial<{
|
|
518
|
-
$gt: string;
|
|
519
|
-
$gte: string;
|
|
520
|
-
$lt: string;
|
|
521
|
-
$lte: string;
|
|
522
|
-
$ne: string;
|
|
523
|
-
$in: string | string[];
|
|
524
|
-
$nin: string | string[];
|
|
525
|
-
} & {}> | undefined;
|
|
510
|
+
$gt: string | {};
|
|
511
|
+
$gte: string | {};
|
|
512
|
+
$lt: string | {};
|
|
513
|
+
$lte: string | {};
|
|
514
|
+
$ne: string | {};
|
|
515
|
+
$in: string | (string | {})[] | {};
|
|
516
|
+
$nin: string | (string | {})[] | {};
|
|
517
|
+
} & {}> | {} | undefined;
|
|
526
518
|
} | {
|
|
527
519
|
$or: {
|
|
528
520
|
_id?: string | Partial<{
|
|
@@ -572,14 +564,14 @@ export declare const usersSessionsQueryResolver: import("@feathersjs/schema").Re
|
|
|
572
564
|
$nin: string | string[];
|
|
573
565
|
} & {}> | undefined;
|
|
574
566
|
userId?: string | Partial<{
|
|
575
|
-
$gt: string;
|
|
576
|
-
$gte: string;
|
|
577
|
-
$lt: string;
|
|
578
|
-
$lte: string;
|
|
579
|
-
$ne: string;
|
|
580
|
-
$in: string | string[];
|
|
581
|
-
$nin: string | string[];
|
|
582
|
-
} & {}> | undefined;
|
|
567
|
+
$gt: string | {};
|
|
568
|
+
$gte: string | {};
|
|
569
|
+
$lt: string | {};
|
|
570
|
+
$lte: string | {};
|
|
571
|
+
$ne: string | {};
|
|
572
|
+
$in: string | (string | {})[] | {};
|
|
573
|
+
$nin: string | (string | {})[] | {};
|
|
574
|
+
} & {}> | {} | undefined;
|
|
583
575
|
}[];
|
|
584
576
|
})[];
|
|
585
577
|
$or: {
|
|
@@ -630,14 +622,14 @@ export declare const usersSessionsQueryResolver: import("@feathersjs/schema").Re
|
|
|
630
622
|
$nin: string | string[];
|
|
631
623
|
} & {}> | undefined;
|
|
632
624
|
userId?: string | Partial<{
|
|
633
|
-
$gt: string;
|
|
634
|
-
$gte: string;
|
|
635
|
-
$lt: string;
|
|
636
|
-
$lte: string;
|
|
637
|
-
$ne: string;
|
|
638
|
-
$in: string | string[];
|
|
639
|
-
$nin: string | string[];
|
|
640
|
-
} & {}> | undefined;
|
|
625
|
+
$gt: string | {};
|
|
626
|
+
$gte: string | {};
|
|
627
|
+
$lt: string | {};
|
|
628
|
+
$lte: string | {};
|
|
629
|
+
$ne: string | {};
|
|
630
|
+
$in: string | (string | {})[] | {};
|
|
631
|
+
$nin: string | (string | {})[] | {};
|
|
632
|
+
} & {}> | {} | undefined;
|
|
641
633
|
}[];
|
|
642
634
|
}> & {
|
|
643
635
|
_id?: string | Partial<{
|
|
@@ -687,12 +679,12 @@ export declare const usersSessionsQueryResolver: import("@feathersjs/schema").Re
|
|
|
687
679
|
$nin: string | string[];
|
|
688
680
|
} & {}> | undefined;
|
|
689
681
|
userId?: string | Partial<{
|
|
690
|
-
$gt: string;
|
|
691
|
-
$gte: string;
|
|
692
|
-
$lt: string;
|
|
693
|
-
$lte: string;
|
|
694
|
-
$ne: string;
|
|
695
|
-
$in: string | string[];
|
|
696
|
-
$nin: string | string[];
|
|
697
|
-
} & {}> | undefined;
|
|
682
|
+
$gt: string | {};
|
|
683
|
+
$gte: string | {};
|
|
684
|
+
$lt: string | {};
|
|
685
|
+
$lte: string | {};
|
|
686
|
+
$ne: string | {};
|
|
687
|
+
$in: string | (string | {})[] | {};
|
|
688
|
+
$nin: string | (string | {})[] | {};
|
|
689
|
+
} & {}> | {} | undefined;
|
|
698
690
|
} & {}, HookContext<UsersSessionsService<import("./sessions.class").UsersSessionsParams>>>;
|
|
@@ -419,7 +419,6 @@ declare const MemoryWithOnboardInternal_base: {
|
|
|
419
419
|
} & typeof MemoryService;
|
|
420
420
|
declare class MemoryWithOnboardInternal extends MemoryWithOnboardInternal_base {
|
|
421
421
|
}
|
|
422
|
-
/** Public test double that only mentions **MemoryService** */
|
|
423
422
|
export declare class MemoryUserService extends MemoryWithOnboardInternal {
|
|
424
423
|
}
|
|
425
424
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -181,9 +181,7 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
181
181
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
182
182
|
lastLoginAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
183
183
|
skipEmailVerification: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
184
|
-
/** Computed server-side: true when the require-credit-card feature flag evaluates true for this user */
|
|
185
184
|
requiresCreditCard: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
186
|
-
/** Signup survey answers collected during the credit-card wall flow */
|
|
187
185
|
signupSurvey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
188
186
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
189
187
|
traderType: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -725,9 +723,7 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
725
723
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
726
724
|
lastLoginAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
727
725
|
skipEmailVerification: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
728
|
-
/** Computed server-side: true when the require-credit-card feature flag evaluates true for this user */
|
|
729
726
|
requiresCreditCard: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
730
|
-
/** Signup survey answers collected during the credit-card wall flow */
|
|
731
727
|
signupSurvey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
732
728
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
733
729
|
traderType: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -1089,9 +1085,7 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
1089
1085
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1090
1086
|
lastLoginAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1091
1087
|
skipEmailVerification: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
1092
|
-
/** Computed server-side: true when the require-credit-card feature flag evaluates true for this user */
|
|
1093
1088
|
requiresCreditCard: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
1094
|
-
/** Signup survey answers collected during the credit-card wall flow */
|
|
1095
1089
|
signupSurvey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1096
1090
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
1097
1091
|
traderType: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -1279,11 +1273,6 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
1279
1273
|
traderType?: string | undefined;
|
|
1280
1274
|
} | undefined;
|
|
1281
1275
|
}, HookContext<UserService>>;
|
|
1282
|
-
/**
|
|
1283
|
-
* Before-patch hook: strips any field not in the allowlist when the request
|
|
1284
|
-
* comes from an external provider (REST / Socket.io). Internal callers
|
|
1285
|
-
* (provider === undefined) are unaffected.
|
|
1286
|
-
*/
|
|
1287
1276
|
export declare const sanitizeExternalPatch: (context: any) => Promise<any>;
|
|
1288
1277
|
export declare const userQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
1289
1278
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -1459,9 +1448,7 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
1459
1448
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1460
1449
|
lastLoginAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1461
1450
|
skipEmailVerification: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
1462
|
-
/** Computed server-side: true when the require-credit-card feature flag evaluates true for this user */
|
|
1463
1451
|
requiresCreditCard: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
1464
|
-
/** Signup survey answers collected during the credit-card wall flow */
|
|
1465
1452
|
signupSurvey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1466
1453
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
1467
1454
|
traderType: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ClientApplication } from '../../client';
|
|
2
2
|
import type { User, UserData, UserPatch, UserQuery, UserService } from './users.class';
|
|
3
3
|
export type { User, UserData, UserPatch, UserQuery };
|
|
4
|
-
|
|
5
|
-
export type UserClientService = Pick<UserService, // ← no generics – class is concrete
|
|
6
|
-
(typeof userMethods)[number]>;
|
|
4
|
+
export type UserClientService = Pick<UserService, (typeof userMethods)[number]>;
|
|
7
5
|
export declare const userPath = "users";
|
|
8
6
|
export declare const userMethods: readonly ['get', 'create', 'patch', 'find', 'remove'];
|
|
9
7
|
export declare const userClient: (client: ClientApplication) => void;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { HookContext } from '../../declarations';
|
|
2
|
-
/**
|
|
3
|
-
* Convert ObjectId instances to strings in data to match schema expectations
|
|
4
|
-
*/
|
|
5
|
-
export declare const convertObjectIdsInData: (context: HookContext) => Promise<HookContext>;
|
|
6
|
-
/**
|
|
7
|
-
* Convert ObjectId instances to strings in query parameters
|
|
8
|
-
*/
|
|
9
|
-
export declare const convertObjectIdsInQuery: (context: HookContext) => Promise<HookContext>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HookContext } from '@feathersjs/feathers';
|
|
2
|
-
/**
|
|
3
|
-
* Convert ObjectId fields to strings in query parameters
|
|
4
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
5
|
-
*/
|
|
6
|
-
export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
7
|
-
/**
|
|
8
|
-
* Convert ObjectId fields to strings in data (userId and agentId)
|
|
9
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
10
|
-
*/
|
|
11
|
-
export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HookContext } from '@feathersjs/feathers';
|
|
2
|
-
/**
|
|
3
|
-
* Convert ObjectId fields to strings in query parameters
|
|
4
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
5
|
-
*/
|
|
6
|
-
export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
7
|
-
/**
|
|
8
|
-
* Convert ObjectId fields to strings in data (agentId)
|
|
9
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
10
|
-
*/
|
|
11
|
-
export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HookContext } from '@feathersjs/feathers';
|
|
2
|
-
/**
|
|
3
|
-
* Convert ObjectId fields to strings in query parameters
|
|
4
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
5
|
-
*/
|
|
6
|
-
export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
7
|
-
/**
|
|
8
|
-
* Convert ObjectId fields to strings in data (userId)
|
|
9
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
10
|
-
*/
|
|
11
|
-
export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HookContext } from '@feathersjs/feathers';
|
|
2
|
-
/**
|
|
3
|
-
* Convert ObjectId fields to strings in query parameters
|
|
4
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
5
|
-
*/
|
|
6
|
-
export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
7
|
-
/**
|
|
8
|
-
* Convert ObjectId fields to strings in data
|
|
9
|
-
* This ensures ObjectIds are converted to strings before schema validation
|
|
10
|
-
*/
|
|
11
|
-
export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|