@polyester/sdk 0.0.0 → 0.1.0
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 +14 -0
- package/README.md +121 -36
- 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/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/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/withdraw_pb.d.ts +3 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +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/collab/v1/whiteboard_pb.d.ts +1 -1
- package/dist/gen/index.js +17 -17
- package/dist/gen/layout/v1/layout_pb.d.ts +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_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/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 +15 -14
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +2 -2
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts +1 -1
- package/dist/gen/polychart/v1/polychart_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_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/services/address-book/address-book.js +1 -1
- package/dist/services/address-book/address-book.schemas.js +2 -2
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +1 -1
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.js +1 -1
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/candles/candles.schemas.js +1 -1
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/heatmap/heatmap.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.js +1 -1
- package/dist/services/lifecycle/lifecycle.js +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
- 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/orderbook/orderbook.js +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +24 -12
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +1 -1
- package/dist/services/orders/orders.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/shared.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/subaccounts/subaccounts.js +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
- package/dist/services/subaccounts/subaccounts.schemas.js +1 -1
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +28 -12
- package/dist/services/trades/trades.schemas.d.ts.map +1 -1
- package/dist/services/trades/trades.schemas.js +13 -7
- package/dist/services/trades/trades.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/transfers/transfers.schemas.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +13 -13
- package/dist/services/triggers/triggers-output.schemas.js +1 -1
- package/dist/services/triggers/triggers.codecs.js +1 -1
- package/dist/services/triggers/triggers.js +1 -1
- package/dist/services/whiteboard/whiteboard.js +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/shared/connect-error-mapping.js +1 -1
- package/dist/utils/errors.js +1 -1
- package/dist/wired-services.js +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
1
|
# @polyester/sdk
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#39](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/39) [`7b7a16a`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/7b7a16a3ccaead38a0be19a19fcb23d3951db89c) Thanks [@huntabyte](https://github.com/huntabyte)! - Expose exact authenticated trade economics. `Trade.fee` now decodes the protobuf's E18 `U128` amount instead of the removed asset-scaled fee field. `Trade.referralShare` exposes the optional E18 referral amount, and `Trade.feeIsRebate` distinguishes rebates from charged fees.
|
|
8
|
+
|
|
9
|
+
- [#39](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/39) [`7b7a16a`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/7b7a16a3ccaead38a0be19a19fcb23d3951db89c) Thanks [@huntabyte](https://github.com/huntabyte)! - **Breaking:** Remove `Trade.tradeId` and `Trade.subaccountId`. Neither identifier exists in the upstream `UserTrade` response, so retaining them misrepresented the wire contract.
|
|
10
|
+
|
|
11
|
+
## 0.0.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#34](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/34) [`95d43bb`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/95d43bb278783b23f598bfe40fbc570531b9a857) Thanks [@huntabyte](https://github.com/huntabyte)! - initial alpha release
|
package/README.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# Polyester TypeScript SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Typed client for the Polyester Exchange public API. Covers markets, orders,
|
|
4
|
+
balances, transfers, auth, and realtime streams over ConnectRPC.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
The package root contains SDK entry points and helper APIs.
|
|
7
|
-
|
|
8
|
-
This SDK is maintained by Fabric Labs and updated as the public API evolves.
|
|
6
|
+
Works in browsers, Node, Bun, and edge runtimes. ESM only.
|
|
9
7
|
|
|
10
8
|
## Install
|
|
11
9
|
|
|
@@ -13,43 +11,130 @@ This SDK is maintained by Fabric Labs and updated as the public API evolves.
|
|
|
13
11
|
npm install @polyester/sdk
|
|
14
12
|
```
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
breaking changes increment the minor version. A consumer range such as
|
|
18
|
-
`^0.1.0` can update through `0.1.x` without crossing into breaking `0.2.x`
|
|
19
|
-
releases.
|
|
14
|
+
## Browser
|
|
20
15
|
|
|
21
|
-
|
|
16
|
+
Polyester accounts are smart accounts, so you bring an owner wallet and the SDK
|
|
17
|
+
derives the account signer. Nothing gets deployed just to log in.
|
|
22
18
|
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
```ts
|
|
20
|
+
import { PolyesterBrowserClient, POLYESTER_TESTNET_ENVIRONMENT } from "@polyester/sdk";
|
|
21
|
+
import { createPolyesterAccountSigner } from "@polyester/sdk/account-signer";
|
|
22
|
+
|
|
23
|
+
const accountSigner = createPolyesterAccountSigner({
|
|
24
|
+
environment: POLYESTER_TESTNET_ENVIRONMENT,
|
|
25
|
+
owner,
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const client = new PolyesterBrowserClient({
|
|
29
|
+
environment: POLYESTER_TESTNET_ENVIRONMENT,
|
|
30
|
+
accountSigner,
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
await client.auth.login({ provider: "turnkey" });
|
|
34
|
+
|
|
35
|
+
const { orders } = await client.orders.listOpen();
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
See [docs/browser-login.md](docs/browser-login.md) for how account identity and
|
|
39
|
+
owner metadata relate.
|
|
40
|
+
|
|
41
|
+
## Server
|
|
42
|
+
|
|
43
|
+
`createPolyesterServerClientFromRequest` reads the session cookies off an
|
|
44
|
+
incoming request. Useful for SSR loaders and route handlers.
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import {
|
|
48
|
+
createPolyesterServerClientFromRequest,
|
|
49
|
+
POLYESTER_TESTNET_ENVIRONMENT,
|
|
50
|
+
} from "@polyester/sdk";
|
|
51
|
+
|
|
52
|
+
const client = createPolyesterServerClientFromRequest({
|
|
53
|
+
request,
|
|
54
|
+
environment: POLYESTER_TESTNET_ENVIRONMENT,
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
if (client.hasUsableBearerToken) {
|
|
58
|
+
const me = await client.verifySession();
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The parsed cookie session is display data for hydrating UI. It is not proof of
|
|
63
|
+
authentication, so the backend still authorizes every call.
|
|
64
|
+
|
|
65
|
+
For machine clients, pass an Ed25519 API key provider instead of a cookie
|
|
66
|
+
session:
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
import { PolyesterClient, POLYESTER_TESTNET_ENVIRONMENT } from "@polyester/sdk";
|
|
70
|
+
|
|
71
|
+
const client = new PolyesterClient({
|
|
72
|
+
environment: POLYESTER_TESTNET_ENVIRONMENT,
|
|
73
|
+
auth: {
|
|
74
|
+
kind: "api-key-ed25519",
|
|
75
|
+
getKeyId: () => process.env.POLYESTER_API_KEY_ID ?? null,
|
|
76
|
+
getSecretKey: () => secretKeyBytes,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Realtime
|
|
82
|
+
|
|
83
|
+
Subscriptions return their own unsubscribe function. No event emitter, no
|
|
84
|
+
cleanup bookkeeping.
|
|
85
|
+
|
|
86
|
+
```ts
|
|
87
|
+
const unsubscribe = client.orders.subscribe({
|
|
88
|
+
accountId,
|
|
89
|
+
onEvent: (order) => console.log(order.orderId, order.status),
|
|
90
|
+
onError: (ctx) => console.warn(ctx.channel, ctx.error),
|
|
91
|
+
});
|
|
31
92
|
```
|
|
32
93
|
|
|
33
|
-
|
|
94
|
+
## Entry points
|
|
95
|
+
|
|
96
|
+
| Import | Contains |
|
|
97
|
+
| --- | --- |
|
|
98
|
+
| `@polyester/sdk` | clients, environments, errors, types |
|
|
99
|
+
| `@polyester/sdk/errors` | error classes and codes on their own |
|
|
100
|
+
| `@polyester/sdk/account-signer` | `createPolyesterAccountSigner` |
|
|
101
|
+
| `@polyester/sdk/smart-account` | UserOperations and on-chain smart account calls |
|
|
102
|
+
| `@polyester/sdk/catalogs` | symbol catalog and decimal scales |
|
|
103
|
+
| `@polyester/sdk/server-session` | cookie parsing without the client graph |
|
|
104
|
+
| `@polyester/sdk/unstable/gen` | raw protobuf types and service descriptors |
|
|
105
|
+
|
|
106
|
+
`account-signer` and `smart-account` are separate subpaths on purpose. Both pull
|
|
107
|
+
in a large viem graph, and keeping them out of the root barrel means the app
|
|
108
|
+
shell does not pay for them.
|
|
109
|
+
|
|
110
|
+
Anything under `unstable/` can change in a patch release.
|
|
111
|
+
|
|
112
|
+
## Errors
|
|
113
|
+
|
|
114
|
+
Every failure surfaces as a `PolyesterError` subclass with a stable `code`, so
|
|
115
|
+
you can branch without string matching.
|
|
116
|
+
|
|
117
|
+
```ts
|
|
118
|
+
import { StaleQuoteError, RateLimitError } from "@polyester/sdk/errors";
|
|
119
|
+
|
|
120
|
+
try {
|
|
121
|
+
await client.orders.create(input);
|
|
122
|
+
} catch (error) {
|
|
123
|
+
if (error instanceof StaleQuoteError) return refreshQuote();
|
|
124
|
+
if (error instanceof RateLimitError) return backOff(error.retryAfterMs);
|
|
125
|
+
throw error;
|
|
126
|
+
}
|
|
127
|
+
```
|
|
34
128
|
|
|
35
|
-
|
|
36
|
-
release. Generated protobuf updates must also run
|
|
37
|
-
`bun scripts/strip-descriptor-options.ts`; CI rejects a generated tree that is
|
|
38
|
-
not already stripped.
|
|
129
|
+
## Versioning
|
|
39
130
|
|
|
40
|
-
|
|
131
|
+
Pre-1.0, so the usual semver shift applies: patch bumps are compatible, minor
|
|
132
|
+
bumps can break. Pin with `^0.1.0` to ride `0.1.x` without jumping into `0.2.x`.
|
|
41
133
|
|
|
42
|
-
|
|
43
|
-
request for changes merged into `main`. Merging that release pull request
|
|
44
|
-
publishes the stable version to npm's `latest` tag and creates the corresponding
|
|
45
|
-
GitHub release.
|
|
134
|
+
## Contributing
|
|
46
135
|
|
|
47
|
-
|
|
48
|
-
|
|
136
|
+
Setup, commands, and release process live in
|
|
137
|
+
[CONTRIBUTING.md](CONTRIBUTING.md). Security reports go to
|
|
138
|
+
[SECURITY.md](SECURITY.md), not the issue tracker.
|
|
49
139
|
|
|
50
|
-
|
|
51
|
-
`Fabric-Labs/polyester-sdk-typescript` repository and the
|
|
52
|
-
`publish-polyester-sdk.yml` workflow. Save a granular, package-scoped read-only
|
|
53
|
-
npm token as the GitHub Actions secret `NPM_READ_TOKEN`; publishing itself uses
|
|
54
|
-
OIDC rather than a write token. Grant the intended npm teams access to the
|
|
55
|
-
private package separately.
|
|
140
|
+
Maintained by Fabric Labs and updated as the public API evolves.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SubaccountRole } from "./subaccounts_pb.js";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
2
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
-
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
declare namespace address_book_pb_d_exports {
|
|
6
6
|
export { AccountScopeRef, AccountScopeRefSchema, AccountScopeType, AccountScopeTypeSchema, AddressBook, AddressBookEntriesView, AddressBookEntriesViewSchema, AddressBookEntry, AddressBookEntryKind, AddressBookEntryKindSchema, AddressBookEntrySchema, AddressBookEntryUpdateSpec, AddressBookEntryUpdateSpecSchema, AddressBookRecentDestinationsView, AddressBookRecentDestinationsViewSchema, AddressBookSchema, AddressBookService, AddressBookTag, AddressBookTagInput, AddressBookTagInputSchema, AddressBookTagSchema, AddressBookTagSummary, AddressBookTagSummarySchema, AddressBookViewInvalidated, AddressBookViewInvalidatedSchema, CopyAddressBookEntryRequest, CopyAddressBookEntryRequestSchema, CopyAddressBookEntryResponse, CopyAddressBookEntryResponseSchema, CreateAddressBookEntryRequest, CreateAddressBookEntryRequestSchema, CreateAddressBookEntryResponse, CreateAddressBookEntryResponseSchema, CreateAddressBookTagRequest, CreateAddressBookTagRequestSchema, CreateAddressBookTagResponse, CreateAddressBookTagResponseSchema, DeleteAddressBookEntryRequest, DeleteAddressBookEntryRequestSchema, DeleteAddressBookEntryResponse, DeleteAddressBookEntryResponseSchema, DeleteAddressBookTagRequest, DeleteAddressBookTagRequestSchema, DeleteAddressBookTagResponse, DeleteAddressBookTagResponseSchema, DestinationWhitelistStatus, DestinationWhitelistStatusSchema, ExternalAddressBookEntry, ExternalAddressBookEntrySchema, ExternalRecentDestination, ExternalRecentDestinationSchema, ExternalWithdrawAddress, ExternalWithdrawAddressSchema, GetAddressBookViewRequest, GetAddressBookViewRequestSchema, GetAddressBookViewResponse, GetAddressBookViewResponseSchema, GetWithdrawWhitelistViewRequest, GetWithdrawWhitelistViewRequestSchema, GetWithdrawWhitelistViewResponse, GetWithdrawWhitelistViewResponseSchema, InternalAddressBookEntry, InternalAddressBookEntrySchema, InternalRecentDestination, InternalRecentDestinationSchema, InternalTransferAccount, InternalTransferAccountSchema, InternalTransferWhitelistEntry, InternalTransferWhitelistEntrySchema, InternalWhitelistResolutionStatus, InternalWhitelistResolutionStatusSchema, ListAddressBookEntriesRequest, ListAddressBookEntriesRequestSchema, ListAddressBookEntriesResponse, ListAddressBookEntriesResponseSchema, ListAddressBooksRequest, ListAddressBooksRequestSchema, ListAddressBooksResponse, ListAddressBooksResponseSchema, ListInternalTransferWhitelistEntriesRequest, ListInternalTransferWhitelistEntriesRequestSchema, ListInternalTransferWhitelistEntriesResponse, ListInternalTransferWhitelistEntriesResponseSchema, ListTransferCounterpartiesRequest, ListTransferCounterpartiesRequestSchema, ListTransferCounterpartiesResponse, ListTransferCounterpartiesResponseSchema, ListTransferDestinationsRequest, ListTransferDestinationsRequestSchema, ListTransferDestinationsResponse, ListTransferDestinationsResponseSchema, MirroredWithdrawWhitelistEntry, MirroredWithdrawWhitelistEntrySchema, RequestedInternalTransferAccount, RequestedInternalTransferAccountSchema, TransferCounterparty, TransferCounterpartyDirection, TransferCounterpartyDirectionSchema, TransferCounterpartySchema, TransferDestination, TransferDestinationSchema, UpdateAddressBookEntryRequest, UpdateAddressBookEntryRequestSchema, UpdateAddressBookEntryResponse, UpdateAddressBookEntryResponseSchema, UpdateAddressBookTagRequest, UpdateAddressBookTagRequestSchema, UpdateAddressBookTagResponse, UpdateAddressBookTagResponseSchema, WithdrawWhitelistView, WithdrawWhitelistViewSchema, file_auth_v1_address_book };
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace api_keys_pb_d_exports {
|
|
5
5
|
export { ApiKey, ApiKeySchema, ApiKeyService, ApiKeyStatus, ApiKeyStatusSchema, ApiKeyUpdateSpec, ApiKeyUpdateSpecSchema, CreateApiKeyRequest, CreateApiKeyRequestSchema, CreateApiKeyResponse, CreateApiKeyResponseSchema, DeleteApiKeyRequest, DeleteApiKeyRequestSchema, DeleteApiKeyResponse, DeleteApiKeyResponseSchema, GetApiKeyRequest, GetApiKeyRequestSchema, GetApiKeyResponse, GetApiKeyResponseSchema, ListApiKeysRequest, ListApiKeysRequestSchema, ListApiKeysResponse, ListApiKeysResponseSchema, UpdateApiKeyRequest, UpdateApiKeyRequestSchema, UpdateApiKeyResponse, UpdateApiKeyResponseSchema, file_auth_v1_api_keys };
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SessionInfo } from "./mfa_pb.js";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
2
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
-
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
declare namespace auth_pb_d_exports {
|
|
6
6
|
export { AuthErrorCode, AuthErrorCodeSchema, AuthErrorDetail, AuthErrorDetailSchema, AuthService, GetNonceRequest, GetNonceRequestSchema, GetNonceResponse, GetNonceResponseSchema, LoginWithWalletRequest, LoginWithWalletRequestSchema, LoginWithWalletResponse, LoginWithWalletResponseSchema, MeRequest, MeRequestSchema, MeResponse, MeResponseSchema, file_auth_v1_auth };
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace mfa_pb_d_exports {
|
|
5
5
|
export { BeginMFAChallengeRequest, BeginMFAChallengeRequestSchema, BeginMFAChallengeResponse, BeginMFAChallengeResponseSchema, BeginPasskeyEnrollmentRequest, BeginPasskeyEnrollmentRequestSchema, BeginPasskeyEnrollmentResponse, BeginPasskeyEnrollmentResponseSchema, BeginTOTPEnrollmentRequest, BeginTOTPEnrollmentRequestSchema, BeginTOTPEnrollmentResponse, BeginTOTPEnrollmentResponseSchema, ClaimFreshStepUpRequest, ClaimFreshStepUpRequestSchema, ClaimFreshStepUpResponse, ClaimFreshStepUpResponseSchema, CompleteMFAChallengeResponse, CompleteMFAChallengeResponseSchema, ConsumeFreshStepUpRequest, ConsumeFreshStepUpRequestSchema, ConsumeFreshStepUpResponse, ConsumeFreshStepUpResponseSchema, DeleteMFAFactorRequest, DeleteMFAFactorRequestSchema, DeleteMFAFactorResponse, DeleteMFAFactorResponseSchema, FinishPasskeyChallengeRequest, FinishPasskeyChallengeRequestSchema, FinishPasskeyEnrollmentRequest, FinishPasskeyEnrollmentRequestSchema, FinishPasskeyEnrollmentResponse, FinishPasskeyEnrollmentResponseSchema, FinishTOTPEnrollmentRequest, FinishTOTPEnrollmentRequestSchema, FinishTOTPEnrollmentResponse, FinishTOTPEnrollmentResponseSchema, ListMFAFactorsRequest, ListMFAFactorsRequestSchema, ListMFAFactorsResponse, ListMFAFactorsResponseSchema, MFAChallengePurpose, MFAChallengePurposeSchema, MFAFactor, MFAFactorSchema, MFAFactorType, MFAFactorTypeSchema, MFAService, RegenerateRecoveryCodesRequest, RegenerateRecoveryCodesRequestSchema, RegenerateRecoveryCodesResponse, RegenerateRecoveryCodesResponseSchema, ReleaseFreshStepUpRequest, ReleaseFreshStepUpRequestSchema, ReleaseFreshStepUpResponse, ReleaseFreshStepUpResponseSchema, SessionInfo, SessionInfoSchema, SessionLevel, SessionLevelSchema, UpdateMFAFactorRequest, UpdateMFAFactorRequestSchema, UpdateMFAFactorResponse, UpdateMFAFactorResponseSchema, VerifyRecoveryCodeChallengeRequest, VerifyRecoveryCodeChallengeRequestSchema, VerifyTOTPChallengeRequest, VerifyTOTPChallengeRequestSchema, file_auth_v1_mfa };
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace policies_pb_d_exports {
|
|
5
5
|
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PerpMarketRule, PerpMarketRuleSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies };
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace profile_pb_d_exports {
|
|
5
5
|
export { AccountIdentity, AccountIdentitySchema, GetProfileRequest, GetProfileRequestSchema, GetUsernameHistoryRequest, GetUsernameHistoryRequestSchema, GetUsernameHistoryResponse, GetUsernameHistoryResponseSchema, ProfileErrorCode, ProfileErrorCodeSchema, ProfileErrorDetail, ProfileErrorDetailSchema, ProfileService, UserProfile, UserProfilePatch, UserProfilePatchSchema, UserProfileSchema, UsernameHistoryEntry, UsernameHistoryEntrySchema, file_auth_v1_profile };
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace resolve_pb_d_exports {
|
|
4
4
|
export { ResolveAccountRequest, ResolveAccountRequestSchema, ResolveAccountResponse, ResolveAccountResponseSchema, ResolveHint, ResolveHintSchema, ResolveService, ResolvedAccount, ResolvedAccountSchema, file_auth_v1_resolve };
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace social_verification_pb_d_exports {
|
|
5
5
|
export { GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, file_auth_v1_social_verification };
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApiKey } from "./api_keys_pb.js";
|
|
2
2
|
import { SubaccountPolicyView } from "./policies_pb.js";
|
|
3
3
|
import { GetBalancesResponse } from "../../ledger/read/v1/ledger_read_pb.js";
|
|
4
|
+
import { Message } from "@bufbuild/protobuf";
|
|
4
5
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
5
6
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
-
import { Message } from "@bufbuild/protobuf";
|
|
7
7
|
declare namespace subaccounts_pb_d_exports {
|
|
8
8
|
export { ActivityEntityKind, ActivityEntityKindSchema, ActivityEvent, ActivityEventAction, ActivityEventActionSchema, ActivityEventSchema, ActivityEventSource, ActivityEventSourceSchema, CreateSubaccountRequest, CreateSubaccountRequestSchema, CreateSubaccountResponse, CreateSubaccountResponseSchema, GetSubaccountRequest, GetSubaccountRequestSchema, GetSubaccountResponse, GetSubaccountResponseSchema, InviteSubaccountMemberRequest, InviteSubaccountMemberRequestSchema, InviteSubaccountMemberResponse, InviteSubaccountMemberResponseSchema, ListSubaccountEventsRequest, ListSubaccountEventsRequestSchema, ListSubaccountEventsResponse, ListSubaccountEventsResponseSchema, ListSubaccountInvitesRequest, ListSubaccountInvitesRequestSchema, ListSubaccountInvitesResponse, ListSubaccountInvitesResponseSchema, ListSubaccountMembersRequest, ListSubaccountMembersRequestSchema, ListSubaccountMembersResponse, ListSubaccountMembersResponseSchema, ListSubaccountsRequest, ListSubaccountsRequestSchema, ListSubaccountsResponse, ListSubaccountsResponseSchema, RemoveSubaccountMemberRequest, RemoveSubaccountMemberRequestSchema, RemoveSubaccountMemberResponse, RemoveSubaccountMemberResponseSchema, RespondSubaccountInviteRequest, RespondSubaccountInviteRequestSchema, RespondSubaccountInviteResponse, RespondSubaccountInviteResponseSchema, SetSubaccountMemberMFARequirementRequest, SetSubaccountMemberMFARequirementRequestSchema, SetSubaccountMemberMFARequirementResponse, SetSubaccountMemberMFARequirementResponseSchema, Subaccount, SubaccountInvite, SubaccountInviteAction, SubaccountInviteActionSchema, SubaccountInviteSchema, SubaccountInviteStatus, SubaccountInviteStatusSchema, SubaccountMemberView, SubaccountMemberViewSchema, SubaccountRole, SubaccountRoleSchema, SubaccountRoleView, SubaccountRoleViewSchema, SubaccountSchema, SubaccountService, SubaccountUpdateSpec, SubaccountUpdateSpecSchema, SubaccountViewService, UpdateSubaccountMemberRoleRequest, UpdateSubaccountMemberRoleRequestSchema, UpdateSubaccountMemberRoleResponse, UpdateSubaccountMemberRoleResponseSchema, UpdateSubaccountRequest, UpdateSubaccountRequestSchema, UpdateSubaccountResponse, UpdateSubaccountResponseSchema, file_auth_v1_subaccounts };
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace analytics_read_pb_d_exports {
|
|
4
4
|
export { ChainAnalyticsRange, ChainAnalyticsRangeSchema, ChainAnalyticsService, GetUnifiedAssetBalancesRequest, GetUnifiedAssetBalancesRequestSchema, GetUnifiedAssetBalancesResponse, GetUnifiedAssetBalancesResponseSchema, GetZippedAssetSupplyGroupRequest, GetZippedAssetSupplyGroupRequestSchema, GetZippedAssetSupplyGroupResponse, GetZippedAssetSupplyGroupResponseSchema, GetZippedAssetSupplyRequest, GetZippedAssetSupplyRequestSchema, GetZippedAssetSupplyResponse, GetZippedAssetSupplyResponseSchema, ZippedAssetSupplySeries, ZippedAssetSupplySeriesSchema, file_chain_analytics_v1_analytics_read };
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace deposit_pb_d_exports {
|
|
4
4
|
export { CreateDepositAddressRequest, CreateDepositAddressRequestSchema, CreateDepositAddressResponse, CreateDepositAddressResponseSchema, DepositAddress, DepositAddressSchema, DepositAddressService, ListDepositAddressesRequest, ListDepositAddressesRequestSchema, ListDepositAddressesResponse, ListDepositAddressesResponseSchema, file_chain_deposit_v1_deposit };
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace guard_signer_pb_d_exports {
|
|
4
4
|
export { BatchSignProtectedActionItem, BatchSignProtectedActionItemSchema, BatchSignProtectedActionsRequest, BatchSignProtectedActionsRequestSchema, BatchSignProtectedActionsResponse, BatchSignProtectedActionsResponseSchema, CreateGuardSignerWalletRequest, CreateGuardSignerWalletRequestSchema, CreateGuardSignerWalletResponse, CreateGuardSignerWalletResponseSchema, ExportGuardSignerWalletRequest, ExportGuardSignerWalletRequestSchema, ExportGuardSignerWalletResponse, ExportGuardSignerWalletResponseSchema, ExternalWhitelistArgs, ExternalWhitelistArgsSchema, GetGuardSignerStatusRequest, GetGuardSignerStatusRequestSchema, GetGuardSignerStatusResponse, GetGuardSignerStatusResponseSchema, GuardApproval, GuardApprovalSchema, GuardSignerService, GuardSignerStatus, GuardSignerStatusSchema, InternalWhitelistArgs, InternalWhitelistArgsSchema, ProtectedAction, ProtectedActionArgs, ProtectedActionArgsSchema, ProtectedActionSchema, RotateGuardSignerWalletRequest, RotateGuardSignerWalletRequestSchema, RotateGuardSignerWalletResponse, RotateGuardSignerWalletResponseSchema, SignProtectedActionRequest, SignProtectedActionRequestSchema, SignProtectedActionResponse, SignProtectedActionResponseSchema, WhitelistRequirementArgs, WhitelistRequirementArgsSchema, file_chain_guard_v1_guard_signer };
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
2
2
|
import { AssetIds, FlowDomain, FlowKind, FlowState, LifecycleReason, LifecycleSource, RequestFee } from "./types_pb.js";
|
|
3
3
|
import { ZipperReasonDetails } from "../../zipper/v1/reason_pb.js";
|
|
4
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
5
4
|
import { Message } from "@bufbuild/protobuf";
|
|
5
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
declare namespace lifecycle_read_pb_d_exports {
|
|
7
7
|
export { FlowDetailView, FlowDetailViewSchema, FlowStep, FlowStepActivityKind, FlowStepActivityKindSchema, FlowStepActivityView, FlowStepActivityViewSchema, FlowStepSchema, FlowStepView, FlowStepViewSchema, FlowSummaryProgressView, FlowSummaryProgressViewSchema, FlowSummaryView, FlowSummaryViewSchema, FlowTimelineItemView, FlowTimelineItemViewSchema, FlowTimelineStatus, FlowTimelineStatusSchema, FlowTxMatchView, FlowTxMatchViewSchema, GetFlowByIdRequest, GetFlowByIdRequestSchema, GetFlowResponse, GetFlowResponseSchema, LifecycleReadService, ListFlowsByTxRequest, ListFlowsByTxRequestSchema, ListFlowsByTxResponse, ListFlowsByTxResponseSchema, ListFlowsRequest, ListFlowsRequestSchema, ListFlowsResponse, ListFlowsResponseSchema, ListOrderBy, ListOrderBySchema, ListScope, ListScopeSchema, Sort, SortSchema, TxLookupKind, TxLookupKindSchema, file_chain_lifecycle_v1_lifecycle_read };
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
2
|
-
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
3
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
declare namespace types_pb_d_exports {
|
|
5
5
|
export { AssetIds, AssetIdsSchema, FlowDomain, FlowDomainSchema, FlowKind, FlowKindSchema, FlowState, FlowStateSchema, LifecycleReason, LifecycleReasonSchema, LifecycleSource, LifecycleSourceSchema, RequestFee, RequestFeeSchema, RequestFeeStatus, RequestFeeStatusSchema, file_chain_lifecycle_v1_types };
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
2
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
declare namespace withdraw_pb_d_exports {
|
|
5
5
|
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
6
6
|
}
|
|
@@ -222,6 +222,8 @@ declare const WithdrawService: GenService<{
|
|
|
222
222
|
};
|
|
223
223
|
/**
|
|
224
224
|
* Create or return one wallet/JWT withdraw from Trading.
|
|
225
|
+
* Own-account Trading to Funding accepts recent MFA; external, cross-owner,
|
|
226
|
+
* and delegated movements require a fresh single-use step-up.
|
|
225
227
|
*
|
|
226
228
|
* @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw
|
|
227
229
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;;KASvD,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;EAQA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;EAOV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;aAQtD;;;;EAIV;;;;EAKA;;;;EAKA;;;;;cAMW,6BAA6B,QAAQ;;;;;;cAQrC,iBAAiB;;;;;;EAM5B;IACE;IACA,cAAc;IACd,eAAe
|
|
1
|
+
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;;KASvD,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;EAQA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;EAOV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;aAQtD;;;;EAIV;;;;EAKA;;;;EAKA;;;;;cAMW,6BAA6B,QAAQ;;;;;;cAQrC,iBAAiB;;;;;;EAM5B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.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 { file_polyester_api_options } from \"../../../polyester/api/options_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 chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSK4AgocVHJhZGluZ1dpdGhkcmF3SW50ZW50UGF5bG9hZBI6CgZhY3Rpb24YASABKA4yKC5jaGFpbi53aXRoZHJhdy52MS5UcmFkaW5nV2l0aGRyYXdBY3Rpb25CABISCghhc3NldF9pZBgCIAEoDUIAEhwKFGRlc3RpbmF0aW9uX2NoYWluX2lkGAMgASgEEi0KCmFtb3VudF9lMTgYBCABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGQoPZGVhZGxpbmVfdHNfc2VjGAUgASgEQgASKAoFbm9uY2UYBiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGwoTZGVzdGluYXRpb25fYWRkcmVzcxgHIAEoCRIZCg9pZGVtcG90ZW5jeV9rZXkYCCABKAlCACJ/ChxDcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0EkIKB3BheWxvYWQYASABKAsyLy5jaGFpbi53aXRoZHJhdy52MS5UcmFkaW5nV2l0aGRyYXdJbnRlbnRQYXlsb2FkQgASGwoRcGF5bG9hZF9zaWduYXR1cmUYAiABKAxCACK1AQoiQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBJCCgdwYXlsb2FkGAEgASgLMi8uY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3SW50ZW50UGF5bG9hZEIAEhUKDXN1YmFjY291bnRfaWQYAiABKAQSFwoNc2lnbmVyX3dhbGxldBgDIAEoCUIAEhsKEXBheWxvYWRfc2lnbmF0dXJlGAQgASgMQgAqVgoVVHJhZGluZ1dpdGhkcmF3QWN0aW9uEhYKEkFDVElPTl9VTlNQRUNJRklFRBAAEg4KClRPX0ZVTkRJTkcQARIVChFUT19FWFRFUk5BTF9DSEFJThACMqACCg9XaXRoZHJhd1NlcnZpY2USfAoVQ3JlYXRlVHJhZGluZ1dpdGhkcmF3Ei8uY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVxdWVzdBowLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgASjgEKG0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhdxI1LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=\", [file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet EIP-712 signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-712 signature over the typed withdraw payload.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAa,kCACX,uBAAS,opDAAopD,CAAC,4BAA4B,2BAA2B,CAAC;;;;;AAsBxtD,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;;AAOhD,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAsBX,0BAAY,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.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 { file_polyester_api_options } from \"../../../polyester/api/options_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 chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSK4AgocVHJhZGluZ1dpdGhkcmF3SW50ZW50UGF5bG9hZBI6CgZhY3Rpb24YASABKA4yKC5jaGFpbi53aXRoZHJhdy52MS5UcmFkaW5nV2l0aGRyYXdBY3Rpb25CABISCghhc3NldF9pZBgCIAEoDUIAEhwKFGRlc3RpbmF0aW9uX2NoYWluX2lkGAMgASgEEi0KCmFtb3VudF9lMTgYBCABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGQoPZGVhZGxpbmVfdHNfc2VjGAUgASgEQgASKAoFbm9uY2UYBiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGwoTZGVzdGluYXRpb25fYWRkcmVzcxgHIAEoCRIZCg9pZGVtcG90ZW5jeV9rZXkYCCABKAlCACJ/ChxDcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0EkIKB3BheWxvYWQYASABKAsyLy5jaGFpbi53aXRoZHJhdy52MS5UcmFkaW5nV2l0aGRyYXdJbnRlbnRQYXlsb2FkQgASGwoRcGF5bG9hZF9zaWduYXR1cmUYAiABKAxCACK1AQoiQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBJCCgdwYXlsb2FkGAEgASgLMi8uY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3SW50ZW50UGF5bG9hZEIAEhUKDXN1YmFjY291bnRfaWQYAiABKAQSFwoNc2lnbmVyX3dhbGxldBgDIAEoCUIAEhsKEXBheWxvYWRfc2lnbmF0dXJlGAQgASgMQgAqVgoVVHJhZGluZ1dpdGhkcmF3QWN0aW9uEhYKEkFDVElPTl9VTlNQRUNJRklFRBAAEg4KClRPX0ZVTkRJTkcQARIVChFUT19FWFRFUk5BTF9DSEFJThACMqACCg9XaXRoZHJhd1NlcnZpY2USfAoVQ3JlYXRlVHJhZGluZ1dpdGhkcmF3Ei8uY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVxdWVzdBowLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgASjgEKG0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhdxI1LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=\", [file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet EIP-712 signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-712 signature over the typed withdraw payload.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Own-account Trading to Funding accepts recent MFA; external, cross-owner,\n * and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAa,kCACX,uBAAS,opDAAopD,CAAC,4BAA4B,2BAA2B,CAAC;;;;;AAsBxtD,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;;AAOhD,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAwBX,0BAAY,iCAAiC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace reason_pb_d_exports {
|
|
4
4
|
export { ZipperReasonCode, ZipperReasonCodeSchema, ZipperReasonDetails, ZipperReasonDetailsSchema, file_chain_zipper_v1_reason };
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace zipper_pb_d_exports {
|
|
4
4
|
export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper };
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace whiteboard_pb_d_exports {
|
|
5
5
|
export { ArchiveBoardRequest, ArchiveBoardRequestSchema, ArchiveBoardResponse, ArchiveBoardResponseSchema, Board, BoardAccess, BoardAccessSchema, BoardAclEntry, BoardAclEntrySchema, BoardAclSubjectType, BoardAclSubjectTypeSchema, BoardAudience, BoardAudienceSchema, BoardListItem, BoardListItemSchema, BoardPermissions, BoardPermissionsSchema, BoardRole, BoardRoleSchema, BoardSchema, CreateBoardRequest, CreateBoardRequestSchema, CreateBoardResponse, CreateBoardResponseSchema, GetBoardRequest, GetBoardRequestSchema, GetBoardResponse, GetBoardResponseSchema, ListBoardsRequest, ListBoardsRequestSchema, ListBoardsResponse, ListBoardsResponseSchema, MintJoinTokenRequest, MintJoinTokenRequestSchema, MintJoinTokenResponse, MintJoinTokenResponseSchema, PresencePayload, PresencePayloadSchema, UpdateBoardAclRequest, UpdateBoardAclRequestSchema, UpdateBoardAclResponse, UpdateBoardAclResponseSchema, UpdateBoardRequest, UpdateBoardRequestSchema, UpdateBoardResponse, UpdateBoardResponseSchema, WhiteboardService, file_collab_v1_whiteboard };
|
|
6
6
|
}
|
package/dist/gen/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { options_pb_exports } from "./polyester/api/options_pb.js";
|
|
2
|
+
import { mfa_pb_exports } from "./auth/v1/mfa_pb.js";
|
|
3
|
+
import { auth_pb_exports } from "./auth/v1/auth_pb.js";
|
|
4
|
+
import { orders_pb_exports } from "./orders/v1/orders_pb.js";
|
|
5
|
+
import { resolve_pb_exports } from "./auth/v1/resolve_pb.js";
|
|
2
6
|
import { api_keys_pb_exports } from "./auth/v1/api_keys_pb.js";
|
|
3
7
|
import { policies_pb_exports } from "./auth/v1/policies_pb.js";
|
|
8
|
+
import { profile_pb_exports } from "./auth/v1/profile_pb.js";
|
|
4
9
|
import { catalog_pb_exports } from "./ledger/v1/catalog_pb.js";
|
|
5
10
|
import { u128_pb_exports } from "./polyester/type/v1/u128_pb.js";
|
|
6
11
|
import { ledger_read_pb_exports } from "./ledger/read/v1/ledger_read_pb.js";
|
|
7
12
|
import { subaccounts_pb_exports } from "./auth/v1/subaccounts_pb.js";
|
|
8
|
-
import {
|
|
9
|
-
import { mfa_pb_exports } from "./auth/v1/mfa_pb.js";
|
|
10
|
-
import { auth_pb_exports } from "./auth/v1/auth_pb.js";
|
|
11
|
-
import { profile_pb_exports } from "./auth/v1/profile_pb.js";
|
|
12
|
-
import { resolve_pb_exports } from "./auth/v1/resolve_pb.js";
|
|
13
|
-
import { social_verification_pb_exports } from "./auth/v1/social_verification_pb.js";
|
|
13
|
+
import { marketdata_pb_exports } from "./marketdata/v1/marketdata_pb.js";
|
|
14
14
|
import { analytics_read_pb_exports } from "./chain/analytics/v1/analytics_read_pb.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { marketoverview_pb_exports } from "./marketoverview/v1/marketoverview_pb.js";
|
|
16
|
+
import { orderbook_pb_exports } from "./orderbook/v1/orderbook_pb.js";
|
|
17
|
+
import { heatmap_pb_exports } from "./marketdata/v1/heatmap_pb.js";
|
|
17
18
|
import { types_pb_exports } from "./chain/lifecycle/v1/types_pb.js";
|
|
18
19
|
import { reason_pb_exports } from "./chain/zipper/v1/reason_pb.js";
|
|
19
20
|
import { lifecycle_read_pb_exports } from "./chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
20
|
-
import { withdraw_pb_exports } from "./chain/withdraw/v1/withdraw_pb.js";
|
|
21
|
-
import { zipper_pb_exports } from "./chain/zipper/v1/zipper_pb.js";
|
|
22
|
-
import { whiteboard_pb_exports } from "./collab/v1/whiteboard_pb.js";
|
|
23
|
-
import { heatmap_pb_exports } from "./marketdata/v1/heatmap_pb.js";
|
|
24
|
-
import { marketdata_pb_exports } from "./marketdata/v1/marketdata_pb.js";
|
|
25
|
-
import { marketoverview_pb_exports } from "./marketoverview/v1/marketoverview_pb.js";
|
|
26
|
-
import { orderbook_pb_exports } from "./orderbook/v1/orderbook_pb.js";
|
|
27
|
-
import { orders_pb_exports } from "./orders/v1/orders_pb.js";
|
|
28
21
|
import { orders_read_pb_exports } from "./orders/v1/orders_read_pb.js";
|
|
29
|
-
import { internal_transfer_pb_exports } from "./transfer/v1/internal_transfer_pb.js";
|
|
30
22
|
import { triggers_pb_exports } from "./triggers/v1/triggers_pb.js";
|
|
23
|
+
import { internal_transfer_pb_exports } from "./transfer/v1/internal_transfer_pb.js";
|
|
24
|
+
import { withdraw_pb_exports } from "./chain/withdraw/v1/withdraw_pb.js";
|
|
25
|
+
import { deposit_pb_exports } from "./chain/deposit/v1/deposit_pb.js";
|
|
26
|
+
import { address_book_pb_exports } from "./auth/v1/address_book_pb.js";
|
|
27
|
+
import { guard_signer_pb_exports } from "./chain/guard/v1/guard_signer_pb.js";
|
|
28
|
+
import { social_verification_pb_exports } from "./auth/v1/social_verification_pb.js";
|
|
29
|
+
import { whiteboard_pb_exports } from "./collab/v1/whiteboard_pb.js";
|
|
30
|
+
import { zipper_pb_exports } from "./chain/zipper/v1/zipper_pb.js";
|
|
31
31
|
import { polychart_pb_exports } from "./polychart/v1/polychart_pb.js";
|
|
32
32
|
import { layout_pb_exports } from "./layout/v1/layout_pb.js";
|
|
33
33
|
import { polychart_events_pb_exports } from "./polychart/events/v1/polychart_events_pb.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayerRef } from "../../polychart/v1/polychart_pb.js";
|
|
2
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
declare namespace layout_pb_d_exports {
|
|
5
5
|
export { ChartIndicator, ChartIndicatorSchema, ChartStyle, ChartStyleSchema, ChartWidgetConfig, ChartWidgetConfigSchema, CreateLayoutShareLinkRequest, CreateLayoutShareLinkRequestSchema, CreateLayoutShareLinkResponse, CreateLayoutShareLinkResponseSchema, DeleteLayoutRequest, DeleteLayoutRequestSchema, DeleteLayoutResponse, DeleteLayoutResponseSchema, DeleteLayoutTemplateSubscriptionRequest, DeleteLayoutTemplateSubscriptionRequestSchema, DeleteLayoutTemplateSubscriptionResponse, DeleteLayoutTemplateSubscriptionResponseSchema, GetLayoutRequest, GetLayoutRequestSchema, GetLayoutResponse, GetLayoutResponseSchema, GetLayoutTemplateVersionRequest, GetLayoutTemplateVersionRequestSchema, GetLayoutTemplateVersionResponse, GetLayoutTemplateVersionResponseSchema, GetLayoutsRequest, GetLayoutsRequestSchema, GetLayoutsResponse, GetLayoutsResponseSchema, LayerVisibilityOverride, LayerVisibilityOverrideSchema, Layout, LayoutSchema, LayoutService, LayoutTemplate, LayoutTemplateRef, LayoutTemplateRefSchema, LayoutTemplateSchema, LayoutTemplateSubscription, LayoutTemplateSubscriptionSchema, LayoutTemplateVersionInfo, LayoutTemplateVersionInfoSchema, LayoutWidget, LayoutWidgetSchema, ListLayoutTemplateVersionsRequest, ListLayoutTemplateVersionsRequestSchema, ListLayoutTemplateVersionsResponse, ListLayoutTemplateVersionsResponseSchema, ListMyLayoutTemplateSubscriptionsRequest, ListMyLayoutTemplateSubscriptionsRequestSchema, ListMyLayoutTemplateSubscriptionsResponse, ListMyLayoutTemplateSubscriptionsResponseSchema, ListOwnerPublishedLayoutsRequest, ListOwnerPublishedLayoutsRequestSchema, ListOwnerPublishedLayoutsResponse, ListOwnerPublishedLayoutsResponseSchema, PublishLayoutRequest, PublishLayoutRequestSchema, PublishLayoutResponse, PublishLayoutResponseSchema, ResolveLayoutShareTokenRequest, ResolveLayoutShareTokenRequestSchema, ResolveLayoutShareTokenResponse, ResolveLayoutShareTokenResponseSchema, RevokeLayoutShareLinkRequest, RevokeLayoutShareLinkRequestSchema, RevokeLayoutShareLinkResponse, RevokeLayoutShareLinkResponseSchema, SetLayoutTemplateSubscriptionRequest, SetLayoutTemplateSubscriptionRequestSchema, SetLayoutTemplateSubscriptionResponse, SetLayoutTemplateSubscriptionResponseSchema, UnpublishLayoutRequest, UnpublishLayoutRequestSchema, UnpublishLayoutResponse, UnpublishLayoutResponseSchema, UpsertLayoutRequest, UpsertLayoutRequestSchema, UpsertLayoutResponse, UpsertLayoutResponseSchema, WidgetType, WidgetTypeSchema, file_layout_v1_layout };
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountCode, TransferCode } from "../../v1/catalog_pb.js";
|
|
2
2
|
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
3
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
3
|
import { Message } from "@bufbuild/protobuf";
|
|
4
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
declare namespace ledger_read_pb_d_exports {
|
|
6
6
|
export { AccountGrouping, AccountGroupingSchema, AssetBalance, AssetBalanceSchema, AssetGrouping, AssetGroupingSchema, BalanceRange, BalanceRangeSchema, BalanceSeries, BalanceSeriesSchema, EquityGroupBy, EquityGroupBySchema, EquitySeries, EquitySeriesSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, GetBalanceHistoryRequest, GetBalanceHistoryRequestSchema, GetBalanceHistoryResponse, GetBalanceHistoryResponseSchema, GetBalancesRequest, GetBalancesRequestSchema, GetBalancesResponse, GetBalancesResponseSchema, GetEquityHistorySeriesRequest, GetEquityHistorySeriesRequestSchema, GetEquityHistorySeriesResponse, GetEquityHistorySeriesResponseSchema, HoldRow, HoldRowSchema, LedgerReadService, ListHoldsRequest, ListHoldsRequestSchema, ListHoldsResponse, ListHoldsResponseSchema, ListTransfersRequest, ListTransfersRequestSchema, ListTransfersResponse, ListTransfersResponseSchema, TransferRow, TransferRowSchema, TransferSide, TransferSideKind, TransferSideKindSchema, TransferSideSchema, file_ledger_read_v1_ledger_read };
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace heatmap_pb_d_exports {
|
|
5
5
|
export { GetOrderbookHeatmapRequest, GetOrderbookHeatmapRequestSchema, GetOrderbookHeatmapResponse, GetOrderbookHeatmapResponseSchema, HeatmapDeltaBucket, HeatmapDeltaBucketSchema, HeatmapDeltaChain, HeatmapDeltaChainSchema, HeatmapDeltaLevels, HeatmapDeltaLevelsSchema, HeatmapDepth, HeatmapDepthSchema, HeatmapInterval, HeatmapIntervalSchema, HeatmapKeyframe, HeatmapKeyframeSchema, HeatmapLevels, HeatmapLevelsSchema, HeatmapLiveBucket, HeatmapLiveBucketSchema, HeatmapQuantityMode, HeatmapQuantityModeSchema, HeatmapService, HeatmapTimeRange, HeatmapTimeRangeSchema, file_marketdata_v1_heatmap };
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace marketdata_pb_d_exports {
|
|
5
5
|
export { AssetConfig, AssetConfigSchema, Candle, CandlePoint, CandlePointSchema, CandleSchema, GetCandlesColumnsRequest, GetCandlesColumnsRequestSchema, GetCandlesColumnsResponse, GetCandlesColumnsResponseSchema, GetCandlesRequest, GetCandlesRequestSchema, GetCandlesResponse, GetCandlesResponseSchema, GetSpotConfigRequest, GetSpotConfigRequestSchema, GetSpotConfigResponse, GetSpotConfigResponseSchema, GetTradesRequest, GetTradesRequestSchema, GetTradesResponse, GetTradesResponseSchema, MarketDataService, MarketTrade, MarketTradeSchema, PairConfig, PairConfigSchema, PairMarketdataConfig, PairMarketdataConfigSchema, PairStatus, PairStatusSchema, SideFilter, SideFilterSchema, Timeframe, TimeframeSchema, file_marketdata_v1_marketdata };
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace marketoverview_pb_d_exports {
|
|
4
4
|
export { ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, ListMarketOverviewRequest, ListMarketOverviewRequestSchema, ListMarketOverviewResponse, ListMarketOverviewResponseSchema, MarketOrderBy, MarketOrderBySchema, MarketOverview, MarketOverviewBatch, MarketOverviewBatchSchema, MarketOverviewSchema, MarketOverviewService, SortDirection, SortDirectionSchema, Sparkline, SparklineInterval, SparklineIntervalSchema, SparklineSchema, file_marketoverview_v1_marketoverview };
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace orderbook_pb_d_exports {
|
|
5
5
|
export { Depth, DepthSchema, GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook };
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Message } from "@bufbuild/protobuf";
|
|
1
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
declare namespace orders_pb_d_exports {
|
|
5
5
|
export { BatchCancelItem, BatchCancelItemSchema, BatchCancelOrdersRequest, BatchCancelOrdersRequestSchema, BatchCancelOrdersResponse, BatchCancelOrdersResponseSchema, BatchCancelResultItem, BatchCancelResultItemSchema, BatchCreateAccepted, BatchCreateAcceptedSchema, BatchCreateOrdersRequest, BatchCreateOrdersRequestSchema, BatchCreateOrdersResponse, BatchCreateOrdersResponseSchema, BatchCreateRejected, BatchCreateRejectedSchema, BatchCreateResultItem, BatchCreateResultItemSchema, BatchReplaceAdmissionItem, BatchReplaceAdmissionItemSchema, BatchReplaceAdmissionStatus, BatchReplaceAdmissionStatusSchema, BatchReplaceItemAdmissionStatus, BatchReplaceItemAdmissionStatusSchema, BatchReplaceOrderItem, BatchReplaceOrderItemSchema, BatchReplaceOrdersRequest, BatchReplaceOrdersRequestSchema, BatchReplaceOrdersResponse, BatchReplaceOrdersResponseSchema, CancelAllAfterRequest, CancelAllAfterRequestSchema, CancelAllAfterResponse, CancelAllAfterResponseSchema, CancelAllOrdersRequest, CancelAllOrdersRequestSchema, CancelAllOrdersResponse, CancelAllOrdersResponseSchema, CancelOrderRequest, CancelOrderRequestSchema, CancelOrderResponse, CancelOrderResponseSchema, CreateOrderRequest, CreateOrderRequestSchema, CreateOrderResponse, CreateOrderResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FeeAsset, FeeAssetSchema, FieldViolation, FieldViolationSchema, LimitFok, LimitFokSchema, LimitGtc, LimitGtcSchema, LimitIoc, LimitIocSchema, MarketIoc, MarketIocSchema, ModifyActionTaken, ModifyActionTakenSchema, ModifyBehavior, ModifyBehaviorSchema, ModifyOrderRequest, ModifyOrderRequestSchema, ModifyOrderResponse, ModifyOrderResponseSchema, OrderIntent, OrderIntentSchema, OrderType, OrderTypeSchema, OrdersService, PreviewOrderRequest, PreviewOrderRequestSchema, PreviewOrderResponse, PreviewOrderResponseSchema, RiskExecution, RiskExecutionSchema, RiskLimitGtc, RiskLimitGtcSchema, RiskMarketIoc, RiskMarketIocSchema, RiskPolicy, RiskPolicySchema, SelfTradePreventionMode, SelfTradePreventionModeSchema, Side, SideSchema, StopLossPolicy, StopLossPolicySchema, TakeProfitPolicy, TakeProfitPolicySchema, TimeInForce, TimeInForceSchema, TrailingStopPolicy, TrailingStopPolicySchema, TriggerDirection, TriggerDirectionSchema, TriggerPriceSource, TriggerPriceSourceSchema, file_orders_v1_orders };
|
|
6
6
|
}
|