@cryptorobot.ai/client 1.26.0-dev.999 → 1.28.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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Static } from '@feathersjs/typebox';
|
|
2
2
|
import type { HookContext } from '../../../declarations';
|
|
3
3
|
import type { SecurityEventsService } from './security-events.class';
|
|
4
|
-
export declare const SECURITY_EVENT_TYPES: readonly ['login', 'login_failed', 'login_new_device', 'login_new_country', 'login_impossible_travel', 'login_high_risk', 'login_brute_force', 'password_change', 'password_reset_request', 'password_reset_complete', 'password_breached', 'account_locked', 'account_unlocked', 'session_revoked', 'session_revoke_all', 'signup', 'signup_blocked', 'patch_blocked_fields', 'mfa_enrolled', 'mfa_verified', 'mfa_failed', 'api_key_created', 'api_key_revoked', 'role_change', 'blocked', 'admin_action', 'honeypot_dotfile_probe', 'honeypot_swagger_probe', 'honeypot_cms_probe', 'honeypot_graphql_probe', 'honeypot_actuator_probe', 'honeypot_admin_probe', 'honeypot_data_exfil_probe', 'honeypot_auth_bypass_probe', 'honeypot_socketio_probe'];
|
|
4
|
+
export declare const SECURITY_EVENT_TYPES: readonly ['login', 'login_failed', 'login_new_device', 'login_new_country', 'login_impossible_travel', 'login_high_risk', 'login_brute_force', 'password_change', 'password_reset_request', 'password_reset_complete', 'password_breached', 'account_locked', 'account_unlocked', 'session_revoked', 'session_revoke_all', 'signup', 'signup_blocked', 'patch_blocked_fields', 'mfa_enrolled', 'mfa_verified', 'mfa_failed', 'api_key_created', 'api_key_revoked', 'role_change', 'blocked', 'admin_action', 'honeypot_dotfile_probe', 'honeypot_swagger_probe', 'honeypot_cms_probe', 'honeypot_graphql_probe', 'honeypot_actuator_probe', 'honeypot_admin_probe', 'honeypot_data_exfil_probe', 'honeypot_auth_bypass_probe', 'honeypot_socketio_probe', 'honeypot_cloud_cred_probe', 'honeypot_cicd_probe', 'honeypot_app_config_probe', 'honeypot_config_file_probe', 'honeypot_env_variant_probe', 'honeypot_js_source_probe'];
|
|
5
5
|
export type SecurityEventType = (typeof SECURITY_EVENT_TYPES)[number];
|
|
6
6
|
export declare const securityEventsSchema: import("@feathersjs/typebox").TObject<{
|
|
7
7
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
8
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
8
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
9
9
|
event: import("@feathersjs/typebox").TString<string>;
|
|
10
10
|
severity: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"info">, import("@feathersjs/typebox").TLiteral<"warn">, import("@feathersjs/typebox").TLiteral<"critical">]>;
|
|
11
11
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -20,7 +20,7 @@ export type SecurityEvents = Static<typeof securityEventsSchema>;
|
|
|
20
20
|
export declare const securityEventsValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
21
21
|
export declare const securityEventsResolver: import("@feathersjs/schema").Resolver<{
|
|
22
22
|
_id: string | {};
|
|
23
|
-
userId?: string | undefined;
|
|
23
|
+
userId?: string | {} | undefined;
|
|
24
24
|
event: string;
|
|
25
25
|
severity: "critical" | "info" | "warn";
|
|
26
26
|
ip?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const securityEventsResolver: import("@feathersjs/schema").Resolv
|
|
|
33
33
|
}, HookContext<SecurityEventsService<import("./security-events.class").SecurityEventsParams>>>;
|
|
34
34
|
export declare const securityEventsExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
35
35
|
_id: string | {};
|
|
36
|
-
userId?: string | undefined;
|
|
36
|
+
userId?: string | {} | undefined;
|
|
37
37
|
event: string;
|
|
38
38
|
severity: "critical" | "info" | "warn";
|
|
39
39
|
ip?: string | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const securityEventsExternalResolver: import("@feathersjs/schema"
|
|
|
45
45
|
createdAt?: any;
|
|
46
46
|
}, HookContext<SecurityEventsService<import("./security-events.class").SecurityEventsParams>>>;
|
|
47
47
|
export declare const securityEventsDataSchema: import("@feathersjs/typebox").TObject<{
|
|
48
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
48
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
49
49
|
event: import("@feathersjs/typebox").TString<string>;
|
|
50
50
|
severity: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"info">, import("@feathersjs/typebox").TLiteral<"warn">, import("@feathersjs/typebox").TLiteral<"critical">]>;
|
|
51
51
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -59,7 +59,7 @@ export type SecurityEventsData = Static<typeof securityEventsDataSchema>;
|
|
|
59
59
|
export declare const securityEventsDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
60
60
|
export declare const securityEventsDataResolver: import("@feathersjs/schema").Resolver<{
|
|
61
61
|
_id: string | {};
|
|
62
|
-
userId?: string | undefined;
|
|
62
|
+
userId?: string | {} | undefined;
|
|
63
63
|
event: string;
|
|
64
64
|
severity: "critical" | "info" | "warn";
|
|
65
65
|
ip?: string | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const securityEventsPatchValidator: import("@feathersjs/schema").
|
|
|
76
76
|
export declare const securityEventsPatchResolver: import("@feathersjs/schema").Resolver<{}, HookContext<SecurityEventsService<import("./security-events.class").SecurityEventsParams>>>;
|
|
77
77
|
export declare const securityEventsQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
78
78
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
79
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
79
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
80
80
|
event: import("@feathersjs/typebox").TString<string>;
|
|
81
81
|
severity: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"info">, import("@feathersjs/typebox").TLiteral<"warn">, import("@feathersjs/typebox").TLiteral<"critical">]>;
|
|
82
82
|
ip: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -143,14 +143,14 @@ export declare const securityEventsQuerySchema: import("@feathersjs/typebox").TI
|
|
|
143
143
|
}>, import("@feathersjs/typebox").TObject<{
|
|
144
144
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
145
145
|
} | undefined>]>>]>>;
|
|
146
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
147
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
148
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
149
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
150
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
151
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
152
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
153
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
146
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<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<{
|
|
147
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
148
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
149
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
150
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
151
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
152
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
153
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
154
154
|
}>, import("@feathersjs/typebox").TObject<{
|
|
155
155
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
156
156
|
} | undefined>]>>]>>;
|
|
@@ -200,14 +200,14 @@ export declare const securityEventsQuerySchema: import("@feathersjs/typebox").TI
|
|
|
200
200
|
}>, import("@feathersjs/typebox").TObject<{
|
|
201
201
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
202
202
|
} | undefined>]>>]>>;
|
|
203
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
204
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
205
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
206
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
207
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
208
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
209
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
210
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
203
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<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<{
|
|
204
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
205
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
206
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
207
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
208
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
209
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
210
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
211
211
|
}>, import("@feathersjs/typebox").TObject<{
|
|
212
212
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
213
213
|
} | undefined>]>>]>>;
|
|
@@ -258,14 +258,14 @@ export declare const securityEventsQuerySchema: import("@feathersjs/typebox").TI
|
|
|
258
258
|
}>, import("@feathersjs/typebox").TObject<{
|
|
259
259
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
260
260
|
} | undefined>]>>]>>;
|
|
261
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
262
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
263
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
264
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
265
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
266
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
267
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
268
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
261
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<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<{
|
|
262
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
263
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
264
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
265
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
266
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
267
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
268
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
269
269
|
}>, import("@feathersjs/typebox").TObject<{
|
|
270
270
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
271
271
|
} | undefined>]>>]>>;
|
|
@@ -315,14 +315,14 @@ export declare const securityEventsQuerySchema: import("@feathersjs/typebox").TI
|
|
|
315
315
|
}>, import("@feathersjs/typebox").TObject<{
|
|
316
316
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
317
317
|
} | undefined>]>>]>>;
|
|
318
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
319
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
320
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
321
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
322
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
323
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
324
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
325
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
318
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<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<{
|
|
319
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
320
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
321
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
322
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
323
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
324
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
325
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
326
326
|
}>, import("@feathersjs/typebox").TObject<{
|
|
327
327
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
328
328
|
} | undefined>]>>]>>;
|
|
@@ -370,14 +370,14 @@ export declare const securityEventsQueryResolver: import("@feathersjs/schema").R
|
|
|
370
370
|
$nin: "critical" | "info" | "warn" | ("critical" | "info" | "warn")[];
|
|
371
371
|
} & {}> | undefined;
|
|
372
372
|
userId?: string | Partial<{
|
|
373
|
-
$gt?: string | undefined;
|
|
374
|
-
$gte?: string | undefined;
|
|
375
|
-
$lt?: string | undefined;
|
|
376
|
-
$lte?: string | undefined;
|
|
377
|
-
$ne?: string | undefined;
|
|
378
|
-
$in: string | string[];
|
|
379
|
-
$nin: string | string[];
|
|
380
|
-
} & {}> | undefined;
|
|
373
|
+
$gt?: string | {} | undefined;
|
|
374
|
+
$gte?: string | {} | undefined;
|
|
375
|
+
$lt?: string | {} | undefined;
|
|
376
|
+
$lte?: string | {} | undefined;
|
|
377
|
+
$ne?: string | {} | undefined;
|
|
378
|
+
$in: string | (string | {})[] | {};
|
|
379
|
+
$nin: string | (string | {})[] | {};
|
|
380
|
+
} & {}> | {} | undefined;
|
|
381
381
|
} | {
|
|
382
382
|
$or: {
|
|
383
383
|
_id?: string | Partial<{
|
|
@@ -409,14 +409,14 @@ export declare const securityEventsQueryResolver: import("@feathersjs/schema").R
|
|
|
409
409
|
$nin: "critical" | "info" | "warn" | ("critical" | "info" | "warn")[];
|
|
410
410
|
} & {}> | undefined;
|
|
411
411
|
userId?: string | Partial<{
|
|
412
|
-
$gt?: string | undefined;
|
|
413
|
-
$gte?: string | undefined;
|
|
414
|
-
$lt?: string | undefined;
|
|
415
|
-
$lte?: string | undefined;
|
|
416
|
-
$ne?: string | undefined;
|
|
417
|
-
$in: string | string[];
|
|
418
|
-
$nin: string | string[];
|
|
419
|
-
} & {}> | undefined;
|
|
412
|
+
$gt?: string | {} | undefined;
|
|
413
|
+
$gte?: string | {} | undefined;
|
|
414
|
+
$lt?: string | {} | undefined;
|
|
415
|
+
$lte?: string | {} | undefined;
|
|
416
|
+
$ne?: string | {} | undefined;
|
|
417
|
+
$in: string | (string | {})[] | {};
|
|
418
|
+
$nin: string | (string | {})[] | {};
|
|
419
|
+
} & {}> | {} | undefined;
|
|
420
420
|
}[];
|
|
421
421
|
})[];
|
|
422
422
|
$or: {
|
|
@@ -449,14 +449,14 @@ export declare const securityEventsQueryResolver: import("@feathersjs/schema").R
|
|
|
449
449
|
$nin: "critical" | "info" | "warn" | ("critical" | "info" | "warn")[];
|
|
450
450
|
} & {}> | undefined;
|
|
451
451
|
userId?: string | Partial<{
|
|
452
|
-
$gt?: string | undefined;
|
|
453
|
-
$gte?: string | undefined;
|
|
454
|
-
$lt?: string | undefined;
|
|
455
|
-
$lte?: string | undefined;
|
|
456
|
-
$ne?: string | undefined;
|
|
457
|
-
$in: string | string[];
|
|
458
|
-
$nin: string | string[];
|
|
459
|
-
} & {}> | undefined;
|
|
452
|
+
$gt?: string | {} | undefined;
|
|
453
|
+
$gte?: string | {} | undefined;
|
|
454
|
+
$lt?: string | {} | undefined;
|
|
455
|
+
$lte?: string | {} | undefined;
|
|
456
|
+
$ne?: string | {} | undefined;
|
|
457
|
+
$in: string | (string | {})[] | {};
|
|
458
|
+
$nin: string | (string | {})[] | {};
|
|
459
|
+
} & {}> | {} | undefined;
|
|
460
460
|
}[];
|
|
461
461
|
}> & {
|
|
462
462
|
_id?: string | Partial<{
|
|
@@ -488,12 +488,12 @@ export declare const securityEventsQueryResolver: import("@feathersjs/schema").R
|
|
|
488
488
|
$nin: "critical" | "info" | "warn" | ("critical" | "info" | "warn")[];
|
|
489
489
|
} & {}> | undefined;
|
|
490
490
|
userId?: string | Partial<{
|
|
491
|
-
$gt?: string | undefined;
|
|
492
|
-
$gte?: string | undefined;
|
|
493
|
-
$lt?: string | undefined;
|
|
494
|
-
$lte?: string | undefined;
|
|
495
|
-
$ne?: string | undefined;
|
|
496
|
-
$in: string | string[];
|
|
497
|
-
$nin: string | string[];
|
|
498
|
-
} & {}> | undefined;
|
|
491
|
+
$gt?: string | {} | undefined;
|
|
492
|
+
$gte?: string | {} | undefined;
|
|
493
|
+
$lt?: string | {} | undefined;
|
|
494
|
+
$lte?: string | {} | undefined;
|
|
495
|
+
$ne?: string | {} | undefined;
|
|
496
|
+
$in: string | (string | {})[] | {};
|
|
497
|
+
$nin: string | (string | {})[] | {};
|
|
498
|
+
} & {}> | {} | undefined;
|
|
499
499
|
} & {}, HookContext<SecurityEventsService<import("./security-events.class").SecurityEventsParams>>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { SeriesBalance, SeriesBalanceData, SeriesBalancePatch, SeriesBalanceQuery } from './balance.schema';
|
|
6
6
|
export type { SeriesBalance, SeriesBalanceData, SeriesBalancePatch, SeriesBalanceQuery };
|
|
7
7
|
export interface SeriesBalanceParams extends MongoDBAdapterParams<SeriesBalanceQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class SeriesBalanceService<ServiceParams extends Params = SeriesBalanceParams> extends
|
|
9
|
+
export declare class SeriesBalanceService<ServiceParams extends Params = SeriesBalanceParams> extends MongoDBService<SeriesBalance, SeriesBalanceData, SeriesBalanceParams, SeriesBalancePatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.seriesBalanceClient = exports.seriesBalanceMethods = exports.seriesBalancePath = void 0;
|
|
4
4
|
exports.seriesBalancePath = 'series/balance';
|
|
5
|
-
exports.seriesBalanceMethods = [
|
|
5
|
+
exports.seriesBalanceMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const seriesBalanceClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.seriesBalancePath, connection.service(exports.seriesBalancePath), {
|
|
@@ -10,4 +16,3 @@ const seriesBalanceClient = (client) => {
|
|
|
10
16
|
});
|
|
11
17
|
};
|
|
12
18
|
exports.seriesBalanceClient = seriesBalanceClient;
|
|
13
|
-
//# sourceMappingURL=balance.shared.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { SeriesPerformance, SeriesPerformanceData, SeriesPerformancePatch, SeriesPerformanceQuery } from './performance.schema';
|
|
6
6
|
export type { SeriesPerformance, SeriesPerformanceData, SeriesPerformancePatch, SeriesPerformanceQuery };
|
|
7
7
|
export interface SeriesPerformanceParams extends MongoDBAdapterParams<SeriesPerformanceQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class SeriesPerformanceService<ServiceParams extends Params = SeriesPerformanceParams> extends
|
|
9
|
+
export declare class SeriesPerformanceService<ServiceParams extends Params = SeriesPerformanceParams> extends MongoDBService<SeriesPerformance, SeriesPerformanceData, SeriesPerformanceParams, SeriesPerformancePatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Usage examples for the Series Performance service with integrated TimeSeries functionality
|
|
3
|
-
*
|
|
4
|
-
* This demonstrates how to use the FeathersJS service with custom hooks to get
|
|
5
|
-
* chart data and statistics from the timeseries performance collection.
|
|
6
|
-
*/
|
|
7
1
|
import type { Application } from '../../../declarations';
|
|
8
2
|
export declare class PerformanceServiceExamples {
|
|
9
3
|
static getChartData(app: Application, traderId: string, userId: string): Promise<import("@feathersjs/feathers").Paginated<{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../declarations';
|
|
5
5
|
import type { Snapshot, SnapshotData, SnapshotPatch, SnapshotQuery } from './snapshot.schema';
|
|
6
6
|
export type { Snapshot, SnapshotData, SnapshotPatch, SnapshotQuery };
|
|
7
7
|
export interface SnapshotParams extends MongoDBAdapterParams<SnapshotQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class SnapshotService<ServiceParams extends Params = SnapshotParams> extends
|
|
9
|
+
export declare class SnapshotService<ServiceParams extends Params = SnapshotParams> extends MongoDBService<Snapshot, SnapshotData, SnapshotParams, SnapshotPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|