@polyester/sdk 0.36.0-devnet-20261120015159 → 0.36.0-devnet-20261120040128
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/CHANGELOG.md +3 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/activity_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
- package/dist/gen/auth/v1/auth_pb.js +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.d.ts +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/index.js +27 -27
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/strategies/v1/strategies_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/services/account-activity/account-activity.js +1 -1
- package/dist/services/account-activity/account-activity.schemas.d.ts +6 -6
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +3 -3
- package/dist/services/assistant/assistant-events.schemas.d.ts +28 -28
- package/dist/services/assistant/assistant.js +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +1 -1
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +5 -12
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/connected-apps/connected-apps.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
- package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/heatmap/heatmap.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.js +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +6 -6
- package/dist/services/lifecycle/lifecycle.js +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +66 -66
- package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
- package/dist/services/market-data/market-data.js +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.js +1 -1
- package/dist/services/orderbook/orderbook.js +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +9 -9
- package/dist/services/orders/order-errors.schemas.js +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +97 -97
- package/dist/services/orders/orders-batch.schemas.js +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +16 -16
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +16 -16
- package/dist/services/orders/orders-risk.schemas.js +2 -2
- package/dist/services/orders/orders.js +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/shared.codecs.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
- package/dist/services/price-alerts/price-alerts.js +1 -1
- package/dist/services/rate-limits/rate-limits.js +1 -1
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +1 -1
- package/dist/services/statement-exports/statement-exports.js +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/strategies/strategies.js +1 -1
- package/dist/services/strategies/strategies.schemas.d.ts +1 -1
- package/dist/services/subaccounts/subaccounts.js +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +16 -16
- package/dist/services/swap/service.d.ts +8 -0
- package/dist/services/swap/service.d.ts.map +1 -0
- package/dist/services/swap/service.js +9 -0
- package/dist/services/swap/service.js.map +1 -0
- package/dist/services/swap/swap.codecs.d.ts +19 -0
- package/dist/services/swap/swap.codecs.d.ts.map +1 -0
- package/dist/services/swap/swap.codecs.js +39 -0
- package/dist/services/swap/swap.codecs.js.map +1 -0
- package/dist/services/swap/swap.d.ts +51 -0
- package/dist/services/swap/swap.d.ts.map +1 -0
- package/dist/services/swap/swap.js +71 -0
- package/dist/services/swap/swap.js.map +1 -0
- package/dist/services/swap/swap.schemas.d.ts +520 -0
- package/dist/services/swap/swap.schemas.d.ts.map +1 -0
- package/dist/services/swap/swap.schemas.js +213 -0
- package/dist/services/swap/swap.schemas.js.map +1 -0
- package/dist/services/swap/swap.types.d.ts +3 -0
- package/dist/services/system/system.js +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +2 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/trigger-input.schemas.js +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +53 -53
- package/dist/services/triggers/triggers.js +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.js +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -0
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/decimal-surface.d.ts.map +1 -1
- package/dist/shared/decimal-surface.js +11 -1
- package/dist/shared/decimal-surface.js.map +1 -1
- package/dist/shared/error-detail.d.ts +16 -4
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +1 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +1 -1
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/strategies.js +1 -1
- package/dist/shared/error-details/swap.js +22 -0
- package/dist/shared/error-details/swap.js.map +1 -0
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +23 -21
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -138,7 +138,7 @@ declare function createCreateInternalTransferResultSchema(): v.SchemaWithPipe<re
|
|
|
138
138
|
subaccountId: string | undefined;
|
|
139
139
|
smartAccountAddress: string | undefined;
|
|
140
140
|
}>]>, undefined>;
|
|
141
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
141
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "accepted" | "rejected" | "failed">]>;
|
|
142
142
|
/** Lifecycle flow ID for `lifecycle.getAccountFlow`; empty when the server did not return one. */
|
|
143
143
|
readonly flowId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
144
144
|
}, undefined>, v.TransformAction<{
|
|
@@ -157,7 +157,7 @@ declare function createCreateInternalTransferResultSchema(): v.SchemaWithPipe<re
|
|
|
157
157
|
subaccountId: string | undefined;
|
|
158
158
|
smartAccountAddress: string | undefined;
|
|
159
159
|
} | undefined;
|
|
160
|
-
status: "unspecified" | "
|
|
160
|
+
status: "unspecified" | "accepted" | "rejected" | "failed";
|
|
161
161
|
flowId: string;
|
|
162
162
|
}, {
|
|
163
163
|
acceptedAtUnixMs: number;
|
|
@@ -174,7 +174,7 @@ declare function createCreateInternalTransferResultSchema(): v.SchemaWithPipe<re
|
|
|
174
174
|
subaccountId: string | undefined;
|
|
175
175
|
smartAccountAddress: string | undefined;
|
|
176
176
|
} | undefined;
|
|
177
|
-
status: "unspecified" | "
|
|
177
|
+
status: "unspecified" | "accepted" | "rejected" | "failed";
|
|
178
178
|
flowId: string;
|
|
179
179
|
}>]>;
|
|
180
180
|
type CreateInternalTransferResult = v.InferOutput<ReturnType<typeof createCreateInternalTransferResultSchema>>;
|
|
@@ -349,7 +349,7 @@ declare const InternalTransferBatchLegResultSchema: v.SchemaWithPipe<readonly [v
|
|
|
349
349
|
creditedAtNs: string | undefined;
|
|
350
350
|
quantity: string | undefined;
|
|
351
351
|
/** Why the leg caused its batch's refusal; unset for every other leg. */
|
|
352
|
-
errorCode: "UNSPECIFIED" | "
|
|
352
|
+
errorCode: "UNSPECIFIED" | "INSUFFICIENT_FUNDS" | "INVALID_REQUEST" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "RATE_LIMIT_EXCEEDED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR" | "INVALID_SUBACCOUNT_ID" | "SUBACCOUNT_NOT_FOUND" | "SOURCE_ACCOUNT_INACTIVE" | "UNSUPPORTED_ASSET" | "INVALID_AMOUNT" | "INVALID_DESTINATION" | "DESTINATION_NOT_FOUND" | "DESTINATION_INACTIVE" | "SAME_SOURCE_DESTINATION" | "DESTINATION_NOT_WHITELISTED" | "SMART_ACCOUNT_UNAVAILABLE" | "STEP_UP_UNAVAILABLE" | "IDEMPOTENCY_CONFLICT" | "FUNDS_LOCK_CONFLICT" | "CAPITAL_VIEW_UNAVAILABLE" | "ACCOUNT_SHARD_UNAVAILABLE" | "POLICY_DENIED" | "FAILED_PRECONDITION" | "NOT_FOUND" | "CONFLICT" | "DUST_QUOTE_EXPIRED" | "DUST_PRICE_MOVED" | "DUST_NOT_ELIGIBLE" | "DUST_WINDOW_ACTIVE" | "DUST_DAILY_LIMIT" | "DUST_BUSY" | "DUST_TARGET_UNAVAILABLE" | "DUST_BALANCE_CHANGED" | "DUST_CONVERSION_FAILED" | "BATCH_TOO_MANY_SOURCES" | undefined;
|
|
353
353
|
legIndex: number;
|
|
354
354
|
status: "unspecified" | "processing" | "credited" | "not_moved";
|
|
355
355
|
transferId?: string | undefined;
|
|
@@ -370,7 +370,7 @@ declare const BatchCreateInternalTransfersResultSchema: v.ObjectSchema<{
|
|
|
370
370
|
* it was accepted for processing.
|
|
371
371
|
*/
|
|
372
372
|
readonly requestId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, string | undefined>]>;
|
|
373
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
373
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "accepted" | "refused" | "processing">]>;
|
|
374
374
|
/** One result per leg, in request order. */
|
|
375
375
|
readonly legs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
376
376
|
readonly legIndex: v.NumberSchema<undefined>;
|
|
@@ -427,7 +427,7 @@ declare const BatchCreateInternalTransfersResultSchema: v.ObjectSchema<{
|
|
|
427
427
|
creditedAtNs: string | undefined;
|
|
428
428
|
quantity: string | undefined;
|
|
429
429
|
/** Why the leg caused its batch's refusal; unset for every other leg. */
|
|
430
|
-
errorCode: "UNSPECIFIED" | "
|
|
430
|
+
errorCode: "UNSPECIFIED" | "INSUFFICIENT_FUNDS" | "INVALID_REQUEST" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "RATE_LIMIT_EXCEEDED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR" | "INVALID_SUBACCOUNT_ID" | "SUBACCOUNT_NOT_FOUND" | "SOURCE_ACCOUNT_INACTIVE" | "UNSUPPORTED_ASSET" | "INVALID_AMOUNT" | "INVALID_DESTINATION" | "DESTINATION_NOT_FOUND" | "DESTINATION_INACTIVE" | "SAME_SOURCE_DESTINATION" | "DESTINATION_NOT_WHITELISTED" | "SMART_ACCOUNT_UNAVAILABLE" | "STEP_UP_UNAVAILABLE" | "IDEMPOTENCY_CONFLICT" | "FUNDS_LOCK_CONFLICT" | "CAPITAL_VIEW_UNAVAILABLE" | "ACCOUNT_SHARD_UNAVAILABLE" | "POLICY_DENIED" | "FAILED_PRECONDITION" | "NOT_FOUND" | "CONFLICT" | "DUST_QUOTE_EXPIRED" | "DUST_PRICE_MOVED" | "DUST_NOT_ELIGIBLE" | "DUST_WINDOW_ACTIVE" | "DUST_DAILY_LIMIT" | "DUST_BUSY" | "DUST_TARGET_UNAVAILABLE" | "DUST_BALANCE_CHANGED" | "DUST_CONVERSION_FAILED" | "BATCH_TOO_MANY_SOURCES" | undefined;
|
|
431
431
|
legIndex: number;
|
|
432
432
|
status: "unspecified" | "processing" | "credited" | "not_moved";
|
|
433
433
|
transferId?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { FlowDetailViewSchema, FlowSummaryViewSchema, GetFlowByIdRequestSchema, LifecycleReadService } from "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
1
2
|
import { parse } from "../../shared/validation.js";
|
|
2
3
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
4
|
import { resolveAccountScopedInput } from "../subaccount-resolver.js";
|
|
4
|
-
import { FlowDetailViewSchema, FlowSummaryViewSchema, GetFlowByIdRequestSchema, LifecycleReadService } from "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
5
5
|
import { isDev } from "../../utils/is-dev.js";
|
|
6
6
|
import { GetLifecycleAccountFlowInputSchema, GetLifecycleFlowInputSchema, GetLifecycleFlowOutputSchema, LifecycleFlowDetailSchema, LifecycleFlowSummarySchema, ListLifecycleAccountFlowsInputSchema, ListLifecycleFlowsByTxInputSchema, ListLifecycleFlowsByTxOutputSchema, ListLifecycleFlowsInputSchema, ListLifecycleFlowsOutputSchema } from "./lifecycle.schemas.js";
|
|
7
7
|
import { create } from "@bufbuild/protobuf";
|
|
@@ -217,7 +217,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
217
217
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
218
218
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
219
219
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
220
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
220
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
221
221
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
222
222
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
223
223
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -245,7 +245,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
245
245
|
approveCount: number;
|
|
246
246
|
rejectCount: number;
|
|
247
247
|
validatorCount: number;
|
|
248
|
-
kind: "unspecified" | "
|
|
248
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
249
249
|
requiredApprovals: number;
|
|
250
250
|
requiredRejections: number;
|
|
251
251
|
amountE18?: string | undefined;
|
|
@@ -267,7 +267,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
267
267
|
approveCount: number;
|
|
268
268
|
rejectCount: number;
|
|
269
269
|
validatorCount: number;
|
|
270
|
-
kind: "unspecified" | "
|
|
270
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
271
271
|
requiredApprovals: number;
|
|
272
272
|
requiredRejections: number;
|
|
273
273
|
amountE18?: string | undefined;
|
|
@@ -360,7 +360,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
360
360
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
361
361
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
362
362
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
363
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
363
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
364
364
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
365
365
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
366
366
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -388,7 +388,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
388
388
|
approveCount: number;
|
|
389
389
|
rejectCount: number;
|
|
390
390
|
validatorCount: number;
|
|
391
|
-
kind: "unspecified" | "
|
|
391
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
392
392
|
requiredApprovals: number;
|
|
393
393
|
requiredRejections: number;
|
|
394
394
|
amountE18?: string | undefined;
|
|
@@ -410,7 +410,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
410
410
|
approveCount: number;
|
|
411
411
|
rejectCount: number;
|
|
412
412
|
validatorCount: number;
|
|
413
|
-
kind: "unspecified" | "
|
|
413
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
414
414
|
requiredApprovals: number;
|
|
415
415
|
requiredRejections: number;
|
|
416
416
|
amountE18?: string | undefined;
|
|
@@ -479,7 +479,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
479
479
|
approveCount: number;
|
|
480
480
|
rejectCount: number;
|
|
481
481
|
validatorCount: number;
|
|
482
|
-
kind: "unspecified" | "
|
|
482
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
483
483
|
requiredApprovals: number;
|
|
484
484
|
requiredRejections: number;
|
|
485
485
|
amountE18?: string | undefined;
|
|
@@ -543,7 +543,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
543
543
|
approveCount: number;
|
|
544
544
|
rejectCount: number;
|
|
545
545
|
validatorCount: number;
|
|
546
|
-
kind: "unspecified" | "
|
|
546
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
547
547
|
requiredApprovals: number;
|
|
548
548
|
requiredRejections: number;
|
|
549
549
|
amountE18?: string | undefined;
|
|
@@ -626,8 +626,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
626
626
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
627
627
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
628
628
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
629
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
630
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
629
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
630
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
631
631
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
632
632
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
633
633
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -669,7 +669,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
669
669
|
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
670
670
|
* `accountSelector`.
|
|
671
671
|
*/
|
|
672
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
672
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
673
673
|
}, undefined>, v.TransformAction<{
|
|
674
674
|
smartAccountAddress: string;
|
|
675
675
|
flowId: string;
|
|
@@ -696,8 +696,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
696
696
|
txOccurrenceIndex?: number | undefined;
|
|
697
697
|
sourceAddress: string;
|
|
698
698
|
destinationAddress: string;
|
|
699
|
-
sourceDomain: "unspecified" | "
|
|
700
|
-
destinationDomain: "unspecified" | "
|
|
699
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
700
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
701
701
|
latestTxRef: string;
|
|
702
702
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
703
703
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -732,7 +732,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
732
732
|
}[];
|
|
733
733
|
estimatedCompletionUnixMs: number;
|
|
734
734
|
isDelayed: boolean;
|
|
735
|
-
participation: "
|
|
735
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
736
736
|
}, Omit<{
|
|
737
737
|
smartAccountAddress: string;
|
|
738
738
|
flowId: string;
|
|
@@ -759,8 +759,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
759
759
|
txOccurrenceIndex?: number | undefined;
|
|
760
760
|
sourceAddress: string;
|
|
761
761
|
destinationAddress: string;
|
|
762
|
-
sourceDomain: "unspecified" | "
|
|
763
|
-
destinationDomain: "unspecified" | "
|
|
762
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
763
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
764
764
|
latestTxRef: string;
|
|
765
765
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
766
766
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -795,7 +795,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
795
795
|
}[];
|
|
796
796
|
estimatedCompletionUnixMs: number;
|
|
797
797
|
isDelayed: boolean;
|
|
798
|
-
participation: "
|
|
798
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
799
799
|
}, "amountE18"> & {
|
|
800
800
|
amount?: string;
|
|
801
801
|
}>]>;
|
|
@@ -854,8 +854,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
854
854
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
855
855
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
856
856
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
857
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
858
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
857
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
858
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
859
859
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
860
860
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
861
861
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -897,7 +897,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
897
897
|
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
898
898
|
* `accountSelector`.
|
|
899
899
|
*/
|
|
900
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
900
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
901
901
|
}, undefined>, v.TransformAction<{
|
|
902
902
|
smartAccountAddress: string;
|
|
903
903
|
flowId: string;
|
|
@@ -924,8 +924,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
924
924
|
txOccurrenceIndex?: number | undefined;
|
|
925
925
|
sourceAddress: string;
|
|
926
926
|
destinationAddress: string;
|
|
927
|
-
sourceDomain: "unspecified" | "
|
|
928
|
-
destinationDomain: "unspecified" | "
|
|
927
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
928
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
929
929
|
latestTxRef: string;
|
|
930
930
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
931
931
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -960,7 +960,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
960
960
|
}[];
|
|
961
961
|
estimatedCompletionUnixMs: number;
|
|
962
962
|
isDelayed: boolean;
|
|
963
|
-
participation: "
|
|
963
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
964
964
|
}, Omit<{
|
|
965
965
|
smartAccountAddress: string;
|
|
966
966
|
flowId: string;
|
|
@@ -987,8 +987,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
987
987
|
txOccurrenceIndex?: number | undefined;
|
|
988
988
|
sourceAddress: string;
|
|
989
989
|
destinationAddress: string;
|
|
990
|
-
sourceDomain: "unspecified" | "
|
|
991
|
-
destinationDomain: "unspecified" | "
|
|
990
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
991
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
992
992
|
latestTxRef: string;
|
|
993
993
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
994
994
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1023,7 +1023,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1023
1023
|
}[];
|
|
1024
1024
|
estimatedCompletionUnixMs: number;
|
|
1025
1025
|
isDelayed: boolean;
|
|
1026
|
-
participation: "
|
|
1026
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1027
1027
|
}, "amountE18"> & {
|
|
1028
1028
|
amount?: string;
|
|
1029
1029
|
}>]>, undefined>;
|
|
@@ -1112,7 +1112,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1112
1112
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1113
1113
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1114
1114
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1115
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1115
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1116
1116
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1117
1117
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1118
1118
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1140,7 +1140,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1140
1140
|
approveCount: number;
|
|
1141
1141
|
rejectCount: number;
|
|
1142
1142
|
validatorCount: number;
|
|
1143
|
-
kind: "unspecified" | "
|
|
1143
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1144
1144
|
requiredApprovals: number;
|
|
1145
1145
|
requiredRejections: number;
|
|
1146
1146
|
amountE18?: string | undefined;
|
|
@@ -1162,7 +1162,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1162
1162
|
approveCount: number;
|
|
1163
1163
|
rejectCount: number;
|
|
1164
1164
|
validatorCount: number;
|
|
1165
|
-
kind: "unspecified" | "
|
|
1165
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1166
1166
|
requiredApprovals: number;
|
|
1167
1167
|
requiredRejections: number;
|
|
1168
1168
|
amountE18?: string | undefined;
|
|
@@ -1231,7 +1231,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1231
1231
|
approveCount: number;
|
|
1232
1232
|
rejectCount: number;
|
|
1233
1233
|
validatorCount: number;
|
|
1234
|
-
kind: "unspecified" | "
|
|
1234
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1235
1235
|
requiredApprovals: number;
|
|
1236
1236
|
requiredRejections: number;
|
|
1237
1237
|
amountE18?: string | undefined;
|
|
@@ -1295,7 +1295,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1295
1295
|
approveCount: number;
|
|
1296
1296
|
rejectCount: number;
|
|
1297
1297
|
validatorCount: number;
|
|
1298
|
-
kind: "unspecified" | "
|
|
1298
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1299
1299
|
requiredApprovals: number;
|
|
1300
1300
|
requiredRejections: number;
|
|
1301
1301
|
amountE18?: string | undefined;
|
|
@@ -1364,8 +1364,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1364
1364
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1365
1365
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1366
1366
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1367
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1368
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1367
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1368
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1369
1369
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1370
1370
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1371
1371
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1407,7 +1407,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1407
1407
|
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
1408
1408
|
* `accountSelector`.
|
|
1409
1409
|
*/
|
|
1410
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1410
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1411
1411
|
}, undefined>, v.TransformAction<{
|
|
1412
1412
|
smartAccountAddress: string;
|
|
1413
1413
|
flowId: string;
|
|
@@ -1434,8 +1434,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1434
1434
|
txOccurrenceIndex?: number | undefined;
|
|
1435
1435
|
sourceAddress: string;
|
|
1436
1436
|
destinationAddress: string;
|
|
1437
|
-
sourceDomain: "unspecified" | "
|
|
1438
|
-
destinationDomain: "unspecified" | "
|
|
1437
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1438
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1439
1439
|
latestTxRef: string;
|
|
1440
1440
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1441
1441
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1470,7 +1470,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1470
1470
|
}[];
|
|
1471
1471
|
estimatedCompletionUnixMs: number;
|
|
1472
1472
|
isDelayed: boolean;
|
|
1473
|
-
participation: "
|
|
1473
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1474
1474
|
}, Omit<{
|
|
1475
1475
|
smartAccountAddress: string;
|
|
1476
1476
|
flowId: string;
|
|
@@ -1497,8 +1497,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1497
1497
|
txOccurrenceIndex?: number | undefined;
|
|
1498
1498
|
sourceAddress: string;
|
|
1499
1499
|
destinationAddress: string;
|
|
1500
|
-
sourceDomain: "unspecified" | "
|
|
1501
|
-
destinationDomain: "unspecified" | "
|
|
1500
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1501
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1502
1502
|
latestTxRef: string;
|
|
1503
1503
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1504
1504
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1533,7 +1533,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1533
1533
|
}[];
|
|
1534
1534
|
estimatedCompletionUnixMs: number;
|
|
1535
1535
|
isDelayed: boolean;
|
|
1536
|
-
participation: "
|
|
1536
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1537
1537
|
}, "amountE18"> & {
|
|
1538
1538
|
amount?: string;
|
|
1539
1539
|
}>]>, undefined>, readonly []>;
|
|
@@ -1595,8 +1595,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1595
1595
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1596
1596
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1597
1597
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1598
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1599
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1598
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1599
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1600
1600
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1601
1601
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1602
1602
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1638,7 +1638,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1638
1638
|
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
1639
1639
|
* `accountSelector`.
|
|
1640
1640
|
*/
|
|
1641
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1641
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1642
1642
|
}, undefined>, v.TransformAction<{
|
|
1643
1643
|
smartAccountAddress: string;
|
|
1644
1644
|
flowId: string;
|
|
@@ -1665,8 +1665,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1665
1665
|
txOccurrenceIndex?: number | undefined;
|
|
1666
1666
|
sourceAddress: string;
|
|
1667
1667
|
destinationAddress: string;
|
|
1668
|
-
sourceDomain: "unspecified" | "
|
|
1669
|
-
destinationDomain: "unspecified" | "
|
|
1668
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1669
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1670
1670
|
latestTxRef: string;
|
|
1671
1671
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1672
1672
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1701,7 +1701,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1701
1701
|
}[];
|
|
1702
1702
|
estimatedCompletionUnixMs: number;
|
|
1703
1703
|
isDelayed: boolean;
|
|
1704
|
-
participation: "
|
|
1704
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1705
1705
|
}, Omit<{
|
|
1706
1706
|
smartAccountAddress: string;
|
|
1707
1707
|
flowId: string;
|
|
@@ -1728,8 +1728,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1728
1728
|
txOccurrenceIndex?: number | undefined;
|
|
1729
1729
|
sourceAddress: string;
|
|
1730
1730
|
destinationAddress: string;
|
|
1731
|
-
sourceDomain: "unspecified" | "
|
|
1732
|
-
destinationDomain: "unspecified" | "
|
|
1731
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1732
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1733
1733
|
latestTxRef: string;
|
|
1734
1734
|
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1735
1735
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1764,7 +1764,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1764
1764
|
}[];
|
|
1765
1765
|
estimatedCompletionUnixMs: number;
|
|
1766
1766
|
isDelayed: boolean;
|
|
1767
|
-
participation: "
|
|
1767
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1768
1768
|
}, "amountE18"> & {
|
|
1769
1769
|
amount?: string;
|
|
1770
1770
|
}>]>, undefined>;
|
|
@@ -1853,7 +1853,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1853
1853
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1854
1854
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1855
1855
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1856
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1856
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1857
1857
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1858
1858
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1859
1859
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1881,7 +1881,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1881
1881
|
approveCount: number;
|
|
1882
1882
|
rejectCount: number;
|
|
1883
1883
|
validatorCount: number;
|
|
1884
|
-
kind: "unspecified" | "
|
|
1884
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1885
1885
|
requiredApprovals: number;
|
|
1886
1886
|
requiredRejections: number;
|
|
1887
1887
|
amountE18?: string | undefined;
|
|
@@ -1903,7 +1903,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1903
1903
|
approveCount: number;
|
|
1904
1904
|
rejectCount: number;
|
|
1905
1905
|
validatorCount: number;
|
|
1906
|
-
kind: "unspecified" | "
|
|
1906
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1907
1907
|
requiredApprovals: number;
|
|
1908
1908
|
requiredRejections: number;
|
|
1909
1909
|
amountE18?: string | undefined;
|
|
@@ -1972,7 +1972,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1972
1972
|
approveCount: number;
|
|
1973
1973
|
rejectCount: number;
|
|
1974
1974
|
validatorCount: number;
|
|
1975
|
-
kind: "unspecified" | "
|
|
1975
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1976
1976
|
requiredApprovals: number;
|
|
1977
1977
|
requiredRejections: number;
|
|
1978
1978
|
amountE18?: string | undefined;
|
|
@@ -2036,7 +2036,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
2036
2036
|
approveCount: number;
|
|
2037
2037
|
rejectCount: number;
|
|
2038
2038
|
validatorCount: number;
|
|
2039
|
-
kind: "unspecified" | "
|
|
2039
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
2040
2040
|
requiredApprovals: number;
|
|
2041
2041
|
requiredRejections: number;
|
|
2042
2042
|
amountE18?: string | undefined;
|
|
@@ -2058,8 +2058,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2058
2058
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2059
2059
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2060
2060
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2061
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2062
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2061
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2062
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2063
2063
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2064
2064
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2065
2065
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -2091,8 +2091,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2091
2091
|
sourceTxHash: string;
|
|
2092
2092
|
latestTxRef: string;
|
|
2093
2093
|
txOccurrenceIndex?: number | undefined;
|
|
2094
|
-
sourceDomain: "unspecified" | "
|
|
2095
|
-
destinationDomain: "unspecified" | "
|
|
2094
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2095
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2096
2096
|
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2097
2097
|
isOpen: boolean;
|
|
2098
2098
|
isTerminal: boolean;
|
|
@@ -2118,8 +2118,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2118
2118
|
sourceTxHash: string;
|
|
2119
2119
|
latestTxRef: string;
|
|
2120
2120
|
txOccurrenceIndex?: number | undefined;
|
|
2121
|
-
sourceDomain: "unspecified" | "
|
|
2122
|
-
destinationDomain: "unspecified" | "
|
|
2121
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2122
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2123
2123
|
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2124
2124
|
isOpen: boolean;
|
|
2125
2125
|
isTerminal: boolean;
|
|
@@ -2150,8 +2150,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2150
2150
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2151
2151
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2152
2152
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2153
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2154
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2153
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2154
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2155
2155
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2156
2156
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2157
2157
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -2183,8 +2183,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2183
2183
|
sourceTxHash: string;
|
|
2184
2184
|
latestTxRef: string;
|
|
2185
2185
|
txOccurrenceIndex?: number | undefined;
|
|
2186
|
-
sourceDomain: "unspecified" | "
|
|
2187
|
-
destinationDomain: "unspecified" | "
|
|
2186
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2187
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2188
2188
|
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2189
2189
|
isOpen: boolean;
|
|
2190
2190
|
isTerminal: boolean;
|
|
@@ -2210,8 +2210,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2210
2210
|
sourceTxHash: string;
|
|
2211
2211
|
latestTxRef: string;
|
|
2212
2212
|
txOccurrenceIndex?: number | undefined;
|
|
2213
|
-
sourceDomain: "unspecified" | "
|
|
2214
|
-
destinationDomain: "unspecified" | "
|
|
2213
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2214
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2215
2215
|
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2216
2216
|
isOpen: boolean;
|
|
2217
2217
|
isTerminal: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import "../../gen/chain/lifecycle/v1/types_pb.js";
|
|
2
|
+
import "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
1
3
|
import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
2
4
|
import { fromU128 } from "../../utils/u128.js";
|
|
3
5
|
import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
4
6
|
import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
|
|
5
|
-
import "../../gen/chain/lifecycle/v1/types_pb.js";
|
|
6
|
-
import "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
7
7
|
import { LIFECYCLE_FLOW_KIND_VALUES, LIFECYCLE_FLOW_PARTICIPATION_VALUES, LIFECYCLE_FLOW_STATE_VALUES, LIFECYCLE_LIST_ORDER_BY_VALUES, LIFECYCLE_LIST_SCOPE_VALUES, LIFECYCLE_SORT_VALUES, LIFECYCLE_TX_LOOKUP_KIND_VALUES, LifecycleFlowDomainCodec, LifecycleFlowKindCodec, LifecycleFlowParticipationCodec, LifecycleFlowStateCodec, LifecycleFlowStepActivityKindCodec, LifecycleFlowStepCodec, LifecycleFlowTimelineStatusCodec, LifecycleListOrderByCodec, LifecycleListScopeCodec, LifecycleRequestFeeStatusCodec, LifecycleSortCodec, LifecycleSourceCodec, LifecycleTxLookupKindCodec, lifecycleReasonFromCode, zipperReasonFromCode } from "./lifecycle.codecs.js";
|
|
8
8
|
import * as v from "valibot";
|
|
9
9
|
//#region src/services/lifecycle/lifecycle.schemas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MarketDataService as MarketDataService$1, MarketTradeBatchSchema } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
1
2
|
import { parse } from "../../shared/validation.js";
|
|
2
3
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
4
|
import { deliverBatch } from "../../shared/subscription-errors.js";
|
|
4
5
|
import { SymbolIdInputSchema } from "../shared.js";
|
|
5
|
-
import { MarketDataService as MarketDataService$1, MarketTradeBatchSchema } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
6
6
|
import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
|
|
7
7
|
import { isDev } from "../../utils/is-dev.js";
|
|
8
8
|
import { AssetInfoSchema, GetMarketTradesInputSchema, GetPriceBandInputSchema, ListAssetInfoInputSchema, SpotConfigSchema, TradeBackfillSchema, formatLivePriceBand, formatMarketTrade } from "./market-data.schemas.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MarketOverviewBatchSchema, MarketOverviewService as MarketOverviewService$1 } from "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
1
2
|
import { parse } from "../../shared/validation.js";
|
|
2
3
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
4
|
import { CatalogLookupError } from "../../catalogs/types.js";
|
|
4
5
|
import { isDev } from "../../utils/is-dev.js";
|
|
5
|
-
import { MarketOverviewBatchSchema, MarketOverviewService as MarketOverviewService$1 } from "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
6
6
|
import { snapshotThenStream } from "../../realtime/snapshot-then-stream.js";
|
|
7
7
|
import { CurrencyConversionConfigSchema, CurrencyConversionRatesSchema, ListMarketOverviewInputSchema, SpotVolumeHistoryInputSchema, SpotVolumeHistoryResponseSchema, createMarketOverviewSchema } from "./market-overview.schemas.js";
|
|
8
8
|
import { createClient } from "@connectrpc/connect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
1
2
|
import { tsNsToMs } from "../../utils/time.js";
|
|
2
3
|
import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
3
4
|
import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
4
5
|
import { PositiveUint32InputSchema, SymbolIdInputSchema } from "../shared.js";
|
|
5
|
-
import "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
6
6
|
import { MARKET_OVERVIEW_ORDER_BY_VALUES, MARKET_OVERVIEW_SORT_VALUES, MarketOverviewOrderByCodec, MarketOverviewSortCodec, SPARKLINE_INTERVAL_VALUES, SparklineIntervalCodec } from "./market-overview.codecs.js";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
//#region src/services/market-overview/market-overview.schemas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { NotificationService } from "../../gen/notifications/v1/notifications_pb.js";
|
|
1
2
|
import { InternalServerError } from "../../shared/errors.js";
|
|
2
3
|
import { parse } from "../../shared/validation.js";
|
|
3
4
|
import { removeUndefined } from "../../utils/remove-undefined.js";
|
|
4
5
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
5
|
-
import { NotificationService } from "../../gen/notifications/v1/notifications_pb.js";
|
|
6
6
|
import { GetNotificationInputSchema, ListNotificationsInputSchema, MarkAllNotificationsReadInputSchema, MarkNotificationsInputSchema, formatNotification, formatNotificationCounts } from "./notifications.schemas.js";
|
|
7
7
|
import { createClient } from "@connectrpc/connect";
|
|
8
8
|
//#region src/services/notifications/notifications.ts
|