@polyester/sdk 0.36.0-devnet-20261115165158 → 0.36.0-devnet-20261116010019
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 +42 -4
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +82 -4
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +66 -10
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +4 -4
- package/dist/gen/auth/v1/api_keys_pb.js +4 -4
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +26 -1
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +18 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +18 -1
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +18 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +7 -11
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +44 -10
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +15 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +228 -38
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +34 -10
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +12 -0
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +13 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +6 -3
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +10 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +10 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +10 -6
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +2 -2
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/index.d.ts +3 -1
- package/dist/gen/index.js +4 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +57 -16
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +32 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +424 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.js +154 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -0
- package/dist/gen/orders/v1/orders_pb.d.ts +28 -4
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +2 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +12 -7
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +22 -10
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -2
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +47 -11
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +35 -6
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +741 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts.map +1 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.js +235 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.js.map +1 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +367 -3
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +166 -4
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +10 -5
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +4 -2
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +13 -7
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +66 -66
- package/dist/services/assistant/assistant.codecs.d.ts +7 -1
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +5 -1
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.d.ts +4 -3
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +6 -4
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +40 -3
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +18 -4
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +3 -3
- package/dist/services/auth/profile/profile.d.ts +1 -1
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/auth/profile/profile.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +0 -1
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +0 -1
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/balances/balances.d.ts +4 -3
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +12 -4
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +30 -5
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +6 -10
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/balances/balances.types.d.ts +2 -2
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.codecs.d.ts +22 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.js +22 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.d.ts +59 -0
- package/dist/services/dust-conversion/dust-conversion.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.js +87 -0
- package/dist/services/dust-conversion/dust-conversion.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +561 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.js +190 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.types.d.ts +3 -0
- package/dist/services/dust-conversion/service.d.ts +8 -0
- package/dist/services/dust-conversion/service.d.ts.map +1 -0
- package/dist/services/dust-conversion/service.js +9 -0
- package/dist/services/dust-conversion/service.js.map +1 -0
- package/dist/services/heatmap/heatmap.schemas.d.ts +3 -3
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +13 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.js +22 -2
- package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.d.ts +14 -2
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +29 -3
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +265 -5
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +63 -5
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +1 -0
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.d.ts +26 -8
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +39 -7
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +160 -136
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +44 -45
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.types.d.ts +2 -2
- package/dist/services/lifecycle/service.js +1 -1
- package/dist/services/lifecycle/service.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +2 -1
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +10 -0
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +4 -1
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +11 -1
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +11 -1
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +67 -27
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-identifiers.schemas.js +2 -1
- package/dist/services/orders/orders-identifiers.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +11 -4
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +1 -0
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +17 -17
- package/dist/services/orders/orders-output.schemas.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +9 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +5 -5
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -3
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
- package/dist/services/rate-limits/rate-limits.d.ts +4 -1
- package/dist/services/rate-limits/rate-limits.d.ts.map +1 -1
- package/dist/services/rate-limits/rate-limits.js +4 -1
- package/dist/services/rate-limits/rate-limits.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.js +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.codecs.js +6 -2
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +14 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js +14 -3
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +13 -3
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +12 -4
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/statement-exports/service.d.ts +8 -0
- package/dist/services/statement-exports/service.d.ts.map +1 -0
- package/dist/services/statement-exports/service.js +9 -0
- package/dist/services/statement-exports/service.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.codecs.d.ts +17 -0
- package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.codecs.js +19 -0
- package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.d.ts +34 -0
- package/dist/services/statement-exports/statement-exports.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.js +53 -0
- package/dist/services/statement-exports/statement-exports.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +269 -0
- package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.schemas.js +98 -0
- package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.types.d.ts +3 -0
- package/dist/services/subaccounts/subaccounts.codecs.js +3 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +22 -22
- package/dist/services/system/system.schemas.d.ts +7 -7
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/transfers/transfers.schemas.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +5 -4
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +2 -2
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +45 -35
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.js +10 -0
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/shared/account-scope.js +4 -1
- package/dist/shared/account-scope.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +3 -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 +4 -1
- package/dist/shared/decimal-surface.js.map +1 -1
- package/dist/shared/error-detail.d.ts +5 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/auth.js +7 -2
- package/dist/shared/error-details/auth.js.map +1 -1
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/schemas.js +2 -2
- package/dist/shared/schemas.js.map +1 -1
- package/dist/utils/numbers.js +1 -10
- package/dist/utils/numbers.js.map +1 -1
- package/dist/utils/u128.js +1 -1
- package/dist/utils/u128.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +5 -1
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,90 +7,64 @@ declare const LifecycleAssetIdsSchema: v.ObjectSchema<{
|
|
|
7
7
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
8
8
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
10
|
+
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded">]>;
|
|
11
11
|
declare const LifecycleZipperReasonSchema: v.ObjectSchema<{
|
|
12
12
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
13
13
|
readonly reasonId: v.StringSchema<undefined>;
|
|
14
14
|
readonly message: v.StringSchema<undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["deposit", "withdraw", "transfer"], undefined>, undefined>, v.TransformAction<"deposit" | "withdraw" | "transfer" | undefined, FlowKind>]>;
|
|
20
|
-
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"failed" | "completed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
|
|
21
|
-
readonly txRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "txHash is required.">, v.CheckAction<string, "txHash must be a valid EVM hash or chain-native transaction id.">, v.TransformAction<string, string>]>, undefined>;
|
|
22
|
-
readonly scope: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["all", "open", "terminal"], undefined>, "all">, v.TransformAction<"open" | "all" | "terminal", ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY>]>;
|
|
23
|
-
readonly accountSelector: v.OptionalSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
24
|
-
readonly kind: v.LiteralSchema<"accountId", undefined>;
|
|
25
|
-
readonly accountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
26
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
27
|
-
readonly kind: v.LiteralSchema<"ownerAccountId", undefined>;
|
|
28
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
29
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
17
|
+
readonly participation: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["owner", "recipient"], undefined>, undefined>, v.TransformAction<"owner" | "recipient" | undefined, FlowParticipation>]>;
|
|
18
|
+
readonly accountSelector: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
30
19
|
readonly kind: v.LiteralSchema<"smartAccountAddress", undefined>;
|
|
31
20
|
readonly smartAccountAddress: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "smartAccountAddress must be a canonical 0x address.">]>;
|
|
32
|
-
}, undefined
|
|
33
|
-
kind: "accountId";
|
|
34
|
-
accountId: string;
|
|
35
|
-
} | {
|
|
36
|
-
kind: "ownerAccountId";
|
|
37
|
-
ownerAccountId: string;
|
|
38
|
-
} | {
|
|
21
|
+
}, undefined>, v.TransformAction<{
|
|
39
22
|
kind: "smartAccountAddress";
|
|
40
23
|
smartAccountAddress: string;
|
|
41
24
|
}, {
|
|
42
|
-
case: "ownerAccountId";
|
|
43
|
-
value: bigint;
|
|
44
|
-
} | {
|
|
45
25
|
case: "smartAccountAddress";
|
|
46
26
|
value: string;
|
|
47
27
|
}>]>, undefined>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
readonly
|
|
28
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, 100>;
|
|
29
|
+
readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["newest", "oldest"], undefined>, "newest">, v.TransformAction<"newest" | "oldest", Sort.NEWEST | Sort.OLDEST>]>;
|
|
30
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["deposit", "withdraw", "transfer"], undefined>, undefined>, v.TransformAction<"deposit" | "withdraw" | "transfer" | undefined, FlowKind>]>;
|
|
31
|
+
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"completed" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
|
|
32
|
+
readonly txRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "txHash is required.">, v.CheckAction<string, "txHash must be a valid EVM hash or chain-native transaction id.">, v.TransformAction<string, string>]>, undefined>;
|
|
33
|
+
readonly scope: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["all", "open", "terminal"], undefined>, "all">, v.TransformAction<"open" | "all" | "terminal", ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY>]>;
|
|
54
34
|
readonly polyesterChainIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
55
35
|
readonly zippedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
56
36
|
readonly unifiedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
57
37
|
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
58
38
|
readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["last_activity", "started_at"], undefined>, "last_activity">, v.TransformAction<"last_activity" | "started_at", ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT>]>;
|
|
59
39
|
}, undefined>, v.CheckAction<{
|
|
40
|
+
participation?: FlowParticipation | undefined;
|
|
41
|
+
accountSelector?: {
|
|
42
|
+
case: "smartAccountAddress";
|
|
43
|
+
value: string;
|
|
44
|
+
} | undefined;
|
|
60
45
|
limit: number;
|
|
61
46
|
sort: Sort.NEWEST | Sort.OLDEST;
|
|
62
47
|
flowKind?: FlowKind | undefined;
|
|
63
48
|
flowState?: FlowState | undefined;
|
|
64
49
|
txRef?: string | undefined;
|
|
65
50
|
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
66
|
-
accountSelector?: {
|
|
67
|
-
case: "ownerAccountId";
|
|
68
|
-
value: bigint;
|
|
69
|
-
} | {
|
|
70
|
-
case: "smartAccountAddress";
|
|
71
|
-
value: string;
|
|
72
|
-
} | undefined;
|
|
73
|
-
participation?: FlowParticipation | undefined;
|
|
74
51
|
polyesterChainIds?: number[] | undefined;
|
|
75
52
|
zippedAssetIds?: number[] | undefined;
|
|
76
53
|
unifiedAssetIds?: number[] | undefined;
|
|
77
54
|
pageToken: string;
|
|
78
55
|
orderBy: ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT;
|
|
79
56
|
}, "participation requires accountSelector.">, v.TransformAction<{
|
|
57
|
+
participation?: FlowParticipation | undefined;
|
|
58
|
+
accountSelector?: {
|
|
59
|
+
case: "smartAccountAddress";
|
|
60
|
+
value: string;
|
|
61
|
+
} | undefined;
|
|
80
62
|
limit: number;
|
|
81
63
|
sort: Sort.NEWEST | Sort.OLDEST;
|
|
82
64
|
flowKind?: FlowKind | undefined;
|
|
83
65
|
flowState?: FlowState | undefined;
|
|
84
66
|
txRef?: string | undefined;
|
|
85
67
|
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
86
|
-
accountSelector?: {
|
|
87
|
-
case: "ownerAccountId";
|
|
88
|
-
value: bigint;
|
|
89
|
-
} | {
|
|
90
|
-
case: "smartAccountAddress";
|
|
91
|
-
value: string;
|
|
92
|
-
} | undefined;
|
|
93
|
-
participation?: FlowParticipation | undefined;
|
|
94
68
|
polyesterChainIds?: number[] | undefined;
|
|
95
69
|
zippedAssetIds?: number[] | undefined;
|
|
96
70
|
unifiedAssetIds?: number[] | undefined;
|
|
@@ -104,9 +78,6 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
104
78
|
txRef: string | undefined;
|
|
105
79
|
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
106
80
|
accountSelector: {
|
|
107
|
-
case: "ownerAccountId";
|
|
108
|
-
value: bigint;
|
|
109
|
-
} | {
|
|
110
81
|
case: "smartAccountAddress";
|
|
111
82
|
value: string;
|
|
112
83
|
} | undefined;
|
|
@@ -117,6 +88,71 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
117
88
|
pageToken: string;
|
|
118
89
|
orderBy: ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT;
|
|
119
90
|
}>]>;
|
|
91
|
+
/**
|
|
92
|
+
* Filters for the authenticated account's own flows. `account` picks the root account or a
|
|
93
|
+
* subaccount; a subaccount-scoped API key reads its bound subaccount when it is omitted.
|
|
94
|
+
*/
|
|
95
|
+
declare const ListLifecycleAccountFlowsInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
96
|
+
readonly participation: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["owner", "recipient"], undefined>, undefined>, v.TransformAction<"owner" | "recipient" | undefined, FlowParticipation>]>;
|
|
97
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, 100>;
|
|
98
|
+
readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["newest", "oldest"], undefined>, "newest">, v.TransformAction<"newest" | "oldest", Sort.NEWEST | Sort.OLDEST>]>;
|
|
99
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["deposit", "withdraw", "transfer"], undefined>, undefined>, v.TransformAction<"deposit" | "withdraw" | "transfer" | undefined, FlowKind>]>;
|
|
100
|
+
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"completed" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
|
|
101
|
+
readonly txRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "txHash is required.">, v.CheckAction<string, "txHash must be a valid EVM hash or chain-native transaction id.">, v.TransformAction<string, string>]>, undefined>;
|
|
102
|
+
readonly scope: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["all", "open", "terminal"], undefined>, "all">, v.TransformAction<"open" | "all" | "terminal", ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY>]>;
|
|
103
|
+
readonly polyesterChainIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
104
|
+
readonly zippedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
105
|
+
readonly unifiedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
106
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
107
|
+
readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["last_activity", "started_at"], undefined>, "last_activity">, v.TransformAction<"last_activity" | "started_at", ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT>]>;
|
|
108
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
109
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
110
|
+
}, undefined>], undefined>, undefined>;
|
|
111
|
+
}, undefined>, v.TransformAction<{
|
|
112
|
+
participation?: FlowParticipation | undefined;
|
|
113
|
+
limit: number;
|
|
114
|
+
sort: Sort.NEWEST | Sort.OLDEST;
|
|
115
|
+
flowKind?: FlowKind | undefined;
|
|
116
|
+
flowState?: FlowState | undefined;
|
|
117
|
+
txRef?: string | undefined;
|
|
118
|
+
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
119
|
+
polyesterChainIds?: number[] | undefined;
|
|
120
|
+
zippedAssetIds?: number[] | undefined;
|
|
121
|
+
unifiedAssetIds?: number[] | undefined;
|
|
122
|
+
pageToken: string;
|
|
123
|
+
orderBy: ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT;
|
|
124
|
+
account?: "active" | "main" | {
|
|
125
|
+
subaccountId: string;
|
|
126
|
+
} | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
participation?: FlowParticipation | undefined;
|
|
129
|
+
limit: number;
|
|
130
|
+
sort: Sort.NEWEST | Sort.OLDEST;
|
|
131
|
+
flowKind?: FlowKind | undefined;
|
|
132
|
+
flowState?: FlowState | undefined;
|
|
133
|
+
txRef?: string | undefined;
|
|
134
|
+
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
135
|
+
polyesterChainIds?: number[] | undefined;
|
|
136
|
+
zippedAssetIds?: number[] | undefined;
|
|
137
|
+
unifiedAssetIds?: number[] | undefined;
|
|
138
|
+
pageToken: string;
|
|
139
|
+
orderBy: ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT;
|
|
140
|
+
subaccountId: bigint | undefined;
|
|
141
|
+
}>]>;
|
|
142
|
+
declare const GetLifecycleAccountFlowInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
143
|
+
readonly flowId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "flowId is required.">]>;
|
|
144
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
145
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
146
|
+
}, undefined>], undefined>, undefined>;
|
|
147
|
+
}, undefined>, v.TransformAction<{
|
|
148
|
+
flowId: string;
|
|
149
|
+
account?: "active" | "main" | {
|
|
150
|
+
subaccountId: string;
|
|
151
|
+
} | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
subaccountId: bigint | undefined;
|
|
154
|
+
flowId: string;
|
|
155
|
+
}>]>;
|
|
120
156
|
declare const LifecycleRequestFeeSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
121
157
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
122
158
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -169,7 +205,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
169
205
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
170
206
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
171
207
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
172
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
208
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
173
209
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
174
210
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
175
211
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -197,7 +233,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
197
233
|
txRef: string;
|
|
198
234
|
txChainId: number;
|
|
199
235
|
occurredAtUnixMs: number;
|
|
200
|
-
lifecycleSource: "unspecified" | "
|
|
236
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
201
237
|
lifecycleReason: LifecycleReasonValue;
|
|
202
238
|
zipperReason?: {
|
|
203
239
|
code: ZipperReasonCodeValue;
|
|
@@ -219,7 +255,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
219
255
|
txRef: string;
|
|
220
256
|
txChainId: number;
|
|
221
257
|
occurredAtUnixMs: number;
|
|
222
|
-
lifecycleSource: "unspecified" | "
|
|
258
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
223
259
|
lifecycleReason: LifecycleReasonValue;
|
|
224
260
|
zipperReason?: {
|
|
225
261
|
code: ZipperReasonCodeValue;
|
|
@@ -290,7 +326,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
290
326
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
291
327
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
292
328
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
293
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
329
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
294
330
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
295
331
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
296
332
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -312,7 +348,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
312
348
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
313
349
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
314
350
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
315
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
351
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
316
352
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
317
353
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
318
354
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -340,7 +376,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
340
376
|
txRef: string;
|
|
341
377
|
txChainId: number;
|
|
342
378
|
occurredAtUnixMs: number;
|
|
343
|
-
lifecycleSource: "unspecified" | "
|
|
379
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
344
380
|
lifecycleReason: LifecycleReasonValue;
|
|
345
381
|
zipperReason?: {
|
|
346
382
|
code: ZipperReasonCodeValue;
|
|
@@ -362,7 +398,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
362
398
|
txRef: string;
|
|
363
399
|
txChainId: number;
|
|
364
400
|
occurredAtUnixMs: number;
|
|
365
|
-
lifecycleSource: "unspecified" | "
|
|
401
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
366
402
|
lifecycleReason: LifecycleReasonValue;
|
|
367
403
|
zipperReason?: {
|
|
368
404
|
code: ZipperReasonCodeValue;
|
|
@@ -410,7 +446,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
410
446
|
}) | undefined;
|
|
411
447
|
milestoneTxRef: string;
|
|
412
448
|
milestoneTxChainId: number;
|
|
413
|
-
lifecycleSource: "unspecified" | "
|
|
449
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
414
450
|
lifecycleReason: LifecycleReasonValue;
|
|
415
451
|
zipperReason?: {
|
|
416
452
|
code: ZipperReasonCodeValue;
|
|
@@ -431,7 +467,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
431
467
|
txRef: string;
|
|
432
468
|
txChainId: number;
|
|
433
469
|
occurredAtUnixMs: number;
|
|
434
|
-
lifecycleSource: "unspecified" | "
|
|
470
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
435
471
|
lifecycleReason: LifecycleReasonValue;
|
|
436
472
|
zipperReason?: {
|
|
437
473
|
code: ZipperReasonCodeValue;
|
|
@@ -474,7 +510,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
474
510
|
}) | undefined;
|
|
475
511
|
milestoneTxRef: string;
|
|
476
512
|
milestoneTxChainId: number;
|
|
477
|
-
lifecycleSource: "unspecified" | "
|
|
513
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
478
514
|
lifecycleReason: LifecycleReasonValue;
|
|
479
515
|
zipperReason?: {
|
|
480
516
|
code: ZipperReasonCodeValue;
|
|
@@ -495,7 +531,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
495
531
|
txRef: string;
|
|
496
532
|
txChainId: number;
|
|
497
533
|
occurredAtUnixMs: number;
|
|
498
|
-
lifecycleSource: "unspecified" | "
|
|
534
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
499
535
|
lifecycleReason: LifecycleReasonValue;
|
|
500
536
|
zipperReason?: {
|
|
501
537
|
code: ZipperReasonCodeValue;
|
|
@@ -522,7 +558,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
522
558
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
523
559
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
524
560
|
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
525
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
561
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
526
562
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
527
563
|
}, undefined>;
|
|
528
564
|
declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
|
|
@@ -537,7 +573,6 @@ declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
|
|
|
537
573
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
538
574
|
}, undefined>;
|
|
539
575
|
declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
540
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
541
576
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
542
577
|
readonly flowId: v.StringSchema<undefined>;
|
|
543
578
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -594,7 +629,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
594
629
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
595
630
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
596
631
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
597
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
632
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
598
633
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
599
634
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
600
635
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -622,7 +657,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
622
657
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
623
658
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
624
659
|
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
625
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
660
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
626
661
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
627
662
|
}, undefined>, undefined>, readonly []>;
|
|
628
663
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -631,11 +666,11 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
631
666
|
/**
|
|
632
667
|
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
633
668
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
634
|
-
* `"unspecified"` outside
|
|
669
|
+
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
670
|
+
* `accountSelector`.
|
|
635
671
|
*/
|
|
636
|
-
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, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
637
673
|
}, undefined>, v.TransformAction<{
|
|
638
|
-
ownerAccountId: string;
|
|
639
674
|
smartAccountAddress: string;
|
|
640
675
|
flowId: string;
|
|
641
676
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -664,7 +699,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
664
699
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
665
700
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
666
701
|
latestTxRef: string;
|
|
667
|
-
latestLifecycleSource: "unspecified" | "
|
|
702
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
668
703
|
lifecycleReason: LifecycleReasonValue;
|
|
669
704
|
zipperReason?: {
|
|
670
705
|
code: ZipperReasonCodeValue;
|
|
@@ -692,14 +727,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
692
727
|
progressTimeline: {
|
|
693
728
|
sequence: number;
|
|
694
729
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
695
|
-
status: "unspecified" | "
|
|
730
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
696
731
|
expectedDurationMs: number;
|
|
697
732
|
}[];
|
|
698
733
|
estimatedCompletionUnixMs: number;
|
|
699
734
|
isDelayed: boolean;
|
|
700
|
-
participation: "
|
|
735
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
701
736
|
}, Omit<{
|
|
702
|
-
ownerAccountId: string;
|
|
703
737
|
smartAccountAddress: string;
|
|
704
738
|
flowId: string;
|
|
705
739
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -728,7 +762,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
728
762
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
729
763
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
730
764
|
latestTxRef: string;
|
|
731
|
-
latestLifecycleSource: "unspecified" | "
|
|
765
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
732
766
|
lifecycleReason: LifecycleReasonValue;
|
|
733
767
|
zipperReason?: {
|
|
734
768
|
code: ZipperReasonCodeValue;
|
|
@@ -756,18 +790,17 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
756
790
|
progressTimeline: {
|
|
757
791
|
sequence: number;
|
|
758
792
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
759
|
-
status: "unspecified" | "
|
|
793
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
760
794
|
expectedDurationMs: number;
|
|
761
795
|
}[];
|
|
762
796
|
estimatedCompletionUnixMs: number;
|
|
763
797
|
isDelayed: boolean;
|
|
764
|
-
participation: "
|
|
798
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
765
799
|
}, "amountE18"> & {
|
|
766
800
|
amount?: string;
|
|
767
801
|
}>]>;
|
|
768
802
|
declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
769
803
|
readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
770
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
771
804
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
772
805
|
readonly flowId: v.StringSchema<undefined>;
|
|
773
806
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -824,7 +857,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
824
857
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
825
858
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
826
859
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
827
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
860
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
828
861
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
829
862
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
830
863
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -852,7 +885,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
852
885
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
853
886
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
854
887
|
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
855
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
888
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
856
889
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
857
890
|
}, undefined>, undefined>, readonly []>;
|
|
858
891
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -861,11 +894,11 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
861
894
|
/**
|
|
862
895
|
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
863
896
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
864
|
-
* `"unspecified"` outside
|
|
897
|
+
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
898
|
+
* `accountSelector`.
|
|
865
899
|
*/
|
|
866
|
-
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, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
867
901
|
}, undefined>, v.TransformAction<{
|
|
868
|
-
ownerAccountId: string;
|
|
869
902
|
smartAccountAddress: string;
|
|
870
903
|
flowId: string;
|
|
871
904
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -894,7 +927,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
894
927
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
895
928
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
896
929
|
latestTxRef: string;
|
|
897
|
-
latestLifecycleSource: "unspecified" | "
|
|
930
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
898
931
|
lifecycleReason: LifecycleReasonValue;
|
|
899
932
|
zipperReason?: {
|
|
900
933
|
code: ZipperReasonCodeValue;
|
|
@@ -922,14 +955,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
922
955
|
progressTimeline: {
|
|
923
956
|
sequence: number;
|
|
924
957
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
925
|
-
status: "unspecified" | "
|
|
958
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
926
959
|
expectedDurationMs: number;
|
|
927
960
|
}[];
|
|
928
961
|
estimatedCompletionUnixMs: number;
|
|
929
962
|
isDelayed: boolean;
|
|
930
|
-
participation: "
|
|
963
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
931
964
|
}, Omit<{
|
|
932
|
-
ownerAccountId: string;
|
|
933
965
|
smartAccountAddress: string;
|
|
934
966
|
flowId: string;
|
|
935
967
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -958,7 +990,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
958
990
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
959
991
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
960
992
|
latestTxRef: string;
|
|
961
|
-
latestLifecycleSource: "unspecified" | "
|
|
993
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
962
994
|
lifecycleReason: LifecycleReasonValue;
|
|
963
995
|
zipperReason?: {
|
|
964
996
|
code: ZipperReasonCodeValue;
|
|
@@ -986,12 +1018,12 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
986
1018
|
progressTimeline: {
|
|
987
1019
|
sequence: number;
|
|
988
1020
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
989
|
-
status: "unspecified" | "
|
|
1021
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
990
1022
|
expectedDurationMs: number;
|
|
991
1023
|
}[];
|
|
992
1024
|
estimatedCompletionUnixMs: number;
|
|
993
1025
|
isDelayed: boolean;
|
|
994
|
-
participation: "
|
|
1026
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
995
1027
|
}, "amountE18"> & {
|
|
996
1028
|
amount?: string;
|
|
997
1029
|
}>]>, undefined>;
|
|
@@ -1046,7 +1078,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1046
1078
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1047
1079
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1048
1080
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1049
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1081
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1050
1082
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1051
1083
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1052
1084
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1068,7 +1100,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1068
1100
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1069
1101
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1070
1102
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1071
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1103
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1072
1104
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1073
1105
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1074
1106
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1096,7 +1128,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1096
1128
|
txRef: string;
|
|
1097
1129
|
txChainId: number;
|
|
1098
1130
|
occurredAtUnixMs: number;
|
|
1099
|
-
lifecycleSource: "unspecified" | "
|
|
1131
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1100
1132
|
lifecycleReason: LifecycleReasonValue;
|
|
1101
1133
|
zipperReason?: {
|
|
1102
1134
|
code: ZipperReasonCodeValue;
|
|
@@ -1118,7 +1150,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1118
1150
|
txRef: string;
|
|
1119
1151
|
txChainId: number;
|
|
1120
1152
|
occurredAtUnixMs: number;
|
|
1121
|
-
lifecycleSource: "unspecified" | "
|
|
1153
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1122
1154
|
lifecycleReason: LifecycleReasonValue;
|
|
1123
1155
|
zipperReason?: {
|
|
1124
1156
|
code: ZipperReasonCodeValue;
|
|
@@ -1166,7 +1198,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1166
1198
|
}) | undefined;
|
|
1167
1199
|
milestoneTxRef: string;
|
|
1168
1200
|
milestoneTxChainId: number;
|
|
1169
|
-
lifecycleSource: "unspecified" | "
|
|
1201
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1170
1202
|
lifecycleReason: LifecycleReasonValue;
|
|
1171
1203
|
zipperReason?: {
|
|
1172
1204
|
code: ZipperReasonCodeValue;
|
|
@@ -1187,7 +1219,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1187
1219
|
txRef: string;
|
|
1188
1220
|
txChainId: number;
|
|
1189
1221
|
occurredAtUnixMs: number;
|
|
1190
|
-
lifecycleSource: "unspecified" | "
|
|
1222
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1191
1223
|
lifecycleReason: LifecycleReasonValue;
|
|
1192
1224
|
zipperReason?: {
|
|
1193
1225
|
code: ZipperReasonCodeValue;
|
|
@@ -1230,7 +1262,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1230
1262
|
}) | undefined;
|
|
1231
1263
|
milestoneTxRef: string;
|
|
1232
1264
|
milestoneTxChainId: number;
|
|
1233
|
-
lifecycleSource: "unspecified" | "
|
|
1265
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1234
1266
|
lifecycleReason: LifecycleReasonValue;
|
|
1235
1267
|
zipperReason?: {
|
|
1236
1268
|
code: ZipperReasonCodeValue;
|
|
@@ -1251,7 +1283,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1251
1283
|
txRef: string;
|
|
1252
1284
|
txChainId: number;
|
|
1253
1285
|
occurredAtUnixMs: number;
|
|
1254
|
-
lifecycleSource: "unspecified" | "
|
|
1286
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1255
1287
|
lifecycleReason: LifecycleReasonValue;
|
|
1256
1288
|
zipperReason?: {
|
|
1257
1289
|
code: ZipperReasonCodeValue;
|
|
@@ -1279,7 +1311,6 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1279
1311
|
}, undefined>;
|
|
1280
1312
|
declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
1281
1313
|
readonly flows: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1282
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1283
1314
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1284
1315
|
readonly flowId: v.StringSchema<undefined>;
|
|
1285
1316
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -1336,7 +1367,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1336
1367
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1337
1368
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1338
1369
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1339
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1370
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1340
1371
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1341
1372
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1342
1373
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1364,7 +1395,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1364
1395
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1365
1396
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1366
1397
|
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1367
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1398
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
1368
1399
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1369
1400
|
}, undefined>, undefined>, readonly []>;
|
|
1370
1401
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1373,11 +1404,11 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1373
1404
|
/**
|
|
1374
1405
|
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
1375
1406
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1376
|
-
* `"unspecified"` outside
|
|
1407
|
+
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
1408
|
+
* `accountSelector`.
|
|
1377
1409
|
*/
|
|
1378
|
-
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, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1379
1411
|
}, undefined>, v.TransformAction<{
|
|
1380
|
-
ownerAccountId: string;
|
|
1381
1412
|
smartAccountAddress: string;
|
|
1382
1413
|
flowId: string;
|
|
1383
1414
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -1406,7 +1437,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1406
1437
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1407
1438
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1408
1439
|
latestTxRef: string;
|
|
1409
|
-
latestLifecycleSource: "unspecified" | "
|
|
1440
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1410
1441
|
lifecycleReason: LifecycleReasonValue;
|
|
1411
1442
|
zipperReason?: {
|
|
1412
1443
|
code: ZipperReasonCodeValue;
|
|
@@ -1434,14 +1465,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1434
1465
|
progressTimeline: {
|
|
1435
1466
|
sequence: number;
|
|
1436
1467
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1437
|
-
status: "unspecified" | "
|
|
1468
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1438
1469
|
expectedDurationMs: number;
|
|
1439
1470
|
}[];
|
|
1440
1471
|
estimatedCompletionUnixMs: number;
|
|
1441
1472
|
isDelayed: boolean;
|
|
1442
|
-
participation: "
|
|
1473
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
1443
1474
|
}, Omit<{
|
|
1444
|
-
ownerAccountId: string;
|
|
1445
1475
|
smartAccountAddress: string;
|
|
1446
1476
|
flowId: string;
|
|
1447
1477
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -1470,7 +1500,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1470
1500
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1471
1501
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1472
1502
|
latestTxRef: string;
|
|
1473
|
-
latestLifecycleSource: "unspecified" | "
|
|
1503
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1474
1504
|
lifecycleReason: LifecycleReasonValue;
|
|
1475
1505
|
zipperReason?: {
|
|
1476
1506
|
code: ZipperReasonCodeValue;
|
|
@@ -1498,12 +1528,12 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1498
1528
|
progressTimeline: {
|
|
1499
1529
|
sequence: number;
|
|
1500
1530
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1501
|
-
status: "unspecified" | "
|
|
1531
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1502
1532
|
expectedDurationMs: number;
|
|
1503
1533
|
}[];
|
|
1504
1534
|
estimatedCompletionUnixMs: number;
|
|
1505
1535
|
isDelayed: boolean;
|
|
1506
|
-
participation: "
|
|
1536
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
1507
1537
|
}, "amountE18"> & {
|
|
1508
1538
|
amount?: string;
|
|
1509
1539
|
}>]>, undefined>, readonly []>;
|
|
@@ -1512,7 +1542,6 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1512
1542
|
declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
1513
1543
|
readonly flow: v.OptionalSchema<v.ObjectSchema<{
|
|
1514
1544
|
readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1515
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1516
1545
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1517
1546
|
readonly flowId: v.StringSchema<undefined>;
|
|
1518
1547
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -1569,7 +1598,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1569
1598
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1570
1599
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1571
1600
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1572
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1601
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1573
1602
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1574
1603
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1575
1604
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1597,7 +1626,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1597
1626
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1598
1627
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1599
1628
|
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1600
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1629
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
1601
1630
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1602
1631
|
}, undefined>, undefined>, readonly []>;
|
|
1603
1632
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1606,11 +1635,11 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1606
1635
|
/**
|
|
1607
1636
|
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
1608
1637
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1609
|
-
* `"unspecified"` outside
|
|
1638
|
+
* `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
|
|
1639
|
+
* `accountSelector`.
|
|
1610
1640
|
*/
|
|
1611
|
-
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, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1612
1642
|
}, undefined>, v.TransformAction<{
|
|
1613
|
-
ownerAccountId: string;
|
|
1614
1643
|
smartAccountAddress: string;
|
|
1615
1644
|
flowId: string;
|
|
1616
1645
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -1639,7 +1668,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1639
1668
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1640
1669
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1641
1670
|
latestTxRef: string;
|
|
1642
|
-
latestLifecycleSource: "unspecified" | "
|
|
1671
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1643
1672
|
lifecycleReason: LifecycleReasonValue;
|
|
1644
1673
|
zipperReason?: {
|
|
1645
1674
|
code: ZipperReasonCodeValue;
|
|
@@ -1667,14 +1696,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1667
1696
|
progressTimeline: {
|
|
1668
1697
|
sequence: number;
|
|
1669
1698
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1670
|
-
status: "unspecified" | "
|
|
1699
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1671
1700
|
expectedDurationMs: number;
|
|
1672
1701
|
}[];
|
|
1673
1702
|
estimatedCompletionUnixMs: number;
|
|
1674
1703
|
isDelayed: boolean;
|
|
1675
|
-
participation: "
|
|
1704
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
1676
1705
|
}, Omit<{
|
|
1677
|
-
ownerAccountId: string;
|
|
1678
1706
|
smartAccountAddress: string;
|
|
1679
1707
|
flowId: string;
|
|
1680
1708
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -1703,7 +1731,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1703
1731
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1704
1732
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1705
1733
|
latestTxRef: string;
|
|
1706
|
-
latestLifecycleSource: "unspecified" | "
|
|
1734
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1707
1735
|
lifecycleReason: LifecycleReasonValue;
|
|
1708
1736
|
zipperReason?: {
|
|
1709
1737
|
code: ZipperReasonCodeValue;
|
|
@@ -1731,12 +1759,12 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1731
1759
|
progressTimeline: {
|
|
1732
1760
|
sequence: number;
|
|
1733
1761
|
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1734
|
-
status: "unspecified" | "
|
|
1762
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1735
1763
|
expectedDurationMs: number;
|
|
1736
1764
|
}[];
|
|
1737
1765
|
estimatedCompletionUnixMs: number;
|
|
1738
1766
|
isDelayed: boolean;
|
|
1739
|
-
participation: "
|
|
1767
|
+
participation: "owner" | "unspecified" | "recipient";
|
|
1740
1768
|
}, "amountE18"> & {
|
|
1741
1769
|
amount?: string;
|
|
1742
1770
|
}>]>, undefined>;
|
|
@@ -1791,7 +1819,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1791
1819
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1792
1820
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1793
1821
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1794
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1822
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1795
1823
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1796
1824
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1797
1825
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1813,7 +1841,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1813
1841
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1814
1842
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1815
1843
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1816
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1844
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1817
1845
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1818
1846
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1819
1847
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, ZipperReasonCodeValue>]>;
|
|
@@ -1841,7 +1869,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1841
1869
|
txRef: string;
|
|
1842
1870
|
txChainId: number;
|
|
1843
1871
|
occurredAtUnixMs: number;
|
|
1844
|
-
lifecycleSource: "unspecified" | "
|
|
1872
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1845
1873
|
lifecycleReason: LifecycleReasonValue;
|
|
1846
1874
|
zipperReason?: {
|
|
1847
1875
|
code: ZipperReasonCodeValue;
|
|
@@ -1863,7 +1891,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1863
1891
|
txRef: string;
|
|
1864
1892
|
txChainId: number;
|
|
1865
1893
|
occurredAtUnixMs: number;
|
|
1866
|
-
lifecycleSource: "unspecified" | "
|
|
1894
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1867
1895
|
lifecycleReason: LifecycleReasonValue;
|
|
1868
1896
|
zipperReason?: {
|
|
1869
1897
|
code: ZipperReasonCodeValue;
|
|
@@ -1911,7 +1939,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1911
1939
|
}) | undefined;
|
|
1912
1940
|
milestoneTxRef: string;
|
|
1913
1941
|
milestoneTxChainId: number;
|
|
1914
|
-
lifecycleSource: "unspecified" | "
|
|
1942
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1915
1943
|
lifecycleReason: LifecycleReasonValue;
|
|
1916
1944
|
zipperReason?: {
|
|
1917
1945
|
code: ZipperReasonCodeValue;
|
|
@@ -1932,7 +1960,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1932
1960
|
txRef: string;
|
|
1933
1961
|
txChainId: number;
|
|
1934
1962
|
occurredAtUnixMs: number;
|
|
1935
|
-
lifecycleSource: "unspecified" | "
|
|
1963
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1936
1964
|
lifecycleReason: LifecycleReasonValue;
|
|
1937
1965
|
zipperReason?: {
|
|
1938
1966
|
code: ZipperReasonCodeValue;
|
|
@@ -1975,7 +2003,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1975
2003
|
}) | undefined;
|
|
1976
2004
|
milestoneTxRef: string;
|
|
1977
2005
|
milestoneTxChainId: number;
|
|
1978
|
-
lifecycleSource: "unspecified" | "
|
|
2006
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1979
2007
|
lifecycleReason: LifecycleReasonValue;
|
|
1980
2008
|
zipperReason?: {
|
|
1981
2009
|
code: ZipperReasonCodeValue;
|
|
@@ -1996,7 +2024,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1996
2024
|
txRef: string;
|
|
1997
2025
|
txChainId: number;
|
|
1998
2026
|
occurredAtUnixMs: number;
|
|
1999
|
-
lifecycleSource: "unspecified" | "
|
|
2027
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
2000
2028
|
lifecycleReason: LifecycleReasonValue;
|
|
2001
2029
|
zipperReason?: {
|
|
2002
2030
|
code: ZipperReasonCodeValue;
|
|
@@ -2024,7 +2052,6 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
2024
2052
|
}, undefined>, undefined>;
|
|
2025
2053
|
}, undefined>;
|
|
2026
2054
|
declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2027
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
2028
2055
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
2029
2056
|
readonly flowId: v.StringSchema<undefined>;
|
|
2030
2057
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -2058,7 +2085,6 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2058
2085
|
}, undefined>, undefined>;
|
|
2059
2086
|
readonly lastActivityAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
2060
2087
|
}, undefined>, v.TransformAction<{
|
|
2061
|
-
ownerAccountId: string;
|
|
2062
2088
|
smartAccountAddress: string;
|
|
2063
2089
|
flowId: string;
|
|
2064
2090
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -2086,7 +2112,6 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2086
2112
|
} | undefined;
|
|
2087
2113
|
lastActivityAtUnixMs: number;
|
|
2088
2114
|
}, Omit<{
|
|
2089
|
-
ownerAccountId: string;
|
|
2090
2115
|
smartAccountAddress: string;
|
|
2091
2116
|
flowId: string;
|
|
2092
2117
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -2119,7 +2144,6 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2119
2144
|
declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
2120
2145
|
readonly txHash: v.StringSchema<undefined>;
|
|
2121
2146
|
readonly matches: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2122
|
-
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
2123
2147
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
2124
2148
|
readonly flowId: v.StringSchema<undefined>;
|
|
2125
2149
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
@@ -2153,7 +2177,6 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2153
2177
|
}, undefined>, undefined>;
|
|
2154
2178
|
readonly lastActivityAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
2155
2179
|
}, undefined>, v.TransformAction<{
|
|
2156
|
-
ownerAccountId: string;
|
|
2157
2180
|
smartAccountAddress: string;
|
|
2158
2181
|
flowId: string;
|
|
2159
2182
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -2181,7 +2204,6 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2181
2204
|
} | undefined;
|
|
2182
2205
|
lastActivityAtUnixMs: number;
|
|
2183
2206
|
}, Omit<{
|
|
2184
|
-
ownerAccountId: string;
|
|
2185
2207
|
smartAccountAddress: string;
|
|
2186
2208
|
flowId: string;
|
|
2187
2209
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
@@ -2214,6 +2236,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2214
2236
|
readonly nextPageToken: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
2215
2237
|
}, undefined>;
|
|
2216
2238
|
type ListLifecycleFlowsInput = v.InferInput<typeof ListLifecycleFlowsInputSchema>;
|
|
2239
|
+
type ListLifecycleAccountFlowsInput = v.InferInput<typeof ListLifecycleAccountFlowsInputSchema>;
|
|
2240
|
+
type GetLifecycleAccountFlowInput = v.InferInput<typeof GetLifecycleAccountFlowInputSchema>;
|
|
2217
2241
|
type GetLifecycleFlowInput = v.InferInput<typeof GetLifecycleFlowInputSchema>;
|
|
2218
2242
|
type ListLifecycleFlowsByTxInput = v.InferInput<typeof ListLifecycleFlowsByTxInputSchema>;
|
|
2219
2243
|
type LifecycleFlowSummary = v.InferOutput<typeof LifecycleFlowSummarySchema>;
|
|
@@ -2238,5 +2262,5 @@ type LifecycleTxLookupKind = LifecycleTxLookupKindValue;
|
|
|
2238
2262
|
type LifecycleRequestFeeStatus = LifecycleRequestFeeStatusValue;
|
|
2239
2263
|
type LifecycleFlowTxMatch = v.InferOutput<typeof LifecycleFlowTxMatchSchema>;
|
|
2240
2264
|
//#endregion
|
|
2241
|
-
export { GetLifecycleFlowInput, GetLifecycleFlowInputSchema, GetLifecycleFlowOutput, GetLifecycleFlowOutputSchema, LifecycleAssetIds, LifecycleFlowDetail, LifecycleFlowDetailSchema, LifecycleFlowState, LifecycleFlowStep, LifecycleFlowStepActivity, LifecycleFlowStepActivitySchema, LifecycleFlowStepSchema, LifecycleFlowSummary, LifecycleFlowSummaryProgress, LifecycleFlowSummaryProgressSchema, LifecycleFlowSummarySchema, LifecycleFlowTimelineItem, LifecycleFlowTimelineItemSchema, LifecycleFlowTxMatch, LifecycleFlowTxMatchSchema, LifecycleListOrderBy, LifecycleListScope, LifecycleReason, LifecycleRequestFee, LifecycleRequestFeeSchema, LifecycleRequestFeeStatus, LifecycleSort, LifecycleTxLookupKind, LifecycleZipperReason, LifecycleZipperReasonCode, ListLifecycleFlowsByTxInput, ListLifecycleFlowsByTxInputSchema, ListLifecycleFlowsByTxOutput, ListLifecycleFlowsByTxOutputSchema, ListLifecycleFlowsInput, ListLifecycleFlowsInputSchema, ListLifecycleFlowsOutput, ListLifecycleFlowsOutputSchema };
|
|
2265
|
+
export { GetLifecycleAccountFlowInput, GetLifecycleAccountFlowInputSchema, GetLifecycleFlowInput, GetLifecycleFlowInputSchema, GetLifecycleFlowOutput, GetLifecycleFlowOutputSchema, LifecycleAssetIds, LifecycleFlowDetail, LifecycleFlowDetailSchema, LifecycleFlowState, LifecycleFlowStep, LifecycleFlowStepActivity, LifecycleFlowStepActivitySchema, LifecycleFlowStepSchema, LifecycleFlowSummary, LifecycleFlowSummaryProgress, LifecycleFlowSummaryProgressSchema, LifecycleFlowSummarySchema, LifecycleFlowTimelineItem, LifecycleFlowTimelineItemSchema, LifecycleFlowTxMatch, LifecycleFlowTxMatchSchema, LifecycleListOrderBy, LifecycleListScope, LifecycleReason, LifecycleRequestFee, LifecycleRequestFeeSchema, LifecycleRequestFeeStatus, LifecycleSort, LifecycleTxLookupKind, LifecycleZipperReason, LifecycleZipperReasonCode, ListLifecycleAccountFlowsInput, ListLifecycleAccountFlowsInputSchema, ListLifecycleFlowsByTxInput, ListLifecycleFlowsByTxInputSchema, ListLifecycleFlowsByTxOutput, ListLifecycleFlowsByTxOutputSchema, ListLifecycleFlowsInput, ListLifecycleFlowsInputSchema, ListLifecycleFlowsOutput, ListLifecycleFlowsOutputSchema };
|
|
2242
2266
|
//# sourceMappingURL=lifecycle.schemas.d.ts.map
|