@polyester/sdk 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/catalogs/decimal.js +6 -4
- package/dist/catalogs/decimal.js.map +1 -1
- package/dist/catalogs/readers.js +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +28 -10
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +37 -31
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +0 -6
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +1 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +6 -11
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +3 -3
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +11 -11
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +6 -12
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/services/fees/fees.schemas.d.ts +2 -3
- package/dist/services/fees/fees.schemas.d.ts.map +1 -1
- package/dist/services/fees/fees.schemas.js +3 -4
- package/dist/services/fees/fees.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
- package/dist/services/market-data/market-data.schemas.js +1 -1
- package/dist/services/market-overview/market-overview.d.ts +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +20 -7
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +8 -6
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +3 -4
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +13 -10
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +8 -9
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +9 -8
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +209 -35
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +11 -9
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +50 -50
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +12 -12
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +18 -18
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +6 -6
- package/dist/services/orders/orders-risk.schemas.d.ts +12 -12
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +8 -7
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.d.ts +4 -4
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +7 -7
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +2 -1
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
- package/dist/services/shared.js +4 -1
- package/dist/services/shared.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trailing-oneof-inputs.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +5 -3
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +36 -32
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +8 -8
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +17 -18
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +3 -3
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +2 -2
- package/dist/services/triggers/triggers.js +2 -2
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/shared/decimal-surface.d.ts.map +1 -1
- package/dist/shared/decimal-surface.js +2 -2
- package/dist/shared/decimal-surface.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @polyester/sdk
|
|
2
2
|
|
|
3
|
+
## 0.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Reject trailing-stop maximum slippage above 10,000 basis points. ([#79](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/79))
|
|
8
|
+
|
|
9
|
+
- Accept exact decimal inputs with zero padding beyond the configured wire scale. ([#79](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/79))
|
|
10
|
+
|
|
11
|
+
- Reject OCO risk policies that do not include both take-profit and a stop leg. ([#79](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/79))
|
|
12
|
+
|
|
13
|
+
- Reject duplicate non-empty client order IDs in one batch create request. ([#79](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/79))
|
|
14
|
+
|
|
15
|
+
- Reject unsupported characters in cancel-all request IDs, matching other order mutations. ([#79](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/79))
|
|
16
|
+
|
|
17
|
+
## 0.9.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#76](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/76) [`b1ae171`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/b1ae171854e8e66ab699dc228fbf01cbeff6ff47) Thanks [@aiiven](https://github.com/aiiven)! - feat(policies): use stable symbol IDs in API-key and subaccount policy selectors.
|
|
22
|
+
|
|
23
|
+
- [#76](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/76) [`b1ae171`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/b1ae171854e8e66ab699dc228fbf01cbeff6ff47) Thanks [@aiiven](https://github.com/aiiven)! - feat(trading): use stable symbol IDs for spot-market requests and responses.
|
|
24
|
+
|
|
3
25
|
## 0.8.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/dist/catalogs/decimal.js
CHANGED
|
@@ -4,8 +4,9 @@ const INPUT_DECIMAL_PATTERN = /^(?:\d+(?:\.\d*)?|\.\d+)$/;
|
|
|
4
4
|
const SCALED_INTEGER_PATTERN = /^-?\d+$/;
|
|
5
5
|
/**
|
|
6
6
|
* Strictly converts a non-negative decimal string into a scaled bigint.
|
|
7
|
-
* Fails on anything that is not a plain decimal number or
|
|
8
|
-
*
|
|
7
|
+
* Fails on anything that is not a plain decimal number or whose fractional
|
|
8
|
+
* component still exceeds the scale after trailing zero padding is removed.
|
|
9
|
+
* Zero padding beyond the scale remains exact and is accepted. Never rounds.
|
|
9
10
|
*/
|
|
10
11
|
function tryDecimalToScaled(decimal, scale) {
|
|
11
12
|
const raw = decimal.trim();
|
|
@@ -14,7 +15,8 @@ function tryDecimalToScaled(decimal, scale) {
|
|
|
14
15
|
failure: { reason: "invalid" }
|
|
15
16
|
};
|
|
16
17
|
const [intPart = "0", fracPart = ""] = raw.split(".");
|
|
17
|
-
|
|
18
|
+
const exactFraction = fracPart.replace(/0+$/, "");
|
|
19
|
+
if (exactFraction.length > scale) return {
|
|
18
20
|
ok: false,
|
|
19
21
|
failure: {
|
|
20
22
|
reason: "precision",
|
|
@@ -23,7 +25,7 @@ function tryDecimalToScaled(decimal, scale) {
|
|
|
23
25
|
};
|
|
24
26
|
return {
|
|
25
27
|
ok: true,
|
|
26
|
-
scaled: BigInt(intPart +
|
|
28
|
+
scaled: BigInt(intPart + exactFraction.padEnd(scale, "0"))
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimal.js","names":[],"sources":["../../src/catalogs/decimal.ts"],"sourcesContent":["/**\n * Internal decimal-string math backing catalog conversions.\n *\n * Catalog conversions operate on JSON-safe strings only: human decimal strings\n * on one side and scaled integer strings on the SDK/API side. BigInt is an\n * implementation detail of this module and never crosses the public surface.\n */\n\n/** Raw scaled integer accepted on the SDK side of a conversion. */\nexport type ScaledIntegerLike = bigint | number | string;\n\nconst STRICT_DECIMAL_PATTERN = /^\\d+(?:\\.\\d+)?$/;\nconst INPUT_DECIMAL_PATTERN = /^(?:\\d+(?:\\.\\d*)?|\\.\\d+)$/;\nconst SCALED_INTEGER_PATTERN = /^-?\\d+$/;\n\nexport type DecimalToScaledFailure =\n | { reason: \"invalid\" }\n | { reason: \"precision\"; maxDecimals: number };\n\nexport type DecimalToScaledResult =\n | { ok: true; scaled: bigint }\n | { ok: false; failure: DecimalToScaledFailure };\n\n/**\n * Strictly converts a non-negative decimal string into a scaled bigint.\n * Fails on anything that is not a plain decimal number or
|
|
1
|
+
{"version":3,"file":"decimal.js","names":[],"sources":["../../src/catalogs/decimal.ts"],"sourcesContent":["/**\n * Internal decimal-string math backing catalog conversions.\n *\n * Catalog conversions operate on JSON-safe strings only: human decimal strings\n * on one side and scaled integer strings on the SDK/API side. BigInt is an\n * implementation detail of this module and never crosses the public surface.\n */\n\n/** Raw scaled integer accepted on the SDK side of a conversion. */\nexport type ScaledIntegerLike = bigint | number | string;\n\nconst STRICT_DECIMAL_PATTERN = /^\\d+(?:\\.\\d+)?$/;\nconst INPUT_DECIMAL_PATTERN = /^(?:\\d+(?:\\.\\d*)?|\\.\\d+)$/;\nconst SCALED_INTEGER_PATTERN = /^-?\\d+$/;\n\nexport type DecimalToScaledFailure =\n | { reason: \"invalid\" }\n | { reason: \"precision\"; maxDecimals: number };\n\nexport type DecimalToScaledResult =\n | { ok: true; scaled: bigint }\n | { ok: false; failure: DecimalToScaledFailure };\n\n/**\n * Strictly converts a non-negative decimal string into a scaled bigint.\n * Fails on anything that is not a plain decimal number or whose fractional\n * component still exceeds the scale after trailing zero padding is removed.\n * Zero padding beyond the scale remains exact and is accepted. Never rounds.\n */\nexport function tryDecimalToScaled(decimal: string, scale: number): DecimalToScaledResult {\n const raw = decimal.trim();\n if (!STRICT_DECIMAL_PATTERN.test(raw)) return { ok: false, failure: { reason: \"invalid\" } };\n const [intPart = \"0\", fracPart = \"\"] = raw.split(\".\");\n const exactFraction = fracPart.replace(/0+$/, \"\");\n if (exactFraction.length > scale) {\n return { ok: false, failure: { reason: \"precision\", maxDecimals: scale } };\n }\n return { ok: true, scaled: BigInt(intPart + exactFraction.padEnd(scale, \"0\")) };\n}\n\n/**\n * Coerces a raw scaled integer (bigint, safe integer number, or base-10\n * integer string) into a bigint. Returns null for anything else — including\n * decimal strings, which indicate the caller is holding an unscaled value.\n */\nexport function tryToScaledBigInt(value: ScaledIntegerLike): bigint | null {\n if (typeof value === \"bigint\") return value;\n if (typeof value === \"number\") {\n return Number.isSafeInteger(value) ? BigInt(value) : null;\n }\n const raw = value.trim();\n return SCALED_INTEGER_PATTERN.test(raw) ? BigInt(raw) : null;\n}\n\n/**\n * Renders a scaled bigint as an exact decimal string with trailing zeros\n * trimmed (`1500000n` at scale 6 → `\"1.5\"`).\n */\nexport function scaledToDecimal(scaled: bigint, scale: number): string {\n const negative = scaled < 0n;\n const digits = (negative ? -scaled : scaled).toString();\n if (scale <= 0) return negative && digits !== \"0\" ? `-${digits}` : digits;\n const padded = digits.padStart(scale + 1, \"0\");\n const intPart = padded.slice(0, -scale);\n const fracPart = padded.slice(-scale).replace(/0+$/, \"\");\n const body = fracPart ? `${intPart}.${fracPart}` : intPart;\n return negative && body !== \"0\" ? `-${body}` : body;\n}\n\n/**\n * Renders a scaled bigint as a display-normalized decimal string: rounded\n * half-up (away from zero) to `displayDecimals` and trailing zeros trimmed.\n * Not locale-aware — display strings stay plain decimal strings.\n */\nexport function scaledToDisplay(scaled: bigint, scale: number, displayDecimals: number): string {\n const decimals = Math.max(0, Math.trunc(displayDecimals));\n if (decimals >= scale) return scaledToDecimal(scaled, scale);\n const negative = scaled < 0n;\n const abs = negative ? -scaled : scaled;\n const divisor = 10n ** BigInt(scale - decimals);\n const rounded = (abs + divisor / 2n) / divisor;\n const body = scaledToDecimal(rounded, decimals);\n return negative && body !== \"0\" ? `-${body}` : body;\n}\n\n/**\n * Normalizes raw user input into a canonical decimal string, truncating (not\n * rounding) fractional digits beyond `maxDecimals`. Tolerates partial input\n * forms like `\".5\"` and `\"5.\"`. Returns null when the input is not a decimal.\n */\nexport function tryNormalizeDecimalInput(raw: string, maxDecimals: number): string | null {\n const trimmed = raw.trim();\n if (!INPUT_DECIMAL_PATTERN.test(trimmed)) return null;\n const [intRaw = \"\", fracRaw = \"\"] = trimmed.split(\".\");\n const intPart = intRaw.replace(/^0+(?=\\d)/, \"\") || \"0\";\n const fracPart = fracRaw.slice(0, Math.max(0, maxDecimals)).replace(/0+$/, \"\");\n return fracPart ? `${intPart}.${fracPart}` : intPart;\n}\n\n/**\n * Counts the significant fractional digits of a decimal string\n * (`\"0.010\"` → 2). Used to derive display precision from tick sizes.\n */\nexport function significantDecimalPlaces(decimal: string): number {\n const fracPart = decimal.split(\".\")[1];\n return fracPart ? fracPart.replace(/0+$/, \"\").length : 0;\n}\n"],"mappings":";AAWA,MAAM,yBAAyB;AAC/B,MAAM,wBAAwB;AAC9B,MAAM,yBAAyB;;;;;;;AAgB/B,SAAgB,mBAAmB,SAAiB,OAAsC;CACtF,MAAM,MAAM,QAAQ,KAAK;CACzB,IAAI,CAAC,uBAAuB,KAAK,GAAG,GAAG,OAAO;EAAE,IAAI;EAAO,SAAS,EAAE,QAAQ,UAAU;CAAE;CAC1F,MAAM,CAAC,UAAU,KAAK,WAAW,MAAM,IAAI,MAAM,GAAG;CACpD,MAAM,gBAAgB,SAAS,QAAQ,OAAO,EAAE;CAChD,IAAI,cAAc,SAAS,OACvB,OAAO;EAAE,IAAI;EAAO,SAAS;GAAE,QAAQ;GAAa,aAAa;EAAM;CAAE;CAE7E,OAAO;EAAE,IAAI;EAAM,QAAQ,OAAO,UAAU,cAAc,OAAO,OAAO,GAAG,CAAC;CAAE;AAClF;;;;;;AAOA,SAAgB,kBAAkB,OAAyC;CACvE,IAAI,OAAO,UAAU,UAAU,OAAO;CACtC,IAAI,OAAO,UAAU,UACjB,OAAO,OAAO,cAAc,KAAK,IAAI,OAAO,KAAK,IAAI;CAEzD,MAAM,MAAM,MAAM,KAAK;CACvB,OAAO,uBAAuB,KAAK,GAAG,IAAI,OAAO,GAAG,IAAI;AAC5D;;;;;AAMA,SAAgB,gBAAgB,QAAgB,OAAuB;CACnE,MAAM,WAAW,SAAS;CAC1B,MAAM,UAAU,WAAW,CAAC,SAAS,OAAA,CAAQ,SAAS;CACtD,IAAI,SAAS,GAAG,OAAO,YAAY,WAAW,MAAM,IAAI,WAAW;CACnE,MAAM,SAAS,OAAO,SAAS,QAA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PROTOBUF_INT64_MAX } from "../shared/wire-bounds.js";
|
|
1
2
|
import { scaledToDecimal, scaledToDisplay, significantDecimalPlaces, tryDecimalToScaled, tryNormalizeDecimalInput, tryToScaledBigInt } from "./decimal.js";
|
|
2
3
|
import { CatalogConversionError, CatalogLookupError, CatalogValidationFailedError } from "./types.js";
|
|
3
4
|
import { indexesFor } from "./indexes.js";
|
|
4
5
|
import { resolveLedgerAssetByLedgerId, resolveZipperAssetByLedgerId } from "./unknown-asset.js";
|
|
5
6
|
import { parseCatalogSnapshot } from "./snapshot-validation.js";
|
|
6
|
-
import { PROTOBUF_INT32_MAX, PROTOBUF_INT64_MAX } from "../shared/wire-bounds.js";
|
|
7
7
|
function isListed(pair, nowMs) {
|
|
8
8
|
if (pair.listingAt === null || pair.listingAt > nowMs) return false;
|
|
9
9
|
if (pair.status === "disabled") return false;
|
|
@@ -2,7 +2,7 @@ import { Message } from "@bufbuild/protobuf";
|
|
|
2
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
declare namespace policies_pb_d_exports {
|
|
5
|
-
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies };
|
|
5
|
+
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SpotMarketSelector, SpotMarketSelectorSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file auth/v1/policies.proto.
|
|
@@ -51,17 +51,35 @@ declare enum MarketScope_Value {
|
|
|
51
51
|
*/
|
|
52
52
|
declare const MarketScope_ValueSchema: GenEnum<MarketScope_Value>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* SpotMarketSelector identifies an allowed spot market in policy mutations.
|
|
55
|
+
*
|
|
56
|
+
* @generated from message auth.v1.SpotMarketSelector
|
|
57
|
+
*/
|
|
58
|
+
type SpotMarketSelector = Message<"auth.v1.SpotMarketSelector"> & {
|
|
59
|
+
/**
|
|
60
|
+
* Stable numeric pair ID from GetSpotConfig.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: uint32 symbol_id = 1;
|
|
63
|
+
*/
|
|
64
|
+
symbolId: number;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message auth.v1.SpotMarketSelector.
|
|
68
|
+
* Use `create(SpotMarketSelectorSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
declare const SpotMarketSelectorSchema: GenMessage<SpotMarketSelector>;
|
|
71
|
+
/**
|
|
72
|
+
* SpotMarketRule describes an allowed spot market in policy views.
|
|
55
73
|
*
|
|
56
74
|
* @generated from message auth.v1.SpotMarketRule
|
|
57
75
|
*/
|
|
58
76
|
type SpotMarketRule = Message<"auth.v1.SpotMarketRule"> & {
|
|
59
77
|
/**
|
|
60
|
-
*
|
|
78
|
+
* Stable numeric pair ID.
|
|
61
79
|
*
|
|
62
|
-
* @generated from field:
|
|
80
|
+
* @generated from field: uint32 symbol_id = 1;
|
|
63
81
|
*/
|
|
64
|
-
|
|
82
|
+
symbolId: number;
|
|
65
83
|
};
|
|
66
84
|
/**
|
|
67
85
|
* Describes the message auth.v1.SpotMarketRule.
|
|
@@ -299,9 +317,9 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
|
|
|
299
317
|
/**
|
|
300
318
|
* Allowed spot markets for this policy.
|
|
301
319
|
*
|
|
302
|
-
* @generated from field: repeated auth.v1.
|
|
320
|
+
* @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;
|
|
303
321
|
*/
|
|
304
|
-
spotMarkets:
|
|
322
|
+
spotMarkets: SpotMarketSelector[];
|
|
305
323
|
/**
|
|
306
324
|
* Market-level scope for spot markets. When unspecified, defaults to ALL.
|
|
307
325
|
*
|
|
@@ -720,9 +738,9 @@ type ApiPolicySpec = Message<"auth.v1.ApiPolicySpec"> & {
|
|
|
720
738
|
/**
|
|
721
739
|
* Allowed spot markets for this API key policy.
|
|
722
740
|
*
|
|
723
|
-
* @generated from field: repeated auth.v1.
|
|
741
|
+
* @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;
|
|
724
742
|
*/
|
|
725
|
-
spotMarkets:
|
|
743
|
+
spotMarkets: SpotMarketSelector[];
|
|
726
744
|
/**
|
|
727
745
|
* Market-level scope for spot markets. When unspecified, defaults to ALL.
|
|
728
746
|
*
|
|
@@ -1116,5 +1134,5 @@ declare const PolicyService: GenService<{
|
|
|
1116
1134
|
};
|
|
1117
1135
|
}>;
|
|
1118
1136
|
//#endregion
|
|
1119
|
-
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_d_exports };
|
|
1137
|
+
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SpotMarketSelector, SpotMarketSelectorSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_d_exports };
|
|
1120
1138
|
//# sourceMappingURL=policies_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"mappings":";;;;;;;;;cAca,uBAAuB;;;;;;KAQxB,cAAc;;;;;cAOb,mBAAmB,WAAW;;;;;;;;aAU/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,yBAAyB,QAAQ;;;;;;KAQlC,iBAAiB;;;;;;EAM3B;;;;;;cAOW,sBAAsB,WAAW;;;;;;KAQlC,uBAAuB;;;;;;EAMjC;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,aAAa;;;;;;;EAQb,iBAAiB;;;;;;;EAQjB,SAAS;;;;;;;EAQT;;;;;;;EAQA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA,WAAW;;;;;;;EAQX,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ;;;;;;cAOW,4BAA4B,WAAW;;;;;;;;KAUxC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,iCAAiC;;;;;;EAM3C,UAAU;;;;;;cAOC,sCAAsC,WAAW;;;;;;KAQlD,6BAA6B;;;;;;EAMvC;;;;;;;EAQA;;;;;;cAOW,kCAAkC,WAAW;;;;;;KAQ9C,8BAA8B;;;;;;EAMxC,SAAS;;;;;;cAOE,mCAAmC,WAAW;;;;;;KAQ/C,uBAAuB;;;;;;;EAOjC;;;;;;EAOA;;;;;;EAOA,aAAa;;;;;;EAOb,iBAAiB;;;;;;;;EASjB,SAAS;;;;;;;;EAST;;;;;;;EAQA;;;;;;;;EASA;;;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pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
33
33
|
SetSubaccountPolicyRequestSchema: () => SetSubaccountPolicyRequestSchema,
|
|
34
34
|
SetSubaccountPolicyResponseSchema: () => SetSubaccountPolicyResponseSchema,
|
|
35
35
|
SpotMarketRuleSchema: () => SpotMarketRuleSchema,
|
|
36
|
+
SpotMarketSelectorSchema: () => SpotMarketSelectorSchema,
|
|
36
37
|
SubaccountPolicySpecSchema: () => SubaccountPolicySpecSchema,
|
|
37
38
|
SubaccountPolicyViewSchema: () => SubaccountPolicyViewSchema,
|
|
38
39
|
UpdateApiPolicyRequestSchema: () => UpdateApiPolicyRequestSchema,
|
|
@@ -44,7 +45,7 @@ var policies_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
44
45
|
/**
|
|
45
46
|
* Describes the file auth/v1/policies.proto.
|
|
46
47
|
*/
|
|
47
|
-
const file_auth_v1_policies = /*@__PURE__*/ fileDesc("
|
|
48
|
+
const file_auth_v1_policies = /*@__PURE__*/ fileDesc("ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWxlEhEKCXN5bWJvbF9pZBgBIAEoDSLvBgoUU3ViYWNjb3VudFBvbGljeVZpZXcSCgoCaWQYASABKAYSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRItCgxzcG90X21hcmtldHMYBCADKAsyFy5hdXRoLnYxLlNwb3RNYXJrZXRSdWxlEjcKEXNwb3RfbWFya2V0X3Njb3BlGAYgASgOMhouYXV0aC52MS5NYXJrZXRTY29wZS5WYWx1ZUIAEigKB2FjdGlvbnMYCCADKA4yFS5hdXRoLnYxLlBvbGljeUFjdGlvbk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f_field_mask,
|
|
49
50
|
file_google_protobuf_timestamp,
|
|
50
51
|
file_polyester_api_options
|
|
@@ -87,150 +88,155 @@ let MarketScope_Value = /* @__PURE__ */ function(MarketScope_Value) {
|
|
|
87
88
|
*/
|
|
88
89
|
const MarketScope_ValueSchema = /*@__PURE__*/ enumDesc(file_auth_v1_policies, 0, 0);
|
|
89
90
|
/**
|
|
91
|
+
* Describes the message auth.v1.SpotMarketSelector.
|
|
92
|
+
* Use `create(SpotMarketSelectorSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
const SpotMarketSelectorSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 1);
|
|
95
|
+
/**
|
|
90
96
|
* Describes the message auth.v1.SpotMarketRule.
|
|
91
97
|
* Use `create(SpotMarketRuleSchema)` to create a new message.
|
|
92
98
|
*/
|
|
93
|
-
const SpotMarketRuleSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
99
|
+
const SpotMarketRuleSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 2);
|
|
94
100
|
/**
|
|
95
101
|
* Describes the message auth.v1.SubaccountPolicyView.
|
|
96
102
|
* Use `create(SubaccountPolicyViewSchema)` to create a new message.
|
|
97
103
|
*/
|
|
98
|
-
const SubaccountPolicyViewSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
104
|
+
const SubaccountPolicyViewSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 3);
|
|
99
105
|
/**
|
|
100
106
|
* Describes the message auth.v1.ListSubaccountPoliciesRequest.
|
|
101
107
|
* Use `create(ListSubaccountPoliciesRequestSchema)` to create a new message.
|
|
102
108
|
*/
|
|
103
|
-
const ListSubaccountPoliciesRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
109
|
+
const ListSubaccountPoliciesRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 4);
|
|
104
110
|
/**
|
|
105
111
|
* Describes the message auth.v1.ListSubaccountPoliciesResponse.
|
|
106
112
|
* Use `create(ListSubaccountPoliciesResponseSchema)` to create a new message.
|
|
107
113
|
*/
|
|
108
|
-
const ListSubaccountPoliciesResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
114
|
+
const ListSubaccountPoliciesResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 5);
|
|
109
115
|
/**
|
|
110
116
|
* Describes the message auth.v1.GetSubaccountPolicyRequest.
|
|
111
117
|
* Use `create(GetSubaccountPolicyRequestSchema)` to create a new message.
|
|
112
118
|
*/
|
|
113
|
-
const GetSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
119
|
+
const GetSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 6);
|
|
114
120
|
/**
|
|
115
121
|
* Describes the message auth.v1.GetSubaccountPolicyResponse.
|
|
116
122
|
* Use `create(GetSubaccountPolicyResponseSchema)` to create a new message.
|
|
117
123
|
*/
|
|
118
|
-
const GetSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
124
|
+
const GetSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 7);
|
|
119
125
|
/**
|
|
120
126
|
* Describes the message auth.v1.SubaccountPolicySpec.
|
|
121
127
|
* Use `create(SubaccountPolicySpecSchema)` to create a new message.
|
|
122
128
|
*/
|
|
123
|
-
const SubaccountPolicySpecSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
129
|
+
const SubaccountPolicySpecSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 8);
|
|
124
130
|
/**
|
|
125
131
|
* Describes the message auth.v1.CreateSubaccountPolicyRequest.
|
|
126
132
|
* Use `create(CreateSubaccountPolicyRequestSchema)` to create a new message.
|
|
127
133
|
*/
|
|
128
|
-
const CreateSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
134
|
+
const CreateSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 9);
|
|
129
135
|
/**
|
|
130
136
|
* Describes the message auth.v1.CreateSubaccountPolicyResponse.
|
|
131
137
|
* Use `create(CreateSubaccountPolicyResponseSchema)` to create a new message.
|
|
132
138
|
*/
|
|
133
|
-
const CreateSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
139
|
+
const CreateSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 10);
|
|
134
140
|
/**
|
|
135
141
|
* Describes the message auth.v1.UpdateSubaccountPolicyRequest.
|
|
136
142
|
* Use `create(UpdateSubaccountPolicyRequestSchema)` to create a new message.
|
|
137
143
|
*/
|
|
138
|
-
const UpdateSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
144
|
+
const UpdateSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 11);
|
|
139
145
|
/**
|
|
140
146
|
* Describes the message auth.v1.UpdateSubaccountPolicyResponse.
|
|
141
147
|
* Use `create(UpdateSubaccountPolicyResponseSchema)` to create a new message.
|
|
142
148
|
*/
|
|
143
|
-
const UpdateSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
149
|
+
const UpdateSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 12);
|
|
144
150
|
/**
|
|
145
151
|
* Describes the message auth.v1.DeleteSubaccountPolicyRequest.
|
|
146
152
|
* Use `create(DeleteSubaccountPolicyRequestSchema)` to create a new message.
|
|
147
153
|
*/
|
|
148
|
-
const DeleteSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
154
|
+
const DeleteSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 13);
|
|
149
155
|
/**
|
|
150
156
|
* Describes the message auth.v1.DeleteSubaccountPolicyResponse.
|
|
151
157
|
* Use `create(DeleteSubaccountPolicyResponseSchema)` to create a new message.
|
|
152
158
|
*/
|
|
153
|
-
const DeleteSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
159
|
+
const DeleteSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 14);
|
|
154
160
|
/**
|
|
155
161
|
* Describes the message auth.v1.SetSubaccountPolicyRequest.
|
|
156
162
|
* Use `create(SetSubaccountPolicyRequestSchema)` to create a new message.
|
|
157
163
|
*/
|
|
158
|
-
const SetSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
164
|
+
const SetSubaccountPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 15);
|
|
159
165
|
/**
|
|
160
166
|
* Describes the message auth.v1.SetSubaccountPolicyResponse.
|
|
161
167
|
* Use `create(SetSubaccountPolicyResponseSchema)` to create a new message.
|
|
162
168
|
*/
|
|
163
|
-
const SetSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
169
|
+
const SetSubaccountPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 16);
|
|
164
170
|
/**
|
|
165
171
|
* Describes the message auth.v1.ApiPolicyView.
|
|
166
172
|
* Use `create(ApiPolicyViewSchema)` to create a new message.
|
|
167
173
|
*/
|
|
168
|
-
const ApiPolicyViewSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
174
|
+
const ApiPolicyViewSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 17);
|
|
169
175
|
/**
|
|
170
176
|
* Describes the message auth.v1.ListApiPoliciesRequest.
|
|
171
177
|
* Use `create(ListApiPoliciesRequestSchema)` to create a new message.
|
|
172
178
|
*/
|
|
173
|
-
const ListApiPoliciesRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
179
|
+
const ListApiPoliciesRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 18);
|
|
174
180
|
/**
|
|
175
181
|
* Describes the message auth.v1.ListApiPoliciesResponse.
|
|
176
182
|
* Use `create(ListApiPoliciesResponseSchema)` to create a new message.
|
|
177
183
|
*/
|
|
178
|
-
const ListApiPoliciesResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
184
|
+
const ListApiPoliciesResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 19);
|
|
179
185
|
/**
|
|
180
186
|
* Describes the message auth.v1.GetApiPolicyRequest.
|
|
181
187
|
* Use `create(GetApiPolicyRequestSchema)` to create a new message.
|
|
182
188
|
*/
|
|
183
|
-
const GetApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
189
|
+
const GetApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 20);
|
|
184
190
|
/**
|
|
185
191
|
* Describes the message auth.v1.GetApiPolicyResponse.
|
|
186
192
|
* Use `create(GetApiPolicyResponseSchema)` to create a new message.
|
|
187
193
|
*/
|
|
188
|
-
const GetApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
194
|
+
const GetApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 21);
|
|
189
195
|
/**
|
|
190
196
|
* Describes the message auth.v1.ApiPolicySpec.
|
|
191
197
|
* Use `create(ApiPolicySpecSchema)` to create a new message.
|
|
192
198
|
*/
|
|
193
|
-
const ApiPolicySpecSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
199
|
+
const ApiPolicySpecSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 22);
|
|
194
200
|
/**
|
|
195
201
|
* Describes the message auth.v1.CreateApiPolicyRequest.
|
|
196
202
|
* Use `create(CreateApiPolicyRequestSchema)` to create a new message.
|
|
197
203
|
*/
|
|
198
|
-
const CreateApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
204
|
+
const CreateApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 23);
|
|
199
205
|
/**
|
|
200
206
|
* Describes the message auth.v1.CreateApiPolicyResponse.
|
|
201
207
|
* Use `create(CreateApiPolicyResponseSchema)` to create a new message.
|
|
202
208
|
*/
|
|
203
|
-
const CreateApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
209
|
+
const CreateApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 24);
|
|
204
210
|
/**
|
|
205
211
|
* Describes the message auth.v1.UpdateApiPolicyRequest.
|
|
206
212
|
* Use `create(UpdateApiPolicyRequestSchema)` to create a new message.
|
|
207
213
|
*/
|
|
208
|
-
const UpdateApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
214
|
+
const UpdateApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 25);
|
|
209
215
|
/**
|
|
210
216
|
* Describes the message auth.v1.UpdateApiPolicyResponse.
|
|
211
217
|
* Use `create(UpdateApiPolicyResponseSchema)` to create a new message.
|
|
212
218
|
*/
|
|
213
|
-
const UpdateApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
219
|
+
const UpdateApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 26);
|
|
214
220
|
/**
|
|
215
221
|
* Describes the message auth.v1.DeleteApiPolicyRequest.
|
|
216
222
|
* Use `create(DeleteApiPolicyRequestSchema)` to create a new message.
|
|
217
223
|
*/
|
|
218
|
-
const DeleteApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
224
|
+
const DeleteApiPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 27);
|
|
219
225
|
/**
|
|
220
226
|
* Describes the message auth.v1.DeleteApiPolicyResponse.
|
|
221
227
|
* Use `create(DeleteApiPolicyResponseSchema)` to create a new message.
|
|
222
228
|
*/
|
|
223
|
-
const DeleteApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
229
|
+
const DeleteApiPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 28);
|
|
224
230
|
/**
|
|
225
231
|
* Describes the message auth.v1.SetApiKeyPolicyRequest.
|
|
226
232
|
* Use `create(SetApiKeyPolicyRequestSchema)` to create a new message.
|
|
227
233
|
*/
|
|
228
|
-
const SetApiKeyPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
234
|
+
const SetApiKeyPolicyRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 29);
|
|
229
235
|
/**
|
|
230
236
|
* Describes the message auth.v1.SetApiKeyPolicyResponse.
|
|
231
237
|
* Use `create(SetApiKeyPolicyResponseSchema)` to create a new message.
|
|
232
238
|
*/
|
|
233
|
-
const SetApiKeyPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies,
|
|
239
|
+
const SetApiKeyPolicyResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_policies, 30);
|
|
234
240
|
/**
|
|
235
241
|
* PolicyAction is a high-level permission that can be granted by a policy.
|
|
236
242
|
* Write-style actions also grant the matching read visibility where needed by
|
|
@@ -312,6 +318,6 @@ const PolicyActionSchema = /*@__PURE__*/ enumDesc(file_auth_v1_policies, 0);
|
|
|
312
318
|
*/
|
|
313
319
|
const PolicyService = /*@__PURE__*/ serviceDesc(file_auth_v1_policies, 0);
|
|
314
320
|
//#endregion
|
|
315
|
-
export { ApiPolicySpecSchema, ApiPolicyViewSchema, CreateApiPolicyRequestSchema, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequestSchema, GetApiPolicyResponseSchema, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequestSchema, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponseSchema, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponseSchema, SpotMarketRuleSchema, SubaccountPolicySpecSchema, SubaccountPolicyViewSchema, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_exports };
|
|
321
|
+
export { ApiPolicySpecSchema, ApiPolicyViewSchema, CreateApiPolicyRequestSchema, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequestSchema, GetApiPolicyResponseSchema, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequestSchema, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponseSchema, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponseSchema, SpotMarketRuleSchema, SpotMarketSelectorSchema, SubaccountPolicySpecSchema, SubaccountPolicyViewSchema, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_exports };
|
|
316
322
|
|
|
317
323
|
//# sourceMappingURL=policies_pb.js.map
|