@polyester/sdk 0.26.1 → 0.27.1
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 +22 -0
- package/dist/account-signer/types.d.ts +3 -1
- package/dist/account-signer/types.d.ts.map +1 -1
- package/dist/account-signer/types.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +30 -21
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +25 -8
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +1 -1
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +2 -2
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +2 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.js +2 -1
- package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +3 -0
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +2 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +90 -10
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +40 -28
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +108 -2
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +109 -11
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/index.js +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +6 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +10 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +39 -2
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +43 -2
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/services/auth/account-signer-auth.d.ts +13 -6
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +15 -13
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/auth.d.ts +6 -4
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +7 -6
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/auth.types.d.ts +2 -2
- package/dist/services/auth/session.schemas.js +1 -0
- package/dist/services/auth/session.schemas.js.map +1 -1
- package/dist/services/auth/session.types.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +12 -6
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +2 -0
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/subaccounts/index.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.d.ts +9 -3
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +13 -3
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +21 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +13 -2
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.types.d.ts +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +15 -15
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +6 -4
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +12 -8
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +30 -19
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/errors.d.ts +10 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +12 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/wired-services.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders_read_pb.js","names":[],"sources":["../../../../src/gen/orders/v1/orders_read_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orders/v1/orders_read.proto (package orders.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { AccountCode, TransferCode } from \"../../ledger/v1/catalog_pb.js\";\nimport { file_ledger_v1_catalog } from \"../../ledger/v1/catalog_pb.js\";\nimport type { BatchReplaceAdmissionStatus, FeeAsset, OrderType, SelfTradePreventionMode, Side, StopLossPolicy, TakeProfitPolicy, TimeInForce, TrailingStopPolicy } from \"./orders_pb.js\";\nimport { file_orders_v1_orders } from \"./orders_pb.js\";\nimport type { U128 } from \"../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file orders/v1/orders_read.proto.\n */\nexport const file_orders_v1_orders_read: GenFile = /*@__PURE__*/\n fileDesc(\"ChtvcmRlcnMvdjEvb3JkZXJzX3JlYWQucHJvdG8SCW9yZGVycy52MSLdAQoLT3JkZXJPcmlnaW4SLAoFc2NvcGUYASABKA4yGy5vcmRlcnMudjEuT3JkZXJPcmlnaW5TY29wZUIAEjMKDHRyaWdnZXJfdHlwZRgCIAEoDjIbLm9yZGVycy52MS5PcmRlclRyaWdnZXJUeXBlQgASFwoKdHJpZ2dlcl9pZBgDIAEoBkgAiAEBEhwKD3BhcmVudF9vcmRlcl9pZBgEIAEoBkgBiAEBEhEKCWNoaWxkX3NlcRgFIAEoDUINCgtfdHJpZ2dlcl9pZEISChBfcGFyZW50X29yZGVyX2lkIuYCChRBdHRhY2hlZFJpc2tMZWdTdGF0ZRI4CgZzdGF0dXMYASABKA4yJi5vcmRlcnMudjEuQXR0YWNoZWRSaXNrTGVnU3RhdGUuU3RhdHVzQgASEwoLYXJtZWRfdHNfbnMYAiABKAQSFgoOdGVybWluYWxfdHNfbnMYAyABKAQSFwoKdHJpZ2dlcl9pZBgEIAEoBkgAiAEBEhsKDmNoaWxkX29yZGVyX2lkGAUgASgGSAGIAQEijgEKBlN0YXR1cxIWChJTVEFUVVNfVU5TUEVDSUZJRUQQABISCg5OT1RfQ09ORklHVVJFRBABEgsKB0NSRUFURUQQAhIJCgVBUk1FRBADEgsKB1JVTk5JTkcQBBINCglDT01Q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BlEiIKHk9SREVSX1RSSUdHRVJfVFlQRV9VTlNQRUNJRklFRBAAEg0KCVNUT1BfTE9TUxABEg8KC1RBS0VfUFJPRklUEAISEQoNVFJBSUxJTkdfU1RPUBADEggKBFRXQVAQBBIKCgZMQURERVIQBTLQAwoRT3JkZXJzUmVhZFNlcnZpY2USVAoNR2V0T3Blbk9yZGVycxIfLm9yZGVycy52MS5HZXRPcGVuT3JkZXJzUmVxdWVzdBogLm9yZGVycy52MS5HZXRPcGVuT3JkZXJzUmVzcG9uc2UiABJaCg9HZXRPcmRlckhpc3RvcnkSIS5vcmRlcnMudjEuR2V0T3JkZXJIaXN0b3J5UmVxdWVzdBoiLm9yZGVycy52MS5HZXRPcmRlckhpc3RvcnlSZXNwb25zZSIAElQKDUdldFVzZXJUcmFkZXMSHy5vcmRlcnMudjEuR2V0VXNlclRyYWRlc1JlcXVlc3QaIC5vcmRlcnMudjEuR2V0VXNlclRyYWRlc1Jlc3BvbnNlIgASRQoIR2V0T3JkZXISGi5vcmRlcnMudjEuR2V0T3JkZXJSZXF1ZXN0Ghsub3JkZXJzLnYxLkdldE9yZGVyUmVzcG9uc2UiABJsChVHZXRCYXRjaFJlcGxhY2VTdGF0dXMSJy5vcmRlcnMudjEuR2V0QmF0Y2hSZXBsYWNlU3RhdHVzUmVxdWVzdBooLm9yZGVycy52MS5HZXRCYXRjaFJlcGxhY2VTdGF0dXNSZXNwb25zZSIAQkBaPmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vb3JkZXJzL3YxO29yZGVyc3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_ledger_v1_catalog, file_orders_v1_orders, file_polyester_type_v1_u128]);\n\n/**\n * OrderOrigin explains why an order exists and where it came from.\n *\n * Population rules:\n * - direct/manual orders: scope=DIRECT; trigger fields unset/unspecified.\n * - attached children: scope=ATTACHED_RISK; parent_order_id is set.\n * - standalone trigger children: scope=STANDALONE_TRIGGER.\n * - child_seq is set for multi-child strategies (for example TWAP/LADDER).\n *\n * @generated from message orders.v1.OrderOrigin\n */\nexport type OrderOrigin = Message<\"orders.v1.OrderOrigin\"> & {\n /**\n * Broad class describing how the order was created.\n *\n * @generated from field: orders.v1.OrderOriginScope scope = 1;\n */\n scope: OrderOriginScope;\n\n /**\n * Trigger strategy that created this order, or unspecified for direct orders.\n *\n * @generated from field: orders.v1.OrderTriggerType trigger_type = 2;\n */\n triggerType: OrderTriggerType;\n\n /**\n * Trigger identifier when the order was created by a trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 3;\n */\n triggerId?: bigint | undefined;\n\n /**\n * Parent order ID for attached-risk child orders.\n *\n * @generated from field: optional fixed64 parent_order_id = 4;\n */\n parentOrderId?: bigint | undefined;\n\n /**\n * Child sequence number for multi-child trigger strategies. Zero when not applicable.\n *\n * @generated from field: uint32 child_seq = 5;\n */\n childSeq: number;\n};\n\n/**\n * Describes the message orders.v1.OrderOrigin.\n * Use `create(OrderOriginSchema)` to create a new message.\n */\nexport const OrderOriginSchema: GenMessage<OrderOrigin> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 0);\n\n/**\n * AttachedRiskLegState provides runtime linkage/state for one attached-risk leg.\n *\n * @generated from message orders.v1.AttachedRiskLegState\n */\nexport type AttachedRiskLegState = Message<\"orders.v1.AttachedRiskLegState\"> & {\n /**\n * Current runtime lifecycle status for this attached-risk leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState.Status status = 1;\n */\n status: AttachedRiskLegState_Status;\n\n /**\n * Time the leg was armed, in nanoseconds since epoch (UTC). Zero if not armed.\n *\n * @generated from field: uint64 armed_ts_ns = 2;\n */\n armedTsNs: bigint;\n\n /**\n * Time the leg reached a terminal state, in nanoseconds since epoch (UTC). Zero if not terminal.\n *\n * @generated from field: uint64 terminal_ts_ns = 3;\n */\n terminalTsNs: bigint;\n\n /**\n * Trigger identifier for this attached-risk leg.\n *\n * @generated from field: optional fixed64 trigger_id = 4;\n */\n triggerId?: bigint | undefined;\n\n /**\n * Child order ID created by this leg after it fires.\n *\n * @generated from field: optional fixed64 child_order_id = 5;\n */\n childOrderId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskLegState.\n * Use `create(AttachedRiskLegStateSchema)` to create a new message.\n */\nexport const AttachedRiskLegStateSchema: GenMessage<AttachedRiskLegState> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 1);\n\n/**\n * Runtime lifecycle for an attached-risk trigger leg.\n *\n * @generated from enum orders.v1.AttachedRiskLegState.Status\n */\nexport enum AttachedRiskLegState_Status {\n /**\n * Attached-risk leg status was not provided.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * No leg configured on the parent order.\n *\n * @generated from enum value: NOT_CONFIGURED = 1;\n */\n NOT_CONFIGURED = 1,\n\n /**\n * Trigger persisted, waiting for admission/arming.\n *\n * @generated from enum value: CREATED = 2;\n */\n CREATED = 2,\n\n /**\n * Trigger is actively armed.\n *\n * @generated from enum value: ARMED = 3;\n */\n ARMED = 3,\n\n /**\n * Trigger is executing runtime work (for example multi-step workflows).\n *\n * @generated from enum value: RUNNING = 4;\n */\n RUNNING = 4,\n\n /**\n * Trigger finished successfully.\n *\n * @generated from enum value: COMPLETED = 5;\n */\n COMPLETED = 5,\n\n /**\n * Trigger was canceled.\n *\n * @generated from enum value: CANCELED = 6;\n */\n CANCELED = 6,\n\n /**\n * Trigger failed.\n *\n * @generated from enum value: FAILED = 7;\n */\n FAILED = 7,\n\n /**\n * Trigger is paused.\n *\n * @generated from enum value: PAUSED = 8;\n */\n PAUSED = 8,\n}\n\n/**\n * Describes the enum orders.v1.AttachedRiskLegState.Status.\n */\nexport const AttachedRiskLegState_StatusSchema: GenEnum<AttachedRiskLegState_Status> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 1, 0);\n\n/**\n * AttachedRiskTakeProfit carries both take-profit config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskTakeProfit\n */\nexport type AttachedRiskTakeProfit = Message<\"orders.v1.AttachedRiskTakeProfit\"> & {\n /**\n * Take-profit policy configured on the parent order.\n *\n * @generated from field: orders.v1.TakeProfitPolicy policy = 1;\n */\n policy?: TakeProfitPolicy | undefined;\n\n /**\n * Runtime state for the take-profit leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskTakeProfit.\n * Use `create(AttachedRiskTakeProfitSchema)` to create a new message.\n */\nexport const AttachedRiskTakeProfitSchema: GenMessage<AttachedRiskTakeProfit> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 2);\n\n/**\n * AttachedRiskStopLoss carries both stop-loss config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskStopLoss\n */\nexport type AttachedRiskStopLoss = Message<\"orders.v1.AttachedRiskStopLoss\"> & {\n /**\n * Stop-loss policy configured on the parent order.\n *\n * @generated from field: orders.v1.StopLossPolicy policy = 1;\n */\n policy?: StopLossPolicy | undefined;\n\n /**\n * Runtime state for the stop-loss leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskStopLoss.\n * Use `create(AttachedRiskStopLossSchema)` to create a new message.\n */\nexport const AttachedRiskStopLossSchema: GenMessage<AttachedRiskStopLoss> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 3);\n\n/**\n * AttachedRiskTrailingStop carries both trailing-stop config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskTrailingStop\n */\nexport type AttachedRiskTrailingStop = Message<\"orders.v1.AttachedRiskTrailingStop\"> & {\n /**\n * Trailing-stop policy configured on the parent order.\n *\n * @generated from field: orders.v1.TrailingStopPolicy policy = 1;\n */\n policy?: TrailingStopPolicy | undefined;\n\n /**\n * Runtime state for the trailing-stop leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskTrailingStop.\n * Use `create(AttachedRiskTrailingStopSchema)` to create a new message.\n */\nexport const AttachedRiskTrailingStopSchema: GenMessage<AttachedRiskTrailingStop> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 4);\n\n/**\n * AttachedRisk is the single parent-side view for attached-risk configuration\n * and runtime status.\n *\n * @generated from message orders.v1.AttachedRisk\n */\nexport type AttachedRisk = Message<\"orders.v1.AttachedRisk\"> & {\n /**\n * Take-profit leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskTakeProfit take_profit = 1;\n */\n takeProfit?: AttachedRiskTakeProfit | undefined;\n\n /**\n * Stop-loss leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskStopLoss stop_loss = 2;\n */\n stopLoss?: AttachedRiskStopLoss | undefined;\n\n /**\n * Trailing-stop leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskTrailingStop trailing_stop = 3;\n */\n trailingStop?: AttachedRiskTrailingStop | undefined;\n\n /**\n * True when the take-profit and stop leg are linked as one-cancels-the-other.\n *\n * @generated from field: bool oco = 4;\n */\n oco: boolean;\n};\n\n/**\n * Describes the message orders.v1.AttachedRisk.\n * Use `create(AttachedRiskSchema)` to create a new message.\n */\nexport const AttachedRiskSchema: GenMessage<AttachedRisk> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 5);\n\n/**\n * OrderLineage identifies a logical order and one of its accepted generations.\n *\n * @generated from message orders.v1.OrderLineage\n */\nexport type OrderLineage = Message<\"orders.v1.OrderLineage\"> & {\n /**\n * Stable logical-order ID: the first generation's public order ID.\n * Replace preserves this ID; an independent new order starts a new lineage.\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * One-based replacement generation, distinct from per-order state version.\n *\n * @generated from field: uint32 generation = 2;\n */\n generation: number;\n};\n\n/**\n * Describes the message orders.v1.OrderLineage.\n * Use `create(OrderLineageSchema)` to create a new message.\n */\nexport const OrderLineageSchema: GenMessage<OrderLineage> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 6);\n\n/**\n * Order is the Connect-facing order view with compact binary fields.\n *\n * @generated from message orders.v1.Order\n */\nexport type Order = Message<\"orders.v1.Order\"> & {\n /**\n * Public order identifier as fixed64.\n *\n * @generated from field: fixed64 order_id = 1;\n */\n orderId: bigint;\n\n /**\n * Trading symbol numeric identifier.\n *\n * @generated from field: uint32 symbol_id = 3;\n */\n symbolId: number;\n\n /**\n * Client-provided, account-scoped identifier for correlation, lookup, and\n * cancellation. Empty when none was supplied.\n *\n * @generated from field: string client_order_id = 4;\n */\n clientOrderId: string;\n\n /**\n * Order side.\n *\n * @generated from field: orders.v1.Side side = 5;\n */\n side: Side;\n\n /**\n * Current order lifecycle status.\n *\n * @generated from field: orders.v1.OrderStatus status = 6;\n */\n status: OrderStatus;\n\n /**\n * Order type.\n *\n * @generated from field: orders.v1.OrderType order_type = 7;\n */\n orderType: OrderType;\n\n /**\n * Time-in-force policy.\n *\n * @generated from field: orders.v1.TimeInForce time_in_force = 8;\n */\n timeInForce: TimeInForce;\n\n /**\n * Self-trade prevention mode.\n *\n * @generated from field: orders.v1.SelfTradePreventionMode self_trade_prevention_mode = 9;\n */\n selfTradePreventionMode: SelfTradePreventionMode;\n\n /**\n * Fee asset selected for fills.\n *\n * @generated from field: orders.v1.FeeAsset fee_asset = 10;\n */\n feeAsset: FeeAsset;\n\n /**\n * True if the order was submitted as post-only (maker-only).\n *\n * @generated from field: bool post_only = 11;\n */\n postOnly: boolean;\n\n /**\n * Current accepted total order quantity, updated by successful modifies,\n * scaled by the pair's base_quantity_scale from GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 orig_qty_scaled = 12;\n */\n origQtyScaled: bigint;\n\n /**\n * Cumulative filled quantity across the lineage through this generation,\n * scaled by the pair's base_quantity_scale from GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 cum_qty_scaled = 13;\n */\n cumQtyScaled: bigint;\n\n /**\n * Remaining working quantity scaled by the pair's base_quantity_scale from\n * GetSpotConfig for symbol_id. Zero for terminal orders.\n *\n * @generated from field: int64 leaves_qty_scaled = 20;\n */\n leavesQtyScaled: bigint;\n\n /**\n * Average execution price across the lineage through this generation,\n * in quote units scaled by 1e6. Zero if no fills.\n *\n * @generated from field: int64 avg_price_ticks = 14;\n */\n avgPriceTicks: bigint;\n\n /**\n * Limit price in quote units scaled by 1e6. Zero for MARKET orders.\n *\n * @generated from field: int64 price_ticks = 15;\n */\n priceTicks: bigint;\n\n /**\n * Creation timestamp in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 created_ts_ns = 16;\n */\n createdTsNs: bigint;\n\n /**\n * Terminal timestamp in nanoseconds since epoch (UTC). Zero for open orders.\n *\n * @generated from field: uint64 terminal_ts_ns = 17;\n */\n terminalTsNs: bigint;\n\n /**\n * Terminal reason code for canceled/rejected orders. Zero for non-terminal orders.\n *\n * @generated from field: uint32 terminal_reason_code = 18;\n */\n terminalReasonCode: number;\n\n /**\n * Stable string for terminal_reason_code (e.g. \"POST_ONLY_CROSS\", \"USER_REQUEST\").\n * Empty for non-terminal orders.\n *\n * @generated from field: string terminal_reason = 19;\n */\n terminalReason: string;\n\n /**\n * Attached risk controls + runtime state on the parent order.\n * Empty when no attached risk exists.\n *\n * @generated from field: orders.v1.AttachedRisk attached_risk = 21;\n */\n attachedRisk?: AttachedRisk | undefined;\n\n /**\n * Runtime lineage metadata (why the order exists and what generated it).\n *\n * @generated from field: orders.v1.OrderOrigin origin = 22;\n */\n origin?: OrderOrigin | undefined;\n\n /**\n * Optional client-side reference price used for MARKET slippage protection,\n * in quote units scaled by 1e6.\n *\n * @generated from field: int64 market_client_ref_price_ticks = 23;\n */\n marketClientRefPriceTicks: bigint;\n\n /**\n * Optional MARKET max slippage as a price delta in 1e-6 quote-unit ticks.\n *\n * @generated from field: int32 market_max_slippage_ticks = 24;\n */\n marketMaxSlippageTicks: number;\n\n /**\n * Optional MARKET max slippage in basis points (1 bp = 0.01%).\n *\n * @generated from field: int32 market_max_slippage_bps = 25;\n */\n marketMaxSlippageBps: number;\n\n /**\n * Per-order state version. Starts at 1 and increases for every published\n * state change. Use this field to reconcile API and realtime updates.\n *\n * @generated from field: uint32 version = 26;\n */\n version: number;\n\n /**\n * Batch-replace identity that admitted this order. Zero for other origins.\n *\n * @generated from field: fixed64 batch_request_id = 27;\n */\n batchRequestId: bigint;\n\n /**\n * Submitted hard all-in quote debit limit, scaled by the pair's\n * quote_quantity_scale from GetSpotConfig. Present only when that sizing\n * method was submitted.\n *\n * @generated from field: optional int64 submitted_max_quote_debit_scaled = 28;\n */\n submittedMaxQuoteDebitScaled?: bigint | undefined;\n\n /**\n * Logical-order identity and requested generation. Always populated by order reads.\n *\n * @generated from field: orders.v1.OrderLineage lineage = 31;\n */\n lineage?: OrderLineage | undefined;\n\n /**\n * Exact UTC expiry time for GTD orders, within the supported signed\n * Unix-nanosecond range from 1677-09-21T00:12:43.145224193Z through\n * 2262-04-11T23:47:16.854775807Z. Omitted for all other time-in-force policies.\n * The order cannot execute when the current time equals this value.\n *\n * @generated from field: google.protobuf.Timestamp expire_at = 32;\n */\n expireAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orders.v1.Order.\n * Use `create(OrderSchema)` to create a new message.\n */\nexport const OrderSchema: GenMessage<Order> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 7);\n\n/**\n * UserTrade is the Connect-facing per-user trade fill view.\n *\n * @generated from message orders.v1.UserTrade\n */\nexport type UserTrade = Message<\"orders.v1.UserTrade\"> & {\n /**\n * Trading symbol numeric identifier.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Match identifier (monotonic per symbol).\n *\n * @generated from field: uint64 match_id = 3;\n */\n matchId: bigint;\n\n /**\n * Order identifier as fixed64.\n *\n * @generated from field: fixed64 order_id = 4;\n */\n orderId: bigint;\n\n /**\n * Fill side.\n *\n * @generated from field: orders.v1.Side side = 5;\n */\n side: Side;\n\n /**\n * True if this fill was maker-side.\n *\n * @generated from field: bool is_maker = 6;\n */\n isMaker: boolean;\n\n /**\n * Execution price in quote units scaled by 1e6.\n *\n * @generated from field: int64 price_ticks = 7;\n */\n priceTicks: bigint;\n\n /**\n * Executed quantity scaled by the pair's base_quantity_scale from\n * GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 qty_scaled = 8;\n */\n qtyScaled: bigint;\n\n /**\n * Exact fee magnitude in fixed 18-decimal units of fee_asset.\n *\n * @generated from field: polyester.type.v1.U128 fee_amount_e18 = 9;\n */\n feeAmountE18?: U128 | undefined;\n\n /**\n * Fee asset charged or credited for this fill.\n *\n * @generated from field: orders.v1.FeeAsset fee_asset = 10;\n */\n feeAsset: FeeAsset;\n\n /**\n * Exact referral share magnitude in fixed 18-decimal units of fee_asset.\n *\n * @generated from field: polyester.type.v1.U128 referral_share_amount_e18 = 12;\n */\n referralShareAmountE18?: U128 | undefined;\n\n /**\n * Execution timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 ts_ns = 13;\n */\n tsNs: bigint;\n\n /**\n * Whether this fill earned a rebate instead of paying a fee.\n *\n * @generated from field: bool fee_is_rebate = 14;\n */\n feeIsRebate: boolean;\n\n /**\n * Logical-order identity and the generation that executed this fill.\n * Always populated by execution reads; order_id retains its original identity.\n *\n * @generated from field: orders.v1.OrderLineage lineage = 17;\n */\n lineage?: OrderLineage | undefined;\n};\n\n/**\n * Describes the message orders.v1.UserTrade.\n * Use `create(UserTradeSchema)` to create a new message.\n */\nexport const UserTradeSchema: GenMessage<UserTrade> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 8);\n\n/**\n * OrderTransfer is the Connect-facing minimal per-leg transfer view.\n *\n * @generated from message orders.v1.OrderTransfer\n */\nexport type OrderTransfer = Message<\"orders.v1.OrderTransfer\"> & {\n /**\n * Match identifier that linked this transfer to an execution, scoped by symbol_id.\n *\n * @generated from field: uint64 match_id = 1;\n */\n matchId: bigint;\n\n /**\n * Market of the execution; together with match_id identifies its match.\n *\n * @generated from field: uint32 symbol_id = 10;\n */\n symbolId: number;\n\n /**\n * Asset identifier for the transferred asset.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * Transfer amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 3;\n */\n amountE18?: U128 | undefined;\n\n /**\n * True when the transfer debits the account; false when it credits the account.\n *\n * @generated from field: bool is_debit = 5;\n */\n isDebit: boolean;\n\n /**\n * Product reason for this transfer leg.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 6;\n */\n transferCode: TransferCode;\n\n /**\n * Account bucket affected by this transfer leg.\n *\n * @generated from field: ledger.v1.AccountCode account_code = 7;\n */\n accountCode: AccountCode;\n\n /**\n * Transfer timestamp in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 ts_ns = 8;\n */\n tsNs: bigint;\n\n /**\n * Transfer transaction identifier.\n *\n * @generated from field: string tx_id = 9;\n */\n txId: string;\n};\n\n/**\n * Describes the message orders.v1.OrderTransfer.\n * Use `create(OrderTransferSchema)` to create a new message.\n */\nexport const OrderTransferSchema: GenMessage<OrderTransfer> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 9);\n\n/**\n * GetOpenOrdersRequest lists currently non-terminal orders for an account.\n *\n * @generated from message orders.v1.GetOpenOrdersRequest\n */\nexport type GetOpenOrdersRequest = Message<\"orders.v1.GetOpenOrdersRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id values. Empty means all symbols.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Max number of orders to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 10;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, and sort\n * order.\n *\n * @generated from field: string page_token = 11;\n */\n pageToken: string;\n\n /**\n * Include attached-risk policy details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 12;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 13;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Optional trigger identifier. When set, returns only child orders created by\n * that trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 14;\n */\n triggerId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.GetOpenOrdersRequest.\n * Use `create(GetOpenOrdersRequestSchema)` to create a new message.\n */\nexport const GetOpenOrdersRequestSchema: GenMessage<GetOpenOrdersRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 10);\n\n/**\n * GetOpenOrdersResponse returns open orders and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetOpenOrdersResponse\n */\nexport type GetOpenOrdersResponse = Message<\"orders.v1.GetOpenOrdersResponse\"> & {\n /**\n * Open orders ordered newest-first.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOpenOrdersResponse.\n * Use `create(GetOpenOrdersResponseSchema)` to create a new message.\n */\nexport const GetOpenOrdersResponseSchema: GenMessage<GetOpenOrdersResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 11);\n\n/**\n * GetOrderHistoryRequest lists terminal orders for an account.\n *\n * @generated from message orders.v1.GetOrderHistoryRequest\n */\nexport type GetOrderHistoryRequest = Message<\"orders.v1.GetOrderHistoryRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id values. Empty means all symbols.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Optional status filter.\n *\n * @generated from field: orders.v1.OrderStatus status = 4;\n */\n status: OrderStatus;\n\n /**\n * Inclusive start of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 start_ts_ns = 10;\n */\n startTsNs?: bigint | undefined;\n\n /**\n * Inclusive end of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 end_ts_ns = 11;\n */\n endTsNs?: bigint | undefined;\n\n /**\n * Max number of orders to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 12;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, time range,\n * and sort order.\n *\n * @generated from field: string page_token = 13;\n */\n pageToken: string;\n\n /**\n * Include attached-risk policy details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 14;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 15;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Optional trigger identifier. When set, returns only child orders created by\n * that trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 16;\n */\n triggerId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.GetOrderHistoryRequest.\n * Use `create(GetOrderHistoryRequestSchema)` to create a new message.\n */\nexport const GetOrderHistoryRequestSchema: GenMessage<GetOrderHistoryRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 12);\n\n/**\n * GetOrderHistoryResponse returns historical orders and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetOrderHistoryResponse\n */\nexport type GetOrderHistoryResponse = Message<\"orders.v1.GetOrderHistoryResponse\"> & {\n /**\n * Historical orders ordered newest-first.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderHistoryResponse.\n * Use `create(GetOrderHistoryResponseSchema)` to create a new message.\n */\nexport const GetOrderHistoryResponseSchema: GenMessage<GetOrderHistoryResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 13);\n\n/**\n * GetUserTradesRequest lists trade fills for an account.\n *\n * @generated from message orders.v1.GetUserTradesRequest\n */\nexport type GetUserTradesRequest = Message<\"orders.v1.GetUserTradesRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Inclusive start of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 start_ts_ns = 10;\n */\n startTsNs?: bigint | undefined;\n\n /**\n * Inclusive end of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 end_ts_ns = 11;\n */\n endTsNs?: bigint | undefined;\n\n /**\n * Max number of trades to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 12;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, time range,\n * and sort order.\n *\n * @generated from field: string page_token = 13;\n */\n pageToken: string;\n\n /**\n * Return only durable fills whose per-symbol match ID is greater than this\n * value. Subscribe to the execution WebSocket before calling this method and\n * de-duplicate overlapping results by (symbol_id, match_id, order_id).\n *\n * @generated from field: optional uint64 after_match_id = 14;\n */\n afterMatchId?: bigint | undefined;\n\n /**\n * Optional execution scope. Omitting it returns all matching account fills.\n *\n * @generated from oneof orders.v1.GetUserTradesRequest.execution_scope\n */\n executionScope: {\n /**\n * Exactly this physical order's executions; never includes predecessors.\n *\n * @generated from field: fixed64 order_id = 15;\n */\n value: bigint;\n case: \"orderId\";\n } | {\n /**\n * Executions across this logical order's accepted generations.\n *\n * @generated from field: fixed64 lineage_id = 16;\n */\n value: bigint;\n case: \"lineageId\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Inclusive generation ceiling. Does not freeze an actively filling generation.\n *\n * @generated from field: optional uint32 through_generation = 17;\n */\n throughGeneration?: number | undefined;\n\n /**\n * Include account settlement legs linked to matches on this page.\n * Legs may repeat across pages when two fills share a match; deduplicate by tx_id.\n *\n * @generated from field: bool include_transfers = 18;\n */\n includeTransfers: boolean;\n};\n\n/**\n * Describes the message orders.v1.GetUserTradesRequest.\n * Use `create(GetUserTradesRequestSchema)` to create a new message.\n */\nexport const GetUserTradesRequestSchema: GenMessage<GetUserTradesRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 14);\n\n/**\n * GetUserTradesResponse returns user trade fills and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetUserTradesResponse\n */\nexport type GetUserTradesResponse = Message<\"orders.v1.GetUserTradesResponse\"> & {\n /**\n * Trades ordered by timestamp, symbol, match and physical order, descending.\n * Projection is eventual: an empty page is not proof of order-state reconciliation.\n *\n * @generated from field: repeated orders.v1.UserTrade trades = 1;\n */\n trades: UserTrade[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n\n /**\n * Settlement legs for matches represented on this page, when requested.\n *\n * @generated from field: repeated orders.v1.OrderTransfer transfers = 3;\n */\n transfers: OrderTransfer[];\n};\n\n/**\n * Describes the message orders.v1.GetUserTradesResponse.\n * Use `create(GetUserTradesResponseSchema)` to create a new message.\n */\nexport const GetUserTradesResponseSchema: GenMessage<GetUserTradesResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 15);\n\n/**\n * GetOrderRequest retrieves one physical order and a bounded page of its lineage executions.\n *\n * @generated from message orders.v1.GetOrderRequest\n */\nexport type GetOrderRequest = Message<\"orders.v1.GetOrderRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Order lookup key. Exactly one identifier is required.\n *\n * @generated from oneof orders.v1.GetOrderRequest.key\n */\n key: {\n /**\n * Public order ID (base58-encoded fixed64 on REST).\n *\n * @generated from field: fixed64 order_id = 2;\n */\n value: bigint;\n case: \"orderId\";\n } | {\n /**\n * Client order ID. When provided, server resolves latest matching order for the account.\n *\n * @generated from field: string client_order_id = 3;\n */\n value: string;\n case: \"clientOrderId\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Include attached-risk policy details in response.order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 10;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in response.order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 11;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Include a page of lineage trades and their settlement transfers (default true).\n * Set false for state-only polling; limit and page_token must then be omitted.\n *\n * @generated from field: optional bool include_execution_history = 12;\n */\n includeExecutionHistory?: boolean | undefined;\n\n /**\n * Maximum executions to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 13;\n */\n limit?: number | undefined;\n\n /**\n * Execution cursor from this order's previous response. Use order_id rather\n * than a reused client_order_id to keep the requested generation stable.\n *\n * @generated from field: string page_token = 14;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderRequest.\n * Use `create(GetOrderRequestSchema)` to create a new message.\n */\nexport const GetOrderRequestSchema: GenMessage<GetOrderRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 16);\n\n/**\n * GetOrderResponse returns order details and a bounded execution page.\n * Order state, trades and transfers are eventually consistent;\n * one page's execution quantities need not equal the order's cumulative quantity.\n *\n * @generated from message orders.v1.GetOrderResponse\n */\nexport type GetOrderResponse = Message<\"orders.v1.GetOrderResponse\"> & {\n /**\n * Requested order, if found.\n *\n * @generated from field: orders.v1.Order order = 1;\n */\n order?: Order | undefined;\n\n /**\n * Lineage executions through the requested generation, newest first, retaining\n * original executing order IDs. Omitted when execution history is disabled.\n *\n * @generated from field: repeated orders.v1.UserTrade trades = 2;\n */\n trades: UserTrade[];\n\n /**\n * Account settlement legs for matches on this page. Deduplicate by tx_id when\n * multiple execution pages contain legs of the same match.\n *\n * @generated from field: repeated orders.v1.OrderTransfer transfers = 3;\n */\n transfers: OrderTransfer[];\n\n /**\n * Cursor for the next execution page. Empty when no further rows are visible;\n * this is not a settlement or order-state reconciliation watermark.\n *\n * @generated from field: string next_page_token = 6;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderResponse.\n * Use `create(GetOrderResponseSchema)` to create a new message.\n */\nexport const GetOrderResponseSchema: GenMessage<GetOrderResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 17);\n\n/**\n * GetBatchReplaceStatusRequest retrieves one admitted batch by server identity.\n *\n * @generated from message orders.v1.GetBatchReplaceStatusRequest\n */\nexport type GetBatchReplaceStatusRequest = Message<\"orders.v1.GetBatchReplaceStatusRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Server-issued batch identity from BatchReplaceOrders.\n *\n * @generated from field: fixed64 batch_request_id = 2;\n */\n batchRequestId: bigint;\n};\n\n/**\n * Describes the message orders.v1.GetBatchReplaceStatusRequest.\n * Use `create(GetBatchReplaceStatusRequestSchema)` to create a new message.\n */\nexport const GetBatchReplaceStatusRequestSchema: GenMessage<GetBatchReplaceStatusRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 18);\n\n/**\n * BatchReplaceStatusItem is the index-stable execution status for one replacement.\n *\n * @generated from message orders.v1.BatchReplaceStatusItem\n */\nexport type BatchReplaceStatusItem = Message<\"orders.v1.BatchReplaceStatusItem\"> & {\n /**\n * Zero-based item index from the write request.\n *\n * @generated from field: uint32 item_index = 1;\n */\n itemIndex: number;\n\n /**\n * Current recoverable phase.\n *\n * @generated from field: orders.v1.BatchReplacePhase phase = 2;\n */\n phase: BatchReplacePhase;\n\n /**\n * Original order targeted by the replacement.\n *\n * @generated from field: fixed64 old_order_id = 3;\n */\n oldOrderId: bigint;\n\n /**\n * Assigned successor order ID. Zero when rejected before assignment.\n *\n * @generated from field: fixed64 replacement_order_id = 4;\n */\n replacementOrderId: bigint;\n\n /**\n * Current successor order status when available.\n *\n * @generated from field: orders.v1.OrderStatus order_status = 5;\n */\n orderStatus: OrderStatus;\n\n /**\n * Stable rejection or terminal error code. Empty when none.\n *\n * @generated from field: string code = 6;\n */\n code: string;\n\n /**\n * Latest status timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 updated_ts_ns = 7;\n */\n updatedTsNs: bigint;\n};\n\n/**\n * Describes the message orders.v1.BatchReplaceStatusItem.\n * Use `create(BatchReplaceStatusItemSchema)` to create a new message.\n */\nexport const BatchReplaceStatusItemSchema: GenMessage<BatchReplaceStatusItem> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 19);\n\n/**\n * GetBatchReplaceStatusResponse returns durable batch and per-item finality.\n *\n * @generated from message orders.v1.GetBatchReplaceStatusResponse\n */\nexport type GetBatchReplaceStatusResponse = Message<\"orders.v1.GetBatchReplaceStatusResponse\"> & {\n /**\n * Server-issued batch identity.\n *\n * @generated from field: fixed64 batch_request_id = 1;\n */\n batchRequestId: bigint;\n\n /**\n * Aggregate admission status returned by the write receipt.\n *\n * @generated from field: orders.v1.BatchReplaceAdmissionStatus admission_status = 2;\n */\n admissionStatus: BatchReplaceAdmissionStatus;\n\n /**\n * Per-item statuses in request order.\n *\n * @generated from field: repeated orders.v1.BatchReplaceStatusItem items = 3;\n */\n items: BatchReplaceStatusItem[];\n\n /**\n * Number of admitted items.\n *\n * @generated from field: uint32 accepted_count = 4;\n */\n acceptedCount: number;\n\n /**\n * Number of rejected items.\n *\n * @generated from field: uint32 rejected_count = 5;\n */\n rejectedCount: number;\n\n /**\n * Server acceptance timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 accepted_ts_ns = 6;\n */\n acceptedTsNs: bigint;\n\n /**\n * Latest batch status timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 updated_ts_ns = 7;\n */\n updatedTsNs: bigint;\n};\n\n/**\n * Describes the message orders.v1.GetBatchReplaceStatusResponse.\n * Use `create(GetBatchReplaceStatusResponseSchema)` to create a new message.\n */\nexport const GetBatchReplaceStatusResponseSchema: GenMessage<GetBatchReplaceStatusResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 20);\n\n/**\n * OrderStatus is specific to the read API (write API uses simple \"accepted\" status string).\n *\n * @generated from enum orders.v1.OrderStatus\n */\nexport enum OrderStatus {\n /**\n * Order status was not provided.\n *\n * @generated from enum value: ORDER_STATUS_UNSPECIFIED = 0;\n */\n ORDER_STATUS_UNSPECIFIED = 0,\n\n /**\n * Accepted and submitted for execution, but not yet confirmed as working.\n *\n * @generated from enum value: PENDING = 1;\n */\n PENDING = 1,\n\n /**\n * Cancel requested; may still be working until cancel is confirmed.\n *\n * @generated from enum value: PENDING_CANCEL = 2;\n */\n PENDING_CANCEL = 2,\n\n /**\n * Accepted and actively working (resting and/or matching).\n *\n * @generated from enum value: WORKING = 3;\n */\n WORKING = 3,\n\n /**\n * Fully filled (no remaining quantity).\n *\n * @generated from enum value: FILLED = 4;\n */\n FILLED = 4,\n\n /**\n * Canceled and no longer working.\n *\n * @generated from enum value: CANCELED = 5;\n */\n CANCELED = 5,\n\n /**\n * Rejected and never entered the working state.\n *\n * @generated from enum value: REJECTED = 6;\n */\n REJECTED = 6,\n}\n\n/**\n * Describes the enum orders.v1.OrderStatus.\n */\nexport const OrderStatusSchema: GenEnum<OrderStatus> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 0);\n\n/**\n * BatchReplacePhase is the recoverable execution phase for one replacement.\n *\n * @generated from enum orders.v1.BatchReplacePhase\n */\nexport enum BatchReplacePhase {\n /**\n * Phase is unavailable.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The replacement was admitted and handed to execution.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_ADMITTED = 1;\n */\n ADMITTED = 1,\n\n /**\n * The successor order is active.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_WORKING = 2;\n */\n WORKING = 2,\n\n /**\n * The replacement was rejected.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_REJECTED = 3;\n */\n REJECTED = 3,\n\n /**\n * The successor reached a terminal order state.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_TERMINAL = 4;\n */\n TERMINAL = 4,\n}\n\n/**\n * Describes the enum orders.v1.BatchReplacePhase.\n */\nexport const BatchReplacePhaseSchema: GenEnum<BatchReplacePhase> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 1);\n\n/**\n * OrderOriginScope captures broad origin classes for an order.\n *\n * @generated from enum orders.v1.OrderOriginScope\n */\nexport enum OrderOriginScope {\n /**\n * Order origin scope was not provided.\n *\n * @generated from enum value: ORDER_ORIGIN_SCOPE_UNSPECIFIED = 0;\n */\n ORDER_ORIGIN_SCOPE_UNSPECIFIED = 0,\n\n /**\n * User/manual order (non-trigger path).\n *\n * @generated from enum value: DIRECT = 1;\n */\n DIRECT = 1,\n\n /**\n * Child generated by attached TP/SL/Trailing risk on a parent order.\n *\n * @generated from enum value: ATTACHED_RISK = 2;\n */\n ATTACHED_RISK = 2,\n\n /**\n * Child generated by a standalone trigger (STOP/TWAP/LADDER...).\n *\n * @generated from enum value: STANDALONE_TRIGGER = 3;\n */\n STANDALONE_TRIGGER = 3,\n\n /**\n * System-managed automation, such as liquidation or account-protection actions.\n *\n * @generated from enum value: SYSTEM = 4;\n */\n SYSTEM = 4,\n}\n\n/**\n * Describes the enum orders.v1.OrderOriginScope.\n */\nexport const OrderOriginScopeSchema: GenEnum<OrderOriginScope> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 2);\n\n/**\n * OrderTriggerType captures the trigger strategy that generated the order.\n *\n * @generated from enum orders.v1.OrderTriggerType\n */\nexport enum OrderTriggerType {\n /**\n * Trigger type was not provided or the order was not generated by a trigger.\n *\n * @generated from enum value: ORDER_TRIGGER_TYPE_UNSPECIFIED = 0;\n */\n ORDER_TRIGGER_TYPE_UNSPECIFIED = 0,\n\n /**\n * Order was generated by a stop-loss trigger.\n *\n * @generated from enum value: STOP_LOSS = 1;\n */\n STOP_LOSS = 1,\n\n /**\n * Order was generated by a take-profit trigger.\n *\n * @generated from enum value: TAKE_PROFIT = 2;\n */\n TAKE_PROFIT = 2,\n\n /**\n * Order was generated by a trailing-stop trigger.\n *\n * @generated from enum value: TRAILING_STOP = 3;\n */\n TRAILING_STOP = 3,\n\n /**\n * Order was generated by a time-weighted execution trigger.\n *\n * @generated from enum value: TWAP = 4;\n */\n TWAP = 4,\n\n /**\n * Order was generated by a ladder execution trigger.\n *\n * @generated from enum value: LADDER = 5;\n */\n LADDER = 5,\n}\n\n/**\n * Describes the enum orders.v1.OrderTriggerType.\n */\nexport const OrderTriggerTypeSchema: GenEnum<OrderTriggerType> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 3);\n\n/**\n * @generated from service orders.v1.OrdersReadService\n */\nexport const OrdersReadService: GenService<{\n /**\n * Retrieve non-terminal orders for an account.\n * Supports optional subaccount, trigger, symbol, and side filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOpenOrders\n */\n getOpenOrders: {\n methodKind: \"unary\";\n input: typeof GetOpenOrdersRequestSchema;\n output: typeof GetOpenOrdersResponseSchema;\n },\n /**\n * Retrieve terminal order history for an account.\n * Supports optional subaccount, trigger, symbol, side, status, and time-range filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOrderHistory\n */\n getOrderHistory: {\n methodKind: \"unary\";\n input: typeof GetOrderHistoryRequestSchema;\n output: typeof GetOrderHistoryResponseSchema;\n },\n /**\n * Retrieve per-user trade fills for an account.\n * Supports exact physical-order or logical-lineage scope, an inclusive generation\n * cutoff, and subaccount, symbol, side and time filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetUserTrades\n */\n getUserTrades: {\n methodKind: \"unary\";\n input: typeof GetUserTradesRequestSchema;\n output: typeof GetUserTradesResponseSchema;\n },\n /**\n * Retrieve order state and a bounded page of its lineage executions by order or client order ID.\n * Use GetUserTrades for paginated execution history and optional settlement legs.\n * Recent accepted orders may wait briefly for read availability; retry UNAVAILABLE with the same lookup key.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOrder\n */\n getOrder: {\n methodKind: \"unary\";\n input: typeof GetOrderRequestSchema;\n output: typeof GetOrderResponseSchema;\n },\n /**\n * Retrieve durable execution status for one admitted batch replacement.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetBatchReplaceStatus\n */\n getBatchReplaceStatus: {\n methodKind: \"unary\";\n input: typeof GetBatchReplaceStatusRequestSchema;\n output: typeof GetBatchReplaceStatusResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orders_v1_orders_read, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAa,6BACX,uBAAS,w7RAAw7R;CAAC;CAAgC;CAAwB;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,kBAAA;;;;;;CAML,iBAAA,iBAAA,oCAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,eAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,iBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,mBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,UAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,4BAA4B,CAAC;;;;AAKxC,MAAa,oBA0DX,0BAAY,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"orders_read_pb.js","names":[],"sources":["../../../../src/gen/orders/v1/orders_read_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orders/v1/orders_read.proto (package orders.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { AccountCode, TransferCode } from \"../../ledger/v1/catalog_pb.js\";\nimport { file_ledger_v1_catalog } from \"../../ledger/v1/catalog_pb.js\";\nimport type { BatchReplaceAdmissionStatus, FeeAsset, OrderType, SelfTradePreventionMode, Side, StopLossPolicy, TakeProfitPolicy, TimeInForce, TrailingStopPolicy } from \"./orders_pb.js\";\nimport { file_orders_v1_orders } from \"./orders_pb.js\";\nimport type { U128 } from \"../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file orders/v1/orders_read.proto.\n */\nexport const file_orders_v1_orders_read: GenFile = /*@__PURE__*/\n fileDesc(\"ChtvcmR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3BvbnNlIgASWgoPR2V0T3JkZXJIaXN0b3J5EiEub3JkZXJzLnYxLkdldE9yZGVySGlzdG9yeVJlcXVlc3QaIi5vcmRlcnMudjEuR2V0T3JkZXJIaXN0b3J5UmVzcG9uc2UiABJUCg1HZXRVc2VyVHJhZGVzEh8ub3JkZXJzLnYxLkdldFVzZXJUcmFkZXNSZXF1ZXN0GiAub3JkZXJzLnYxLkdldFVzZXJUcmFkZXNSZXNwb25zZSIAEkUKCEdldE9yZGVyEhoub3JkZXJzLnYxLkdldE9yZGVyUmVxdWVzdBobLm9yZGVycy52MS5HZXRPcmRlclJlc3BvbnNlIgASbAoVR2V0QmF0Y2hSZXBsYWNlU3RhdHVzEicub3JkZXJzLnYxLkdldEJhdGNoUmVwbGFjZVN0YXR1c1JlcXVlc3QaKC5vcmRlcnMudjEuR2V0QmF0Y2hSZXBsYWNlU3RhdHVzUmVzcG9uc2UiAEJAWj5naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL29yZGVycy92MTtvcmRlcnN2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_ledger_v1_catalog, file_orders_v1_orders, file_polyester_type_v1_u128]);\n\n/**\n * OrderOrigin explains why an order exists and where it came from.\n *\n * Population rules:\n * - direct/manual orders: scope=DIRECT; trigger fields unset/unspecified.\n * - attached children: scope=ATTACHED_RISK; parent_order_id is set.\n * - standalone trigger children: scope=STANDALONE_TRIGGER.\n * - child_seq is set for multi-child strategies (for example TWAP/LADDER).\n *\n * @generated from message orders.v1.OrderOrigin\n */\nexport type OrderOrigin = Message<\"orders.v1.OrderOrigin\"> & {\n /**\n * Broad class describing how the order was created.\n *\n * @generated from field: orders.v1.OrderOriginScope scope = 1;\n */\n scope: OrderOriginScope;\n\n /**\n * Trigger strategy that created this order, or unspecified for direct orders.\n *\n * @generated from field: orders.v1.OrderTriggerType trigger_type = 2;\n */\n triggerType: OrderTriggerType;\n\n /**\n * Trigger identifier when the order was created by a trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 3;\n */\n triggerId?: bigint | undefined;\n\n /**\n * Parent order ID for attached-risk child orders.\n *\n * @generated from field: optional fixed64 parent_order_id = 4;\n */\n parentOrderId?: bigint | undefined;\n\n /**\n * Child sequence number for multi-child trigger strategies. Zero when not applicable.\n *\n * @generated from field: uint32 child_seq = 5;\n */\n childSeq: number;\n};\n\n/**\n * Describes the message orders.v1.OrderOrigin.\n * Use `create(OrderOriginSchema)` to create a new message.\n */\nexport const OrderOriginSchema: GenMessage<OrderOrigin> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 0);\n\n/**\n * AttachedRiskLegState provides runtime linkage/state for one attached-risk leg.\n *\n * @generated from message orders.v1.AttachedRiskLegState\n */\nexport type AttachedRiskLegState = Message<\"orders.v1.AttachedRiskLegState\"> & {\n /**\n * Current runtime lifecycle status for this attached-risk leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState.Status status = 1;\n */\n status: AttachedRiskLegState_Status;\n\n /**\n * Time the leg was armed, in nanoseconds since epoch (UTC). Zero if not armed.\n *\n * @generated from field: uint64 armed_ts_ns = 2;\n */\n armedTsNs: bigint;\n\n /**\n * Time the leg reached a terminal state, in nanoseconds since epoch (UTC). Zero if not terminal.\n *\n * @generated from field: uint64 terminal_ts_ns = 3;\n */\n terminalTsNs: bigint;\n\n /**\n * Trigger identifier for this attached-risk leg.\n *\n * @generated from field: optional fixed64 trigger_id = 4;\n */\n triggerId?: bigint | undefined;\n\n /**\n * Child order ID created by this leg after it fires.\n *\n * @generated from field: optional fixed64 child_order_id = 5;\n */\n childOrderId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskLegState.\n * Use `create(AttachedRiskLegStateSchema)` to create a new message.\n */\nexport const AttachedRiskLegStateSchema: GenMessage<AttachedRiskLegState> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 1);\n\n/**\n * Runtime lifecycle for an attached-risk trigger leg.\n *\n * @generated from enum orders.v1.AttachedRiskLegState.Status\n */\nexport enum AttachedRiskLegState_Status {\n /**\n * Attached-risk leg status was not provided.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * No leg configured on the parent order.\n *\n * @generated from enum value: NOT_CONFIGURED = 1;\n */\n NOT_CONFIGURED = 1,\n\n /**\n * Trigger persisted, waiting for admission/arming.\n *\n * @generated from enum value: CREATED = 2;\n */\n CREATED = 2,\n\n /**\n * Trigger is actively armed.\n *\n * @generated from enum value: ARMED = 3;\n */\n ARMED = 3,\n\n /**\n * Trigger is executing runtime work (for example multi-step workflows).\n *\n * @generated from enum value: RUNNING = 4;\n */\n RUNNING = 4,\n\n /**\n * Trigger finished successfully.\n *\n * @generated from enum value: COMPLETED = 5;\n */\n COMPLETED = 5,\n\n /**\n * Trigger was canceled.\n *\n * @generated from enum value: CANCELED = 6;\n */\n CANCELED = 6,\n\n /**\n * Trigger failed.\n *\n * @generated from enum value: FAILED = 7;\n */\n FAILED = 7,\n\n /**\n * Trigger is paused.\n *\n * @generated from enum value: PAUSED = 8;\n */\n PAUSED = 8,\n}\n\n/**\n * Describes the enum orders.v1.AttachedRiskLegState.Status.\n */\nexport const AttachedRiskLegState_StatusSchema: GenEnum<AttachedRiskLegState_Status> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 1, 0);\n\n/**\n * AttachedRiskTakeProfit carries both take-profit config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskTakeProfit\n */\nexport type AttachedRiskTakeProfit = Message<\"orders.v1.AttachedRiskTakeProfit\"> & {\n /**\n * Take-profit policy configured on the parent order.\n *\n * @generated from field: orders.v1.TakeProfitPolicy policy = 1;\n */\n policy?: TakeProfitPolicy | undefined;\n\n /**\n * Runtime state for the take-profit leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskTakeProfit.\n * Use `create(AttachedRiskTakeProfitSchema)` to create a new message.\n */\nexport const AttachedRiskTakeProfitSchema: GenMessage<AttachedRiskTakeProfit> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 2);\n\n/**\n * AttachedRiskStopLoss carries both stop-loss config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskStopLoss\n */\nexport type AttachedRiskStopLoss = Message<\"orders.v1.AttachedRiskStopLoss\"> & {\n /**\n * Stop-loss policy configured on the parent order.\n *\n * @generated from field: orders.v1.StopLossPolicy policy = 1;\n */\n policy?: StopLossPolicy | undefined;\n\n /**\n * Runtime state for the stop-loss leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskStopLoss.\n * Use `create(AttachedRiskStopLossSchema)` to create a new message.\n */\nexport const AttachedRiskStopLossSchema: GenMessage<AttachedRiskStopLoss> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 3);\n\n/**\n * AttachedRiskTrailingStop carries both trailing-stop config and runtime state.\n *\n * @generated from message orders.v1.AttachedRiskTrailingStop\n */\nexport type AttachedRiskTrailingStop = Message<\"orders.v1.AttachedRiskTrailingStop\"> & {\n /**\n * Trailing-stop policy configured on the parent order.\n *\n * @generated from field: orders.v1.TrailingStopPolicy policy = 1;\n */\n policy?: TrailingStopPolicy | undefined;\n\n /**\n * Runtime state for the trailing-stop leg.\n *\n * @generated from field: orders.v1.AttachedRiskLegState state = 2;\n */\n state?: AttachedRiskLegState | undefined;\n};\n\n/**\n * Describes the message orders.v1.AttachedRiskTrailingStop.\n * Use `create(AttachedRiskTrailingStopSchema)` to create a new message.\n */\nexport const AttachedRiskTrailingStopSchema: GenMessage<AttachedRiskTrailingStop> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 4);\n\n/**\n * AttachedRisk is the single parent-side view for attached-risk configuration\n * and runtime status.\n *\n * @generated from message orders.v1.AttachedRisk\n */\nexport type AttachedRisk = Message<\"orders.v1.AttachedRisk\"> & {\n /**\n * Take-profit leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskTakeProfit take_profit = 1;\n */\n takeProfit?: AttachedRiskTakeProfit | undefined;\n\n /**\n * Stop-loss leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskStopLoss stop_loss = 2;\n */\n stopLoss?: AttachedRiskStopLoss | undefined;\n\n /**\n * Trailing-stop leg, if configured or if state exists.\n *\n * @generated from field: orders.v1.AttachedRiskTrailingStop trailing_stop = 3;\n */\n trailingStop?: AttachedRiskTrailingStop | undefined;\n\n /**\n * True when the take-profit and stop leg are linked as one-cancels-the-other.\n *\n * @generated from field: bool oco = 4;\n */\n oco: boolean;\n};\n\n/**\n * Describes the message orders.v1.AttachedRisk.\n * Use `create(AttachedRiskSchema)` to create a new message.\n */\nexport const AttachedRiskSchema: GenMessage<AttachedRisk> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 5);\n\n/**\n * OrderLineage identifies a logical order and one of its accepted generations.\n *\n * @generated from message orders.v1.OrderLineage\n */\nexport type OrderLineage = Message<\"orders.v1.OrderLineage\"> & {\n /**\n * Stable logical-order ID: the first generation's public order ID.\n * Replace preserves this ID; an independent new order starts a new lineage.\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * One-based replacement generation, distinct from per-order state version.\n *\n * @generated from field: uint32 generation = 2;\n */\n generation: number;\n};\n\n/**\n * Describes the message orders.v1.OrderLineage.\n * Use `create(OrderLineageSchema)` to create a new message.\n */\nexport const OrderLineageSchema: GenMessage<OrderLineage> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 6);\n\n/**\n * Order is the Connect-facing order view with compact binary fields.\n *\n * @generated from message orders.v1.Order\n */\nexport type Order = Message<\"orders.v1.Order\"> & {\n /**\n * Public order identifier as fixed64.\n *\n * @generated from field: fixed64 order_id = 1;\n */\n orderId: bigint;\n\n /**\n * Trading symbol numeric identifier.\n *\n * @generated from field: uint32 symbol_id = 3;\n */\n symbolId: number;\n\n /**\n * Client-provided, account-scoped identifier for correlation, lookup, and\n * cancellation. Empty when none was supplied.\n *\n * @generated from field: string client_order_id = 4;\n */\n clientOrderId: string;\n\n /**\n * Order side.\n *\n * @generated from field: orders.v1.Side side = 5;\n */\n side: Side;\n\n /**\n * Current order lifecycle status.\n *\n * @generated from field: orders.v1.OrderStatus status = 6;\n */\n status: OrderStatus;\n\n /**\n * Order type.\n *\n * @generated from field: orders.v1.OrderType order_type = 7;\n */\n orderType: OrderType;\n\n /**\n * Time-in-force policy.\n *\n * @generated from field: orders.v1.TimeInForce time_in_force = 8;\n */\n timeInForce: TimeInForce;\n\n /**\n * Self-trade prevention mode.\n *\n * @generated from field: orders.v1.SelfTradePreventionMode self_trade_prevention_mode = 9;\n */\n selfTradePreventionMode: SelfTradePreventionMode;\n\n /**\n * Fee asset selected for fills.\n *\n * @generated from field: orders.v1.FeeAsset fee_asset = 10;\n */\n feeAsset: FeeAsset;\n\n /**\n * True if the order was submitted as post-only (maker-only).\n *\n * @generated from field: bool post_only = 11;\n */\n postOnly: boolean;\n\n /**\n * Current accepted total order quantity, updated by successful modifies,\n * scaled by the pair's base_quantity_scale from GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 orig_qty_scaled = 12;\n */\n origQtyScaled: bigint;\n\n /**\n * Cumulative filled quantity across the lineage through this generation,\n * scaled by the pair's base_quantity_scale from GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 cum_qty_scaled = 13;\n */\n cumQtyScaled: bigint;\n\n /**\n * Cumulative filled base quantity inherited from predecessors when this\n * replacement was accepted, scaled by the pair's base_quantity_scale from\n * GetSpotConfig for symbol_id. Zero for the original order and immutable\n * within a generation. cum_qty_scaled minus this value is the quantity\n * executed by this generation, not the quantity new to a client session.\n *\n * @generated from field: int64 inherited_cum_qty_scaled = 33;\n */\n inheritedCumQtyScaled: bigint;\n\n /**\n * Remaining working quantity scaled by the pair's base_quantity_scale from\n * GetSpotConfig for symbol_id. Zero for terminal orders.\n *\n * @generated from field: int64 leaves_qty_scaled = 20;\n */\n leavesQtyScaled: bigint;\n\n /**\n * Average execution price across the lineage through this generation,\n * in quote units scaled by 1e6. Zero if no fills.\n *\n * @generated from field: int64 avg_price_ticks = 14;\n */\n avgPriceTicks: bigint;\n\n /**\n * Limit price in quote units scaled by 1e6. Zero for MARKET orders.\n *\n * @generated from field: int64 price_ticks = 15;\n */\n priceTicks: bigint;\n\n /**\n * Creation timestamp in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 created_ts_ns = 16;\n */\n createdTsNs: bigint;\n\n /**\n * Terminal timestamp in nanoseconds since epoch (UTC). Zero for open orders.\n *\n * @generated from field: uint64 terminal_ts_ns = 17;\n */\n terminalTsNs: bigint;\n\n /**\n * Terminal reason code for canceled/rejected orders. Zero for non-terminal orders.\n *\n * @generated from field: uint32 terminal_reason_code = 18;\n */\n terminalReasonCode: number;\n\n /**\n * Stable string for terminal_reason_code (e.g. \"POST_ONLY_CROSS\", \"USER_REQUEST\").\n * Empty for non-terminal orders.\n *\n * @generated from field: string terminal_reason = 19;\n */\n terminalReason: string;\n\n /**\n * Attached risk controls + runtime state on the parent order.\n * Empty when no attached risk exists.\n *\n * @generated from field: orders.v1.AttachedRisk attached_risk = 21;\n */\n attachedRisk?: AttachedRisk | undefined;\n\n /**\n * Runtime lineage metadata (why the order exists and what generated it).\n *\n * @generated from field: orders.v1.OrderOrigin origin = 22;\n */\n origin?: OrderOrigin | undefined;\n\n /**\n * Optional client-side reference price used for MARKET slippage protection,\n * in quote units scaled by 1e6.\n *\n * @generated from field: int64 market_client_ref_price_ticks = 23;\n */\n marketClientRefPriceTicks: bigint;\n\n /**\n * Optional MARKET max slippage as a price delta in 1e-6 quote-unit ticks.\n *\n * @generated from field: int32 market_max_slippage_ticks = 24;\n */\n marketMaxSlippageTicks: number;\n\n /**\n * Optional MARKET max slippage in basis points (1 bp = 0.01%).\n *\n * @generated from field: int32 market_max_slippage_bps = 25;\n */\n marketMaxSlippageBps: number;\n\n /**\n * Per-order state version. Starts at 1 and increases for every published\n * state change. Use this field to reconcile API and realtime updates.\n *\n * @generated from field: uint32 version = 26;\n */\n version: number;\n\n /**\n * Batch-replace identity that admitted this order. Zero for other origins.\n *\n * @generated from field: fixed64 batch_request_id = 27;\n */\n batchRequestId: bigint;\n\n /**\n * Submitted hard all-in quote debit limit, scaled by the pair's\n * quote_quantity_scale from GetSpotConfig. Present only when that sizing\n * method was submitted.\n *\n * @generated from field: optional int64 submitted_max_quote_debit_scaled = 28;\n */\n submittedMaxQuoteDebitScaled?: bigint | undefined;\n\n /**\n * Logical-order identity and requested generation. Always populated by order reads.\n *\n * @generated from field: orders.v1.OrderLineage lineage = 31;\n */\n lineage?: OrderLineage | undefined;\n\n /**\n * Exact UTC expiry time for GTD orders, within the supported signed\n * Unix-nanosecond range from 1677-09-21T00:12:43.145224193Z through\n * 2262-04-11T23:47:16.854775807Z. Omitted for all other time-in-force policies.\n * The order cannot execute when the current time equals this value.\n *\n * @generated from field: google.protobuf.Timestamp expire_at = 32;\n */\n expireAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orders.v1.Order.\n * Use `create(OrderSchema)` to create a new message.\n */\nexport const OrderSchema: GenMessage<Order> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 7);\n\n/**\n * UserTrade is the Connect-facing per-user trade fill view.\n *\n * @generated from message orders.v1.UserTrade\n */\nexport type UserTrade = Message<\"orders.v1.UserTrade\"> & {\n /**\n * Trading symbol numeric identifier.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Match identifier (monotonic per symbol).\n *\n * @generated from field: uint64 match_id = 3;\n */\n matchId: bigint;\n\n /**\n * Order identifier as fixed64.\n *\n * @generated from field: fixed64 order_id = 4;\n */\n orderId: bigint;\n\n /**\n * Fill side.\n *\n * @generated from field: orders.v1.Side side = 5;\n */\n side: Side;\n\n /**\n * True if this fill was maker-side.\n *\n * @generated from field: bool is_maker = 6;\n */\n isMaker: boolean;\n\n /**\n * Execution price in quote units scaled by 1e6.\n *\n * @generated from field: int64 price_ticks = 7;\n */\n priceTicks: bigint;\n\n /**\n * Executed quantity scaled by the pair's base_quantity_scale from\n * GetSpotConfig for symbol_id.\n *\n * @generated from field: int64 qty_scaled = 8;\n */\n qtyScaled: bigint;\n\n /**\n * Exact fee magnitude in fixed 18-decimal units of fee_asset.\n *\n * @generated from field: polyester.type.v1.U128 fee_amount_e18 = 9;\n */\n feeAmountE18?: U128 | undefined;\n\n /**\n * Fee asset charged or credited for this fill.\n *\n * @generated from field: orders.v1.FeeAsset fee_asset = 10;\n */\n feeAsset: FeeAsset;\n\n /**\n * Exact referral share magnitude in fixed 18-decimal units of fee_asset.\n *\n * @generated from field: polyester.type.v1.U128 referral_share_amount_e18 = 12;\n */\n referralShareAmountE18?: U128 | undefined;\n\n /**\n * Execution timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 ts_ns = 13;\n */\n tsNs: bigint;\n\n /**\n * Whether this fill earned a rebate instead of paying a fee.\n *\n * @generated from field: bool fee_is_rebate = 14;\n */\n feeIsRebate: boolean;\n\n /**\n * Logical-order identity and the generation that executed this fill.\n * Always populated by execution reads; order_id retains its original identity.\n *\n * @generated from field: orders.v1.OrderLineage lineage = 17;\n */\n lineage?: OrderLineage | undefined;\n};\n\n/**\n * Describes the message orders.v1.UserTrade.\n * Use `create(UserTradeSchema)` to create a new message.\n */\nexport const UserTradeSchema: GenMessage<UserTrade> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 8);\n\n/**\n * OrderTransfer is the Connect-facing minimal per-leg transfer view.\n *\n * @generated from message orders.v1.OrderTransfer\n */\nexport type OrderTransfer = Message<\"orders.v1.OrderTransfer\"> & {\n /**\n * Match identifier that linked this transfer to an execution, scoped by symbol_id.\n *\n * @generated from field: uint64 match_id = 1;\n */\n matchId: bigint;\n\n /**\n * Market of the execution; together with match_id identifies its match.\n *\n * @generated from field: uint32 symbol_id = 10;\n */\n symbolId: number;\n\n /**\n * Asset identifier for the transferred asset.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * Transfer amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 3;\n */\n amountE18?: U128 | undefined;\n\n /**\n * True when the transfer debits the account; false when it credits the account.\n *\n * @generated from field: bool is_debit = 5;\n */\n isDebit: boolean;\n\n /**\n * Product reason for this transfer leg.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 6;\n */\n transferCode: TransferCode;\n\n /**\n * Account bucket affected by this transfer leg.\n *\n * @generated from field: ledger.v1.AccountCode account_code = 7;\n */\n accountCode: AccountCode;\n\n /**\n * Transfer timestamp in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 ts_ns = 8;\n */\n tsNs: bigint;\n\n /**\n * Transfer transaction identifier.\n *\n * @generated from field: string tx_id = 9;\n */\n txId: string;\n};\n\n/**\n * Describes the message orders.v1.OrderTransfer.\n * Use `create(OrderTransferSchema)` to create a new message.\n */\nexport const OrderTransferSchema: GenMessage<OrderTransfer> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 9);\n\n/**\n * GetOpenOrdersRequest lists currently non-terminal orders for an account.\n *\n * @generated from message orders.v1.GetOpenOrdersRequest\n */\nexport type GetOpenOrdersRequest = Message<\"orders.v1.GetOpenOrdersRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id values. Empty means all symbols.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Max number of orders to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 10;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, and sort\n * order.\n *\n * @generated from field: string page_token = 11;\n */\n pageToken: string;\n\n /**\n * Include attached-risk policy details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 12;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 13;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Optional trigger identifier. When set, returns only child orders created by\n * that trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 14;\n */\n triggerId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.GetOpenOrdersRequest.\n * Use `create(GetOpenOrdersRequestSchema)` to create a new message.\n */\nexport const GetOpenOrdersRequestSchema: GenMessage<GetOpenOrdersRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 10);\n\n/**\n * GetOpenOrdersResponse returns open orders and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetOpenOrdersResponse\n */\nexport type GetOpenOrdersResponse = Message<\"orders.v1.GetOpenOrdersResponse\"> & {\n /**\n * Open orders ordered newest-first.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOpenOrdersResponse.\n * Use `create(GetOpenOrdersResponseSchema)` to create a new message.\n */\nexport const GetOpenOrdersResponseSchema: GenMessage<GetOpenOrdersResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 11);\n\n/**\n * GetOrderHistoryRequest lists terminal orders for an account.\n *\n * @generated from message orders.v1.GetOrderHistoryRequest\n */\nexport type GetOrderHistoryRequest = Message<\"orders.v1.GetOrderHistoryRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id values. Empty means all symbols.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Optional status filter.\n *\n * @generated from field: orders.v1.OrderStatus status = 4;\n */\n status: OrderStatus;\n\n /**\n * Inclusive start of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 start_ts_ns = 10;\n */\n startTsNs?: bigint | undefined;\n\n /**\n * Inclusive end of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 end_ts_ns = 11;\n */\n endTsNs?: bigint | undefined;\n\n /**\n * Max number of orders to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 12;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, time range,\n * and sort order.\n *\n * @generated from field: string page_token = 13;\n */\n pageToken: string;\n\n /**\n * Include attached-risk policy details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 14;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in each order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 15;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Optional trigger identifier. When set, returns only child orders created by\n * that trigger.\n *\n * @generated from field: optional fixed64 trigger_id = 16;\n */\n triggerId?: bigint | undefined;\n};\n\n/**\n * Describes the message orders.v1.GetOrderHistoryRequest.\n * Use `create(GetOrderHistoryRequestSchema)` to create a new message.\n */\nexport const GetOrderHistoryRequestSchema: GenMessage<GetOrderHistoryRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 12);\n\n/**\n * GetOrderHistoryResponse returns historical orders and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetOrderHistoryResponse\n */\nexport type GetOrderHistoryResponse = Message<\"orders.v1.GetOrderHistoryResponse\"> & {\n /**\n * Historical orders ordered newest-first.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderHistoryResponse.\n * Use `create(GetOrderHistoryResponseSchema)` to create a new message.\n */\nexport const GetOrderHistoryResponseSchema: GenMessage<GetOrderHistoryResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 13);\n\n/**\n * GetUserTradesRequest lists trade fills for an account.\n *\n * @generated from message orders.v1.GetUserTradesRequest\n */\nexport type GetUserTradesRequest = Message<\"orders.v1.GetUserTradesRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional filter by symbol_id.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Optional side filter.\n *\n * @generated from field: orders.v1.Side side = 3;\n */\n side: Side;\n\n /**\n * Inclusive start of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 start_ts_ns = 10;\n */\n startTsNs?: bigint | undefined;\n\n /**\n * Inclusive end of the time range, in nanoseconds since epoch (UTC).\n *\n * @generated from field: optional uint64 end_ts_ns = 11;\n */\n endTsNs?: bigint | undefined;\n\n /**\n * Max number of trades to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 12;\n */\n limit?: number | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, time range,\n * and sort order.\n *\n * @generated from field: string page_token = 13;\n */\n pageToken: string;\n\n /**\n * Return only durable fills whose per-symbol match ID is greater than this\n * value. Subscribe to the execution WebSocket before calling this method and\n * de-duplicate overlapping results by (symbol_id, match_id, order_id).\n *\n * @generated from field: optional uint64 after_match_id = 14;\n */\n afterMatchId?: bigint | undefined;\n\n /**\n * Optional execution scope. Omitting it returns all matching account fills.\n *\n * @generated from oneof orders.v1.GetUserTradesRequest.execution_scope\n */\n executionScope: {\n /**\n * Exactly this physical order's executions; never includes predecessors.\n *\n * @generated from field: fixed64 order_id = 15;\n */\n value: bigint;\n case: \"orderId\";\n } | {\n /**\n * Executions across this logical order's accepted generations.\n *\n * @generated from field: fixed64 lineage_id = 16;\n */\n value: bigint;\n case: \"lineageId\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Inclusive generation ceiling. Does not freeze an actively filling generation.\n *\n * @generated from field: optional uint32 through_generation = 17;\n */\n throughGeneration?: number | undefined;\n\n /**\n * Include account settlement legs linked to matches on this page.\n * Legs may repeat across pages when two fills share a match; deduplicate by tx_id.\n *\n * @generated from field: bool include_transfers = 18;\n */\n includeTransfers: boolean;\n};\n\n/**\n * Describes the message orders.v1.GetUserTradesRequest.\n * Use `create(GetUserTradesRequestSchema)` to create a new message.\n */\nexport const GetUserTradesRequestSchema: GenMessage<GetUserTradesRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 14);\n\n/**\n * GetUserTradesResponse returns user trade fills and an optional next-page cursor.\n *\n * @generated from message orders.v1.GetUserTradesResponse\n */\nexport type GetUserTradesResponse = Message<\"orders.v1.GetUserTradesResponse\"> & {\n /**\n * Trades ordered by timestamp, symbol, match and physical order, descending.\n * Projection is eventual: an empty page is not proof of order-state reconciliation.\n *\n * @generated from field: repeated orders.v1.UserTrade trades = 1;\n */\n trades: UserTrade[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n\n /**\n * Settlement legs for matches represented on this page, when requested.\n *\n * @generated from field: repeated orders.v1.OrderTransfer transfers = 3;\n */\n transfers: OrderTransfer[];\n};\n\n/**\n * Describes the message orders.v1.GetUserTradesResponse.\n * Use `create(GetUserTradesResponseSchema)` to create a new message.\n */\nexport const GetUserTradesResponseSchema: GenMessage<GetUserTradesResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 15);\n\n/**\n * GetOrderRequest retrieves one physical order and a bounded page of its lineage executions.\n *\n * @generated from message orders.v1.GetOrderRequest\n */\nexport type GetOrderRequest = Message<\"orders.v1.GetOrderRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Order lookup key. Exactly one identifier is required.\n *\n * @generated from oneof orders.v1.GetOrderRequest.key\n */\n key: {\n /**\n * Public order ID (base58-encoded fixed64 on REST).\n *\n * @generated from field: fixed64 order_id = 2;\n */\n value: bigint;\n case: \"orderId\";\n } | {\n /**\n * Client order ID. When provided, server resolves latest matching order for the account.\n *\n * @generated from field: string client_order_id = 3;\n */\n value: string;\n case: \"clientOrderId\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Include attached-risk policy details in response.order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk = 10;\n */\n includeAttachedRisk?: boolean | undefined;\n\n /**\n * Include attached-risk state details in response.order (defaults to false when unset).\n *\n * @generated from field: optional bool include_attached_risk_state = 11;\n */\n includeAttachedRiskState?: boolean | undefined;\n\n /**\n * Include a page of lineage trades and their settlement transfers (default true).\n * Set false for state-only polling; limit and page_token must then be omitted.\n *\n * @generated from field: optional bool include_execution_history = 12;\n */\n includeExecutionHistory?: boolean | undefined;\n\n /**\n * Maximum executions to return (1-1000, default 100).\n *\n * @generated from field: optional uint32 limit = 13;\n */\n limit?: number | undefined;\n\n /**\n * Execution cursor from this order's previous response. Use order_id rather\n * than a reused client_order_id to keep the requested generation stable.\n *\n * @generated from field: string page_token = 14;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderRequest.\n * Use `create(GetOrderRequestSchema)` to create a new message.\n */\nexport const GetOrderRequestSchema: GenMessage<GetOrderRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 16);\n\n/**\n * GetOrderResponse returns order details and a bounded execution page.\n * Order state, trades and transfers are eventually consistent;\n * one page's execution quantities need not equal the order's cumulative quantity.\n *\n * @generated from message orders.v1.GetOrderResponse\n */\nexport type GetOrderResponse = Message<\"orders.v1.GetOrderResponse\"> & {\n /**\n * Requested order, if found.\n *\n * @generated from field: orders.v1.Order order = 1;\n */\n order?: Order | undefined;\n\n /**\n * Lineage executions through the requested generation, newest first, retaining\n * original executing order IDs. Omitted when execution history is disabled.\n *\n * @generated from field: repeated orders.v1.UserTrade trades = 2;\n */\n trades: UserTrade[];\n\n /**\n * Account settlement legs for matches on this page. Deduplicate by tx_id when\n * multiple execution pages contain legs of the same match.\n *\n * @generated from field: repeated orders.v1.OrderTransfer transfers = 3;\n */\n transfers: OrderTransfer[];\n\n /**\n * Cursor for the next execution page. Empty when no further rows are visible;\n * this is not a settlement or order-state reconciliation watermark.\n *\n * @generated from field: string next_page_token = 6;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message orders.v1.GetOrderResponse.\n * Use `create(GetOrderResponseSchema)` to create a new message.\n */\nexport const GetOrderResponseSchema: GenMessage<GetOrderResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 17);\n\n/**\n * GetBatchReplaceStatusRequest retrieves one admitted batch by server identity.\n *\n * @generated from message orders.v1.GetBatchReplaceStatusRequest\n */\nexport type GetBatchReplaceStatusRequest = Message<\"orders.v1.GetBatchReplaceStatusRequest\"> & {\n /**\n * Target sub-account numeric ID. When omitted, uses caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Server-issued batch identity from BatchReplaceOrders.\n *\n * @generated from field: fixed64 batch_request_id = 2;\n */\n batchRequestId: bigint;\n};\n\n/**\n * Describes the message orders.v1.GetBatchReplaceStatusRequest.\n * Use `create(GetBatchReplaceStatusRequestSchema)` to create a new message.\n */\nexport const GetBatchReplaceStatusRequestSchema: GenMessage<GetBatchReplaceStatusRequest> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 18);\n\n/**\n * BatchReplaceStatusItem is the index-stable execution status for one replacement.\n *\n * @generated from message orders.v1.BatchReplaceStatusItem\n */\nexport type BatchReplaceStatusItem = Message<\"orders.v1.BatchReplaceStatusItem\"> & {\n /**\n * Zero-based item index from the write request.\n *\n * @generated from field: uint32 item_index = 1;\n */\n itemIndex: number;\n\n /**\n * Current recoverable phase.\n *\n * @generated from field: orders.v1.BatchReplacePhase phase = 2;\n */\n phase: BatchReplacePhase;\n\n /**\n * Original order targeted by the replacement.\n *\n * @generated from field: fixed64 old_order_id = 3;\n */\n oldOrderId: bigint;\n\n /**\n * Assigned successor order ID. Zero when rejected before assignment.\n *\n * @generated from field: fixed64 replacement_order_id = 4;\n */\n replacementOrderId: bigint;\n\n /**\n * Current successor order status when available.\n *\n * @generated from field: orders.v1.OrderStatus order_status = 5;\n */\n orderStatus: OrderStatus;\n\n /**\n * Stable rejection or terminal error code. Empty when none.\n *\n * @generated from field: string code = 6;\n */\n code: string;\n\n /**\n * Latest status timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 updated_ts_ns = 7;\n */\n updatedTsNs: bigint;\n};\n\n/**\n * Describes the message orders.v1.BatchReplaceStatusItem.\n * Use `create(BatchReplaceStatusItemSchema)` to create a new message.\n */\nexport const BatchReplaceStatusItemSchema: GenMessage<BatchReplaceStatusItem> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 19);\n\n/**\n * GetBatchReplaceStatusResponse returns durable batch and per-item finality.\n *\n * @generated from message orders.v1.GetBatchReplaceStatusResponse\n */\nexport type GetBatchReplaceStatusResponse = Message<\"orders.v1.GetBatchReplaceStatusResponse\"> & {\n /**\n * Server-issued batch identity.\n *\n * @generated from field: fixed64 batch_request_id = 1;\n */\n batchRequestId: bigint;\n\n /**\n * Aggregate admission status returned by the write receipt.\n *\n * @generated from field: orders.v1.BatchReplaceAdmissionStatus admission_status = 2;\n */\n admissionStatus: BatchReplaceAdmissionStatus;\n\n /**\n * Per-item statuses in request order.\n *\n * @generated from field: repeated orders.v1.BatchReplaceStatusItem items = 3;\n */\n items: BatchReplaceStatusItem[];\n\n /**\n * Number of admitted items.\n *\n * @generated from field: uint32 accepted_count = 4;\n */\n acceptedCount: number;\n\n /**\n * Number of rejected items.\n *\n * @generated from field: uint32 rejected_count = 5;\n */\n rejectedCount: number;\n\n /**\n * Server acceptance timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 accepted_ts_ns = 6;\n */\n acceptedTsNs: bigint;\n\n /**\n * Latest batch status timestamp in nanoseconds since epoch.\n *\n * @generated from field: uint64 updated_ts_ns = 7;\n */\n updatedTsNs: bigint;\n};\n\n/**\n * Describes the message orders.v1.GetBatchReplaceStatusResponse.\n * Use `create(GetBatchReplaceStatusResponseSchema)` to create a new message.\n */\nexport const GetBatchReplaceStatusResponseSchema: GenMessage<GetBatchReplaceStatusResponse> = /*@__PURE__*/\n messageDesc(file_orders_v1_orders_read, 20);\n\n/**\n * OrderStatus is specific to the read API (write API uses simple \"accepted\" status string).\n *\n * @generated from enum orders.v1.OrderStatus\n */\nexport enum OrderStatus {\n /**\n * Order status was not provided.\n *\n * @generated from enum value: ORDER_STATUS_UNSPECIFIED = 0;\n */\n ORDER_STATUS_UNSPECIFIED = 0,\n\n /**\n * Accepted and submitted for execution, but not yet confirmed as working.\n *\n * @generated from enum value: PENDING = 1;\n */\n PENDING = 1,\n\n /**\n * Cancel requested; may still be working until cancel is confirmed.\n *\n * @generated from enum value: PENDING_CANCEL = 2;\n */\n PENDING_CANCEL = 2,\n\n /**\n * Accepted and actively working (resting and/or matching).\n *\n * @generated from enum value: WORKING = 3;\n */\n WORKING = 3,\n\n /**\n * Fully filled (no remaining quantity).\n *\n * @generated from enum value: FILLED = 4;\n */\n FILLED = 4,\n\n /**\n * Canceled and no longer working.\n *\n * @generated from enum value: CANCELED = 5;\n */\n CANCELED = 5,\n\n /**\n * Rejected and never entered the working state.\n *\n * @generated from enum value: REJECTED = 6;\n */\n REJECTED = 6,\n}\n\n/**\n * Describes the enum orders.v1.OrderStatus.\n */\nexport const OrderStatusSchema: GenEnum<OrderStatus> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 0);\n\n/**\n * BatchReplacePhase is the recoverable execution phase for one replacement.\n *\n * @generated from enum orders.v1.BatchReplacePhase\n */\nexport enum BatchReplacePhase {\n /**\n * Phase is unavailable.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The replacement was admitted and handed to execution.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_ADMITTED = 1;\n */\n ADMITTED = 1,\n\n /**\n * The successor order is active.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_WORKING = 2;\n */\n WORKING = 2,\n\n /**\n * The replacement was rejected.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_REJECTED = 3;\n */\n REJECTED = 3,\n\n /**\n * The successor reached a terminal order state.\n *\n * @generated from enum value: BATCH_REPLACE_PHASE_TERMINAL = 4;\n */\n TERMINAL = 4,\n}\n\n/**\n * Describes the enum orders.v1.BatchReplacePhase.\n */\nexport const BatchReplacePhaseSchema: GenEnum<BatchReplacePhase> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 1);\n\n/**\n * OrderOriginScope captures broad origin classes for an order.\n *\n * @generated from enum orders.v1.OrderOriginScope\n */\nexport enum OrderOriginScope {\n /**\n * Order origin scope was not provided.\n *\n * @generated from enum value: ORDER_ORIGIN_SCOPE_UNSPECIFIED = 0;\n */\n ORDER_ORIGIN_SCOPE_UNSPECIFIED = 0,\n\n /**\n * User/manual order (non-trigger path).\n *\n * @generated from enum value: DIRECT = 1;\n */\n DIRECT = 1,\n\n /**\n * Child generated by attached TP/SL/Trailing risk on a parent order.\n *\n * @generated from enum value: ATTACHED_RISK = 2;\n */\n ATTACHED_RISK = 2,\n\n /**\n * Child generated by a standalone trigger (STOP/TWAP/LADDER...).\n *\n * @generated from enum value: STANDALONE_TRIGGER = 3;\n */\n STANDALONE_TRIGGER = 3,\n\n /**\n * System-managed automation, such as liquidation or account-protection actions.\n *\n * @generated from enum value: SYSTEM = 4;\n */\n SYSTEM = 4,\n}\n\n/**\n * Describes the enum orders.v1.OrderOriginScope.\n */\nexport const OrderOriginScopeSchema: GenEnum<OrderOriginScope> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 2);\n\n/**\n * OrderTriggerType captures the trigger strategy that generated the order.\n *\n * @generated from enum orders.v1.OrderTriggerType\n */\nexport enum OrderTriggerType {\n /**\n * Trigger type was not provided or the order was not generated by a trigger.\n *\n * @generated from enum value: ORDER_TRIGGER_TYPE_UNSPECIFIED = 0;\n */\n ORDER_TRIGGER_TYPE_UNSPECIFIED = 0,\n\n /**\n * Order was generated by a stop-loss trigger.\n *\n * @generated from enum value: STOP_LOSS = 1;\n */\n STOP_LOSS = 1,\n\n /**\n * Order was generated by a take-profit trigger.\n *\n * @generated from enum value: TAKE_PROFIT = 2;\n */\n TAKE_PROFIT = 2,\n\n /**\n * Order was generated by a trailing-stop trigger.\n *\n * @generated from enum value: TRAILING_STOP = 3;\n */\n TRAILING_STOP = 3,\n\n /**\n * Order was generated by a time-weighted execution trigger.\n *\n * @generated from enum value: TWAP = 4;\n */\n TWAP = 4,\n\n /**\n * Order was generated by a ladder execution trigger.\n *\n * @generated from enum value: LADDER = 5;\n */\n LADDER = 5,\n}\n\n/**\n * Describes the enum orders.v1.OrderTriggerType.\n */\nexport const OrderTriggerTypeSchema: GenEnum<OrderTriggerType> = /*@__PURE__*/\n enumDesc(file_orders_v1_orders_read, 3);\n\n/**\n * @generated from service orders.v1.OrdersReadService\n */\nexport const OrdersReadService: GenService<{\n /**\n * Retrieve non-terminal orders for an account.\n * Supports optional subaccount, trigger, symbol, and side filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOpenOrders\n */\n getOpenOrders: {\n methodKind: \"unary\";\n input: typeof GetOpenOrdersRequestSchema;\n output: typeof GetOpenOrdersResponseSchema;\n },\n /**\n * Retrieve terminal order history for an account.\n * Supports optional subaccount, trigger, symbol, side, status, and time-range filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOrderHistory\n */\n getOrderHistory: {\n methodKind: \"unary\";\n input: typeof GetOrderHistoryRequestSchema;\n output: typeof GetOrderHistoryResponseSchema;\n },\n /**\n * Retrieve per-user trade fills for an account.\n * Supports exact physical-order or logical-lineage scope, an inclusive generation\n * cutoff, and subaccount, symbol, side and time filters with cursor pagination.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetUserTrades\n */\n getUserTrades: {\n methodKind: \"unary\";\n input: typeof GetUserTradesRequestSchema;\n output: typeof GetUserTradesResponseSchema;\n },\n /**\n * Retrieve order state and a bounded page of its lineage executions by order or client order ID.\n * Use GetUserTrades for paginated execution history and optional settlement legs.\n * Recent accepted orders may wait briefly for read availability; retry UNAVAILABLE with the same lookup key.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetOrder\n */\n getOrder: {\n methodKind: \"unary\";\n input: typeof GetOrderRequestSchema;\n output: typeof GetOrderResponseSchema;\n },\n /**\n * Retrieve durable execution status for one admitted batch replacement.\n *\n * @generated from rpc orders.v1.OrdersReadService.GetBatchReplaceStatus\n */\n getBatchReplaceStatus: {\n methodKind: \"unary\";\n input: typeof GetBatchReplaceStatusRequestSchema;\n output: typeof GetBatchReplaceStatusResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orders_v1_orders_read, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAa,6BACX,uBAAS,o+RAAo+R;CAAC;CAAgC;CAAwB;CAAuB;AAA2B,CAAC;;;;;AAsD3lS,MAAa,oBACX,0BAAY,4BAA4B,CAAC;;;;;AAgD3C,MAAa,6BAC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CAOA,iBAAA,iBAAA,iBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,mBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,UAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,4BAA4B,CAAC;;;;AAKxC,MAAa,oBA0DX,0BAAY,4BAA4B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import { MethodOptions } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
declare namespace options_pb_d_exports {
|
|
4
|
-
export { MFARequirement, MFARequirementSchema, file_polyester_api_options, hidden, mfa_requirement, public$ };
|
|
4
|
+
export { AuthenticationMethod, AuthenticationMethodSchema, MFARequirement, MFARequirementSchema, authentication_methods, file_polyester_api_options, hidden, mfa_requirement, public$ };
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file polyester/api/options.proto.
|
|
@@ -42,6 +42,35 @@ declare enum MFARequirement {
|
|
|
42
42
|
* Describes the enum polyester.api.MFARequirement.
|
|
43
43
|
*/
|
|
44
44
|
declare const MFARequirementSchema: GenEnum<MFARequirement>;
|
|
45
|
+
/**
|
|
46
|
+
* AuthenticationMethod identifies a credential type accepted by an RPC.
|
|
47
|
+
*
|
|
48
|
+
* @generated from enum polyester.api.AuthenticationMethod
|
|
49
|
+
*/
|
|
50
|
+
declare enum AuthenticationMethod {
|
|
51
|
+
/**
|
|
52
|
+
* No authentication method was specified.
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum value: AUTH_UNSPECIFIED = 0;
|
|
55
|
+
*/
|
|
56
|
+
AUTH_UNSPECIFIED = 0,
|
|
57
|
+
/**
|
|
58
|
+
* A bearer token for an interactive user session.
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum value: SESSION_TOKEN = 1;
|
|
61
|
+
*/
|
|
62
|
+
SESSION_TOKEN = 1,
|
|
63
|
+
/**
|
|
64
|
+
* A signed API key request.
|
|
65
|
+
*
|
|
66
|
+
* @generated from enum value: API_KEY = 2;
|
|
67
|
+
*/
|
|
68
|
+
API_KEY = 2
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Describes the enum polyester.api.AuthenticationMethod.
|
|
72
|
+
*/
|
|
73
|
+
declare const AuthenticationMethodSchema: GenEnum<AuthenticationMethod>;
|
|
45
74
|
/**
|
|
46
75
|
* When true, this RPC is publicly accessible (no auth required).
|
|
47
76
|
*
|
|
@@ -62,6 +91,14 @@ declare const hidden: GenExtension<MethodOptions, boolean>;
|
|
|
62
91
|
* @generated from extension: polyester.api.MFARequirement mfa_requirement = 50003;
|
|
63
92
|
*/
|
|
64
93
|
declare const mfa_requirement: GenExtension<MethodOptions, MFARequirement>;
|
|
94
|
+
/**
|
|
95
|
+
* Credential types accepted by this RPC. When omitted on a protected RPC,
|
|
96
|
+
* documentation defaults to session tokens and API keys. Public RPCs expose
|
|
97
|
+
* no authentication methods. This metadata does not enforce runtime authorization.
|
|
98
|
+
*
|
|
99
|
+
* @generated from extension: repeated polyester.api.AuthenticationMethod authentication_methods = 50004;
|
|
100
|
+
*/
|
|
101
|
+
declare const authentication_methods: GenExtension<MethodOptions, AuthenticationMethod[]>;
|
|
65
102
|
//#endregion
|
|
66
|
-
export { MFARequirement, MFARequirementSchema, file_polyester_api_options, hidden, mfa_requirement, options_pb_d_exports, public$ };
|
|
103
|
+
export { AuthenticationMethod, AuthenticationMethodSchema, MFARequirement, MFARequirementSchema, authentication_methods, file_polyester_api_options, hidden, mfa_requirement, options_pb_d_exports, public$ };
|
|
67
104
|
//# sourceMappingURL=options_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options_pb.d.ts","names":[],"sources":["../../../../src/gen/polyester/api/options_pb.ts"],"mappings":";;;;;;;;cAYa,4BAA4B;;;;;;aAQ7B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,sBAAsB,QAAQ;;;;;;
|
|
1
|
+
{"version":3,"file":"options_pb.d.ts","names":[],"sources":["../../../../src/gen/polyester/api/options_pb.ts"],"mappings":";;;;;;;;cAYa,4BAA4B;;;;;;aAQ7B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,sBAAsB,QAAQ;;;;;;aAQ/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,4BAA4B,QAAQ;;;;;;cAQpC,SAAS,aAAa;;;;;;;cAStB,QAAQ,aAAa;;;;;;;cASrB,iBAAiB,aAAa,eAAe;;;;;;;;cAU7C,wBAAwB,aAAa,eAAe"}
|
|
@@ -3,8 +3,11 @@ import { enumDesc, extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
3
3
|
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
//#region src/gen/polyester/api/options_pb.ts
|
|
5
5
|
var options_pb_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
AuthenticationMethod: () => AuthenticationMethod,
|
|
7
|
+
AuthenticationMethodSchema: () => AuthenticationMethodSchema,
|
|
6
8
|
MFARequirement: () => MFARequirement,
|
|
7
9
|
MFARequirementSchema: () => MFARequirementSchema,
|
|
10
|
+
authentication_methods: () => authentication_methods,
|
|
8
11
|
file_polyester_api_options: () => file_polyester_api_options,
|
|
9
12
|
hidden: () => hidden,
|
|
10
13
|
mfa_requirement: () => mfa_requirement,
|
|
@@ -13,7 +16,7 @@ var options_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
16
|
/**
|
|
14
17
|
* Describes the file polyester/api/options.proto.
|
|
15
18
|
*/
|
|
16
|
-
const file_polyester_api_options = /*@__PURE__*/ fileDesc("
|
|
19
|
+
const file_polyester_api_options = /*@__PURE__*/ fileDesc("Chtwb2x5ZXN0ZXIvYXBpL29wdGlvbnMucHJvdG8SDXBvbHllc3Rlci5hcGkqYQoOTUZBUmVxdWlyZW1lbnQSEwoPTUZBX1VOU1BFQ0lGSUVEEAASDgoKTUZBX1JFQ0VOVBABEhUKEU1GQV9GUkVTSF9TVEVQX1VQEAISEwoPTUZBX0NPTkRJVElPTkFMEAMqTAoUQXV0aGVudGljYXRpb25NZXRob2QSFAoQQVVUSF9VTlNQRUNJRklFRBAAEhEKDVNFU1NJT05fVE9LRU4QARILCgdBUElfS0VZEAI6OAoGcHVibGljEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMY0YYDIAEoCFIGcHVibGljOjgKBmhpZGRlbhIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGNKGAyABKAhSBmhpZGRlbjpoCg9tZmFfcmVxdWlyZW1lbnQSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxjThgMgASgOMh0ucG9seWVzdGVyLmFwaS5NRkFSZXF1aXJlbWVudFIObWZhUmVxdWlyZW1lbnQ6fAoWYXV0aGVudGljYXRpb25fbWV0aG9kcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGNSGAyADKA4yIy5wb2x5ZXN0ZXIuYXBpLkF1dGhlbnRpY2F0aW9uTWV0aG9kUhVhdXRoZW50aWNhdGlvbk1ldGhvZHNCSlpIZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9wb2x5ZXN0ZXIvYXBpO3BvbHllc3RlcmFwaXYxYgZwcm90bzM=", [file_google_protobuf_descriptor]);
|
|
17
20
|
/**
|
|
18
21
|
* MFARequirement describes the interactive MFA assurance documented for an RPC.
|
|
19
22
|
*
|
|
@@ -51,6 +54,36 @@ let MFARequirement = /* @__PURE__ */ function(MFARequirement) {
|
|
|
51
54
|
*/
|
|
52
55
|
const MFARequirementSchema = /*@__PURE__*/ enumDesc(file_polyester_api_options, 0);
|
|
53
56
|
/**
|
|
57
|
+
* AuthenticationMethod identifies a credential type accepted by an RPC.
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum polyester.api.AuthenticationMethod
|
|
60
|
+
*/
|
|
61
|
+
let AuthenticationMethod = /* @__PURE__ */ function(AuthenticationMethod) {
|
|
62
|
+
/**
|
|
63
|
+
* No authentication method was specified.
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: AUTH_UNSPECIFIED = 0;
|
|
66
|
+
*/
|
|
67
|
+
AuthenticationMethod[AuthenticationMethod["AUTH_UNSPECIFIED"] = 0] = "AUTH_UNSPECIFIED";
|
|
68
|
+
/**
|
|
69
|
+
* A bearer token for an interactive user session.
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: SESSION_TOKEN = 1;
|
|
72
|
+
*/
|
|
73
|
+
AuthenticationMethod[AuthenticationMethod["SESSION_TOKEN"] = 1] = "SESSION_TOKEN";
|
|
74
|
+
/**
|
|
75
|
+
* A signed API key request.
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum value: API_KEY = 2;
|
|
78
|
+
*/
|
|
79
|
+
AuthenticationMethod[AuthenticationMethod["API_KEY"] = 2] = "API_KEY";
|
|
80
|
+
return AuthenticationMethod;
|
|
81
|
+
}({});
|
|
82
|
+
/**
|
|
83
|
+
* Describes the enum polyester.api.AuthenticationMethod.
|
|
84
|
+
*/
|
|
85
|
+
const AuthenticationMethodSchema = /*@__PURE__*/ enumDesc(file_polyester_api_options, 1);
|
|
86
|
+
/**
|
|
54
87
|
* When true, this RPC is publicly accessible (no auth required).
|
|
55
88
|
*
|
|
56
89
|
* @generated from extension: bool public = 50001;
|
|
@@ -70,7 +103,15 @@ const hidden = /*@__PURE__*/ extDesc(file_polyester_api_options, 1);
|
|
|
70
103
|
* @generated from extension: polyester.api.MFARequirement mfa_requirement = 50003;
|
|
71
104
|
*/
|
|
72
105
|
const mfa_requirement = /*@__PURE__*/ extDesc(file_polyester_api_options, 2);
|
|
106
|
+
/**
|
|
107
|
+
* Credential types accepted by this RPC. When omitted on a protected RPC,
|
|
108
|
+
* documentation defaults to session tokens and API keys. Public RPCs expose
|
|
109
|
+
* no authentication methods. This metadata does not enforce runtime authorization.
|
|
110
|
+
*
|
|
111
|
+
* @generated from extension: repeated polyester.api.AuthenticationMethod authentication_methods = 50004;
|
|
112
|
+
*/
|
|
113
|
+
const authentication_methods = /*@__PURE__*/ extDesc(file_polyester_api_options, 3);
|
|
73
114
|
//#endregion
|
|
74
|
-
export { MFARequirement, MFARequirementSchema, file_polyester_api_options, hidden, mfa_requirement, options_pb_exports, public$ };
|
|
115
|
+
export { AuthenticationMethod, AuthenticationMethodSchema, MFARequirement, MFARequirementSchema, authentication_methods, file_polyester_api_options, hidden, mfa_requirement, options_pb_exports, public$ };
|
|
75
116
|
|
|
76
117
|
//# sourceMappingURL=options_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options_pb.js","names":[],"sources":["../../../../src/gen/polyester/api/options_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file polyester/api/options.proto (package polyester.api, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenExtension, GenFile } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, extDesc, fileDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { MethodOptions } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_descriptor } from \"@bufbuild/protobuf/wkt\";\n\n/**\n * Describes the file polyester/api/options.proto.\n */\nexport const file_polyester_api_options: GenFile = /*@__PURE__*/\n fileDesc(\"
|
|
1
|
+
{"version":3,"file":"options_pb.js","names":[],"sources":["../../../../src/gen/polyester/api/options_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file polyester/api/options.proto (package polyester.api, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenExtension, GenFile } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, extDesc, fileDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { MethodOptions } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_descriptor } from \"@bufbuild/protobuf/wkt\";\n\n/**\n * Describes the file polyester/api/options.proto.\n */\nexport const file_polyester_api_options: GenFile = /*@__PURE__*/\n fileDesc(\"Chtwb2x5ZXN0ZXIvYXBpL29wdGlvbnMucHJvdG8SDXBvbHllc3Rlci5hcGkqYQoOTUZBUmVxdWlyZW1lbnQSEwoPTUZBX1VOU1BFQ0lGSUVEEAASDgoKTUZBX1JFQ0VOVBABEhUKEU1GQV9GUkVTSF9TVEVQX1VQEAISEwoPTUZBX0NPTkRJVElPTkFMEAMqTAoUQXV0aGVudGljYXRpb25NZXRob2QSFAoQQVVUSF9VTlNQRUNJRklFRBAAEhEKDVNFU1NJT05fVE9LRU4QARILCgdBUElfS0VZEAI6OAoGcHVibGljEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMY0YYDIAEoCFIGcHVibGljOjgKBmhpZGRlbhIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGNKGAyABKAhSBmhpZGRlbjpoCg9tZmFfcmVxdWlyZW1lbnQSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxjThgMgASgOMh0ucG9seWVzdGVyLmFwaS5NRkFSZXF1aXJlbWVudFIObWZhUmVxdWlyZW1lbnQ6fAoWYXV0aGVudGljYXRpb25fbWV0aG9kcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGNSGAyADKA4yIy5wb2x5ZXN0ZXIuYXBpLkF1dGhlbnRpY2F0aW9uTWV0aG9kUhVhdXRoZW50aWNhdGlvbk1ldGhvZHNCSlpIZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9wb2x5ZXN0ZXIvYXBpO3BvbHllc3RlcmFwaXYxYgZwcm90bzM=\", [file_google_protobuf_descriptor]);\n\n/**\n * MFARequirement describes the interactive MFA assurance documented for an RPC.\n *\n * @generated from enum polyester.api.MFARequirement\n */\nexport enum MFARequirement {\n /**\n * No interactive MFA requirement is declared; documentation treats this as none.\n *\n * @generated from enum value: MFA_UNSPECIFIED = 0;\n */\n MFA_UNSPECIFIED = 0,\n\n /**\n * The RPC requires recently completed interactive MFA. Stale assurance must be renewed.\n *\n * @generated from enum value: MFA_RECENT = 1;\n */\n MFA_RECENT = 1,\n\n /**\n * The RPC always requires a fresh, single-use step-up proof, even when MFA was completed recently.\n *\n * @generated from enum value: MFA_FRESH_STEP_UP = 2;\n */\n MFA_FRESH_STEP_UP = 2,\n\n /**\n * The required MFA level depends on the request.\n *\n * @generated from enum value: MFA_CONDITIONAL = 3;\n */\n MFA_CONDITIONAL = 3,\n}\n\n/**\n * Describes the enum polyester.api.MFARequirement.\n */\nexport const MFARequirementSchema: GenEnum<MFARequirement> = /*@__PURE__*/\n enumDesc(file_polyester_api_options, 0);\n\n/**\n * AuthenticationMethod identifies a credential type accepted by an RPC.\n *\n * @generated from enum polyester.api.AuthenticationMethod\n */\nexport enum AuthenticationMethod {\n /**\n * No authentication method was specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * A bearer token for an interactive user session.\n *\n * @generated from enum value: SESSION_TOKEN = 1;\n */\n SESSION_TOKEN = 1,\n\n /**\n * A signed API key request.\n *\n * @generated from enum value: API_KEY = 2;\n */\n API_KEY = 2,\n}\n\n/**\n * Describes the enum polyester.api.AuthenticationMethod.\n */\nexport const AuthenticationMethodSchema: GenEnum<AuthenticationMethod> = /*@__PURE__*/\n enumDesc(file_polyester_api_options, 1);\n\n/**\n * When true, this RPC is publicly accessible (no auth required).\n *\n * @generated from extension: bool public = 50001;\n */\nexport const public$: GenExtension<MethodOptions, boolean> = /*@__PURE__*/\n extDesc(file_polyester_api_options, 0);\n\n/**\n * When true, this RPC is excluded from generated docs artifacts (nav/connect/openapi).\n * Use this for internal-only helper RPCs (e.g. intra-service calls).\n *\n * @generated from extension: bool hidden = 50002;\n */\nexport const hidden: GenExtension<MethodOptions, boolean> = /*@__PURE__*/\n extDesc(file_polyester_api_options, 1);\n\n/**\n * Interactive MFA assurance documented for this RPC.\n * This metadata does not enforce runtime authorization.\n *\n * @generated from extension: polyester.api.MFARequirement mfa_requirement = 50003;\n */\nexport const mfa_requirement: GenExtension<MethodOptions, MFARequirement> = /*@__PURE__*/\n extDesc(file_polyester_api_options, 2);\n\n/**\n * Credential types accepted by this RPC. When omitted on a protected RPC,\n * documentation defaults to session tokens and API keys. Public RPCs expose\n * no authentication methods. This metadata does not enforce runtime authorization.\n *\n * @generated from extension: repeated polyester.api.AuthenticationMethod authentication_methods = 50004;\n */\nexport const authentication_methods: GenExtension<MethodOptions, AuthenticationMethod[]> = /*@__PURE__*/\n extDesc(file_polyester_api_options, 3);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,MAAa,6BACX,uBAAS,42BAA42B,CAAC,+BAA+B,CAAC;;;;;;AAOx5B,IAAY,iBAAL,yBAAA,gBAAA;;;;;;CAML,eAAA,eAAA,qBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,gBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,uBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,qBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,uBACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,mBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,aAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,MAAa,UACX,sBAAQ,4BAA4B,CAAC;;;;;;;AAQvC,MAAa,SACX,sBAAQ,4BAA4B,CAAC;;;;;;;AAQvC,MAAa,kBACX,sBAAQ,4BAA4B,CAAC;;;;;;;;AASvC,MAAa,yBACX,sBAAQ,4BAA4B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { AssetConfig, DepositWithdrawConfig, PairConfig, PairStatus, SpotConfig,
|
|
|
6
6
|
import { OrderErrorCode, OrderErrorDetail } from "./services/orders/order-errors.schemas.js";
|
|
7
7
|
import { PolyesterErrorDetail } from "./shared/error-detail.js";
|
|
8
8
|
import { RateLimitDetail, RateLimitFailureReason, RateLimitPolicyClass, RateLimitRefillModel, RateLimitScope } from "./shared/rate-limit.schemas.js";
|
|
9
|
-
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, MfaVerificationFailureReason, NetworkError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PolyesterErrorCode, PolyesterErrorOptions, PreconditionFailedError, RateLimitError, RateLimitErrorOptions, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, TimeoutError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
9
|
+
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, MfaVerificationFailureReason, NetworkError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PolyesterErrorCode, PolyesterErrorOptions, PreconditionFailedError, RateLimitError, RateLimitErrorOptions, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
10
10
|
import { ApiKeyEd25519AuthProvider, JwtAuthProvider, Transports } from "./shared/transports.js";
|
|
11
11
|
import { PolyesterMutationOptions, PolyesterRequestOptions } from "./shared/request-options.js";
|
|
12
12
|
import { ResolveAccountInput, ResolvedAccount } from "./services/accounts/accounts.schemas.js";
|
|
@@ -17,9 +17,9 @@ import "./realtime/index.js";
|
|
|
17
17
|
import { ApiKeyPolicy, ApiKeyPolicyApplyInput, ApiKeyPolicyCreateInput, ApiKeyPolicyUpdateInput, ListApiKeyPoliciesResponse } from "./services/policies/api-key-policies/api-key-policies.schemas.js";
|
|
18
18
|
import { ApiKey, ApiKeyIdInput, ApiKeyStatus, ApiKeysCreateInput, ApiKeysListInput, ApiKeysUpdateInput } from "./services/api-keys/api-keys.schemas.js";
|
|
19
19
|
import { AccountIdentity, ClaimGeneratedUsernameInput, GeneratedUsernameOffer, Profile, UpdateProfileInput, UsernameHistoryEntry } from "./services/auth/profile/profile.schemas.js";
|
|
20
|
-
import { CreateWalletChallengeInput, LoginWithWalletInput, LoginWithWalletResponse, Me, WalletChallenge
|
|
20
|
+
import { CreateWalletChallengeInput, LoginWithWalletInput, LoginWithWalletResponse, Me, WalletChallenge } from "./services/auth/auth.js";
|
|
21
21
|
import { SubaccountPolicy, SubaccountPolicyApplyInput, SubaccountPolicyCreateInput, SubaccountPolicyUpdateInput } from "./services/policies/subaccount-policies/subaccount-policies.schemas.js";
|
|
22
|
-
import { CreateSubaccountInput, CreateSubaccountResult as CreateSubaccountResult$1, EffectiveSubaccountPermissions, InviteSubaccountMemberInput, ListSubaccountInvitesInput, RemoveSubaccountMemberInput, RespondSubaccountInviteInput, SetSubaccountMemberMfaRequirementInput, Subaccount, SubaccountActivityInput, SubaccountEvent, SubaccountIdInput, SubaccountInvite, SubaccountInviteStatus, SubaccountMember, SubaccountPermission, SubaccountPermissionDefinition, SubaccountRole, SubaccountRoleCatalog, SubaccountRoleDefinition, SubaccountStatus, UpdateSubaccountInput, UpdateSubaccountMemberRoleInput } from "./services/subaccounts/subaccounts.schemas.js";
|
|
22
|
+
import { CreateSubaccountChallengeInput, CreateSubaccountInput, CreateSubaccountResult as CreateSubaccountResult$1, EffectiveSubaccountPermissions, InviteSubaccountMemberInput, ListSubaccountInvitesInput, RemoveSubaccountMemberInput, RespondSubaccountInviteInput, SetSubaccountMemberMfaRequirementInput, Subaccount, SubaccountActivityInput, SubaccountChallenge, SubaccountEvent, SubaccountIdInput, SubaccountInvite, SubaccountInviteStatus, SubaccountMember, SubaccountPermission, SubaccountPermissionDefinition, SubaccountRole, SubaccountRoleCatalog, SubaccountRoleDefinition, SubaccountStatus, UpdateSubaccountInput, UpdateSubaccountMemberRoleInput } from "./services/subaccounts/subaccounts.schemas.js";
|
|
23
23
|
import { Candle, CandleColumnar, CandleColumnarInt, CandleInt, GetCandlesColumnsInput, GetCandlesInput, Timeframe } from "./services/candles/candles.schemas.js";
|
|
24
24
|
import { ChainAnalyticsRange, GetUnifiedAssetBalancesInput, GetZippedAssetSupplyGroupInput, GetZippedAssetSupplyInput, UnifiedAssetBalancesResponse, ZippedAssetSupplyGroupResponse, ZippedAssetSupplyResponse, ZippedAssetSupplySeries } from "./services/chain-analytics/chain-analytics.schemas.js";
|
|
25
25
|
import { GetMarketTradesInput, MarketTrade } from "./services/market-data/market-data.schemas.js";
|
|
@@ -110,4 +110,4 @@ import "./services/triggers/triggers.types.js";
|
|
|
110
110
|
import "./services/vip/vip.types.js";
|
|
111
111
|
import "./services/whiteboard/whiteboard.types.js";
|
|
112
112
|
import "./services/zipper/zipper.types.js";
|
|
113
|
-
export { type AccountCodeValue, type AccountIdentity, type AccountScope, type AccountScopedInput, type AccountSigner, type AccountSignerAuthEvents, type AccountSignerConfig, type CreateSubaccountResult as AccountSignerCreateSubaccountResult, type AccountSignerFactory, type ActiveAccountInfo, type AddressBook, type AddressBookEntries, type AddressBookEntriesView, type AddressBookEntry, type AddressBookRecentDestinationsView, type AddressBookTag, type AddressBookTagSummary, type AddressBookView, type AddressBookViewInvalidated, AlreadyExistsError, type ApiKey, type ApiKeyEd25519AuthProvider, type ApiKeyIdInput, type ApiKeyPolicy, type ApiKeyPolicyApplyInput, type ApiKeyPolicyCreateInput, type ApiKeyPolicyUpdateInput, type ApiKeyStatus, type ApiKeysCreateInput, type ApiKeysListInput, type ApiKeysUpdateInput, type ArchiveWhiteboardBoardInput, type ArchiveWhiteboardBoardResult, type AssetConfig, type AuthCookieLocation, type AuthHydrationData, type AuthLoginMethod, type AuthState, type AuthTokenStorage, type AuthTokenStorageSetOptions, AuthenticationError, type BalanceHistoryInput, type BalanceHistoryResponse, type BalanceRange, type BatchCancelOrderInput, type BatchCancelOrderResult, type BatchCancelOrdersInput, type BatchCancelOrdersResult, type BatchCreateOrderResult, type BatchCreateOrdersInput, type BatchCreateOrdersResult, type BatchGuardApprovals, type BatchReplaceAdmissionItem, type BatchReplaceOrdersInput, type BatchReplaceOrdersResult, type BatchSignProtectedActionInput, type BeginMfaChallengeInput, type BeginMfaChallengeResult, type BeginPasskeyEnrollmentInput, type BeginPasskeyEnrollmentResult, type BeginTotpEnrollmentInput, type BeginTotpEnrollmentResult, type CancelAllAfterInput, type CancelAllAfterResult, type CancelAllOrdersInput, type CancelAllOrdersResponse, type CancelOrderInput, type CancelOrderResult, type CancelTriggerInput, type CancelTriggerResult, type Candle, type CandleColumnar, type CandleColumnarInt, type CandleInt, type ChainAnalyticsRange, type ClaimCampaign, type ClaimDailyRewardResult, type ClaimFreshStepUpInput, type ClaimFreshStepUpResult, type ClaimGeneratedUsernameInput, type ClaimPolicy, type ColumnarTimeWindow, type CompleteMfaChallengeResult, ConfigurationError, type ConnectChannelParams, type ConsumeFreshStepUpInput, type CookieAuthTokenStorageOptions, type CopyAddressBookEntryInput, type CreateAddressBookEntryInput, type CreateAddressBookTagInput, type CreateDepositAddressInput, type CreateGuardSignerWalletResult, type CreateInternalTransferInput, type CreateInternalTransferResult, type CreateOrderResult, type CreateOrderbookSubscriptionInput, type CreatePolyesterAccountSignerParams, type CreatePolyesterEnvironmentParams, type CreateServerClientFromCookiesParams, type CreateServerClientFromRequestParams, type CreateSubaccountInput, type CreateSubaccountParams, type CreateSubaccountResult$1 as CreateSubaccountResult, type CreateSubaccountResult$1 as CreateSubaccountServiceResult, type CreateTradingWithdrawResult, type CreateTradingWithdrawToExternalChainInput, type CreateTradingWithdrawToExternalChainServiceInput, type CreateTradingWithdrawToFundingInput, type CreateTradingWithdrawToFundingServiceInput, type CreateTriggerInput, type CreateTriggerResult, type CreateWalletChallengeInput, type CreateWhiteboardBoardInput, type CreateWhiteboardBoardResult, type CurrencyConversionConfig, type CurrencyConversionRates, type CurrencyMetadata, type DailyClaimReward, type DailyClaimState, type DailyClaimStatus, type DailyClaimTransfer, type DeleteAddressBookEntryInput, type DeleteAddressBookTagInput, type DeleteMfaFactorInput, type DepositAddress, type DepositWithdrawConfig, type EffectiveSubaccountPermissions, type EquityGroupBy, type EquityHistoryInput, type EquityHistoryResponse, type EquitySeries, type EquitySeriesGrouping, type EvmHex, type ExportGuardSignerWalletResult, type FiatConversionRate, type FiatConversionSnapshot, type FinishPasskeyChallengeInput, type FinishPasskeyEnrollmentInput, type FinishPasskeyEnrollmentResult, type FinishTotpEnrollmentInput, type FinishTotpEnrollmentResult, type GeneratedUsernameOffer, type GetAddressBookViewInput, type GetBatchReplaceStatusInput, type GetBatchReplaceStatusResult, type GetCandlesColumnsInput, type GetCandlesInput, type GetLifecycleFlowInput, type GetLifecycleFlowOutput, type GetMarketTradesInput, type GetOrderDetailsInput, type GetOrderbookHeatmapInput, type GetOrderbookInput, type GetSpotFeeRatesInput, type GetTriggerInput, type GetUnifiedAssetBalancesInput, type GetUserTradesInput, type GetVerificationResponse, type GetWhiteboardBoardInput, type GetWhiteboardBoardResult, type GetZippedAssetSupplyGroupInput, type GetZippedAssetSupplyInput, type GuardApproval, type GuardSignerScopedInput, type GuardSignerStatus, type HeatmapDepthValue, type HeatmapIntervalValue, type HeatmapQuantityModeValue, type HexAddress, InternalServerError, type InternalTransferDestination, type InternalTransferWhitelistEntries, type InternalTransferWhitelistEntry, type InviteSubaccountMemberInput, type JwtAuthProvider, type LadderDetailsOutput, type LedgerBalance, type LedgerTransfer, type LedgerTransferSide, type LifecycleAssetIds, type LifecycleFlowDetail, type LifecycleFlowState, type LifecycleFlowStep, type LifecycleFlowStepActivity, type LifecycleFlowSummary, type LifecycleFlowSummaryProgress, type LifecycleFlowTimelineItem, type LifecycleFlowTxMatch, type LifecycleListOrderBy, type LifecycleListScope, type LifecycleReason, type LifecycleRequestFee, type LifecycleRequestFeeStatus, type LifecycleSort, type LifecycleTxLookupKind, type LifecycleZipperReason, type ListAddressBookEntriesInput, type ListApiKeyPoliciesResponse, type ListDepositAddressesInput, type ListInternalTransferWhitelistEntriesInput, type ListLifecycleFlowsByTxInput, type ListLifecycleFlowsByTxOutput, type ListLifecycleFlowsInput, type ListLifecycleFlowsOutput, type ListMarketOverviewInput, type ListMfaFactorsResult, type ListSubaccountInvitesInput, type ListTransferCounterpartiesInput, type ListTransferDestinationsInput, type ListTransfersInput, type ListTriggerEventsInput, type ListTriggerEventsResult, type ListTriggersInput, type ListTriggersResult, type ListWhiteboardBoardsInput, type ListWhiteboardBoardsResult, type LoginOptions, type LoginResult, type LoginWithWalletInput, type LoginWithWalletResponse, type MarketOverview, type MarketOverviewOrderBy, type MarketOverviewSort, type MarketOverviewSparkline, type MarketTrade, type Me, MfaEnrollmentRequiredError, type MfaFactor, MfaLastFactorRequiredError, MfaRequiredError, type MfaSessionInfo, MfaVerificationError, type MfaVerificationFailureReason, type MintWhiteboardJoinTokenInput, type MirroredWithdrawWhitelistEntry, type ModifyOrderInput, type ModifyOrderResult, type ModifyTriggerInput, type ModifyTriggerResult, NetworkError, type NewOrderInput, type NextVipTierThresholds, type OpenOrdersInput, type Order, type OrderDetails, type OrderErrorCode, type OrderErrorDetail, type OrderHistoryInput, type OrderIntentInput, type OrderLineage, type OrderTransfer, type OrderbookData, type OrderbookHeatmapDeltaBucket, type OrderbookHeatmapDeltaChain, type OrderbookHeatmapDeltaLevels, type OrderbookHeatmapKeyframe, type OrderbookHeatmapLevels, type OrderbookHeatmapLiveBucket, type OrderbookHeatmapResponse, type OrderbookLevel, type OrderbookStreamHandlers, type OrderbookSubscription, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, type PairConfig, type PairStatus, type PauseTriggerInput, type PauseTriggerResult, PermissionError, type PolicyAction, PolicyInUseError, PolicyLockedError, type PolicyMarketScope, PolicyScopeMismatchError, type PolyesterAccountAbstractionEnvironment, PolyesterBrowserClient, type PolyesterBrowserClientConfig, PolyesterClient, type PolyesterClientBaseConfig, type PolyesterClientConfig, type PolyesterContractsEnvironment, type PolyesterEntryPointConfig, type PolyesterEnvironment, PolyesterError, type PolyesterErrorCode, type PolyesterErrorDetail, type PolyesterErrorOptions, type PolyesterMutationOptions, type PolyesterRealtime, type PolyesterRealtimeAuthConfig, type PolyesterRequestOptions, type PolyesterSafeDeploymentConfig, PolyesterServerClient, type PolyesterServerClientConfig, type PortfolioEquityHistoryInput, type PortfolioEquityHistoryResponse, type PortfolioEquitySeries, type PortfolioEquitySeriesGrouping, type PortfolioEquitySnapshotResponse, PreconditionFailedError, type PreparedTradingWithdraw, type PreviewOrderResult, type Profile, type RateLimitConfig, type RateLimitDetail, RateLimitError, type RateLimitErrorOptions, type RateLimitFailureReason, type RateLimitPolicyClass, type RateLimitRefillModel, type RateLimitScope, type RegenerateRecoveryCodesInput, type RegenerateRecoveryCodesResult, type ReleaseFreshStepUpInput, type RemoveSubaccountMemberInput, RequestError, type ResolveAccountInput, type ResolvedAccount, type ResolvedInternalTransferDestination, ResourceNotFoundError, type RespondSubaccountInviteInput, type ResumeTriggerInput, type ResumeTriggerResult, RevisionConflictError, type RiskPolicyInput, type RotateGuardSignerWalletResult, type SdkSubscriptionErrorContext, type ServerSessionCookieOptions, type ServerSessionSnapshot, ServiceUnavailableError, type SessionData, SessionElevationRequiredError, type SetSubaccountMemberMfaRequirementInput, type SignProtectedActionInput, type SocialProvider, type SocialProviderInput, type SocialVerification, type SocialVerificationMethod, type SocialVerificationStatus, type SparklineIntervalName, type SpotConfig, type SpotFeeRate, type SpotPairVolumeSeries, type SpotVolumeHistoryInput, type SpotVolumeHistoryResponse, type StablecoinConversionRate, StaleQuoteError, type StartVerificationInput, type StartVerificationResponse, StepUpRequiredError, type StopDetailsOutput, type StopLossInput, type Subaccount, type SubaccountActivityInput, type SubaccountEvent, type SubaccountIdInput, type SubaccountInvite, type SubaccountInviteStatus, type SubaccountMember, type SubaccountPermission, type SubaccountPermissionDefinition, type SubaccountPolicy, type SubaccountPolicyApplyInput, type SubaccountPolicyCreateInput, type SubaccountPolicyUpdateInput, type SubaccountRole, type SubaccountRoleCatalog, type SubaccountRoleDefinition, type SubaccountScopedInput, type SubaccountStatus, type SubscribeHandlers, type SubscribeZippedAssetSupplyInput, type TakeProfitInput, type Timeframe, TimeoutError, type Trade, type TradingRateLimitClass, type TradingRateLimitRule, type TradingRateLimits, type TradingWithdrawSigningConfig, type TradingWithdrawWalletSigner, type TrailingDetailsOutput, type TrailingStopInput, type TransferCodeValue, type TransferCounterparties, type TransferCounterparty, type TransferDestination, type TransferDestinations, type TransferSideKind, TransientError, type Transports, type Trigger, type TriggerDetailsOutput, type TriggerEvent, type TwapDetailsOutput, type UnifiedAssetBalancesResponse, type UpdateAddressBookEntryInput, type UpdateAddressBookTagInput, type UpdateMfaFactorInput, type UpdateMfaFactorResult, type UpdateProfileInput, type UpdateSubaccountInput, type UpdateSubaccountMemberRoleInput, type UpdateWhiteboardBoardAclInput, type UpdateWhiteboardBoardAclResult, type UpdateWhiteboardBoardInput, type UpdateWhiteboardBoardResult, type UsernameHistoryEntry, type ValidateWithdrawDestinationInput, type ValidateWithdrawDestinationResult, ValidationError, type VerificationReadyResponse, type VerifyRecoveryCodeChallengeInput, type VerifyTotpChallengeInput, type VipStatus, type VipTier, type VipTierCatalog, type WalletChallenge, type WalletChallengePurpose, type WhiteboardAccess, type WhiteboardAclEntry, type WhiteboardAclEntryInput, type WhiteboardAclSubjectType, type WhiteboardAudience, type WhiteboardBoard, type WhiteboardBoardDetails, type WhiteboardBoardListItem, type WhiteboardJoinTokenResult, type WhiteboardPermissions, type WhiteboardPresencePayload, type WhiteboardResolvedRole, type WhiteboardSnapshot, type WhiteboardWritableRole, type WithdrawWhitelistView, type ZippedAssetSupplyBatch, type ZippedAssetSupplyGroupResponse, type ZippedAssetSupplyResponse, type ZippedAssetSupplySeries, type ZippedAssetSupplyUpdate, type ZipperAssetChainVariant, type ZipperAssetConfig, type ZipperChainConfig, type ZipperChainContractConfig, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
|
113
|
+
export { type AccountCodeValue, type AccountIdentity, type AccountScope, type AccountScopedInput, type AccountSigner, type AccountSignerAuthEvents, type AccountSignerConfig, type CreateSubaccountResult as AccountSignerCreateSubaccountResult, type AccountSignerFactory, type ActiveAccountInfo, type AddressBook, type AddressBookEntries, type AddressBookEntriesView, type AddressBookEntry, type AddressBookRecentDestinationsView, type AddressBookTag, type AddressBookTagSummary, type AddressBookView, type AddressBookViewInvalidated, AlreadyExistsError, type ApiKey, type ApiKeyEd25519AuthProvider, type ApiKeyIdInput, type ApiKeyPolicy, type ApiKeyPolicyApplyInput, type ApiKeyPolicyCreateInput, type ApiKeyPolicyUpdateInput, type ApiKeyStatus, type ApiKeysCreateInput, type ApiKeysListInput, type ApiKeysUpdateInput, type ArchiveWhiteboardBoardInput, type ArchiveWhiteboardBoardResult, type AssetConfig, type AuthCookieLocation, type AuthHydrationData, type AuthLoginMethod, type AuthState, type AuthTokenStorage, type AuthTokenStorageSetOptions, AuthenticationError, type BalanceHistoryInput, type BalanceHistoryResponse, type BalanceRange, type BatchCancelOrderInput, type BatchCancelOrderResult, type BatchCancelOrdersInput, type BatchCancelOrdersResult, type BatchCreateOrderResult, type BatchCreateOrdersInput, type BatchCreateOrdersResult, type BatchGuardApprovals, type BatchReplaceAdmissionItem, type BatchReplaceOrdersInput, type BatchReplaceOrdersResult, type BatchSignProtectedActionInput, type BeginMfaChallengeInput, type BeginMfaChallengeResult, type BeginPasskeyEnrollmentInput, type BeginPasskeyEnrollmentResult, type BeginTotpEnrollmentInput, type BeginTotpEnrollmentResult, type CancelAllAfterInput, type CancelAllAfterResult, type CancelAllOrdersInput, type CancelAllOrdersResponse, type CancelOrderInput, type CancelOrderResult, type CancelTriggerInput, type CancelTriggerResult, type Candle, type CandleColumnar, type CandleColumnarInt, type CandleInt, type ChainAnalyticsRange, type ClaimCampaign, type ClaimDailyRewardResult, type ClaimFreshStepUpInput, type ClaimFreshStepUpResult, type ClaimGeneratedUsernameInput, type ClaimPolicy, type ColumnarTimeWindow, type CompleteMfaChallengeResult, ConfigurationError, type ConnectChannelParams, type ConsumeFreshStepUpInput, type CookieAuthTokenStorageOptions, type CopyAddressBookEntryInput, type CreateAddressBookEntryInput, type CreateAddressBookTagInput, type CreateDepositAddressInput, type CreateGuardSignerWalletResult, type CreateInternalTransferInput, type CreateInternalTransferResult, type CreateOrderResult, type CreateOrderbookSubscriptionInput, type CreatePolyesterAccountSignerParams, type CreatePolyesterEnvironmentParams, type CreateServerClientFromCookiesParams, type CreateServerClientFromRequestParams, type CreateSubaccountChallengeInput, type CreateSubaccountInput, type CreateSubaccountParams, type CreateSubaccountResult$1 as CreateSubaccountResult, type CreateSubaccountResult$1 as CreateSubaccountServiceResult, type CreateTradingWithdrawResult, type CreateTradingWithdrawToExternalChainInput, type CreateTradingWithdrawToExternalChainServiceInput, type CreateTradingWithdrawToFundingInput, type CreateTradingWithdrawToFundingServiceInput, type CreateTriggerInput, type CreateTriggerResult, type CreateWalletChallengeInput, type CreateWhiteboardBoardInput, type CreateWhiteboardBoardResult, type CurrencyConversionConfig, type CurrencyConversionRates, type CurrencyMetadata, type DailyClaimReward, type DailyClaimState, type DailyClaimStatus, type DailyClaimTransfer, type DeleteAddressBookEntryInput, type DeleteAddressBookTagInput, type DeleteMfaFactorInput, type DepositAddress, type DepositWithdrawConfig, type EffectiveSubaccountPermissions, type EquityGroupBy, type EquityHistoryInput, type EquityHistoryResponse, type EquitySeries, type EquitySeriesGrouping, type EvmHex, type ExportGuardSignerWalletResult, type FiatConversionRate, type FiatConversionSnapshot, type FinishPasskeyChallengeInput, type FinishPasskeyEnrollmentInput, type FinishPasskeyEnrollmentResult, type FinishTotpEnrollmentInput, type FinishTotpEnrollmentResult, type GeneratedUsernameOffer, type GetAddressBookViewInput, type GetBatchReplaceStatusInput, type GetBatchReplaceStatusResult, type GetCandlesColumnsInput, type GetCandlesInput, type GetLifecycleFlowInput, type GetLifecycleFlowOutput, type GetMarketTradesInput, type GetOrderDetailsInput, type GetOrderbookHeatmapInput, type GetOrderbookInput, type GetSpotFeeRatesInput, type GetTriggerInput, type GetUnifiedAssetBalancesInput, type GetUserTradesInput, type GetVerificationResponse, type GetWhiteboardBoardInput, type GetWhiteboardBoardResult, type GetZippedAssetSupplyGroupInput, type GetZippedAssetSupplyInput, type GuardApproval, type GuardSignerScopedInput, type GuardSignerStatus, type HeatmapDepthValue, type HeatmapIntervalValue, type HeatmapQuantityModeValue, type HexAddress, InternalServerError, type InternalTransferDestination, type InternalTransferWhitelistEntries, type InternalTransferWhitelistEntry, type InviteSubaccountMemberInput, type JwtAuthProvider, type LadderDetailsOutput, type LedgerBalance, type LedgerTransfer, type LedgerTransferSide, type LifecycleAssetIds, type LifecycleFlowDetail, type LifecycleFlowState, type LifecycleFlowStep, type LifecycleFlowStepActivity, type LifecycleFlowSummary, type LifecycleFlowSummaryProgress, type LifecycleFlowTimelineItem, type LifecycleFlowTxMatch, type LifecycleListOrderBy, type LifecycleListScope, type LifecycleReason, type LifecycleRequestFee, type LifecycleRequestFeeStatus, type LifecycleSort, type LifecycleTxLookupKind, type LifecycleZipperReason, type ListAddressBookEntriesInput, type ListApiKeyPoliciesResponse, type ListDepositAddressesInput, type ListInternalTransferWhitelistEntriesInput, type ListLifecycleFlowsByTxInput, type ListLifecycleFlowsByTxOutput, type ListLifecycleFlowsInput, type ListLifecycleFlowsOutput, type ListMarketOverviewInput, type ListMfaFactorsResult, type ListSubaccountInvitesInput, type ListTransferCounterpartiesInput, type ListTransferDestinationsInput, type ListTransfersInput, type ListTriggerEventsInput, type ListTriggerEventsResult, type ListTriggersInput, type ListTriggersResult, type ListWhiteboardBoardsInput, type ListWhiteboardBoardsResult, type LoginOptions, type LoginResult, type LoginWithWalletInput, type LoginWithWalletResponse, type MarketOverview, type MarketOverviewOrderBy, type MarketOverviewSort, type MarketOverviewSparkline, type MarketTrade, type Me, MfaEnrollmentRequiredError, type MfaFactor, MfaLastFactorRequiredError, MfaRequiredError, type MfaSessionInfo, MfaVerificationError, type MfaVerificationFailureReason, type MintWhiteboardJoinTokenInput, type MirroredWithdrawWhitelistEntry, type ModifyOrderInput, type ModifyOrderResult, type ModifyTriggerInput, type ModifyTriggerResult, NetworkError, type NewOrderInput, type NextVipTierThresholds, type OpenOrdersInput, type Order, type OrderDetails, type OrderErrorCode, type OrderErrorDetail, type OrderHistoryInput, type OrderIntentInput, type OrderLineage, type OrderTransfer, type OrderbookData, type OrderbookHeatmapDeltaBucket, type OrderbookHeatmapDeltaChain, type OrderbookHeatmapDeltaLevels, type OrderbookHeatmapKeyframe, type OrderbookHeatmapLevels, type OrderbookHeatmapLiveBucket, type OrderbookHeatmapResponse, type OrderbookLevel, type OrderbookStreamHandlers, type OrderbookSubscription, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, type PairConfig, type PairStatus, type PauseTriggerInput, type PauseTriggerResult, PermissionError, type PolicyAction, PolicyInUseError, PolicyLockedError, type PolicyMarketScope, PolicyScopeMismatchError, type PolyesterAccountAbstractionEnvironment, PolyesterBrowserClient, type PolyesterBrowserClientConfig, PolyesterClient, type PolyesterClientBaseConfig, type PolyesterClientConfig, type PolyesterContractsEnvironment, type PolyesterEntryPointConfig, type PolyesterEnvironment, PolyesterError, type PolyesterErrorCode, type PolyesterErrorDetail, type PolyesterErrorOptions, type PolyesterMutationOptions, type PolyesterRealtime, type PolyesterRealtimeAuthConfig, type PolyesterRequestOptions, type PolyesterSafeDeploymentConfig, PolyesterServerClient, type PolyesterServerClientConfig, type PortfolioEquityHistoryInput, type PortfolioEquityHistoryResponse, type PortfolioEquitySeries, type PortfolioEquitySeriesGrouping, type PortfolioEquitySnapshotResponse, PreconditionFailedError, type PreparedTradingWithdraw, type PreviewOrderResult, type Profile, type RateLimitConfig, type RateLimitDetail, RateLimitError, type RateLimitErrorOptions, type RateLimitFailureReason, type RateLimitPolicyClass, type RateLimitRefillModel, type RateLimitScope, type RegenerateRecoveryCodesInput, type RegenerateRecoveryCodesResult, type ReleaseFreshStepUpInput, type RemoveSubaccountMemberInput, RequestError, type ResolveAccountInput, type ResolvedAccount, type ResolvedInternalTransferDestination, ResourceNotFoundError, type RespondSubaccountInviteInput, type ResumeTriggerInput, type ResumeTriggerResult, RevisionConflictError, type RiskPolicyInput, type RotateGuardSignerWalletResult, type SdkSubscriptionErrorContext, type ServerSessionCookieOptions, type ServerSessionSnapshot, ServiceUnavailableError, type SessionData, SessionElevationRequiredError, type SetSubaccountMemberMfaRequirementInput, type SignProtectedActionInput, type SocialProvider, type SocialProviderInput, type SocialVerification, type SocialVerificationMethod, type SocialVerificationStatus, type SparklineIntervalName, type SpotConfig, type SpotFeeRate, type SpotPairVolumeSeries, type SpotVolumeHistoryInput, type SpotVolumeHistoryResponse, type StablecoinConversionRate, StaleQuoteError, type StartVerificationInput, type StartVerificationResponse, StepUpRequiredError, type StopDetailsOutput, type StopLossInput, type Subaccount, type SubaccountActivityInput, type SubaccountChallenge, SubaccountChallengeInvalidError, type SubaccountEvent, type SubaccountIdInput, type SubaccountInvite, type SubaccountInviteStatus, type SubaccountMember, type SubaccountPermission, type SubaccountPermissionDefinition, type SubaccountPolicy, type SubaccountPolicyApplyInput, type SubaccountPolicyCreateInput, type SubaccountPolicyUpdateInput, type SubaccountRole, type SubaccountRoleCatalog, type SubaccountRoleDefinition, type SubaccountScopedInput, type SubaccountStatus, type SubscribeHandlers, type SubscribeZippedAssetSupplyInput, type TakeProfitInput, type Timeframe, TimeoutError, type Trade, type TradingRateLimitClass, type TradingRateLimitRule, type TradingRateLimits, type TradingWithdrawSigningConfig, type TradingWithdrawWalletSigner, type TrailingDetailsOutput, type TrailingStopInput, type TransferCodeValue, type TransferCounterparties, type TransferCounterparty, type TransferDestination, type TransferDestinations, type TransferSideKind, TransientError, type Transports, type Trigger, type TriggerDetailsOutput, type TriggerEvent, type TwapDetailsOutput, type UnifiedAssetBalancesResponse, type UpdateAddressBookEntryInput, type UpdateAddressBookTagInput, type UpdateMfaFactorInput, type UpdateMfaFactorResult, type UpdateProfileInput, type UpdateSubaccountInput, type UpdateSubaccountMemberRoleInput, type UpdateWhiteboardBoardAclInput, type UpdateWhiteboardBoardAclResult, type UpdateWhiteboardBoardInput, type UpdateWhiteboardBoardResult, type UsernameHistoryEntry, type ValidateWithdrawDestinationInput, type ValidateWithdrawDestinationResult, ValidationError, type VerificationReadyResponse, type VerifyRecoveryCodeChallengeInput, type VerifyTotpChallengeInput, type VipStatus, type VipTier, type VipTierCatalog, type WalletChallenge, type WhiteboardAccess, type WhiteboardAclEntry, type WhiteboardAclEntryInput, type WhiteboardAclSubjectType, type WhiteboardAudience, type WhiteboardBoard, type WhiteboardBoardDetails, type WhiteboardBoardListItem, type WhiteboardJoinTokenResult, type WhiteboardPermissions, type WhiteboardPresencePayload, type WhiteboardResolvedRole, type WhiteboardSnapshot, type WhiteboardWritableRole, type WithdrawWhitelistView, type ZippedAssetSupplyBatch, type ZippedAssetSupplyGroupResponse, type ZippedAssetSupplyResponse, type ZippedAssetSupplySeries, type ZippedAssetSupplyUpdate, type ZipperAssetChainVariant, type ZipperAssetConfig, type ZipperChainConfig, type ZipperChainContractConfig, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PreconditionFailedError, RateLimitError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, TimeoutError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
1
|
+
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PreconditionFailedError, RateLimitError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
2
2
|
import { tsObjToNsString } from "./utils/time.js";
|
|
3
3
|
import { connectErrorToPolyesterError, createErrorMappingInterceptor, toPolyesterError } from "./shared/connect-error-mapping.js";
|
|
4
4
|
import { checksumEvmAddress, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, isEvmAddress, isEvmAddressStrict, keccak256Hex } from "./utils/evm.js";
|
|
@@ -14,4 +14,4 @@ import { PolyesterBrowserClient } from "./browser-client.js";
|
|
|
14
14
|
import { PolyesterServerClient, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest } from "./server-client.js";
|
|
15
15
|
import { isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isSessionElevationRequiredError } from "./utils/connect-mfa-errors.js";
|
|
16
16
|
import { columnarTimestampSecAt, expandColumnarTimestampsSec } from "./utils/columnar-time.js";
|
|
17
|
-
export { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterBrowserClient, PolyesterClient, PolyesterError, PolyesterServerClient, PreconditionFailedError, RateLimitError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, TimeoutError, TransientError, ValidationError, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
|
17
|
+
export { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterBrowserClient, PolyesterClient, PolyesterError, PolyesterServerClient, PreconditionFailedError, RateLimitError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TransientError, ValidationError, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|