@polyester/sdk 0.34.1-devnet-20261106033258 → 0.35.0-devnet-20261108030630
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 +21 -1
- package/README.md +12 -0
- package/dist/gen/auth/v1/auth_pb.d.ts +9 -1
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +9 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +28 -9
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +2 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +2 -0
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +23 -7
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/realtime/client.d.ts.map +1 -1
- package/dist/realtime/client.js +178 -29
- package/dist/realtime/client.js.map +1 -1
- package/dist/realtime/index.d.ts +2 -2
- package/dist/realtime/types.d.ts +21 -2
- package/dist/realtime/types.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.d.ts +6 -3
- package/dist/services/changelog/changelog.d.ts.map +1 -1
- package/dist/services/changelog/changelog.js +6 -3
- package/dist/services/changelog/changelog.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +37 -3
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -1
- package/dist/services/changelog/changelog.schemas.js +10 -2
- package/dist/services/changelog/changelog.schemas.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
- package/dist/services/orderbook/orderbook.d.ts +1 -1
- package/dist/services/orderbook/orderbook.js +1 -1
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +39 -39
- package/dist/services/orders/orders-input.schemas.d.ts +3 -3
- package/dist/services/orders/orders-output.schemas.d.ts +14 -14
- package/dist/services/orders/orders.d.ts +9 -1
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +9 -1
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +18 -18
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +7 -3
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +7 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +2 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/rate-limit.js +18 -0
- package/dist/shared/error-details/rate-limit.js.map +1 -0
- package/dist/shared/errors.d.ts +12 -3
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +13 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/subscription-errors.d.ts +2 -0
- package/dist/shared/subscription-errors.d.ts.map +1 -1
- package/dist/shared/subscription-errors.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,41 @@
|
|
|
1
1
|
# @polyester/sdk
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.35.0-devnet-20261108030630
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Breaking: `realtime.isConnected` is removed. It was true whenever a socket object existed, even one that never connected. Read `realtime.connection` instead: `{ public, private }`, each `{ state, error }`, where `state` is `"connecting"`, `"connected"` or `"disconnected"` and `error` is the first failure of the current outage (a socket failure after a connection token failure replaces it), cleared once the socket connects. `realtime.onConnectionChange(listener)` calls the listener with the current value after each change, in a microtask, and returns an unsubscribe function. Private order streams run on their own socket and are not included. Custom `PolyesterRealtime` implementations must add both members. ([#232](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/232))
|
|
8
|
+
|
|
9
|
+
A realtime socket that cannot connect now reports it. On the first failed attempt, every channel on that socket gets one `onError` with `type: "transport"` and a retryable `RealtimeError`, not one per reconnect retry; a channel subscribed while the socket is still failing gets it on subscribe. On the private socket, a failed connection token request is reported as `"connection_token"` on each attempt instead. The order book (whose snapshot waits for the channel to open) and trades no longer wait silently forever when the socket is unreachable; `onOpen` follows once it recovers.
|
|
10
|
+
|
|
11
|
+
Once a channel's unsubscribe function has run, that consumer gets no further `onError` or `onUnsubscribed`, even from a notification already in progress (for example, unsubscribing from inside a terminal close's `onError` no longer also calls `onUnsubscribed`). Channels that actually closed are still told, even if a handler calls `disconnect()` meanwhile.
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
15
|
- The `orders.batchCreate` JSDoc now gives the batch's 15-minute idempotency window. It previously said 60 seconds, which is the `batchReplace` window. Within 15 minutes, a retry with the same `requestId` and payload returns each decided item's original result and retries the unresolved ones. After that the ID is free, and a repeat can place its orders again. ([#235](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/235))
|
|
8
16
|
|
|
17
|
+
- The `orders.getBatchReplaceStatus` JSDoc now gives the 60-second status window. The status is readable as soon as `batchReplace` returns. Retry a `ServiceUnavailableError` with the same request within the window. A `ResourceNotFoundError` never means the replacement was rejected: reconcile the individual orders and never resubmit an accepted batch. An item's `updatedTsNs` can be a later recovery time, so it does not identify a refusal. ([#236](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/236))
|
|
18
|
+
|
|
19
|
+
- Changelog post summaries add `revision` and `updatedAt`. A post can now be republished to correct its copy or withdraw a change: `revision` starts at 1 and increases with each republication, and `updatedAt` is when the current revision was published. To follow edits, read a post again when its `revision` changes. `listChanges` restarts paging at the first change of a post republished during the walk, so deduplicate changes by `id`. ([#236](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/236))
|
|
20
|
+
|
|
9
21
|
- `Checkpoint` now carries `openingValueUsd`, the season-end USD value of the holdings restored when the season opened (`"0"` when it opened with no balances, `undefined` when a restored balance had no USD value). With it, `seasonResultUsd` reconciles as `finalValueUsd - openingValueUsd - netInflowUsd`. ([#235](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/235))
|
|
10
22
|
|
|
11
23
|
- `expandColumnarTimestampsSec` and `columnarTimestampSecAt` now end at `endTsSec`, so the last columnar history point is no longer one bucket early. ([#233](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/233))
|
|
12
24
|
|
|
25
|
+
- A ConnectRPC `resource_exhausted` that carries a `RateLimitDetail`, as wallet sign-in and the public catalog calls now send, maps to a `RateLimitError` with `rateLimit` set and `retryAfterMs` taken from the detail. Its `detail` is `{ service: "rate_limit", code: "RATE_LIMIT_EXCEEDED", rateLimit }`. The gateway's own refusal has no detail: `retryAfterMs` comes from `Retry-After` when present and is `undefined` for a concurrency refusal, so back off without a server hint. ([#236](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/236))
|
|
26
|
+
|
|
27
|
+
- Realtime token requests honor `Retry-After`. When the connection or subscription token endpoint answers 429 with a `Retry-After` header, the `RateLimitError` carries it as `retryAfterMs`, and the realtime client sends no further token request until it has passed (at most 60 seconds), even when the socket retries sooner. This covers public, private and private order stream sockets. ([#232](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/232))
|
|
28
|
+
|
|
29
|
+
- An HTTP 413 now maps to the new `RequestTooLargeError` (code `"REQUEST_TOO_LARGE"`, not retryable) instead of a plain `RequestError`. Every service now refuses an oversized body with the same 413 problem, including ledger reads and API-key authentication of ConnectRPC calls. Send a smaller request; the size limit does not change. A ConnectRPC message over the limit still arrives as `resource_exhausted` and maps as before. ([#236](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/236))
|
|
30
|
+
|
|
13
31
|
- `rewards.listAwards` now returns `awardsMayChange`. It is `true` while a campaign can still publish awards or one of the account's awards is awaiting a destination, ready for payout, or failed and retryable. When it is `false`, polling cannot return new awards or award changes until a new campaign is created. ([#235](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/235))
|
|
14
32
|
|
|
15
33
|
- `PolyesterErrorCode` now includes `"SUBACCOUNT_CHALLENGE_INVALID"`, the code `SubaccountChallengeInvalidError` already carries, so an exhaustive `switch` over the union covers it. ([#235](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/235))
|
|
16
34
|
|
|
17
35
|
- `Subaccount` records now carry `removed`. `subaccounts.subscribe` emits `removed: true` (with `role: "unspecified"`) when the caller loses access to a subaccount, for example after the owner removes them as a member, so drop it from local state. List and get responses always return `false`. Access and role changes do not bump `revision` or `updatedAt`, so apply them in arrival order. ([#235](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/235))
|
|
18
36
|
|
|
37
|
+
- A wallet login refused with `AUTH_WALLET_ALREADY_LINKED` maps to a non-retryable `AlreadyExistsError`. The wallet already belongs to another account, so the same login fails again. Log in with the account address the wallet already uses. ([#236](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/236))
|
|
38
|
+
|
|
19
39
|
## 0.34.0
|
|
20
40
|
|
|
21
41
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -148,6 +148,18 @@ await client.orders.create(order);
|
|
|
148
148
|
|
|
149
149
|
Call `unsubscribe()` when the subscription is no longer needed.
|
|
150
150
|
|
|
151
|
+
A socket that cannot connect keeps retrying. On its first failed attempt, every
|
|
152
|
+
channel on it gets one `onError` with `type: "transport"` and a retryable
|
|
153
|
+
`RealtimeError`, and a channel subscribed while it is still failing gets the same
|
|
154
|
+
error right away; the next `onOpen` means it recovered. On the private socket, a
|
|
155
|
+
failed connection token request is reported as `type: "connection_token"` on each
|
|
156
|
+
attempt instead. To show connection status
|
|
157
|
+
on its own, read `client.realtime.connection`, which holds `{ state, error }` for
|
|
158
|
+
the public and the private socket, and watch it with
|
|
159
|
+
`client.realtime.onConnectionChange(listener)`, which returns an unsubscribe
|
|
160
|
+
function. `state` is `"connecting"`, `"connected"` or `"disconnected"`; a socket
|
|
161
|
+
that is `"connecting"` with an `error` is failing, not just slow.
|
|
162
|
+
|
|
151
163
|
`client.orders.subscribe` streams over the private WebSocket (`/v1/ws/private`).
|
|
152
164
|
Each changed order arrives complete through `onEvent`; keep the copy with the
|
|
153
165
|
higher `version`. Pass `onSnapshot` to receive the account's full live view when
|
|
@@ -634,7 +634,15 @@ declare enum AuthErrorCode {
|
|
|
634
634
|
*
|
|
635
635
|
* @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;
|
|
636
636
|
*/
|
|
637
|
-
AUTH_API_KEY_NOT_ACCEPTED = 54
|
|
637
|
+
AUTH_API_KEY_NOT_ACCEPTED = 54,
|
|
638
|
+
/**
|
|
639
|
+
* The wallet that signed this login is already linked to another account, so the
|
|
640
|
+
* submitted account address cannot be registered with it. Wallets are not moved between
|
|
641
|
+
* accounts. Log in with the account address this wallet already uses.
|
|
642
|
+
*
|
|
643
|
+
* @generated from enum value: AUTH_WALLET_ALREADY_LINK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IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -24,7 +24,7 @@ var auth_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
24
24
|
/**
|
|
25
25
|
* Describes the file auth/v1/auth.proto.
|
|
26
26
|
*/
|
|
27
|
-
const file_auth_v1_auth = /*@__PURE__*/ fileDesc("
|
|
27
|
+
const file_auth_v1_auth = /*@__PURE__*/ fileDesc("ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIZCg93YWxsZXRfcHJvdmlkZXIYByABKAlCABIRCgdtZXNzYWdlGAggASgJQgAirAEKF0xvZ2luV2l0aFdhbGxldFJlc3BvbnNlEhQKDGFjY2Vzc190b2tlbhgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBISCgphY2NvdW50X2lkGAogASgGEhAKCHVzZX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52MS5BY2NlcHRUZXJtc1JlcXVlc3QaHC5hdXRoLnYxLkFjY2VwdFRlcm1zUmVzcG9uc2UiA5ACAhIvCgJNZRISLmF1dGgudjEuTWVSZXF1ZXN0GhMuYXV0aC52MS5NZVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [
|
|
28
28
|
file_auth_v1_mfa,
|
|
29
29
|
file_google_protobuf_timestamp,
|
|
30
30
|
file_polyester_api_options
|
|
@@ -435,6 +435,14 @@ let AuthErrorCode = /* @__PURE__ */ function(AuthErrorCode) {
|
|
|
435
435
|
* @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;
|
|
436
436
|
*/
|
|
437
437
|
AuthErrorCode[AuthErrorCode["AUTH_API_KEY_NOT_ACCEPTED"] = 54] = "AUTH_API_KEY_NOT_ACCEPTED";
|
|
438
|
+
/**
|
|
439
|
+
* The wallet that signed this login is already linked to another account, so the
|
|
440
|
+
* submitted account address cannot be registered with it. Wallets are not moved between
|
|
441
|
+
* accounts. Log in with the account address this wallet already uses.
|
|
442
|
+
*
|
|
443
|
+
* @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;
|
|
444
|
+
*/
|
|
445
|
+
AuthErrorCode[AuthErrorCode["AUTH_WALLET_ALREADY_LINKED"] = 55] = "AUTH_WALLET_ALREADY_LINKED";
|
|
438
446
|
return AuthErrorCode;
|
|
439
447
|
}({});
|
|
440
448
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIZCg93YWxsZXRfcHJvdmlkZXIYByABKAlCABIRCgdtZXNzYWdlGAggASgJQgAirAEKF0xvZ2luV2l0aFdhbGxldFJlc3BvbnNlEhQKDGFjY2Vzc190b2tlbhgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBISCgphY2NvdW50X2lkGAogASgGEhAKC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YXV0aC52MS5BY2NlcHRUZXJtc1Jlc3BvbnNlIgOQAgISLwoCTWUSEi5hdXRoLnYxLk1lUmVxdWVzdBoTLmF1dGgudjEuTWVSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_auth_v1_mfa, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept a ready mark in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed or too far from the server clock. Sync the\n * clock, then sign the request again. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,gjIAAgjI;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CzoI,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,kBACX,0BAAY,mBAAmB,CAAC;;;;;AAmDlC,MAAa,mBACX,0BAAY,mBAAmB,CAAC;;;;;AA2BlC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AAclC,MAAa,2BACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,4BACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,IAAY,yBAAL,yBAAA,wBAAA;;;;;;CAML,uBAAA,uBAAA,8BAAA,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;;;;;CAOA,cAAA,cAAA,yCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,2BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,oCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,kCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,wBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,wBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,gCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,4BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,iCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,mCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,yBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,6BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,sCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,4CAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,uCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,wCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,kCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,uCAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,4BAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,yBAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,0BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,sBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,uBAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,yBAAA,MAAA;;;;;;;CAQA,cAAA,cAAA,+BAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA8CX,0BAAY,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIZCg93YWxsZXRfcHJvdmlkZXIYByABKAlCABIRCgdtZXNzYWdlGAggASgJQgAirAEKF0xvZ2luV2l0aFdhbGxldFJlc3BvbnNlEhQKDGFjY2Vzc190b2tlbhgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29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Mb2dpbldpdGhXYWxsZXRSZXNwb25zZSIAEk0KC0FjY2VwdFRlcm1zEhsuYXV0aC52MS5BY2NlcHRUZXJtc1JlcXVlc3QaHC5hdXRoLnYxLkFjY2VwdFRlcm1zUmVzcG9uc2UiA5ACAhIvCgJNZRISLmF1dGgudjEuTWVSZXF1ZXN0GhMuYXV0aC52MS5NZVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_auth_v1_mfa, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept a ready mark in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed or too far from the server clock. Sync the\n * clock, then sign the request again. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n\n /**\n * The wallet that signed this login is already linked to another account, so the\n * submitted account address cannot be registered with it. Wallets are not moved between\n * accounts. Log in with the account address this wallet already uses.\n *\n * @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;\n */\n AUTH_WALLET_ALREADY_LINKED = 55,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,4lIAA4lI;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CrrI,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,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;CASA,cAAA,cAAA,gCAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA8CX,0BAAY,mBAAmB,CAAC"}
|
|
@@ -9,13 +9,14 @@ declare namespace changelog_pb_d_exports {
|
|
|
9
9
|
*/
|
|
10
10
|
declare const file_changelog_v1_changelog: GenFile;
|
|
11
11
|
/**
|
|
12
|
-
* Change is one announced change.
|
|
12
|
+
* Change is one announced change. A republished post may reword or withdraw it.
|
|
13
13
|
*
|
|
14
14
|
* @generated from message changelog.v1.Change
|
|
15
15
|
*/
|
|
16
16
|
type Change = Message<"changelog.v1.Change"> & {
|
|
17
17
|
/**
|
|
18
|
-
* Stable opaque 64-bit identifier, identical across environments
|
|
18
|
+
* Stable opaque 64-bit identifier, identical across environments and across
|
|
19
|
+
* revisions of a post.
|
|
19
20
|
*
|
|
20
21
|
* @generated from field: fixed64 id = 1;
|
|
21
22
|
*/
|
|
@@ -118,7 +119,8 @@ declare const SectionSchema: GenMessage<Section>;
|
|
|
118
119
|
*/
|
|
119
120
|
type PostSummary = Message<"changelog.v1.PostSummary"> & {
|
|
120
121
|
/**
|
|
121
|
-
* Stable post identifier, unique within this environment.
|
|
122
|
+
* Stable post identifier, unique within this environment. It never changes
|
|
123
|
+
* when the post is republished.
|
|
122
124
|
*
|
|
123
125
|
* @generated from field: string slug = 1;
|
|
124
126
|
*/
|
|
@@ -136,7 +138,7 @@ type PostSummary = Message<"changelog.v1.PostSummary"> & {
|
|
|
136
138
|
*/
|
|
137
139
|
introduction: string;
|
|
138
140
|
/**
|
|
139
|
-
*
|
|
141
|
+
* Time of first publication. It never changes when the post is republished.
|
|
140
142
|
*
|
|
141
143
|
* @generated from field: google.protobuf.Timestamp published_at = 4;
|
|
142
144
|
*/
|
|
@@ -183,6 +185,19 @@ type PostSummary = Message<"changelog.v1.PostSummary"> & {
|
|
|
183
185
|
* @generated from field: uint32 bug_fix_count = 11;
|
|
184
186
|
*/
|
|
185
187
|
bugFixCount: number;
|
|
188
|
+
/**
|
|
189
|
+
* When the current revision was published; equals published_at for revision 1.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 12;
|
|
192
|
+
*/
|
|
193
|
+
updatedAt?: Timestamp | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* Published revision, starting at 1. Each republication of the post, for
|
|
196
|
+
* example to correct its copy or withdraw a change, increments it.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: uint32 revision = 13;
|
|
199
|
+
*/
|
|
200
|
+
revision: number;
|
|
186
201
|
};
|
|
187
202
|
/**
|
|
188
203
|
* Describes the message changelog.v1.PostSummary.
|
|
@@ -190,7 +205,7 @@ type PostSummary = Message<"changelog.v1.PostSummary"> & {
|
|
|
190
205
|
*/
|
|
191
206
|
declare const PostSummarySchema: GenMessage<PostSummary>;
|
|
192
207
|
/**
|
|
193
|
-
* Post is one complete published post.
|
|
208
|
+
* Post is one complete published post at its current revision.
|
|
194
209
|
*
|
|
195
210
|
* @generated from message changelog.v1.Post
|
|
196
211
|
*/
|
|
@@ -364,7 +379,10 @@ type ListChangesRequest = Message<"changelog.v1.ListChangesRequest"> & {
|
|
|
364
379
|
limit: number;
|
|
365
380
|
/**
|
|
366
381
|
* Opaque, keyset-backed, exclusive cursor from a previous response. Reuse
|
|
367
|
-
* it only with the same filters, time bounds and sort.
|
|
382
|
+
* it only with the same filters, time bounds and sort. When the post it
|
|
383
|
+
* points into was republished since, paging restarts at the first change of
|
|
384
|
+
* that post's current revision, so changes of that post can appear again;
|
|
385
|
+
* match them by id.
|
|
368
386
|
*
|
|
369
387
|
* @generated from field: string page_token = 10;
|
|
370
388
|
*/
|
|
@@ -394,7 +412,7 @@ type ChangeEntry = Message<"changelog.v1.ChangeEntry"> & {
|
|
|
394
412
|
*/
|
|
395
413
|
postSlug: string;
|
|
396
414
|
/**
|
|
397
|
-
*
|
|
415
|
+
* Time of first publication of the announcing post.
|
|
398
416
|
*
|
|
399
417
|
* @generated from field: google.protobuf.Timestamp published_at = 3;
|
|
400
418
|
*/
|
|
@@ -633,7 +651,8 @@ declare const SortDirectionSchema: GenEnum<SortDirection>;
|
|
|
633
651
|
declare const ChangelogService: GenService<{
|
|
634
652
|
/**
|
|
635
653
|
* List published post summaries, newest first. Use limit 1 to poll for the
|
|
636
|
-
* latest post.
|
|
654
|
+
* latest post. To follow edits to published posts, compare each post's
|
|
655
|
+
* revision.
|
|
637
656
|
*
|
|
638
657
|
* @generated from rpc changelog.v1.ChangelogService.ListPosts
|
|
639
658
|
*/
|
|
@@ -643,7 +662,7 @@ declare const ChangelogService: GenService<{
|
|
|
643
662
|
output: typeof ListPostsResponseSchema;
|
|
644
663
|
};
|
|
645
664
|
/**
|
|
646
|
-
* Get one complete published post by slug.
|
|
665
|
+
* Get one complete published post by slug, at its current revision.
|
|
647
666
|
*
|
|
648
667
|
* @generated from rpc changelog.v1.ChangelogService.GetPost
|
|
649
668
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog_pb.d.ts","names":[],"sources":["../../../../src/gen/changelog/v1/changelog_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;KAQ9B,SAAS;;;;;;
|
|
1
|
+
{"version":3,"file":"changelog_pb.d.ts","names":[],"sources":["../../../../src/gen/changelog/v1/changelog_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;KAQ9B,SAAS;;;;;;;EAOnB;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA,WAAW;;;;;;EAOX,UAAU;;;;;;cAOC,cAAc,WAAW;;;;;;KAQ1B,UAAU;;;;;;EAMpB;;;;;;EAOA;;;;;;EAOA,SAAS;;;;;;;EAQT,SAAS;;;;;;cAOE,eAAe,WAAW;;;;;;KAQ3B,cAAc;;;;;;;EAOxB;;;;;;EAOA;;;;;;EAO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;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,eAAe,QAAQ;;;;;;aAQxB;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,qBAAqB,QAAQ;;;;;;;cAS7B,kBAAkB;;;;;;;;EAQ7B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -29,7 +29,7 @@ var changelog_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
29
29
|
/**
|
|
30
30
|
* Describes the file changelog/v1/changelog.proto.
|
|
31
31
|
*/
|
|
32
|
-
const file_changelog_v1_changelog = /*@__PURE__*/ fileDesc("
|
|
32
|
+
const file_changelog_v1_changelog = /*@__PURE__*/ fileDesc("ChxjaGFuZ2Vsb2cvdjEvY2hhbmdlbG9nLnByb3RvEgxjaGFuZ2Vsb2cudjEiqwIKBkNoYW5nZRIKCgJpZBgBIAEoBhINCgV0aXRsZRgCIAEoCRIPCgdzdW1tYXJ5GAMgASgJEhQKB2RldGFpbHMYBCABKAlIAIgBARIuCghjYXRlZ29yeRgFIAEoDjIcLmNoYW5nZWxvZy52MS5DaGFuZ2VDYXRlZ29yeRIXCg9hY3Rpb25fcmVxdWlyZWQYBiABKAgSHwoSbWlncmF0aW9uX2d1aWRhbmNlGAcgASgJSAGIAQESKQoJYXVkaWVuY2VzGAggAygOMhYuY2hhbmdlbG9nLnYxLkF1ZGllbmNlEicKCHN1cmZhY2VzGAkgAygOMhUuY2hhbmdlbG9nLnYxLlN1cmZhY2VCCgoIX2RldGFpbHNCFQoTX21pZ3JhdGlvbl9ndWlkYW5jZSKLAQoHU2VjdGlvbhIPCgdoZWFkaW5nGAEgASgJEhQKB3N1bW1hcnkYAiABKAlIAIgBARIlCgdjaGFuZ2VzGAMgAygLMhQuY2hhbmdlbG9nLnYxLkNoYW5nZRImCgdzdXJmY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FUlMQAhIRCg1NQVJLRVRfTUFLRVJTEAMSDgoKREVWRUxPUEVSUxAEKq8BCgdTdXJmYWNlEhcKE1NVUkZBQ0VfVU5TUEVDSUZJRUQQABILCgdUUkFESU5HEAESCwoHRlVORElORxACEgwKCEFDQ09VTlRTEAMSBwoDQVBJEAQSDAoIRVhQTE9SRVIQBRIRCg1ET0NVTUVOVEFUSU9OEAYSDAoIUExBVEZPUk0QBxIPCgtNQVJLRVRfREFUQRAIEg0KCVFVSUNLU1dBUBAJEgsKB1JFV0FSRFMQCipMCg1Tb3J0RGlyZWN0aW9uEh4KGlNPUlRfRElSRUNUSU9OX1VOU1BFQ0lGSUVEEAASDAoIU09SVF9BU0MQARINCglTT1JUX0RFU0MQAjKNAgoQQ2hhbmdlbG9nU2VydmljZRJRCglMaXN0UG9zdHMSHi5jaGFuZ2Vsb2cudjEuTGlzdFBvc3RzUmVxdWVzdBofLmNoYW5nZWxvZy52MS5MaXN0UG9zdHNSZXNwb25zZSIDkAIBEksKB0dldFBvc3QSHC5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlcXVlc3QaHS5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlc3BvbnNlIgOQAgESVwoLTGlzdENoYW5nZXMSIC5jaGFuZ2Vsb2cudjEuTGlzdENoYW5nZXNSZXF1ZXN0GiEuY2hhbmdlbG9nLnYxLkxpc3RDaGFuZ2VzUmVzcG9uc2UiA5ACARoAQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhbmdlbG9nL3YxO2NoYW5nZWxvZ3YxYgZwcm90bzM=", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
33
33
|
/**
|
|
34
34
|
* Describes the message changelog.v1.Change.
|
|
35
35
|
* Use `create(ChangeSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog_pb.js","names":[],"sources":["../../../../src/gen/changelog/v1/changelog_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file changelog/v1/changelog.proto (package changelog.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file changelog/v1/changelog.proto.\n */\nexport const file_changelog_v1_changelog: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFuZ2Vsb2cvdjEvY2hhbmdlbG9nLnByb3RvEgxjaGFuZ2Vsb2cudjEiqwIKBkNoYW5nZRIKCgJpZBgBIAEoBhINCgV0aXRsZRgCIAEoCRIPCgdzdW1tYXJ5GAMgASgJEhQKB2RldGFpbHMYBCABKAlIAIgBARIuCghjYXRlZ29yeRgFIAEoDjIcLmNoYW5nZWxvZy52MS5DaGFuZ2VDYXRlZ29yeRIXCg9hY3Rpb25fcmVxdWlyZWQYBiABKAgSHwoSbWlncmF0aW9uX2d1aWRhbmNlGAcgASgJSAGIAQESKQoJYXVkaWVuY2VzGAggAygOMhYuY2hhbmdlbG9nLnYxLkF1ZGllbmNlEicKCHN1cmZhY2VzGAkgAygOMhUuY2hhbmdlbG9nLnYxLlN1cmZhY2VCCgoIX2RldGFpbHNCFQoTX21pZ3JhdGlvbl9ndWlkYW5jZSKLAQoHU2VjdGlvbhIPCgdoZWFkaW5nGAEgASgJEhQKB3N1bW1hcnkYAiABKAlIAIgBARIlCgdjaGFuZ2VzGAMgAygLMhQuY2hhbmdlbG9nLnYxLkNoYW5nZRImCgdzdXJmYWNlGAQgASgOMhUuY2hhbmdlbG9nLnYxLlN1cmZhY2VCCgo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ORxACEgwKCEFDQ09VTlRTEAMSBwoDQVBJEAQSDAoIRVhQTE9SRVIQBRIRCg1ET0NVTUVOVEFUSU9OEAYSDAoIUExBVEZPUk0QBxIPCgtNQVJLRVRfREFUQRAIEg0KCVFVSUNLU1dBUBAJEgsKB1JFV0FSRFMQCipMCg1Tb3J0RGlyZWN0aW9uEh4KGlNPUlRfRElSRUNUSU9OX1VOU1BFQ0lGSUVEEAASDAoIU09SVF9BU0MQARINCglTT1JUX0RFU0MQAjKNAgoQQ2hhbmdlbG9nU2VydmljZRJRCglMaXN0UG9zdHMSHi5jaGFuZ2Vsb2cudjEuTGlzdFBvc3RzUmVxdWVzdBofLmNoYW5nZWxvZy52MS5MaXN0UG9zdHNSZXNwb25zZSIDkAIBEksKB0dldFBvc3QSHC5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlcXVlc3QaHS5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlc3BvbnNlIgOQAgESVwoLTGlzdENoYW5nZXMSIC5jaGFuZ2Vsb2cudjEuTGlzdENoYW5nZXNSZXF1ZXN0GiEuY2hhbmdlbG9nLnYxLkxpc3RDaGFuZ2VzUmVzcG9uc2UiA5ACARoAQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhbmdlbG9nL3YxO2NoYW5nZWxvZ3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * Change is one announced change. Published content never changes.\n *\n * @generated from message changelog.v1.Change\n */\nexport type Change = Message<\"changelog.v1.Change\"> & {\n /**\n * Stable opaque 64-bit identifier, identical across environments.\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Short title.\n *\n * @generated from field: string title = 2;\n */\n title: string;\n\n /**\n * One-paragraph summary.\n *\n * @generated from field: string summary = 3;\n */\n summary: string;\n\n /**\n * Longer explanation; paragraphs separated by blank lines. Omitted when absent.\n *\n * @generated from field: optional string details = 4;\n */\n details?: string | undefined;\n\n /**\n * Category.\n *\n * @generated from field: changelog.v1.ChangeCategory category = 5;\n */\n category: ChangeCategory;\n\n /**\n * True when users or integrators must act.\n *\n * @generated from field: bool action_required = 6;\n */\n actionRequired: boolean;\n\n /**\n * What to do, when action is required. Omitted when absent.\n *\n * @generated from field: optional string migration_guidance = 7;\n */\n migrationGuidance?: string | undefined;\n\n /**\n * Audiences addressed. Never empty.\n *\n * @generated from field: repeated changelog.v1.Audience audiences = 8;\n */\n audiences: Audience[];\n\n /**\n * Product areas affected. May be empty.\n *\n * @generated from field: repeated changelog.v1.Surface surfaces = 9;\n */\n surfaces: Surface[];\n};\n\n/**\n * Describes the message changelog.v1.Change.\n * Use `create(ChangeSchema)` to create a new message.\n */\nexport const ChangeSchema: GenMessage<Change> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 0);\n\n/**\n * Section groups related changes inside a post.\n *\n * @generated from message changelog.v1.Section\n */\nexport type Section = Message<\"changelog.v1.Section\"> & {\n /**\n * Section heading.\n *\n * @generated from field: string heading = 1;\n */\n heading: string;\n\n /**\n * Section summary. Omitted when absent.\n *\n * @generated from field: optional string summary = 2;\n */\n summary?: string | undefined;\n\n /**\n * Changes in publication order.\n *\n * @generated from field: repeated changelog.v1.Change changes = 3;\n */\n changes: Change[];\n\n /**\n * Product area of the section. SURFACE_UNSPECIFIED for sections not tied to\n * one area (for example changes that need your attention, or general).\n *\n * @generated from field: changelog.v1.Surface surface = 4;\n */\n surface: Surface;\n};\n\n/**\n * Describes the message changelog.v1.Section.\n * Use `create(SectionSchema)` to create a new message.\n */\nexport const SectionSchema: GenMessage<Section> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 1);\n\n/**\n * PostSummary describes one published post without its changes.\n *\n * @generated from message changelog.v1.PostSummary\n */\nexport type PostSummary = Message<\"changelog.v1.PostSummary\"> & {\n /**\n * Stable post identifier, unique within this environment.\n *\n * @generated from field: string slug = 1;\n */\n slug: string;\n\n /**\n * Title.\n *\n * @generated from field: string title = 2;\n */\n title: string;\n\n /**\n * Introduction.\n *\n * @generated from field: string introduction = 3;\n */\n introduction: string;\n\n /**\n * Publication time.\n *\n * @generated from field: google.protobuf.Timestamp published_at = 4;\n */\n publishedAt?: Timestamp | undefined;\n\n /**\n * Exclusive upper bound of the period covered. Omitted when unknown.\n *\n * @generated from field: google.protobuf.Timestamp coverage_cutoff = 5;\n */\n coverageCutoff?: Timestamp | undefined;\n\n /**\n * Exact number of changes.\n *\n * @generated from field: uint32 change_count = 6;\n */\n changeCount: number;\n\n /**\n * Exact number of BREAKING_CHANGE changes.\n *\n * @generated from field: uint32 breaking_change_count = 7;\n */\n breakingChangeCount: number;\n\n /**\n * Exact number of changes with action_required.\n *\n * @generated from field: uint32 action_required_count = 8;\n */\n actionRequiredCount: number;\n\n /**\n * Exact number of NEW_FEATURE changes.\n *\n * @generated from field: uint32 new_feature_count = 9;\n */\n newFeatureCount: number;\n\n /**\n * Exact number of IMPROVEMENT changes.\n *\n * @generated from field: uint32 improvement_count = 10;\n */\n improvementCount: number;\n\n /**\n * Exact number of BUG_FIX changes.\n *\n * @generated from field: uint32 bug_fix_count = 11;\n */\n bugFixCount: number;\n};\n\n/**\n * Describes the message changelog.v1.PostSummary.\n * Use `create(PostSummarySchema)` to create a new message.\n */\nexport const PostSummarySchema: GenMessage<PostSummary> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 2);\n\n/**\n * Post is one complete published post.\n *\n * @generated from message changelog.v1.Post\n */\nexport type Post = Message<\"changelog.v1.Post\"> & {\n /**\n * Post summary.\n *\n * @generated from field: changelog.v1.PostSummary summary = 1;\n */\n summary?: PostSummary | undefined;\n\n /**\n * Sections in publication order.\n *\n * @generated from field: repeated changelog.v1.Section sections = 2;\n */\n sections: Section[];\n};\n\n/**\n * Describes the message changelog.v1.Post.\n * Use `create(PostSchema)` to create a new message.\n */\nexport const PostSchema: GenMessage<Post> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 3);\n\n/**\n * ListPostsRequest pages through published posts, newest first.\n *\n * @generated from message changelog.v1.ListPostsRequest\n */\nexport type ListPostsRequest = Message<\"changelog.v1.ListPostsRequest\"> & {\n /**\n * Maximum posts to return. 0 means the default of 20; maximum 100.\n *\n * @generated from field: uint32 limit = 1;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed, exclusive cursor from a previous response.\n * Bound to publication time and slug.\n *\n * @generated from field: string page_token = 2;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListPostsRequest.\n * Use `create(ListPostsRequestSchema)` to create a new message.\n */\nexport const ListPostsRequestSchema: GenMessage<ListPostsRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 4);\n\n/**\n * ListPostsResponse returns post summaries, newest first.\n *\n * @generated from message changelog.v1.ListPostsResponse\n */\nexport type ListPostsResponse = Message<\"changelog.v1.ListPostsResponse\"> & {\n /**\n * Post summaries ordered by publication time descending, then slug descending.\n *\n * @generated from field: repeated changelog.v1.PostSummary posts = 1;\n */\n posts: PostSummary[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListPostsResponse.\n * Use `create(ListPostsResponseSchema)` to create a new message.\n */\nexport const ListPostsResponseSchema: GenMessage<ListPostsResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 5);\n\n/**\n * GetPostRequest selects one post.\n *\n * @generated from message changelog.v1.GetPostRequest\n */\nexport type GetPostRequest = Message<\"changelog.v1.GetPostRequest\"> & {\n /**\n * Post slug.\n *\n * @generated from field: string slug = 1;\n */\n slug: string;\n};\n\n/**\n * Describes the message changelog.v1.GetPostRequest.\n * Use `create(GetPostRequestSchema)` to create a new message.\n */\nexport const GetPostRequestSchema: GenMessage<GetPostRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 6);\n\n/**\n * GetPostResponse returns one complete post.\n *\n * @generated from message changelog.v1.GetPostResponse\n */\nexport type GetPostResponse = Message<\"changelog.v1.GetPostResponse\"> & {\n /**\n * The post with every section and change. A post can hold several hundred\n * changes; use ListChanges with post_slug to page through them instead.\n *\n * @generated from field: changelog.v1.Post post = 1;\n */\n post?: Post | undefined;\n};\n\n/**\n * Describes the message changelog.v1.GetPostResponse.\n * Use `create(GetPostResponseSchema)` to create a new message.\n */\nexport const GetPostResponseSchema: GenMessage<GetPostResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 7);\n\n/**\n * ListChangesRequest queries changes across posts. Filters on different fields\n * combine with AND; values within one field combine with OR.\n *\n * @generated from message changelog.v1.ListChangesRequest\n */\nexport type ListChangesRequest = Message<\"changelog.v1.ListChangesRequest\"> & {\n /**\n * Categories to include. Empty means all.\n *\n * @generated from field: repeated changelog.v1.ChangeCategory categories = 1;\n */\n categories: ChangeCategory[];\n\n /**\n * When set, only changes whose action_required equals this value.\n *\n * @generated from field: optional bool action_required = 2;\n */\n actionRequired?: boolean | undefined;\n\n /**\n * Surfaces to include. Empty means all.\n *\n * @generated from field: repeated changelog.v1.Surface surfaces = 3;\n */\n surfaces: Surface[];\n\n /**\n * Audiences to include. Empty means all. Changes addressed to ALL_USERS\n * always match.\n *\n * @generated from field: repeated changelog.v1.Audience audiences = 4;\n */\n audiences: Audience[];\n\n /**\n * Inclusive lower bound on post publication time. Optional.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 5;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Exclusive upper bound on post publication time. Optional; must be after\n * start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 6;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Restrict to one post. Optional.\n *\n * @generated from field: string post_slug = 7;\n */\n postSlug: string;\n\n /**\n * Order of posts. Changes keep publication order inside each post.\n *\n * @generated from field: changelog.v1.SortDirection sort = 8;\n */\n sort: SortDirection;\n\n /**\n * Maximum changes to return. 0 means the default of 100; maximum 500.\n *\n * @generated from field: uint32 limit = 9;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed, exclusive cursor from a previous response. Reuse\n * it only with the same filters, time bounds and sort.\n *\n * @generated from field: string page_token = 10;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListChangesRequest.\n * Use `create(ListChangesRequestSchema)` to create a new message.\n */\nexport const ListChangesRequestSchema: GenMessage<ListChangesRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 8);\n\n/**\n * ChangeEntry is one change with the post that announced it.\n *\n * @generated from message changelog.v1.ChangeEntry\n */\nexport type ChangeEntry = Message<\"changelog.v1.ChangeEntry\"> & {\n /**\n * The change.\n *\n * @generated from field: changelog.v1.Change change = 1;\n */\n change?: Change | undefined;\n\n /**\n * Slug of the announcing post.\n *\n * @generated from field: string post_slug = 2;\n */\n postSlug: string;\n\n /**\n * Publication time of the announcing post.\n *\n * @generated from field: google.protobuf.Timestamp published_at = 3;\n */\n publishedAt?: Timestamp | undefined;\n\n /**\n * Heading of the section containing the change.\n *\n * @generated from field: string section_heading = 4;\n */\n sectionHeading: string;\n};\n\n/**\n * Describes the message changelog.v1.ChangeEntry.\n * Use `create(ChangeEntrySchema)` to create a new message.\n */\nexport const ChangeEntrySchema: GenMessage<ChangeEntry> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 9);\n\n/**\n * ListChangesResponse returns matching changes.\n *\n * @generated from message changelog.v1.ListChangesResponse\n */\nexport type ListChangesResponse = Message<\"changelog.v1.ListChangesResponse\"> & {\n /**\n * Matching changes in the requested order.\n *\n * @generated from field: repeated changelog.v1.ChangeEntry changes = 1;\n */\n changes: ChangeEntry[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListChangesResponse.\n * Use `create(ListChangesResponseSchema)` to create a new message.\n */\nexport const ListChangesResponseSchema: GenMessage<ListChangesResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 10);\n\n/**\n * ChangeCategory classifies one change.\n *\n * @generated from enum changelog.v1.ChangeCategory\n */\nexport enum ChangeCategory {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Breaking change: existing integrations may need to change.\n *\n * @generated from enum value: BREAKING_CHANGE = 1;\n */\n BREAKING_CHANGE = 1,\n\n /**\n * New capability.\n *\n * @generated from enum value: NEW_FEATURE = 2;\n */\n NEW_FEATURE = 2,\n\n /**\n * Improvement to existing behavior.\n *\n * @generated from enum value: IMPROVEMENT = 3;\n */\n IMPROVEMENT = 3,\n\n /**\n * Bug fix.\n *\n * @generated from enum value: BUG_FIX = 4;\n */\n BUG_FIX = 4,\n}\n\n/**\n * Describes the enum changelog.v1.ChangeCategory.\n */\nexport const ChangeCategorySchema: GenEnum<ChangeCategory> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 0);\n\n/**\n * Audience is a group of users a change is addressed to.\n *\n * @generated from enum changelog.v1.Audience\n */\nexport enum Audience {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: AUDIENCE_UNSPECIFIED = 0;\n */\n AUDIENCE_UNSPECIFIED = 0,\n\n /**\n * Everyone.\n *\n * @generated from enum value: ALL_USERS = 1;\n */\n ALL_USERS = 1,\n\n /**\n * Traders.\n *\n * @generated from enum value: TRADERS = 2;\n */\n TRADERS = 2,\n\n /**\n * Market makers.\n *\n * @generated from enum value: MARKET_MAKERS = 3;\n */\n MARKET_MAKERS = 3,\n\n /**\n * Developers and API integrators.\n *\n * @generated from enum value: DEVELOPERS = 4;\n */\n DEVELOPERS = 4,\n}\n\n/**\n * Describes the enum changelog.v1.Audience.\n */\nexport const AudienceSchema: GenEnum<Audience> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 1);\n\n/**\n * Surface is the product area a change affects.\n *\n * @generated from enum changelog.v1.Surface\n */\nexport enum Surface {\n /**\n * Not set. Never in Change.surfaces; Section.surface carries it for a section\n * not tied to one area.\n *\n * @generated from enum value: SURFACE_UNSPECIFIED = 0;\n */\n SURFACE_UNSPECIFIED = 0,\n\n /**\n * Orders, triggers and protective orders, and order outcomes.\n *\n * @generated from enum value: TRADING = 1;\n */\n TRADING = 1,\n\n /**\n * Deposits, withdrawals and transfers.\n *\n * @generated from enum value: FUNDING = 2;\n */\n FUNDING = 2,\n\n /**\n * Accounts, subaccounts and security.\n *\n * @generated from enum value: ACCOUNTS = 3;\n */\n ACCOUNTS = 3,\n\n /**\n * Programmatic API.\n *\n * @generated from enum value: API = 4;\n */\n API = 4,\n\n /**\n * Block explorer.\n *\n * @generated from enum value: EXPLORER = 5;\n */\n EXPLORER = 5,\n\n /**\n * Documentation.\n *\n * @generated from enum value: DOCUMENTATION = 6;\n */\n DOCUMENTATION = 6,\n\n /**\n * Platform-wide behavior.\n *\n * @generated from enum value: PLATFORM = 7;\n */\n PLATFORM = 7,\n\n /**\n * Market data: prices, candles, order book, heatmaps and market overviews.\n *\n * @generated from enum value: MARKET_DATA = 8;\n */\n MARKET_DATA = 8,\n\n /**\n * The QuickSwap swap app.\n *\n * @generated from enum value: QUICKSWAP = 9;\n */\n QUICKSWAP = 9,\n\n /**\n * Rewards: daily claims, campaigns, VIP tiers and fee discounts.\n *\n * @generated from enum value: REWARDS = 10;\n */\n REWARDS = 10,\n}\n\n/**\n * Describes the enum changelog.v1.Surface.\n */\nexport const SurfaceSchema: GenEnum<Surface> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 2);\n\n/**\n * SortDirection orders changes by post publication time.\n *\n * @generated from enum changelog.v1.SortDirection\n */\nexport enum SortDirection {\n /**\n * Default: descending.\n *\n * @generated from enum value: SORT_DIRECTION_UNSPECIFIED = 0;\n */\n SORT_DIRECTION_UNSPECIFIED = 0,\n\n /**\n * Ascending (oldest first).\n *\n * @generated from enum value: SORT_ASC = 1;\n */\n SORT_ASC = 1,\n\n /**\n * Descending (newest first).\n *\n * @generated from enum value: SORT_DESC = 2;\n */\n SORT_DESC = 2,\n}\n\n/**\n * Describes the enum changelog.v1.SortDirection.\n */\nexport const SortDirectionSchema: GenEnum<SortDirection> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 3);\n\n/**\n * ChangelogService serves the published changelog of this environment. It is\n * public and caller-independent, and supports cacheable ConnectRPC GET.\n *\n * @generated from service changelog.v1.ChangelogService\n */\nexport const ChangelogService: GenService<{\n /**\n * List published post summaries, newest first. Use limit 1 to poll for the\n * latest post.\n *\n * @generated from rpc changelog.v1.ChangelogService.ListPosts\n */\n listPosts: {\n methodKind: \"unary\";\n input: typeof ListPostsRequestSchema;\n output: typeof ListPostsResponseSchema;\n },\n /**\n * Get one complete published post by slug.\n *\n * @generated from rpc changelog.v1.ChangelogService.GetPost\n */\n getPost: {\n methodKind: \"unary\";\n input: typeof GetPostRequestSchema;\n output: typeof GetPostResponseSchema;\n },\n /**\n * List changes across published posts, for example every breaking change\n * since a given time.\n *\n * @generated from rpc changelog.v1.ChangelogService.ListChanges\n */\n listChanges: {\n methodKind: \"unary\";\n input: typeof ListChangesRequestSchema;\n output: typeof ListChangesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_changelog_v1_changelog, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,46GAA46G,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA4En/G,MAAa,eACX,0BAAY,6BAA6B,CAAC;;;;;AA0C5C,MAAa,gBACX,0BAAY,6BAA6B,CAAC;;;;;AA0F5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AA2B5C,MAAa,aACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,yBACX,0BAAY,6BAA6B,CAAC;;;;;AA2B5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC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A;;;;AAKA,MAAa,gBACX,uBAAS,6BAA6B,CAAC;;;;;;AAOzC,IAAY,gBAAL,yBAAA,eAAA;;;;;;CAML,cAAA,cAAA,gCAAA,KAAA;;;;;;CAOA,cAAA,cAAA,cAAA,KAAA;;;;;;CAOA,cAAA,cAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,6BAA6B,CAAC;;;;;;;AAQzC,MAAa,mBAkCX,0BAAY,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"changelog_pb.js","names":[],"sources":["../../../../src/gen/changelog/v1/changelog_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file changelog/v1/changelog.proto (package changelog.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file changelog/v1/changelog.proto.\n */\nexport const file_changelog_v1_changelog: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFuZ2Vsb2cvdjEvY2hhbmdlbG9nLnByb3RvEgxjaGFuZ2Vsb2cudjEiqwIKBkNoYW5nZRIKCgJpZBgBIAEoBhINCgV0aXRsZRgCIAEoCRIPCgdzdW1tYXJ5GAMgASgJEhQKB2RldGFpbHMYBCABKAlIAIgBARIuCghjYXRlZ29yeRgFIAEoDjIcLmNoYW5nZWxvZy52MS5DaGFuZ2VDYXRlZ29yeRIXCg9hY3Rpb25fcmVxdWlyZWQYBiABKAgSHwoSbWlncmF0aW9uX2d1aWRhbmNlGAcgASgJSAGIA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GdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhbmdlbG9nL3YxO2NoYW5nZWxvZ3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * Change is one announced change. A republished post may reword or withdraw it.\n *\n * @generated from message changelog.v1.Change\n */\nexport type Change = Message<\"changelog.v1.Change\"> & {\n /**\n * Stable opaque 64-bit identifier, identical across environments and across\n * revisions of a post.\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Short title.\n *\n * @generated from field: string title = 2;\n */\n title: string;\n\n /**\n * One-paragraph summary.\n *\n * @generated from field: string summary = 3;\n */\n summary: string;\n\n /**\n * Longer explanation; paragraphs separated by blank lines. Omitted when absent.\n *\n * @generated from field: optional string details = 4;\n */\n details?: string | undefined;\n\n /**\n * Category.\n *\n * @generated from field: changelog.v1.ChangeCategory category = 5;\n */\n category: ChangeCategory;\n\n /**\n * True when users or integrators must act.\n *\n * @generated from field: bool action_required = 6;\n */\n actionRequired: boolean;\n\n /**\n * What to do, when action is required. Omitted when absent.\n *\n * @generated from field: optional string migration_guidance = 7;\n */\n migrationGuidance?: string | undefined;\n\n /**\n * Audiences addressed. Never empty.\n *\n * @generated from field: repeated changelog.v1.Audience audiences = 8;\n */\n audiences: Audience[];\n\n /**\n * Product areas affected. May be empty.\n *\n * @generated from field: repeated changelog.v1.Surface surfaces = 9;\n */\n surfaces: Surface[];\n};\n\n/**\n * Describes the message changelog.v1.Change.\n * Use `create(ChangeSchema)` to create a new message.\n */\nexport const ChangeSchema: GenMessage<Change> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 0);\n\n/**\n * Section groups related changes inside a post.\n *\n * @generated from message changelog.v1.Section\n */\nexport type Section = Message<\"changelog.v1.Section\"> & {\n /**\n * Section heading.\n *\n * @generated from field: string heading = 1;\n */\n heading: string;\n\n /**\n * Section summary. Omitted when absent.\n *\n * @generated from field: optional string summary = 2;\n */\n summary?: string | undefined;\n\n /**\n * Changes in publication order.\n *\n * @generated from field: repeated changelog.v1.Change changes = 3;\n */\n changes: Change[];\n\n /**\n * Product area of the section. SURFACE_UNSPECIFIED for sections not tied to\n * one area (for example changes that need your attention, or general).\n *\n * @generated from field: changelog.v1.Surface surface = 4;\n */\n surface: Surface;\n};\n\n/**\n * Describes the message changelog.v1.Section.\n * Use `create(SectionSchema)` to create a new message.\n */\nexport const SectionSchema: GenMessage<Section> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 1);\n\n/**\n * PostSummary describes one published post without its changes.\n *\n * @generated from message changelog.v1.PostSummary\n */\nexport type PostSummary = Message<\"changelog.v1.PostSummary\"> & {\n /**\n * Stable post identifier, unique within this environment. It never changes\n * when the post is republished.\n *\n * @generated from field: string slug = 1;\n */\n slug: string;\n\n /**\n * Title.\n *\n * @generated from field: string title = 2;\n */\n title: string;\n\n /**\n * Introduction.\n *\n * @generated from field: string introduction = 3;\n */\n introduction: string;\n\n /**\n * Time of first publication. It never changes when the post is republished.\n *\n * @generated from field: google.protobuf.Timestamp published_at = 4;\n */\n publishedAt?: Timestamp | undefined;\n\n /**\n * Exclusive upper bound of the period covered. Omitted when unknown.\n *\n * @generated from field: google.protobuf.Timestamp coverage_cutoff = 5;\n */\n coverageCutoff?: Timestamp | undefined;\n\n /**\n * Exact number of changes.\n *\n * @generated from field: uint32 change_count = 6;\n */\n changeCount: number;\n\n /**\n * Exact number of BREAKING_CHANGE changes.\n *\n * @generated from field: uint32 breaking_change_count = 7;\n */\n breakingChangeCount: number;\n\n /**\n * Exact number of changes with action_required.\n *\n * @generated from field: uint32 action_required_count = 8;\n */\n actionRequiredCount: number;\n\n /**\n * Exact number of NEW_FEATURE changes.\n *\n * @generated from field: uint32 new_feature_count = 9;\n */\n newFeatureCount: number;\n\n /**\n * Exact number of IMPROVEMENT changes.\n *\n * @generated from field: uint32 improvement_count = 10;\n */\n improvementCount: number;\n\n /**\n * Exact number of BUG_FIX changes.\n *\n * @generated from field: uint32 bug_fix_count = 11;\n */\n bugFixCount: number;\n\n /**\n * When the current revision was published; equals published_at for revision 1.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 12;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Published revision, starting at 1. Each republication of the post, for\n * example to correct its copy or withdraw a change, increments it.\n *\n * @generated from field: uint32 revision = 13;\n */\n revision: number;\n};\n\n/**\n * Describes the message changelog.v1.PostSummary.\n * Use `create(PostSummarySchema)` to create a new message.\n */\nexport const PostSummarySchema: GenMessage<PostSummary> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 2);\n\n/**\n * Post is one complete published post at its current revision.\n *\n * @generated from message changelog.v1.Post\n */\nexport type Post = Message<\"changelog.v1.Post\"> & {\n /**\n * Post summary.\n *\n * @generated from field: changelog.v1.PostSummary summary = 1;\n */\n summary?: PostSummary | undefined;\n\n /**\n * Sections in publication order.\n *\n * @generated from field: repeated changelog.v1.Section sections = 2;\n */\n sections: Section[];\n};\n\n/**\n * Describes the message changelog.v1.Post.\n * Use `create(PostSchema)` to create a new message.\n */\nexport const PostSchema: GenMessage<Post> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 3);\n\n/**\n * ListPostsRequest pages through published posts, newest first.\n *\n * @generated from message changelog.v1.ListPostsRequest\n */\nexport type ListPostsRequest = Message<\"changelog.v1.ListPostsRequest\"> & {\n /**\n * Maximum posts to return. 0 means the default of 20; maximum 100.\n *\n * @generated from field: uint32 limit = 1;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed, exclusive cursor from a previous response.\n * Bound to publication time and slug.\n *\n * @generated from field: string page_token = 2;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListPostsRequest.\n * Use `create(ListPostsRequestSchema)` to create a new message.\n */\nexport const ListPostsRequestSchema: GenMessage<ListPostsRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 4);\n\n/**\n * ListPostsResponse returns post summaries, newest first.\n *\n * @generated from message changelog.v1.ListPostsResponse\n */\nexport type ListPostsResponse = Message<\"changelog.v1.ListPostsResponse\"> & {\n /**\n * Post summaries ordered by publication time descending, then slug descending.\n *\n * @generated from field: repeated changelog.v1.PostSummary posts = 1;\n */\n posts: PostSummary[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListPostsResponse.\n * Use `create(ListPostsResponseSchema)` to create a new message.\n */\nexport const ListPostsResponseSchema: GenMessage<ListPostsResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 5);\n\n/**\n * GetPostRequest selects one post.\n *\n * @generated from message changelog.v1.GetPostRequest\n */\nexport type GetPostRequest = Message<\"changelog.v1.GetPostRequest\"> & {\n /**\n * Post slug.\n *\n * @generated from field: string slug = 1;\n */\n slug: string;\n};\n\n/**\n * Describes the message changelog.v1.GetPostRequest.\n * Use `create(GetPostRequestSchema)` to create a new message.\n */\nexport const GetPostRequestSchema: GenMessage<GetPostRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 6);\n\n/**\n * GetPostResponse returns one complete post.\n *\n * @generated from message changelog.v1.GetPostResponse\n */\nexport type GetPostResponse = Message<\"changelog.v1.GetPostResponse\"> & {\n /**\n * The post with every section and change. A post can hold several hundred\n * changes; use ListChanges with post_slug to page through them instead.\n *\n * @generated from field: changelog.v1.Post post = 1;\n */\n post?: Post | undefined;\n};\n\n/**\n * Describes the message changelog.v1.GetPostResponse.\n * Use `create(GetPostResponseSchema)` to create a new message.\n */\nexport const GetPostResponseSchema: GenMessage<GetPostResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 7);\n\n/**\n * ListChangesRequest queries changes across posts. Filters on different fields\n * combine with AND; values within one field combine with OR.\n *\n * @generated from message changelog.v1.ListChangesRequest\n */\nexport type ListChangesRequest = Message<\"changelog.v1.ListChangesRequest\"> & {\n /**\n * Categories to include. Empty means all.\n *\n * @generated from field: repeated changelog.v1.ChangeCategory categories = 1;\n */\n categories: ChangeCategory[];\n\n /**\n * When set, only changes whose action_required equals this value.\n *\n * @generated from field: optional bool action_required = 2;\n */\n actionRequired?: boolean | undefined;\n\n /**\n * Surfaces to include. Empty means all.\n *\n * @generated from field: repeated changelog.v1.Surface surfaces = 3;\n */\n surfaces: Surface[];\n\n /**\n * Audiences to include. Empty means all. Changes addressed to ALL_USERS\n * always match.\n *\n * @generated from field: repeated changelog.v1.Audience audiences = 4;\n */\n audiences: Audience[];\n\n /**\n * Inclusive lower bound on post publication time. Optional.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 5;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Exclusive upper bound on post publication time. Optional; must be after\n * start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 6;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Restrict to one post. Optional.\n *\n * @generated from field: string post_slug = 7;\n */\n postSlug: string;\n\n /**\n * Order of posts. Changes keep publication order inside each post.\n *\n * @generated from field: changelog.v1.SortDirection sort = 8;\n */\n sort: SortDirection;\n\n /**\n * Maximum changes to return. 0 means the default of 100; maximum 500.\n *\n * @generated from field: uint32 limit = 9;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed, exclusive cursor from a previous response. Reuse\n * it only with the same filters, time bounds and sort. When the post it\n * points into was republished since, paging restarts at the first change of\n * that post's current revision, so changes of that post can appear again;\n * match them by id.\n *\n * @generated from field: string page_token = 10;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListChangesRequest.\n * Use `create(ListChangesRequestSchema)` to create a new message.\n */\nexport const ListChangesRequestSchema: GenMessage<ListChangesRequest> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 8);\n\n/**\n * ChangeEntry is one change with the post that announced it.\n *\n * @generated from message changelog.v1.ChangeEntry\n */\nexport type ChangeEntry = Message<\"changelog.v1.ChangeEntry\"> & {\n /**\n * The change.\n *\n * @generated from field: changelog.v1.Change change = 1;\n */\n change?: Change | undefined;\n\n /**\n * Slug of the announcing post.\n *\n * @generated from field: string post_slug = 2;\n */\n postSlug: string;\n\n /**\n * Time of first publication of the announcing post.\n *\n * @generated from field: google.protobuf.Timestamp published_at = 3;\n */\n publishedAt?: Timestamp | undefined;\n\n /**\n * Heading of the section containing the change.\n *\n * @generated from field: string section_heading = 4;\n */\n sectionHeading: string;\n};\n\n/**\n * Describes the message changelog.v1.ChangeEntry.\n * Use `create(ChangeEntrySchema)` to create a new message.\n */\nexport const ChangeEntrySchema: GenMessage<ChangeEntry> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 9);\n\n/**\n * ListChangesResponse returns matching changes.\n *\n * @generated from message changelog.v1.ListChangesResponse\n */\nexport type ListChangesResponse = Message<\"changelog.v1.ListChangesResponse\"> & {\n /**\n * Matching changes in the requested order.\n *\n * @generated from field: repeated changelog.v1.ChangeEntry changes = 1;\n */\n changes: ChangeEntry[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message changelog.v1.ListChangesResponse.\n * Use `create(ListChangesResponseSchema)` to create a new message.\n */\nexport const ListChangesResponseSchema: GenMessage<ListChangesResponse> = /*@__PURE__*/\n messageDesc(file_changelog_v1_changelog, 10);\n\n/**\n * ChangeCategory classifies one change.\n *\n * @generated from enum changelog.v1.ChangeCategory\n */\nexport enum ChangeCategory {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Breaking change: existing integrations may need to change.\n *\n * @generated from enum value: BREAKING_CHANGE = 1;\n */\n BREAKING_CHANGE = 1,\n\n /**\n * New capability.\n *\n * @generated from enum value: NEW_FEATURE = 2;\n */\n NEW_FEATURE = 2,\n\n /**\n * Improvement to existing behavior.\n *\n * @generated from enum value: IMPROVEMENT = 3;\n */\n IMPROVEMENT = 3,\n\n /**\n * Bug fix.\n *\n * @generated from enum value: BUG_FIX = 4;\n */\n BUG_FIX = 4,\n}\n\n/**\n * Describes the enum changelog.v1.ChangeCategory.\n */\nexport const ChangeCategorySchema: GenEnum<ChangeCategory> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 0);\n\n/**\n * Audience is a group of users a change is addressed to.\n *\n * @generated from enum changelog.v1.Audience\n */\nexport enum Audience {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: AUDIENCE_UNSPECIFIED = 0;\n */\n AUDIENCE_UNSPECIFIED = 0,\n\n /**\n * Everyone.\n *\n * @generated from enum value: ALL_USERS = 1;\n */\n ALL_USERS = 1,\n\n /**\n * Traders.\n *\n * @generated from enum value: TRADERS = 2;\n */\n TRADERS = 2,\n\n /**\n * Market makers.\n *\n * @generated from enum value: MARKET_MAKERS = 3;\n */\n MARKET_MAKERS = 3,\n\n /**\n * Developers and API integrators.\n *\n * @generated from enum value: DEVELOPERS = 4;\n */\n DEVELOPERS = 4,\n}\n\n/**\n * Describes the enum changelog.v1.Audience.\n */\nexport const AudienceSchema: GenEnum<Audience> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 1);\n\n/**\n * Surface is the product area a change affects.\n *\n * @generated from enum changelog.v1.Surface\n */\nexport enum Surface {\n /**\n * Not set. Never in Change.surfaces; Section.surface carries it for a section\n * not tied to one area.\n *\n * @generated from enum value: SURFACE_UNSPECIFIED = 0;\n */\n SURFACE_UNSPECIFIED = 0,\n\n /**\n * Orders, triggers and protective orders, and order outcomes.\n *\n * @generated from enum value: TRADING = 1;\n */\n TRADING = 1,\n\n /**\n * Deposits, withdrawals and transfers.\n *\n * @generated from enum value: FUNDING = 2;\n */\n FUNDING = 2,\n\n /**\n * Accounts, subaccounts and security.\n *\n * @generated from enum value: ACCOUNTS = 3;\n */\n ACCOUNTS = 3,\n\n /**\n * Programmatic API.\n *\n * @generated from enum value: API = 4;\n */\n API = 4,\n\n /**\n * Block explorer.\n *\n * @generated from enum value: EXPLORER = 5;\n */\n EXPLORER = 5,\n\n /**\n * Documentation.\n *\n * @generated from enum value: DOCUMENTATION = 6;\n */\n DOCUMENTATION = 6,\n\n /**\n * Platform-wide behavior.\n *\n * @generated from enum value: PLATFORM = 7;\n */\n PLATFORM = 7,\n\n /**\n * Market data: prices, candles, order book, heatmaps and market overviews.\n *\n * @generated from enum value: MARKET_DATA = 8;\n */\n MARKET_DATA = 8,\n\n /**\n * The QuickSwap swap app.\n *\n * @generated from enum value: QUICKSWAP = 9;\n */\n QUICKSWAP = 9,\n\n /**\n * Rewards: daily claims, campaigns, VIP tiers and fee discounts.\n *\n * @generated from enum value: REWARDS = 10;\n */\n REWARDS = 10,\n}\n\n/**\n * Describes the enum changelog.v1.Surface.\n */\nexport const SurfaceSchema: GenEnum<Surface> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 2);\n\n/**\n * SortDirection orders changes by post publication time.\n *\n * @generated from enum changelog.v1.SortDirection\n */\nexport enum SortDirection {\n /**\n * Default: descending.\n *\n * @generated from enum value: SORT_DIRECTION_UNSPECIFIED = 0;\n */\n SORT_DIRECTION_UNSPECIFIED = 0,\n\n /**\n * Ascending (oldest first).\n *\n * @generated from enum value: SORT_ASC = 1;\n */\n SORT_ASC = 1,\n\n /**\n * Descending (newest first).\n *\n * @generated from enum value: SORT_DESC = 2;\n */\n SORT_DESC = 2,\n}\n\n/**\n * Describes the enum changelog.v1.SortDirection.\n */\nexport const SortDirectionSchema: GenEnum<SortDirection> = /*@__PURE__*/\n enumDesc(file_changelog_v1_changelog, 3);\n\n/**\n * ChangelogService serves the published changelog of this environment. It is\n * public and caller-independent, and supports cacheable ConnectRPC GET.\n *\n * @generated from service changelog.v1.ChangelogService\n */\nexport const ChangelogService: GenService<{\n /**\n * List published post summaries, newest first. Use limit 1 to poll for the\n * latest post. To follow edits to published posts, compare each post's\n * revision.\n *\n * @generated from rpc changelog.v1.ChangelogService.ListPosts\n */\n listPosts: {\n methodKind: \"unary\";\n input: typeof ListPostsRequestSchema;\n output: typeof ListPostsResponseSchema;\n },\n /**\n * Get one complete published post by slug, at its current revision.\n *\n * @generated from rpc changelog.v1.ChangelogService.GetPost\n */\n getPost: {\n methodKind: \"unary\";\n input: typeof GetPostRequestSchema;\n output: typeof GetPostResponseSchema;\n },\n /**\n * List changes across published posts, for example every breaking change\n * since a given time.\n *\n * @generated from rpc changelog.v1.ChangelogService.ListChanges\n */\n listChanges: {\n methodKind: \"unary\";\n input: typeof ListChangesRequestSchema;\n output: typeof ListChangesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_changelog_v1_changelog, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,ogHAAogH,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA6E3kH,MAAa,eACX,0BAAY,6BAA6B,CAAC;;;;;AA0C5C,MAAa,gBACX,0BAAY,6BAA6B,CAAC;;;;;AA0G5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AA2B5C,MAAa,aACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,yBACX,0BAAY,6BAA6B,CAAC;;;;;AA2B5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,wBACX,0BAAY,6BAA6B,CAAC;;;;;AA0F5C,MAAa,2BACX,0BAAY,6BAA6B,CAAC;;;;;AAyC5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AA2B5C,MAAa,4BACX,0BAAY,6BAA6B,EAAE;;;;;;AAO7C,IAAY,iBAAL,yBAAA,gBAAA;;;;;;CAML,eAAA,eAAA,0BAAA,KAAA;;;;;;CAOA,eAAA,eAAA,qBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,iBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,iBAAA,KAAA;;;;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
177
|
type ListMarketOverviewRequest = Message<"marketoverview.v1.ListMarketOverviewRequest"> & {
|
|
178
178
|
/**
|
|
179
179
|
* Filter by stable numeric pair IDs from GetSpotConfig. When empty, returns
|
|
180
|
-
*
|
|
180
|
+
* every configured market, including disabled ones. Markets whose delisting
|
|
181
|
+
* time has passed are never returned.
|
|
181
182
|
*
|
|
182
183
|
* @generated from field: repeated uint32 symbol_id = 1;
|
|
183
184
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketoverview_pb.d.ts","names":[],"sources":["../../../../src/gen/marketoverview/v1/marketoverview_pb.ts"],"mappings":";;;;;;;;cAYa,uCAAuC;;;;;;KAQxC,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;KAQ/B,YAAY;;;;;;EAMtB,UAAU;;;;;;EAOV;;;;;;cAOW,iBAAiB,WAAW;;;;KAM7B,iBAAiB;;;;;;EAM3B;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;;EAQA;;;;;;EAOA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA,YAAY;;;;;;;EAQZ;;;;;;cAOW,sBAAsB,WAAW;;;;KAMlC,4BAA4B;;;;;;;
|
|
1
|
+
{"version":3,"file":"marketoverview_pb.d.ts","names":[],"sources":["../../../../src/gen/marketoverview/v1/marketoverview_pb.ts"],"mappings":";;;;;;;;cAYa,uCAAuC;;;;;;KAQxC,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;KAQ/B,YAAY;;;;;;EAMtB,UAAU;;;;;;EAOV;;;;;;cAOW,iBAAiB,WAAW;;;;KAM7B,iBAAiB;;;;;;EAM3B;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;;EAQA;;;;;;EAOA;;;;;;;;EASA;;;;;;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