@settlemint/dalp-sdk 3.1.26-main.38506890971 → 3.1.26-main.38516890397
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/dist/auth.js +1 -1
- package/dist/{chunk-t4hs69sw.js → chunk-d696229y.js} +1 -1
- package/dist/{chunk-m79stmn5.js → chunk-g5xdahym.js} +1 -1
- package/dist/chunk-hzp04aj1.js +5 -0
- package/dist/chunk-js5v9nqt.js +5 -0
- package/dist/{chunk-1bexck3q.js → chunk-s8wch695.js} +2 -2
- package/dist/effect.js +1 -1
- package/dist/generated/api-types.d.ts +46 -0
- package/dist/generated/api-types.ts +53 -0
- package/dist/index.js +3 -3
- package/dist/react-query.js +1 -1
- package/dist/routes/console.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-0mcetb5f.js +0 -5
- package/dist/chunk-q96egsxr.js +0 -5
|
@@ -9995,6 +9995,7 @@ export type TradingVenue = {
|
|
|
9995
9995
|
readonly oneTradingModelPerSecurity: boolean;
|
|
9996
9996
|
readonly minimumAdmissionValueUsd: TradingVenueAdmissionUnitsEncoded | null;
|
|
9997
9997
|
readonly minimumAdmissionShares: TradingVenueAdmissionUnitsEncoded | null;
|
|
9998
|
+
readonly paused: boolean;
|
|
9998
9999
|
};
|
|
9999
10000
|
|
|
10000
10001
|
export type TradingVenueAdmissionUnitsEncoded = string;
|
|
@@ -10223,6 +10224,9 @@ export type TradingVenueDeskLimit = {
|
|
|
10223
10224
|
readonly approvalId: string;
|
|
10224
10225
|
readonly deskLabel: string;
|
|
10225
10226
|
readonly traderWallet: EvmAddress;
|
|
10227
|
+
readonly venueAddress: EvmAddress | null;
|
|
10228
|
+
readonly marketId: MarketId | null;
|
|
10229
|
+
readonly quoteTokenAddress: EvmAddress | null;
|
|
10226
10230
|
readonly limitQuote: string;
|
|
10227
10231
|
readonly state: "proposed" | "approved" | "executing" | "rejected" | "executed" | "failed" | "reconciliation-required";
|
|
10228
10232
|
readonly proposerUserId: UserId;
|
|
@@ -10234,6 +10238,9 @@ export type TradingVenueDeskLimit = {
|
|
|
10234
10238
|
export type TradingVenueDeskLimitProposal = {
|
|
10235
10239
|
readonly deskLabel: string;
|
|
10236
10240
|
readonly traderWallet: EvmAddress;
|
|
10241
|
+
readonly venueAddress: EvmAddress;
|
|
10242
|
+
readonly marketId: MarketId;
|
|
10243
|
+
readonly quoteTokenAddress: EvmAddress;
|
|
10237
10244
|
readonly limitQuote: string;
|
|
10238
10245
|
readonly walletVerification?: WalletVerification | null;
|
|
10239
10246
|
};
|
|
@@ -10662,6 +10669,22 @@ export type TradingVenueTrade = {
|
|
|
10662
10669
|
readonly executedAt: TimestampEncoded;
|
|
10663
10670
|
};
|
|
10664
10671
|
|
|
10672
|
+
export type TradingVenueTransitionBody = {
|
|
10673
|
+
readonly to: TradingVenueTransitionTarget;
|
|
10674
|
+
readonly walletVerification?: {
|
|
10675
|
+
readonly secretVerificationCode: string;
|
|
10676
|
+
readonly verificationType?: "OTP" | "PINCODE" | "SECRET_CODES" | "OIDC_MFA" | null;
|
|
10677
|
+
} | null;
|
|
10678
|
+
};
|
|
10679
|
+
|
|
10680
|
+
export type TradingVenueTransitionResult = {
|
|
10681
|
+
readonly venueAddress: EvmAddress;
|
|
10682
|
+
readonly paused: boolean;
|
|
10683
|
+
readonly transactionHash: EthereumHashEncoded;
|
|
10684
|
+
};
|
|
10685
|
+
|
|
10686
|
+
export type TradingVenueTransitionTarget = "paused" | "live";
|
|
10687
|
+
|
|
10665
10688
|
export type TradingVenueVenueCalendar = {
|
|
10666
10689
|
readonly venueAddress: EvmAddress;
|
|
10667
10690
|
readonly timezone: string | null;
|
|
@@ -12592,6 +12615,7 @@ export type addons_tradingVenue_deskLimitsList_Request = {
|
|
|
12592
12615
|
readonly offset?: number | string;
|
|
12593
12616
|
readonly limit?: number | string;
|
|
12594
12617
|
readonly sort?: string;
|
|
12618
|
+
readonly venueAddress?: string;
|
|
12595
12619
|
};
|
|
12596
12620
|
|
|
12597
12621
|
export type addons_tradingVenue_deskLimitsList_RequestParts = {
|
|
@@ -12599,6 +12623,7 @@ export type addons_tradingVenue_deskLimitsList_RequestParts = {
|
|
|
12599
12623
|
readonly offset?: number | string;
|
|
12600
12624
|
readonly limit?: number | string;
|
|
12601
12625
|
readonly sort?: string;
|
|
12626
|
+
readonly venueAddress?: string;
|
|
12602
12627
|
};
|
|
12603
12628
|
};
|
|
12604
12629
|
|
|
@@ -13447,6 +13472,26 @@ export type addons_tradingVenue_venueRolesSet_Response = {
|
|
|
13447
13472
|
|
|
13448
13473
|
export type addons_tradingVenue_venueRolesSet_ErrorCode = "ACTIVE_ORGANIZATION_REQUIRED" | "BAD_REQUEST" | "CHAIN_ID_HEADER_INVALID" | "CHAIN_NOT_AVAILABLE_FOR_ORGANIZATION" | "CHAIN_NOT_READY" | "CONFLICT" | "CONTRACT_ERROR" | "CUSTODY_ACCOUNT_SELECTION_INVALID" | "DALP-0083" | "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_EXECUTOR" | "LOGIN_2FA_REQUIRED" | "MARKET_CALENDAR_INVALID" | "MARKET_FIELD_IMMUTABLE" | "MARKET_LISTING_REFUSED" | "MARKET_STATE_INVALID" | "MARKET_STREAM_NOT_FOUND" | "OIDC_MFA_UNAVAILABLE" | "ORDER_INTAKE_REJECTED" | "ORDER_PLACEMENT_IN_FLIGHT" | "ORDER_SIGNING_FAILED" | "PRIMARY_CUSTODY_ACCOUNT_REQUIRED" | "REQUEST_CHAIN_SYSTEM_REQUIRED" | "REQUEST_CUSTODY_ACCOUNT_UNAVAILABLE" | "REQUEST_DEADLINE_EXCEEDED" | "REQUEST_EXECUTOR_UNAVAILABLE" | "REQUEST_PARTICIPANT_FORBIDDEN" | "RESERVATION_BUDGET_EXCEEDED" | "SESSION_EVIDENCE_INVALID" | "SESSION_POLICY_DENIED" | "SESSION_RESOLUTION_FAILED" | "SETTLEMENT_LEG_BLOCKED" | "TRADE_BUST_APPROVAL_INVALID" | "TRADE_BUST_EXECUTION_REFUSED" | "TRADE_BUST_REFUSED" | "TRADING_VENUE_MARKET_NOT_FOUND" | "TRADING_VENUE_ORDER_NOT_FOUND" | "UNAUTHORIZED" | "USER_MISSING_2FA" | "VENUE_CONFIGURATION_REQUIRED" | "VENUE_DEPLOYMENT_PENDING" | "VENUE_ROLE_REQUIRED" | "WALLET_STEP_UP_CHALLENGE_REFUSED" | "WALLET_VERIFICATION_DEPENDENCY_FAILED" | "WALLET_VERIFICATION_INVALID" | "WALLET_VERIFICATION_NOT_CONFIGURED" | "WALLET_VERIFICATION_REQUIRED" | "WALLET_VERIFICATION_THROTTLED" | "X_EXECUTOR_AA_DISABLED_FOR_ORG" | "X_EXECUTOR_AA_DISABLED_GLOBALLY" | "auth.apikey.THROTTLED" | "dapi.runtime.INVALID_REQUEST_CUSTODY_ACCOUNT" | "dapi.runtime.REQUEST_CHAIN_LOOKUP_FAILED";
|
|
13449
13474
|
|
|
13475
|
+
export type addons_tradingVenue_venueTransition_Request = {
|
|
13476
|
+
readonly venueAddress: string;
|
|
13477
|
+
} & (TradingVenueTransitionBody);
|
|
13478
|
+
|
|
13479
|
+
export type addons_tradingVenue_venueTransition_RequestParts = {
|
|
13480
|
+
readonly path: {
|
|
13481
|
+
readonly venueAddress: string;
|
|
13482
|
+
};
|
|
13483
|
+
readonly query?: Readonly<Record<string, never>>;
|
|
13484
|
+
readonly body: TradingVenueTransitionBody;
|
|
13485
|
+
};
|
|
13486
|
+
|
|
13487
|
+
export type addons_tradingVenue_venueTransition_Response = {
|
|
13488
|
+
readonly data: TradingVenueTransitionResult;
|
|
13489
|
+
readonly meta: TradingVenueMutationMeta;
|
|
13490
|
+
readonly links: TradingVenueSingleLinks;
|
|
13491
|
+
} | TradingVenueQueuedMutation;
|
|
13492
|
+
|
|
13493
|
+
export type addons_tradingVenue_venueTransition_ErrorCode = "ACTIVE_ORGANIZATION_REQUIRED" | "BAD_REQUEST" | "CHAIN_ID_HEADER_INVALID" | "CHAIN_NOT_AVAILABLE_FOR_ORGANIZATION" | "CHAIN_NOT_READY" | "CONFLICT" | "CONTRACT_ERROR" | "CUSTODY_ACCOUNT_SELECTION_INVALID" | "DALP-0083" | "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_EXECUTOR" | "LOGIN_2FA_REQUIRED" | "MARKET_CALENDAR_INVALID" | "MARKET_FIELD_IMMUTABLE" | "MARKET_LISTING_REFUSED" | "MARKET_STATE_INVALID" | "MARKET_STREAM_NOT_FOUND" | "OIDC_MFA_UNAVAILABLE" | "ORDER_INTAKE_REJECTED" | "ORDER_PLACEMENT_IN_FLIGHT" | "ORDER_SIGNING_FAILED" | "PRIMARY_CUSTODY_ACCOUNT_REQUIRED" | "REQUEST_CHAIN_SYSTEM_REQUIRED" | "REQUEST_CUSTODY_ACCOUNT_UNAVAILABLE" | "REQUEST_DEADLINE_EXCEEDED" | "REQUEST_EXECUTOR_UNAVAILABLE" | "REQUEST_PARTICIPANT_FORBIDDEN" | "RESERVATION_BUDGET_EXCEEDED" | "SESSION_EVIDENCE_INVALID" | "SESSION_POLICY_DENIED" | "SESSION_RESOLUTION_FAILED" | "SETTLEMENT_LEG_BLOCKED" | "TRADE_BUST_APPROVAL_INVALID" | "TRADE_BUST_EXECUTION_REFUSED" | "TRADE_BUST_REFUSED" | "TRADING_VENUE_MARKET_NOT_FOUND" | "TRADING_VENUE_ORDER_NOT_FOUND" | "UNAUTHORIZED" | "USER_MISSING_2FA" | "VENUE_CONFIGURATION_REQUIRED" | "VENUE_DEPLOYMENT_PENDING" | "VENUE_ROLE_REQUIRED" | "WALLET_STEP_UP_CHALLENGE_REFUSED" | "WALLET_VERIFICATION_DEPENDENCY_FAILED" | "WALLET_VERIFICATION_INVALID" | "WALLET_VERIFICATION_NOT_CONFIGURED" | "WALLET_VERIFICATION_REQUIRED" | "WALLET_VERIFICATION_THROTTLED" | "X_EXECUTOR_AA_DISABLED_FOR_ORG" | "X_EXECUTOR_AA_DISABLED_GLOBALLY" | "auth.apikey.THROTTLED" | "dapi.runtime.INVALID_REQUEST_CUSTODY_ACCOUNT" | "dapi.runtime.REQUEST_CHAIN_LOOKUP_FAILED";
|
|
13494
|
+
|
|
13450
13495
|
export type addons_tradingVenue_venuesCreate_Request = TradingVenueDraft;
|
|
13451
13496
|
|
|
13452
13497
|
export type addons_tradingVenue_venuesCreate_RequestParts = {
|
|
@@ -60561,6 +60606,7 @@ export type DalpConsoleApi = {
|
|
|
60561
60606
|
readonly venueClosureAdd: DalpOperation<addons_tradingVenue_venueClosureAdd_Request, addons_tradingVenue_venueClosureAdd_Response, addons_tradingVenue_venueClosureAdd_ErrorCode>;
|
|
60562
60607
|
readonly venueListingRulesPut: DalpOperation<addons_tradingVenue_venueListingRulesPut_Request, addons_tradingVenue_venueListingRulesPut_Response, addons_tradingVenue_venueListingRulesPut_ErrorCode>;
|
|
60563
60608
|
readonly venueRolesSet: DalpOperation<addons_tradingVenue_venueRolesSet_Request, addons_tradingVenue_venueRolesSet_Response, addons_tradingVenue_venueRolesSet_ErrorCode>;
|
|
60609
|
+
readonly venueTransition: DalpOperation<addons_tradingVenue_venueTransition_Request, addons_tradingVenue_venueTransition_Response, addons_tradingVenue_venueTransition_ErrorCode>;
|
|
60564
60610
|
readonly venuesCreate: DalpOperation<addons_tradingVenue_venuesCreate_Request, addons_tradingVenue_venuesCreate_Response, addons_tradingVenue_venuesCreate_ErrorCode>;
|
|
60565
60611
|
readonly venuesList: DalpOperation<addons_tradingVenue_venuesList_Request, addons_tradingVenue_venuesList_Response, addons_tradingVenue_venuesList_ErrorCode>;
|
|
60566
60612
|
readonly watchlistEntriesAdd: DalpOperation<addons_tradingVenue_watchlistEntriesAdd_Request, addons_tradingVenue_watchlistEntriesAdd_Response, addons_tradingVenue_watchlistEntriesAdd_ErrorCode>;
|
|
@@ -67329,6 +67375,13 @@ export interface DalpConsoleRouteTypes {
|
|
|
67329
67375
|
readonly errorCode: addons_tradingVenue_venueRolesSet_ErrorCode;
|
|
67330
67376
|
readonly streaming: false;
|
|
67331
67377
|
};
|
|
67378
|
+
readonly "addons/tradingVenue/venueTransition": {
|
|
67379
|
+
readonly request: addons_tradingVenue_venueTransition_Request;
|
|
67380
|
+
readonly requestParts: addons_tradingVenue_venueTransition_RequestParts;
|
|
67381
|
+
readonly response: addons_tradingVenue_venueTransition_Response;
|
|
67382
|
+
readonly errorCode: addons_tradingVenue_venueTransition_ErrorCode;
|
|
67383
|
+
readonly streaming: false;
|
|
67384
|
+
};
|
|
67332
67385
|
readonly "addons/tradingVenue/venuesCreate": {
|
|
67333
67386
|
readonly request: addons_tradingVenue_venuesCreate_Request;
|
|
67334
67387
|
readonly requestParts: addons_tradingVenue_venuesCreate_RequestParts;
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
STREAM_FAILED_ERROR_CODE2,
|
|
23
23
|
STREAM_UNREADABLE_BODY_ERROR_CODE2,
|
|
24
24
|
decodeEventStream2
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-s8wch695.js";
|
|
26
26
|
import {
|
|
27
27
|
DALP_AUTH_SURFACE_HEADER2,
|
|
28
28
|
SECRET_REDACTION_MARKER2,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
createCookieStoreFetch2,
|
|
35
35
|
SDK_VERSION2,
|
|
36
36
|
SDK_USER_AGENT2
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-d696229y.js";
|
|
38
38
|
import {
|
|
39
39
|
buildDalpClient
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-g5xdahym.js";
|
|
41
41
|
import"./chunk-h9e65x5z.js";
|
|
42
42
|
|
|
43
43
|
// src/proxy/client.ts
|