@polyester/sdk 0.36.0-devnet-20261119010940 → 0.36.0-devnet-20261119050221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/activity_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.d.ts +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
- package/dist/gen/index.js +24 -24
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/services/account-activity/account-activity.js +1 -1
- package/dist/services/account-activity/account-activity.schemas.d.ts +2 -2
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/api-keys/api-keys.schemas.d.ts +3 -3
- package/dist/services/assistant/assistant-events.schemas.d.ts +29 -29
- package/dist/services/assistant/assistant.js +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +2 -2
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +45 -40
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -1
- package/dist/services/changelog/changelog.schemas.js +6 -1
- package/dist/services/changelog/changelog.schemas.js.map +1 -1
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/connected-apps/connected-apps.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +6 -6
- package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/heatmap/heatmap.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.d.ts +4 -3
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +5 -4
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.js +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +91 -91
- package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
- package/dist/services/market-data/market-data.js +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.js +1 -1
- package/dist/services/orderbook/orderbook.js +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +3 -3
- package/dist/services/orders/order-errors.schemas.js +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +44 -44
- package/dist/services/orders/orders-batch.schemas.js +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +5 -5
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +12 -12
- package/dist/services/orders/orders-risk.schemas.js +2 -2
- package/dist/services/orders/orders.js +2 -2
- package/dist/services/price-alerts/price-alerts.js +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
- package/dist/services/rate-limits/rate-limits.js +1 -1
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +1 -1
- package/dist/services/statement-exports/statement-exports.js +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +14 -14
- package/dist/services/system/system.js +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +2 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +34 -34
- package/dist/services/triggers/triggers.js +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.js +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +1 -1
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/errors.d.ts +4 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +4 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/utils/connect-mfa-errors.d.ts +2 -2
- package/dist/utils/connect-mfa-errors.js +2 -2
- package/dist/utils/connect-mfa-errors.js.map +1 -1
- package/dist/wired-services.js +19 -19
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import "../../gen/chain/lifecycle/v1/types_pb.js";
|
|
2
|
+
import "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
1
3
|
import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
2
4
|
import { fromU128 } from "../../utils/u128.js";
|
|
3
5
|
import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
4
6
|
import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
|
|
5
|
-
import "../../gen/chain/lifecycle/v1/types_pb.js";
|
|
6
|
-
import "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
7
7
|
import { LIFECYCLE_FLOW_KIND_VALUES, LIFECYCLE_FLOW_PARTICIPATION_VALUES, LIFECYCLE_FLOW_STATE_VALUES, LIFECYCLE_LIST_ORDER_BY_VALUES, LIFECYCLE_LIST_SCOPE_VALUES, LIFECYCLE_SORT_VALUES, LIFECYCLE_TX_LOOKUP_KIND_VALUES, LifecycleFlowDomainCodec, LifecycleFlowKindCodec, LifecycleFlowParticipationCodec, LifecycleFlowStateCodec, LifecycleFlowStepActivityKindCodec, LifecycleFlowStepCodec, LifecycleFlowTimelineStatusCodec, LifecycleListOrderByCodec, LifecycleListScopeCodec, LifecycleRequestFeeStatusCodec, LifecycleSortCodec, LifecycleSourceCodec, LifecycleTxLookupKindCodec, lifecycleReasonFromCode, zipperReasonFromCode } from "./lifecycle.codecs.js";
|
|
8
8
|
import * as v from "valibot";
|
|
9
9
|
//#region src/services/lifecycle/lifecycle.schemas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MarketDataService as MarketDataService$1, MarketTradeBatchSchema } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
1
2
|
import { parse } from "../../shared/validation.js";
|
|
2
3
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
4
|
import { deliverBatch } from "../../shared/subscription-errors.js";
|
|
4
5
|
import { SymbolIdInputSchema } from "../shared.js";
|
|
5
|
-
import { MarketDataService as MarketDataService$1, MarketTradeBatchSchema } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
6
6
|
import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
|
|
7
7
|
import { isDev } from "../../utils/is-dev.js";
|
|
8
8
|
import { AssetInfoSchema, GetMarketTradesInputSchema, ListAssetInfoInputSchema, SpotConfigSchema, TradeBackfillSchema, formatMarketTrade } from "./market-data.schemas.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MarketOverviewBatchSchema, MarketOverviewService as MarketOverviewService$1 } from "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
1
2
|
import { parse } from "../../shared/validation.js";
|
|
2
3
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
4
|
import { CatalogLookupError } from "../../catalogs/types.js";
|
|
4
5
|
import { isDev } from "../../utils/is-dev.js";
|
|
5
|
-
import { MarketOverviewBatchSchema, MarketOverviewService as MarketOverviewService$1 } from "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
6
6
|
import { snapshotThenStream } from "../../realtime/snapshot-then-stream.js";
|
|
7
7
|
import { CurrencyConversionConfigSchema, CurrencyConversionRatesSchema, ListMarketOverviewInputSchema, SpotVolumeHistoryInputSchema, SpotVolumeHistoryResponseSchema, createMarketOverviewSchema } from "./market-overview.schemas.js";
|
|
8
8
|
import { createClient } from "@connectrpc/connect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
1
2
|
import { tsNsToMs } from "../../utils/time.js";
|
|
2
3
|
import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
3
4
|
import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
4
5
|
import { PositiveUint32InputSchema, SymbolIdInputSchema } from "../shared.js";
|
|
5
|
-
import "../../gen/marketoverview/v1/marketoverview_pb.js";
|
|
6
6
|
import { MARKET_OVERVIEW_ORDER_BY_VALUES, MARKET_OVERVIEW_SORT_VALUES, MarketOverviewOrderByCodec, MarketOverviewSortCodec, SPARKLINE_INTERVAL_VALUES, SparklineIntervalCodec } from "./market-overview.codecs.js";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
//#region src/services/market-overview/market-overview.schemas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { NotificationService } from "../../gen/notifications/v1/notifications_pb.js";
|
|
1
2
|
import { InternalServerError } from "../../shared/errors.js";
|
|
2
3
|
import { parse } from "../../shared/validation.js";
|
|
3
4
|
import { removeUndefined } from "../../utils/remove-undefined.js";
|
|
4
5
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
5
|
-
import { NotificationService } from "../../gen/notifications/v1/notifications_pb.js";
|
|
6
6
|
import { GetNotificationInputSchema, ListNotificationsInputSchema, MarkAllNotificationsReadInputSchema, MarkNotificationsInputSchema, formatNotification, formatNotificationCounts } from "./notifications.schemas.js";
|
|
7
7
|
import { createClient } from "@connectrpc/connect";
|
|
8
8
|
//#region src/services/notifications/notifications.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GetOrderBookResponseSchema, OrderBookDeltaSchema, OrderbookService as OrderbookService$1 } from "../../gen/orderbook/v1/orderbook_pb.js";
|
|
1
2
|
import { ServiceUnavailableError, ValidationError } from "../../shared/errors.js";
|
|
2
3
|
import { parse } from "../../shared/validation.js";
|
|
3
4
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
@@ -6,7 +7,6 @@ import { decimalInputToScaled } from "../../shared/decimal-surface.js";
|
|
|
6
7
|
import { isResourceNotFoundError } from "../../utils/errors.js";
|
|
7
8
|
import { DepthTierCodec } from "../../shared/depth-tier.js";
|
|
8
9
|
import { snapshotThenStream } from "../../realtime/snapshot-then-stream.js";
|
|
9
|
-
import { GetOrderBookResponseSchema, OrderBookDeltaSchema, OrderbookService as OrderbookService$1 } from "../../gen/orderbook/v1/orderbook_pb.js";
|
|
10
10
|
import { GetOrderbookInputSchema, createOrderbookDataSchema, formatOrderbookLevel } from "./orderbook.schemas.js";
|
|
11
11
|
import { orderbookWsChannelDepth } from "./orderbook.codecs.js";
|
|
12
12
|
import { create } from "@bufbuild/protobuf";
|
|
@@ -17,7 +17,7 @@ declare const OrderErrorDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
17
17
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
18
18
|
readonly operationId: v.StringSchema<undefined>;
|
|
19
19
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
20
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
20
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
21
21
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
22
22
|
}, undefined>, undefined>;
|
|
23
23
|
/** Order holding the client order ID on a `CONFLICT_DUPLICATE_CLIENT_ORDER_ID` rejection, when known. */
|
|
@@ -48,7 +48,7 @@ declare const OrderErrorDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
48
48
|
policyVersion?: string | undefined;
|
|
49
49
|
operationId: string;
|
|
50
50
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
51
|
-
scope: "symbol" | "unspecified" | "
|
|
51
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
52
52
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
53
53
|
} | undefined;
|
|
54
54
|
existingOrderId?: string | undefined;
|
|
@@ -71,7 +71,7 @@ declare const OrderErrorDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
71
71
|
policyVersion?: string | undefined;
|
|
72
72
|
operationId: string;
|
|
73
73
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
74
|
-
scope: "symbol" | "unspecified" | "
|
|
74
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
75
75
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
76
76
|
} | undefined;
|
|
77
77
|
existingOrderId?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ErrorCode } from "../../gen/orders/v1/orders_pb.js";
|
|
1
2
|
import { OptionalPublicIdSchema } from "../../shared/schemas.js";
|
|
2
3
|
import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
3
|
-
import { ErrorCode } from "../../gen/orders/v1/orders_pb.js";
|
|
4
4
|
import { RateLimitDetailSchema } from "../../shared/rate-limit.schemas.js";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/services/orders/order-errors.schemas.ts
|
|
@@ -5492,7 +5492,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5492
5492
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
5493
5493
|
readonly operationId: v.StringSchema<undefined>;
|
|
5494
5494
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
5495
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
5495
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
5496
5496
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
5497
5497
|
}, undefined>, undefined>;
|
|
5498
5498
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -5514,7 +5514,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5514
5514
|
policyVersion?: string | undefined;
|
|
5515
5515
|
operationId: string;
|
|
5516
5516
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5517
|
-
scope: "symbol" | "unspecified" | "
|
|
5517
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5518
5518
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5519
5519
|
} | undefined;
|
|
5520
5520
|
existingOrderId?: string | undefined;
|
|
@@ -5537,7 +5537,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5537
5537
|
policyVersion?: string | undefined;
|
|
5538
5538
|
operationId: string;
|
|
5539
5539
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5540
|
-
scope: "symbol" | "unspecified" | "
|
|
5540
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5541
5541
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5542
5542
|
} | undefined;
|
|
5543
5543
|
existingOrderId?: string | undefined;
|
|
@@ -5583,7 +5583,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5583
5583
|
policyVersion?: string | undefined;
|
|
5584
5584
|
operationId: string;
|
|
5585
5585
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5586
|
-
scope: "symbol" | "unspecified" | "
|
|
5586
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5587
5587
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5588
5588
|
} | undefined;
|
|
5589
5589
|
existingOrderId?: string | undefined;
|
|
@@ -5629,7 +5629,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5629
5629
|
policyVersion?: string | undefined;
|
|
5630
5630
|
operationId: string;
|
|
5631
5631
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5632
|
-
scope: "symbol" | "unspecified" | "
|
|
5632
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5633
5633
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5634
5634
|
} | undefined;
|
|
5635
5635
|
existingOrderId?: string | undefined;
|
|
@@ -5675,7 +5675,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5675
5675
|
policyVersion?: string | undefined;
|
|
5676
5676
|
operationId: string;
|
|
5677
5677
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5678
|
-
scope: "symbol" | "unspecified" | "
|
|
5678
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5679
5679
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5680
5680
|
} | undefined;
|
|
5681
5681
|
existingOrderId?: string | undefined;
|
|
@@ -5708,7 +5708,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
5708
5708
|
policyVersion?: string | undefined;
|
|
5709
5709
|
operationId: string;
|
|
5710
5710
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5711
|
-
scope: "symbol" | "unspecified" | "
|
|
5711
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5712
5712
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5713
5713
|
} | undefined;
|
|
5714
5714
|
existingOrderId?: string | undefined;
|
|
@@ -5771,7 +5771,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
5771
5771
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
5772
5772
|
readonly operationId: v.StringSchema<undefined>;
|
|
5773
5773
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
5774
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
5774
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
5775
5775
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
5776
5776
|
}, undefined>, undefined>;
|
|
5777
5777
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -5793,7 +5793,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
5793
5793
|
policyVersion?: string | undefined;
|
|
5794
5794
|
operationId: string;
|
|
5795
5795
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5796
|
-
scope: "symbol" | "unspecified" | "
|
|
5796
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5797
5797
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5798
5798
|
} | undefined;
|
|
5799
5799
|
existingOrderId?: string | undefined;
|
|
@@ -5816,7 +5816,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
5816
5816
|
policyVersion?: string | undefined;
|
|
5817
5817
|
operationId: string;
|
|
5818
5818
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5819
|
-
scope: "symbol" | "unspecified" | "
|
|
5819
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5820
5820
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5821
5821
|
} | undefined;
|
|
5822
5822
|
existingOrderId?: string | undefined;
|
|
@@ -5847,7 +5847,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
5847
5847
|
policyVersion?: string | undefined;
|
|
5848
5848
|
operationId: string;
|
|
5849
5849
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5850
|
-
scope: "symbol" | "unspecified" | "
|
|
5850
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5851
5851
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5852
5852
|
} | undefined;
|
|
5853
5853
|
existingOrderId?: string | undefined;
|
|
@@ -5878,7 +5878,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
5878
5878
|
policyVersion?: string | undefined;
|
|
5879
5879
|
operationId: string;
|
|
5880
5880
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5881
|
-
scope: "symbol" | "unspecified" | "
|
|
5881
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5882
5882
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5883
5883
|
} | undefined;
|
|
5884
5884
|
existingOrderId?: string | undefined;
|
|
@@ -5913,7 +5913,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
5913
5913
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
5914
5914
|
readonly operationId: v.StringSchema<undefined>;
|
|
5915
5915
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
5916
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
5916
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
5917
5917
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
5918
5918
|
}, undefined>, undefined>;
|
|
5919
5919
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -5935,7 +5935,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
5935
5935
|
policyVersion?: string | undefined;
|
|
5936
5936
|
operationId: string;
|
|
5937
5937
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5938
|
-
scope: "symbol" | "unspecified" | "
|
|
5938
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5939
5939
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5940
5940
|
} | undefined;
|
|
5941
5941
|
existingOrderId?: string | undefined;
|
|
@@ -5958,7 +5958,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
5958
5958
|
policyVersion?: string | undefined;
|
|
5959
5959
|
operationId: string;
|
|
5960
5960
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5961
|
-
scope: "symbol" | "unspecified" | "
|
|
5961
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5962
5962
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5963
5963
|
} | undefined;
|
|
5964
5964
|
existingOrderId?: string | undefined;
|
|
@@ -5989,7 +5989,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
5989
5989
|
policyVersion?: string | undefined;
|
|
5990
5990
|
operationId: string;
|
|
5991
5991
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
5992
|
-
scope: "symbol" | "unspecified" | "
|
|
5992
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
5993
5993
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
5994
5994
|
} | undefined;
|
|
5995
5995
|
existingOrderId?: string | undefined;
|
|
@@ -6020,7 +6020,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
6020
6020
|
policyVersion?: string | undefined;
|
|
6021
6021
|
operationId: string;
|
|
6022
6022
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6023
|
-
scope: "symbol" | "unspecified" | "
|
|
6023
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6024
6024
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6025
6025
|
} | undefined;
|
|
6026
6026
|
existingOrderId?: string | undefined;
|
|
@@ -6058,7 +6058,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
6058
6058
|
policyVersion?: string | undefined;
|
|
6059
6059
|
operationId: string;
|
|
6060
6060
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6061
|
-
scope: "symbol" | "unspecified" | "
|
|
6061
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6062
6062
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6063
6063
|
} | undefined;
|
|
6064
6064
|
existingOrderId?: string | undefined;
|
|
@@ -6096,7 +6096,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
6096
6096
|
policyVersion?: string | undefined;
|
|
6097
6097
|
operationId: string;
|
|
6098
6098
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6099
|
-
scope: "symbol" | "unspecified" | "
|
|
6099
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6100
6100
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6101
6101
|
} | undefined;
|
|
6102
6102
|
existingOrderId?: string | undefined;
|
|
@@ -6134,7 +6134,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
6134
6134
|
policyVersion?: string | undefined;
|
|
6135
6135
|
operationId: string;
|
|
6136
6136
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6137
|
-
scope: "symbol" | "unspecified" | "
|
|
6137
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6138
6138
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6139
6139
|
} | undefined;
|
|
6140
6140
|
existingOrderId?: string | undefined;
|
|
@@ -6174,7 +6174,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
6174
6174
|
policyVersion?: string | undefined;
|
|
6175
6175
|
operationId: string;
|
|
6176
6176
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6177
|
-
scope: "symbol" | "unspecified" | "
|
|
6177
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6178
6178
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6179
6179
|
} | undefined;
|
|
6180
6180
|
existingOrderId?: string | undefined;
|
|
@@ -6206,20 +6206,20 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6206
6206
|
readonly admissionStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "rejected" | "admitted" | "partially_admitted">]>;
|
|
6207
6207
|
readonly items: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6208
6208
|
readonly itemIndex: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
6209
|
-
readonly phase: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "rejected" | "
|
|
6209
|
+
readonly phase: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "rejected" | "working" | "terminal" | "admitted">]>;
|
|
6210
6210
|
readonly oldOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
6211
6211
|
readonly replacementOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
6212
6212
|
readonly actionTaken: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "replaced" | "amended">]>;
|
|
6213
|
-
readonly orderStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "canceled" | "
|
|
6213
|
+
readonly orderStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled">]>;
|
|
6214
6214
|
readonly code: v.StringSchema<undefined>;
|
|
6215
6215
|
readonly updatedTsNs: v.BigintSchema<undefined>;
|
|
6216
6216
|
}, undefined>, v.TransformAction<{
|
|
6217
6217
|
itemIndex: number;
|
|
6218
|
-
phase: "unspecified" | "rejected" | "
|
|
6218
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6219
6219
|
oldOrderId?: string | undefined;
|
|
6220
6220
|
replacementOrderId?: string | undefined;
|
|
6221
6221
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6222
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6222
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6223
6223
|
code: string;
|
|
6224
6224
|
updatedTsNs: bigint;
|
|
6225
6225
|
}, {
|
|
@@ -6227,11 +6227,11 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6227
6227
|
updatedTs: number;
|
|
6228
6228
|
updatedTsNs: string;
|
|
6229
6229
|
itemIndex: number;
|
|
6230
|
-
phase: "unspecified" | "rejected" | "
|
|
6230
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6231
6231
|
oldOrderId?: string | undefined;
|
|
6232
6232
|
replacementOrderId?: string | undefined;
|
|
6233
6233
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6234
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6234
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6235
6235
|
}>]>, undefined>;
|
|
6236
6236
|
readonly acceptedCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
6237
6237
|
readonly rejectedCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -6245,11 +6245,11 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6245
6245
|
updatedTs: number;
|
|
6246
6246
|
updatedTsNs: string;
|
|
6247
6247
|
itemIndex: number;
|
|
6248
|
-
phase: "unspecified" | "rejected" | "
|
|
6248
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6249
6249
|
oldOrderId?: string | undefined;
|
|
6250
6250
|
replacementOrderId?: string | undefined;
|
|
6251
6251
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6252
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6252
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6253
6253
|
}[];
|
|
6254
6254
|
acceptedCount: number;
|
|
6255
6255
|
rejectedCount: number;
|
|
@@ -6263,11 +6263,11 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6263
6263
|
updatedTs: number;
|
|
6264
6264
|
updatedTsNs: string;
|
|
6265
6265
|
itemIndex: number;
|
|
6266
|
-
phase: "unspecified" | "rejected" | "
|
|
6266
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6267
6267
|
oldOrderId?: string | undefined;
|
|
6268
6268
|
replacementOrderId?: string | undefined;
|
|
6269
6269
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6270
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6270
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6271
6271
|
}[];
|
|
6272
6272
|
acceptedCount: number;
|
|
6273
6273
|
rejectedCount: number;
|
|
@@ -6281,11 +6281,11 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6281
6281
|
updatedTs: number;
|
|
6282
6282
|
updatedTsNs: string;
|
|
6283
6283
|
itemIndex: number;
|
|
6284
|
-
phase: "unspecified" | "rejected" | "
|
|
6284
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6285
6285
|
oldOrderId?: string | undefined;
|
|
6286
6286
|
replacementOrderId?: string | undefined;
|
|
6287
6287
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6288
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6288
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6289
6289
|
}[];
|
|
6290
6290
|
acceptedCount: number;
|
|
6291
6291
|
rejectedCount: number;
|
|
@@ -6303,11 +6303,11 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
6303
6303
|
updatedTs: number;
|
|
6304
6304
|
updatedTsNs: string;
|
|
6305
6305
|
itemIndex: number;
|
|
6306
|
-
phase: "unspecified" | "rejected" | "
|
|
6306
|
+
phase: "unspecified" | "rejected" | "working" | "terminal" | "admitted";
|
|
6307
6307
|
oldOrderId?: string | undefined;
|
|
6308
6308
|
replacementOrderId?: string | undefined;
|
|
6309
6309
|
actionTaken: "unspecified" | "replaced" | "amended";
|
|
6310
|
-
orderStatus: "unspecified" | "canceled" | "
|
|
6310
|
+
orderStatus: "unspecified" | "canceled" | "rejected" | "pending" | "pending_cancel" | "working" | "filled";
|
|
6311
6311
|
}[];
|
|
6312
6312
|
acceptedCount: number;
|
|
6313
6313
|
rejectedCount: number;
|
|
@@ -6421,7 +6421,7 @@ declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
|
6421
6421
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
6422
6422
|
readonly operationId: v.StringSchema<undefined>;
|
|
6423
6423
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
6424
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
6424
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
6425
6425
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
6426
6426
|
}, undefined>, undefined>;
|
|
6427
6427
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -6443,7 +6443,7 @@ declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
|
6443
6443
|
policyVersion?: string | undefined;
|
|
6444
6444
|
operationId: string;
|
|
6445
6445
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6446
|
-
scope: "symbol" | "unspecified" | "
|
|
6446
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6447
6447
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6448
6448
|
} | undefined;
|
|
6449
6449
|
existingOrderId?: string | undefined;
|
|
@@ -6466,7 +6466,7 @@ declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
|
6466
6466
|
policyVersion?: string | undefined;
|
|
6467
6467
|
operationId: string;
|
|
6468
6468
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6469
|
-
scope: "symbol" | "unspecified" | "
|
|
6469
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6470
6470
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6471
6471
|
} | undefined;
|
|
6472
6472
|
existingOrderId?: string | undefined;
|
|
@@ -6496,7 +6496,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6496
6496
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
6497
6497
|
readonly operationId: v.StringSchema<undefined>;
|
|
6498
6498
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
6499
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
6499
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
6500
6500
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
6501
6501
|
}, undefined>, undefined>;
|
|
6502
6502
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -6518,7 +6518,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6518
6518
|
policyVersion?: string | undefined;
|
|
6519
6519
|
operationId: string;
|
|
6520
6520
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6521
|
-
scope: "symbol" | "unspecified" | "
|
|
6521
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6522
6522
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6523
6523
|
} | undefined;
|
|
6524
6524
|
existingOrderId?: string | undefined;
|
|
@@ -6541,7 +6541,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6541
6541
|
policyVersion?: string | undefined;
|
|
6542
6542
|
operationId: string;
|
|
6543
6543
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6544
|
-
scope: "symbol" | "unspecified" | "
|
|
6544
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6545
6545
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6546
6546
|
} | undefined;
|
|
6547
6547
|
existingOrderId?: string | undefined;
|
|
@@ -6574,7 +6574,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6574
6574
|
policyVersion?: string | undefined;
|
|
6575
6575
|
operationId: string;
|
|
6576
6576
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6577
|
-
scope: "symbol" | "unspecified" | "
|
|
6577
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6578
6578
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6579
6579
|
} | undefined;
|
|
6580
6580
|
existingOrderId?: string | undefined;
|
|
@@ -6607,7 +6607,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6607
6607
|
policyVersion?: string | undefined;
|
|
6608
6608
|
operationId: string;
|
|
6609
6609
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6610
|
-
scope: "symbol" | "unspecified" | "
|
|
6610
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6611
6611
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6612
6612
|
} | undefined;
|
|
6613
6613
|
existingOrderId?: string | undefined;
|
|
@@ -6642,7 +6642,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
6642
6642
|
policyVersion?: string | undefined;
|
|
6643
6643
|
operationId: string;
|
|
6644
6644
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
6645
|
-
scope: "symbol" | "unspecified" | "
|
|
6645
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
6646
6646
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
6647
6647
|
} | undefined;
|
|
6648
6648
|
existingOrderId?: string | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RiskPolicySchema } from "../../gen/orders/v1/orders_pb.js";
|
|
1
2
|
import { ValidationError } from "../../shared/errors.js";
|
|
2
3
|
import { formatId } from "../../utils/base58-id.js";
|
|
3
4
|
import { tsNsToMs } from "../../utils/time.js";
|
|
@@ -6,7 +7,6 @@ import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
|
6
7
|
import { positiveDecimalInputToScaled, scaledToDecimalOutput } from "../../shared/decimal-surface.js";
|
|
7
8
|
import { SideSchema, SymbolIdInputSchema } from "../shared.js";
|
|
8
9
|
import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
|
|
9
|
-
import { RiskPolicySchema } from "../../gen/orders/v1/orders_pb.js";
|
|
10
10
|
import { OrderSideCodec } from "./order-enums.codecs.js";
|
|
11
11
|
import { OrderErrorDetailSchema } from "./order-errors.schemas.js";
|
|
12
12
|
import { BatchCancelOrderStatusCodec, BatchReplaceAdmissionStatusCodec, BatchReplaceItemAdmissionStatusCodec, BatchReplacePhaseCodec, CancelAllAfterStatusCodec, ModifyActionCodec, OrderStatusCodec } from "./orders.codecs.js";
|
|
@@ -8330,7 +8330,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
8330
8330
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
8331
8331
|
readonly operationId: v.StringSchema<undefined>;
|
|
8332
8332
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read">]>;
|
|
8333
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
8333
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
8334
8334
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
8335
8335
|
}, undefined>, undefined>;
|
|
8336
8336
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -8352,7 +8352,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
8352
8352
|
policyVersion?: string | undefined;
|
|
8353
8353
|
operationId: string;
|
|
8354
8354
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
8355
|
-
scope: "symbol" | "unspecified" | "
|
|
8355
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
8356
8356
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
8357
8357
|
} | undefined;
|
|
8358
8358
|
existingOrderId?: string | undefined;
|
|
@@ -8375,7 +8375,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
8375
8375
|
policyVersion?: string | undefined;
|
|
8376
8376
|
operationId: string;
|
|
8377
8377
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
8378
|
-
scope: "symbol" | "unspecified" | "
|
|
8378
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
8379
8379
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
8380
8380
|
} | undefined;
|
|
8381
8381
|
existingOrderId?: string | undefined;
|
|
@@ -8409,7 +8409,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
8409
8409
|
policyVersion?: string | undefined;
|
|
8410
8410
|
operationId: string;
|
|
8411
8411
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
8412
|
-
scope: "symbol" | "unspecified" | "
|
|
8412
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
8413
8413
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
8414
8414
|
} | undefined;
|
|
8415
8415
|
existingOrderId?: string | undefined;
|
|
@@ -8439,7 +8439,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
8439
8439
|
policyVersion?: string | undefined;
|
|
8440
8440
|
operationId: string;
|
|
8441
8441
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider" | "assistant_message" | "assistant_control" | "assistant_read";
|
|
8442
|
-
scope: "symbol" | "unspecified" | "
|
|
8442
|
+
scope: "symbol" | "unspecified" | "client_ip" | "api_key" | "account" | "subaccount" | "connection" | "service" | "region" | "auth_subject";
|
|
8443
8443
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
8444
8444
|
} | undefined;
|
|
8445
8445
|
existingOrderId?: string | undefined;
|