@polyester/sdk 0.36.0-devnet-20261112202000 → 0.36.0-devnet-20261113022813
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/dist/browser-core.js +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +212 -10
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +164 -74
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +63 -6
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +50 -2
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +11 -3
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +11 -6
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +10 -5
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +7 -2
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +7 -3
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +483 -3
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js +157 -14
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
- package/dist/gen/index.js +20 -20
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +4 -4
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +11 -4
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +11 -4
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +4 -3
- 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/notifications/v1/notifications_pb.d.ts +155 -4
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.js +102 -15
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +19 -11
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +13 -2
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +12 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +7 -2
- 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/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +7 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1 -1
- package/dist/realtime/snapshot-then-stream.js +1 -1
- package/dist/server-core.js +3 -3
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/api-keys/api-keys.codecs.d.ts +14 -0
- package/dist/services/api-keys/api-keys.codecs.d.ts.map +1 -0
- package/dist/services/api-keys/api-keys.codecs.js +13 -1
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +2 -2
- package/dist/services/api-keys/api-keys.js +3 -3
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +46 -12
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +11 -5
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.types.d.ts +2 -1
- package/dist/services/assistant/assistant-events.schemas.d.ts +82 -51
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant-events.schemas.js +20 -2
- package/dist/services/assistant/assistant-events.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.codecs.d.ts +10 -1
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +41 -1
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.js +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +21 -3
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +28 -5
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +2 -2
- package/dist/services/auth/account-signer-auth.js +2 -2
- package/dist/services/auth/auth.js +1 -1
- package/dist/services/auth/profile/profile.js +2 -2
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/candles/candles.js +2 -2
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts +10 -1
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -1
- package/dist/services/changelog/changelog.codecs.js +13 -1
- package/dist/services/changelog/changelog.codecs.js.map +1 -1
- package/dist/services/changelog/changelog.d.ts +14 -1
- package/dist/services/changelog/changelog.d.ts.map +1 -1
- package/dist/services/changelog/changelog.js +23 -2
- package/dist/services/changelog/changelog.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +445 -19
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -1
- package/dist/services/changelog/changelog.schemas.js +94 -5
- package/dist/services/changelog/changelog.schemas.js.map +1 -1
- package/dist/services/changelog/changelog.types.d.ts +3 -3
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.js +1 -1
- package/dist/services/heatmap/heatmap.js +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.js +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +8 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +62 -1
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +3 -3
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +91 -90
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.types.d.ts +2 -2
- package/dist/services/market-data/market-data.js +2 -2
- package/dist/services/market-overview/market-overview.d.ts +1 -1
- package/dist/services/market-overview/market-overview.js +3 -3
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts +8 -2
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
- package/dist/services/notifications/notifications.codecs.js +14 -2
- package/dist/services/notifications/notifications.codecs.js.map +1 -1
- package/dist/services/notifications/notifications.js +1 -1
- package/dist/services/notifications/notifications.schemas.d.ts +92 -3
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
- package/dist/services/notifications/notifications.schemas.js +25 -1
- package/dist/services/notifications/notifications.schemas.js.map +1 -1
- package/dist/services/notifications/notifications.types.d.ts +2 -2
- package/dist/services/orderbook/orderbook.d.ts +2 -2
- package/dist/services/orderbook/orderbook.js +18 -13
- 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/order-errors.schemas.js +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +27 -27
- package/dist/services/orders/orders-batch.schemas.js +2 -2
- package/dist/services/orders/orders-input.schemas.d.ts +3 -3
- package/dist/services/orders/orders-input.schemas.js +2 -2
- package/dist/services/orders/orders-modify.schemas.js +2 -2
- package/dist/services/orders/orders-output.schemas.d.ts +18 -18
- package/dist/services/orders/orders-output.schemas.js +1 -1
- package/dist/services/orders/orders-risk.schemas.js +3 -3
- package/dist/services/orders/orders.js +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/shared.codecs.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
- package/dist/services/price-alerts/price-alerts.js +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
- package/dist/services/rate-limits/rate-limits.js +1 -1
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.js +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +11 -11
- package/dist/services/system/system.js +1 -1
- package/dist/services/trades/trades.js +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +1 -1
- package/dist/services/transfers/transfers.js +2 -2
- package/dist/services/triggers/trigger-child-order.schemas.js +3 -3
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +23 -23
- package/dist/services/triggers/triggers.d.ts +1 -1
- package/dist/services/triggers/triggers.js +3 -3
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.js +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +1 -1
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/ledger-codes.d.ts +5 -3
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/wired-services.js +17 -17
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AutoWithdrawService as AutoWithdrawService$1 } from "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
|
|
2
1
|
import { PolyesterError, RevisionConflictError } from "../../shared/errors.js";
|
|
3
2
|
import { toPolyesterError } from "../../shared/connect-error-mapping.js";
|
|
4
3
|
import { parse } from "../../shared/validation.js";
|
|
5
4
|
import { removeUndefined } from "../../utils/remove-undefined.js";
|
|
6
5
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
7
6
|
import { resolveAccountScopedInput } from "../subaccount-resolver.js";
|
|
7
|
+
import { AutoWithdrawService as AutoWithdrawService$1 } from "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
|
|
8
8
|
import { AutoWithdrawPreviewSchema, AutoWithdrawRuleSchema, AutoWithdrawScopedInputSchema, ListAutoWithdrawRunsInputSchema, ListAutoWithdrawRunsResultSchema, SetAutoWithdrawRuleEnabledInputSchema, SetAutoWithdrawRuleInputSchema } from "./auto-withdraw.schemas.js";
|
|
9
9
|
import { Code, ConnectError, createClient } from "@connectrpc/connect";
|
|
10
10
|
//#region src/services/auto-withdraw/auto-withdraw.ts
|
|
@@ -500,7 +500,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
500
500
|
readonly hi: v.BigintSchema<undefined>;
|
|
501
501
|
readonly lo: v.BigintSchema<undefined>;
|
|
502
502
|
}, undefined>, undefined>;
|
|
503
|
-
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
503
|
+
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted">]>;
|
|
504
504
|
readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
|
|
505
505
|
readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
506
506
|
readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
@@ -524,7 +524,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
524
524
|
hi: bigint;
|
|
525
525
|
lo: bigint;
|
|
526
526
|
} | undefined;
|
|
527
|
-
state: "unspecified" | "
|
|
527
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
528
528
|
reason: AutoWithdrawStepReason | null;
|
|
529
529
|
intentId: string;
|
|
530
530
|
txHash: string;
|
|
@@ -538,7 +538,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
538
538
|
txHash: string | null;
|
|
539
539
|
assetId: number;
|
|
540
540
|
destinationAddress: string;
|
|
541
|
-
state: "unspecified" | "
|
|
541
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
542
542
|
reason: AutoWithdrawStepReason | null;
|
|
543
543
|
}>]>;
|
|
544
544
|
/**
|
|
@@ -559,7 +559,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
559
559
|
seconds: bigint;
|
|
560
560
|
nanos: number;
|
|
561
561
|
}, number>]>;
|
|
562
|
-
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
562
|
+
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped">]>;
|
|
563
563
|
readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawRunReason | null>]>;
|
|
564
564
|
readonly steps: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
565
565
|
readonly assetId: v.NumberSchema<undefined>;
|
|
@@ -581,7 +581,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
581
581
|
readonly hi: v.BigintSchema<undefined>;
|
|
582
582
|
readonly lo: v.BigintSchema<undefined>;
|
|
583
583
|
}, undefined>, undefined>;
|
|
584
|
-
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
584
|
+
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted">]>;
|
|
585
585
|
readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
|
|
586
586
|
readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
587
587
|
readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
@@ -605,7 +605,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
605
605
|
hi: bigint;
|
|
606
606
|
lo: bigint;
|
|
607
607
|
} | undefined;
|
|
608
|
-
state: "unspecified" | "
|
|
608
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
609
609
|
reason: AutoWithdrawStepReason | null;
|
|
610
610
|
intentId: string;
|
|
611
611
|
txHash: string;
|
|
@@ -619,7 +619,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
619
619
|
txHash: string | null;
|
|
620
620
|
assetId: number;
|
|
621
621
|
destinationAddress: string;
|
|
622
|
-
state: "unspecified" | "
|
|
622
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
623
623
|
reason: AutoWithdrawStepReason | null;
|
|
624
624
|
}>]>, undefined>;
|
|
625
625
|
readonly createdAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -640,7 +640,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
640
640
|
runSeq: string;
|
|
641
641
|
ruleVersion: number;
|
|
642
642
|
scheduledFor: number;
|
|
643
|
-
state: "unspecified" | "
|
|
643
|
+
state: "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped";
|
|
644
644
|
reason: AutoWithdrawRunReason | null;
|
|
645
645
|
steps: {
|
|
646
646
|
destinationChainId: number;
|
|
@@ -652,7 +652,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
652
652
|
txHash: string | null;
|
|
653
653
|
assetId: number;
|
|
654
654
|
destinationAddress: string;
|
|
655
|
-
state: "unspecified" | "
|
|
655
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
656
656
|
reason: AutoWithdrawStepReason | null;
|
|
657
657
|
}[];
|
|
658
658
|
createdAt: number;
|
|
@@ -662,7 +662,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
662
662
|
runSeq: string;
|
|
663
663
|
ruleVersion: number;
|
|
664
664
|
scheduledFor: number;
|
|
665
|
-
state: "unspecified" | "
|
|
665
|
+
state: "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped";
|
|
666
666
|
reason: AutoWithdrawRunReason | null;
|
|
667
667
|
steps: {
|
|
668
668
|
destinationChainId: number;
|
|
@@ -674,7 +674,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
674
674
|
txHash: string | null;
|
|
675
675
|
assetId: number;
|
|
676
676
|
destinationAddress: string;
|
|
677
|
-
state: "unspecified" | "
|
|
677
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
678
678
|
reason: AutoWithdrawStepReason | null;
|
|
679
679
|
}[];
|
|
680
680
|
createdAt: number;
|
|
@@ -692,7 +692,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
692
692
|
seconds: bigint;
|
|
693
693
|
nanos: number;
|
|
694
694
|
}, number>]>;
|
|
695
|
-
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
695
|
+
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped">]>;
|
|
696
696
|
readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawRunReason | null>]>;
|
|
697
697
|
readonly steps: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
698
698
|
readonly assetId: v.NumberSchema<undefined>;
|
|
@@ -714,7 +714,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
714
714
|
readonly hi: v.BigintSchema<undefined>;
|
|
715
715
|
readonly lo: v.BigintSchema<undefined>;
|
|
716
716
|
}, undefined>, undefined>;
|
|
717
|
-
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
717
|
+
readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted">]>;
|
|
718
718
|
readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
|
|
719
719
|
readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
720
720
|
readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
@@ -738,7 +738,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
738
738
|
hi: bigint;
|
|
739
739
|
lo: bigint;
|
|
740
740
|
} | undefined;
|
|
741
|
-
state: "unspecified" | "
|
|
741
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
742
742
|
reason: AutoWithdrawStepReason | null;
|
|
743
743
|
intentId: string;
|
|
744
744
|
txHash: string;
|
|
@@ -752,7 +752,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
752
752
|
txHash: string | null;
|
|
753
753
|
assetId: number;
|
|
754
754
|
destinationAddress: string;
|
|
755
|
-
state: "unspecified" | "
|
|
755
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
756
756
|
reason: AutoWithdrawStepReason | null;
|
|
757
757
|
}>]>, undefined>;
|
|
758
758
|
readonly createdAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -773,7 +773,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
773
773
|
runSeq: string;
|
|
774
774
|
ruleVersion: number;
|
|
775
775
|
scheduledFor: number;
|
|
776
|
-
state: "unspecified" | "
|
|
776
|
+
state: "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped";
|
|
777
777
|
reason: AutoWithdrawRunReason | null;
|
|
778
778
|
steps: {
|
|
779
779
|
destinationChainId: number;
|
|
@@ -785,7 +785,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
785
785
|
txHash: string | null;
|
|
786
786
|
assetId: number;
|
|
787
787
|
destinationAddress: string;
|
|
788
|
-
state: "unspecified" | "
|
|
788
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
789
789
|
reason: AutoWithdrawStepReason | null;
|
|
790
790
|
}[];
|
|
791
791
|
createdAt: number;
|
|
@@ -795,7 +795,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
795
795
|
runSeq: string;
|
|
796
796
|
ruleVersion: number;
|
|
797
797
|
scheduledFor: number;
|
|
798
|
-
state: "unspecified" | "
|
|
798
|
+
state: "unspecified" | "failed" | "planned" | "paying" | "completed" | "partially_failed" | "skipped";
|
|
799
799
|
reason: AutoWithdrawRunReason | null;
|
|
800
800
|
steps: {
|
|
801
801
|
destinationChainId: number;
|
|
@@ -807,7 +807,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
|
|
|
807
807
|
txHash: string | null;
|
|
808
808
|
assetId: number;
|
|
809
809
|
destinationAddress: string;
|
|
810
|
-
state: "unspecified" | "
|
|
810
|
+
state: "unspecified" | "failed" | "pending" | "completed" | "skipped" | "submitting" | "submitted";
|
|
811
811
|
reason: AutoWithdrawStepReason | null;
|
|
812
812
|
}[];
|
|
813
813
|
createdAt: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
|
|
2
1
|
import { ValidationError } from "../../shared/errors.js";
|
|
3
2
|
import { PROTOBUF_UINT32_MAX } from "../../shared/wire-bounds.js";
|
|
4
3
|
import { BigIntStringSchema, OptionalTimestampMsSchema, PublicIdOrEmptySchema, TimestampMsSchema, U128Schema } from "../../shared/schemas.js";
|
|
@@ -7,6 +6,7 @@ import { decimalInputToScaled, scaledToDecimalOutput } from "../../shared/decima
|
|
|
7
6
|
import { PositiveUint32InputSchema } from "../shared.js";
|
|
8
7
|
import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
|
|
9
8
|
import { fromU128, toU128 } from "../../utils/u128.js";
|
|
9
|
+
import "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
|
|
10
10
|
import { AUTO_WITHDRAW_WEEKDAY_VALUES, AutoWithdrawCadenceCodec, AutoWithdrawPreviewStatusCodec, AutoWithdrawRunStateCodec, AutoWithdrawStepStateCodec, AutoWithdrawWeekdayCodec } from "./auto-withdraw.codecs.js";
|
|
11
11
|
import * as v from "valibot";
|
|
12
12
|
//#region src/services/auto-withdraw/auto-withdraw.schemas.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AssetBalanceSchema, LedgerReadService } from "../../gen/ledger/read/v1/ledger_read_pb.js";
|
|
2
1
|
import { parse } from "../../shared/validation.js";
|
|
3
2
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
|
+
import { AssetBalanceSchema, LedgerReadService } from "../../gen/ledger/read/v1/ledger_read_pb.js";
|
|
4
4
|
import { resolveAccountScopedInput } from "../subaccount-resolver.js";
|
|
5
5
|
import { accountScopeToSubaccountId } from "../../shared/account-scope.js";
|
|
6
6
|
import { BalanceHistoryInputSchema, BalancesListInputSchema, EquityHistoryInputSchema, PortfolioEquityHistoryInputSchema, createBalanceHistoryResponseSchema, createEquityHistoryResponseSchema, createPortfolioEquityHistoryResponseSchema, createPortfolioEquitySnapshotResponseSchema, formatLedgerBalance } from "./balances.schemas.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CandlePointSchema, MarketDataService } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
2
1
|
import { parse } from "../../shared/validation.js";
|
|
3
2
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
4
3
|
import { SymbolIdInputSchema } from "../shared.js";
|
|
4
|
+
import { CandlePointSchema, MarketDataService } from "../../gen/marketdata/v1/marketdata_pb.js";
|
|
5
5
|
import { TimeframeCodec } from "./candles.codecs.js";
|
|
6
6
|
import { ListCandlesInputSchema, TimeframeSchema, createCandleColumnarIntSchema, createCandleColumnarSchema, formatCandleRow } from "./candles.schemas.js";
|
|
7
7
|
import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
|
|
8
|
-
import * as v from "valibot";
|
|
9
8
|
import { createClient } from "@connectrpc/connect";
|
|
9
|
+
import * as v from "valibot";
|
|
10
10
|
//#region src/services/candles/candles.ts
|
|
11
11
|
const SubscribeCandlesParamsSchema = v.object({
|
|
12
12
|
symbolId: SymbolIdInputSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChainAnalyticsService as ChainAnalyticsService$1 } from "../../gen/chain/analytics/v1/analytics_read_pb.js";
|
|
2
1
|
import { parse } from "../../shared/validation.js";
|
|
3
2
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
3
|
+
import { ChainAnalyticsService as ChainAnalyticsService$1 } from "../../gen/chain/analytics/v1/analytics_read_pb.js";
|
|
4
4
|
import { GetUnifiedAssetBalancesInputSchema, GetZippedAssetSupplyGroupInputSchema, GetZippedAssetSupplyInputSchema, createUnifiedAssetBalancesResponseSchema, createZippedAssetSupplyGroupResponseSchema, createZippedAssetSupplyResponseSchema } from "./chain-analytics.schemas.js";
|
|
5
5
|
import { createClient } from "@connectrpc/connect";
|
|
6
6
|
//#region src/services/chain-analytics/chain-analytics.ts
|
|
@@ -6,8 +6,17 @@ declare const CHANGELOG_AUDIENCE_VALUES: readonly ["all_users", "traders", "mark
|
|
|
6
6
|
type ChangelogAudience = (typeof CHANGELOG_AUDIENCE_VALUES)[number];
|
|
7
7
|
declare const CHANGELOG_SURFACE_VALUES: readonly ["trading", "funding", "accounts", "api", "explorer", "documentation", "platform", "market_data", "quickswap", "rewards", "assistant"];
|
|
8
8
|
type ChangelogSurface = (typeof CHANGELOG_SURFACE_VALUES)[number];
|
|
9
|
+
declare const CHANGELOG_ENVIRONMENT_VALUES: readonly ["devnet", "testnet", "mainnet"];
|
|
10
|
+
type ChangelogEnvironment = (typeof CHANGELOG_ENVIRONMENT_VALUES)[number];
|
|
11
|
+
/**
|
|
12
|
+
* How one change differs from its release in an environment: `ahead` is available while the
|
|
13
|
+
* release is pending, `pending` is not yet available though the release is live, and
|
|
14
|
+
* `unavailable` is not available for now either way.
|
|
15
|
+
*/
|
|
16
|
+
declare const CHANGELOG_CHANGE_AVAILABILITY_VALUES: readonly ["ahead", "pending", "unavailable"];
|
|
17
|
+
type ChangelogChangeAvailability = (typeof CHANGELOG_CHANGE_AVAILABILITY_VALUES)[number];
|
|
9
18
|
declare const CHANGELOG_SORT_VALUES: readonly ["asc", "desc"];
|
|
10
19
|
type ChangelogSort = (typeof CHANGELOG_SORT_VALUES)[number];
|
|
11
20
|
//#endregion
|
|
12
|
-
export { CHANGELOG_AUDIENCE_VALUES, CHANGELOG_CHANGE_CATEGORY_VALUES, CHANGELOG_SORT_VALUES, CHANGELOG_SURFACE_VALUES, ChangelogAudience, ChangelogChangeCategory, ChangelogSort, ChangelogSurface };
|
|
21
|
+
export { CHANGELOG_AUDIENCE_VALUES, CHANGELOG_CHANGE_AVAILABILITY_VALUES, CHANGELOG_CHANGE_CATEGORY_VALUES, CHANGELOG_ENVIRONMENT_VALUES, CHANGELOG_SORT_VALUES, CHANGELOG_SURFACE_VALUES, ChangelogAudience, ChangelogChangeAvailability, ChangelogChangeCategory, ChangelogEnvironment, ChangelogSort, ChangelogSurface };
|
|
13
22
|
//# sourceMappingURL=changelog.codecs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.codecs.d.ts","names":[],"sources":["../../../src/services/changelog/changelog.codecs.ts"],"mappings":";;cAGa;KAMD,kCAAkC;cAEjC;KAMD,4BAA4B;cAE3B;KAaD,2BAA2B;cAE1B;KACD,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"changelog.codecs.d.ts","names":[],"sources":["../../../src/services/changelog/changelog.codecs.ts"],"mappings":";;cAGa;KAMD,kCAAkC;cAEjC;KAMD,4BAA4B;cAE3B;KAaD,2BAA2B;cAE1B;KACD,+BAA+B;;;;;;cAO9B;KACD,sCAAsC;cAErC;KACD,wBAAwB"}
|
|
@@ -89,7 +89,19 @@ const ChangelogSortCodec = { inputToProto: {
|
|
|
89
89
|
asc: 1,
|
|
90
90
|
desc: 2
|
|
91
91
|
} };
|
|
92
|
+
const ChangelogEnvironmentCodec = { protoToOutput: {
|
|
93
|
+
[0]: "unspecified",
|
|
94
|
+
[1]: "devnet",
|
|
95
|
+
[2]: "testnet",
|
|
96
|
+
[3]: "mainnet"
|
|
97
|
+
} };
|
|
98
|
+
const ChangelogChangeAvailabilityCodec = { protoToOutput: {
|
|
99
|
+
[0]: "unspecified",
|
|
100
|
+
[1]: "ahead",
|
|
101
|
+
[2]: "pending",
|
|
102
|
+
[3]: "unavailable"
|
|
103
|
+
} };
|
|
92
104
|
//#endregion
|
|
93
|
-
export { CHANGELOG_AUDIENCE_VALUES, CHANGELOG_CHANGE_CATEGORY_VALUES, CHANGELOG_SORT_VALUES, CHANGELOG_SURFACE_VALUES, ChangelogAudienceCodec, ChangelogChangeCategoryCodec, ChangelogSortCodec, ChangelogSurfaceCodec };
|
|
105
|
+
export { CHANGELOG_AUDIENCE_VALUES, CHANGELOG_CHANGE_CATEGORY_VALUES, CHANGELOG_SORT_VALUES, CHANGELOG_SURFACE_VALUES, ChangelogAudienceCodec, ChangelogChangeAvailabilityCodec, ChangelogChangeCategoryCodec, ChangelogEnvironmentCodec, ChangelogSortCodec, ChangelogSurfaceCodec };
|
|
94
106
|
|
|
95
107
|
//# sourceMappingURL=changelog.codecs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.codecs.js","names":[],"sources":["../../../src/services/changelog/changelog.codecs.ts"],"sourcesContent":["import * as Proto from \"../../gen/changelog/v1/changelog_pb.js\";\nimport type { InputToProto, ProtoToOutput } from \"../../utils/types.js\";\n\nexport const CHANGELOG_CHANGE_CATEGORY_VALUES = [\n \"breaking_change\",\n \"new_feature\",\n \"improvement\",\n \"bug_fix\",\n] as const;\nexport type ChangelogChangeCategory = (typeof CHANGELOG_CHANGE_CATEGORY_VALUES)[number];\n\nexport const CHANGELOG_AUDIENCE_VALUES = [\n \"all_users\",\n \"traders\",\n \"market_makers\",\n \"developers\",\n] as const;\nexport type ChangelogAudience = (typeof CHANGELOG_AUDIENCE_VALUES)[number];\n\nexport const CHANGELOG_SURFACE_VALUES = [\n \"trading\",\n \"funding\",\n \"accounts\",\n \"api\",\n \"explorer\",\n \"documentation\",\n \"platform\",\n \"market_data\",\n \"quickswap\",\n \"rewards\",\n \"assistant\",\n] as const;\nexport type ChangelogSurface = (typeof CHANGELOG_SURFACE_VALUES)[number];\n\nexport const CHANGELOG_SORT_VALUES = [\"asc\", \"desc\"] as const;\nexport type ChangelogSort = (typeof CHANGELOG_SORT_VALUES)[number];\n\nexport const ChangelogChangeCategoryCodec = {\n inputToProto: {\n breaking_change: Proto.ChangeCategory.BREAKING_CHANGE,\n new_feature: Proto.ChangeCategory.NEW_FEATURE,\n improvement: Proto.ChangeCategory.IMPROVEMENT,\n bug_fix: Proto.ChangeCategory.BUG_FIX,\n } satisfies InputToProto<ChangelogChangeCategory, Proto.ChangeCategory>,\n protoToOutput: {\n [Proto.ChangeCategory.CATEGORY_UNSPECIFIED]: \"unspecified\",\n [Proto.ChangeCategory.BREAKING_CHANGE]: \"breaking_change\",\n [Proto.ChangeCategory.NEW_FEATURE]: \"new_feature\",\n [Proto.ChangeCategory.IMPROVEMENT]: \"improvement\",\n [Proto.ChangeCategory.BUG_FIX]: \"bug_fix\",\n } satisfies ProtoToOutput<Proto.ChangeCategory, ChangelogChangeCategory>,\n} as const;\n\nexport const ChangelogAudienceCodec = {\n inputToProto: {\n all_users: Proto.Audience.ALL_USERS,\n traders: Proto.Audience.TRADERS,\n market_makers: Proto.Audience.MARKET_MAKERS,\n developers: Proto.Audience.DEVELOPERS,\n } satisfies InputToProto<ChangelogAudience, Proto.Audience>,\n protoToOutput: {\n [Proto.Audience.AUDIENCE_UNSPECIFIED]: \"unspecified\",\n [Proto.Audience.ALL_USERS]: \"all_users\",\n [Proto.Audience.TRADERS]: \"traders\",\n [Proto.Audience.MARKET_MAKERS]: \"market_makers\",\n [Proto.Audience.DEVELOPERS]: \"developers\",\n } satisfies ProtoToOutput<Proto.Audience, ChangelogAudience>,\n} as const;\n\nexport const ChangelogSurfaceCodec = {\n inputToProto: {\n trading: Proto.Surface.TRADING,\n funding: Proto.Surface.FUNDING,\n accounts: Proto.Surface.ACCOUNTS,\n api: Proto.Surface.API,\n explorer: Proto.Surface.EXPLORER,\n documentation: Proto.Surface.DOCUMENTATION,\n platform: Proto.Surface.PLATFORM,\n market_data: Proto.Surface.MARKET_DATA,\n quickswap: Proto.Surface.QUICKSWAP,\n rewards: Proto.Surface.REWARDS,\n assistant: Proto.Surface.ASSISTANT,\n } satisfies InputToProto<ChangelogSurface, Proto.Surface>,\n protoToOutput: {\n [Proto.Surface.SURFACE_UNSPECIFIED]: \"unspecified\",\n [Proto.Surface.TRADING]: \"trading\",\n [Proto.Surface.FUNDING]: \"funding\",\n [Proto.Surface.ACCOUNTS]: \"accounts\",\n [Proto.Surface.API]: \"api\",\n [Proto.Surface.EXPLORER]: \"explorer\",\n [Proto.Surface.DOCUMENTATION]: \"documentation\",\n [Proto.Surface.PLATFORM]: \"platform\",\n [Proto.Surface.MARKET_DATA]: \"market_data\",\n [Proto.Surface.QUICKSWAP]: \"quickswap\",\n [Proto.Surface.REWARDS]: \"rewards\",\n [Proto.Surface.ASSISTANT]: \"assistant\",\n } satisfies ProtoToOutput<Proto.Surface, ChangelogSurface>,\n} as const;\n\nexport const ChangelogSortCodec = {\n inputToProto: {\n asc: Proto.SortDirection.SORT_ASC,\n desc: Proto.SortDirection.SORT_DESC,\n } satisfies InputToProto<ChangelogSort, Proto.SortDirection>,\n} as const;\n"],"mappings":";;AAGA,MAAa,mCAAmC;CAC5C;CACA;CACA;CACA;AACJ;AAGA,MAAa,4BAA4B;CACrC;CACA;CACA;CACA;AACJ;AAGA,MAAa,2BAA2B;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;
|
|
1
|
+
{"version":3,"file":"changelog.codecs.js","names":[],"sources":["../../../src/services/changelog/changelog.codecs.ts"],"sourcesContent":["import * as Proto from \"../../gen/changelog/v1/changelog_pb.js\";\nimport type { InputToProto, ProtoToOutput } from \"../../utils/types.js\";\n\nexport const CHANGELOG_CHANGE_CATEGORY_VALUES = [\n \"breaking_change\",\n \"new_feature\",\n \"improvement\",\n \"bug_fix\",\n] as const;\nexport type ChangelogChangeCategory = (typeof CHANGELOG_CHANGE_CATEGORY_VALUES)[number];\n\nexport const CHANGELOG_AUDIENCE_VALUES = [\n \"all_users\",\n \"traders\",\n \"market_makers\",\n \"developers\",\n] as const;\nexport type ChangelogAudience = (typeof CHANGELOG_AUDIENCE_VALUES)[number];\n\nexport const CHANGELOG_SURFACE_VALUES = [\n \"trading\",\n \"funding\",\n \"accounts\",\n \"api\",\n \"explorer\",\n \"documentation\",\n \"platform\",\n \"market_data\",\n \"quickswap\",\n \"rewards\",\n \"assistant\",\n] as const;\nexport type ChangelogSurface = (typeof CHANGELOG_SURFACE_VALUES)[number];\n\nexport const CHANGELOG_ENVIRONMENT_VALUES = [\"devnet\", \"testnet\", \"mainnet\"] as const;\nexport type ChangelogEnvironment = (typeof CHANGELOG_ENVIRONMENT_VALUES)[number];\n\n/**\n * How one change differs from its release in an environment: `ahead` is available while the\n * release is pending, `pending` is not yet available though the release is live, and\n * `unavailable` is not available for now either way.\n */\nexport const CHANGELOG_CHANGE_AVAILABILITY_VALUES = [\"ahead\", \"pending\", \"unavailable\"] as const;\nexport type ChangelogChangeAvailability = (typeof CHANGELOG_CHANGE_AVAILABILITY_VALUES)[number];\n\nexport const CHANGELOG_SORT_VALUES = [\"asc\", \"desc\"] as const;\nexport type ChangelogSort = (typeof CHANGELOG_SORT_VALUES)[number];\n\nexport const ChangelogChangeCategoryCodec = {\n inputToProto: {\n breaking_change: Proto.ChangeCategory.BREAKING_CHANGE,\n new_feature: Proto.ChangeCategory.NEW_FEATURE,\n improvement: Proto.ChangeCategory.IMPROVEMENT,\n bug_fix: Proto.ChangeCategory.BUG_FIX,\n } satisfies InputToProto<ChangelogChangeCategory, Proto.ChangeCategory>,\n protoToOutput: {\n [Proto.ChangeCategory.CATEGORY_UNSPECIFIED]: \"unspecified\",\n [Proto.ChangeCategory.BREAKING_CHANGE]: \"breaking_change\",\n [Proto.ChangeCategory.NEW_FEATURE]: \"new_feature\",\n [Proto.ChangeCategory.IMPROVEMENT]: \"improvement\",\n [Proto.ChangeCategory.BUG_FIX]: \"bug_fix\",\n } satisfies ProtoToOutput<Proto.ChangeCategory, ChangelogChangeCategory>,\n} as const;\n\nexport const ChangelogAudienceCodec = {\n inputToProto: {\n all_users: Proto.Audience.ALL_USERS,\n traders: Proto.Audience.TRADERS,\n market_makers: Proto.Audience.MARKET_MAKERS,\n developers: Proto.Audience.DEVELOPERS,\n } satisfies InputToProto<ChangelogAudience, Proto.Audience>,\n protoToOutput: {\n [Proto.Audience.AUDIENCE_UNSPECIFIED]: \"unspecified\",\n [Proto.Audience.ALL_USERS]: \"all_users\",\n [Proto.Audience.TRADERS]: \"traders\",\n [Proto.Audience.MARKET_MAKERS]: \"market_makers\",\n [Proto.Audience.DEVELOPERS]: \"developers\",\n } satisfies ProtoToOutput<Proto.Audience, ChangelogAudience>,\n} as const;\n\nexport const ChangelogSurfaceCodec = {\n inputToProto: {\n trading: Proto.Surface.TRADING,\n funding: Proto.Surface.FUNDING,\n accounts: Proto.Surface.ACCOUNTS,\n api: Proto.Surface.API,\n explorer: Proto.Surface.EXPLORER,\n documentation: Proto.Surface.DOCUMENTATION,\n platform: Proto.Surface.PLATFORM,\n market_data: Proto.Surface.MARKET_DATA,\n quickswap: Proto.Surface.QUICKSWAP,\n rewards: Proto.Surface.REWARDS,\n assistant: Proto.Surface.ASSISTANT,\n } satisfies InputToProto<ChangelogSurface, Proto.Surface>,\n protoToOutput: {\n [Proto.Surface.SURFACE_UNSPECIFIED]: \"unspecified\",\n [Proto.Surface.TRADING]: \"trading\",\n [Proto.Surface.FUNDING]: \"funding\",\n [Proto.Surface.ACCOUNTS]: \"accounts\",\n [Proto.Surface.API]: \"api\",\n [Proto.Surface.EXPLORER]: \"explorer\",\n [Proto.Surface.DOCUMENTATION]: \"documentation\",\n [Proto.Surface.PLATFORM]: \"platform\",\n [Proto.Surface.MARKET_DATA]: \"market_data\",\n [Proto.Surface.QUICKSWAP]: \"quickswap\",\n [Proto.Surface.REWARDS]: \"rewards\",\n [Proto.Surface.ASSISTANT]: \"assistant\",\n } satisfies ProtoToOutput<Proto.Surface, ChangelogSurface>,\n} as const;\n\nexport const ChangelogSortCodec = {\n inputToProto: {\n asc: Proto.SortDirection.SORT_ASC,\n desc: Proto.SortDirection.SORT_DESC,\n } satisfies InputToProto<ChangelogSort, Proto.SortDirection>,\n} as const;\n\nexport const ChangelogEnvironmentCodec = {\n protoToOutput: {\n [Proto.Environment.ENVIRONMENT_UNSPECIFIED]: \"unspecified\",\n [Proto.Environment.DEVNET]: \"devnet\",\n [Proto.Environment.TESTNET]: \"testnet\",\n [Proto.Environment.MAINNET]: \"mainnet\",\n } satisfies ProtoToOutput<Proto.Environment, ChangelogEnvironment>,\n} as const;\n\nexport const ChangelogChangeAvailabilityCodec = {\n protoToOutput: {\n [Proto.ChangeAvailability.AVAILABILITY_UNSPECIFIED]: \"unspecified\",\n [Proto.ChangeAvailability.AHEAD]: \"ahead\",\n [Proto.ChangeAvailability.PENDING]: \"pending\",\n [Proto.ChangeAvailability.UNAVAILABLE]: \"unavailable\",\n } satisfies ProtoToOutput<Proto.ChangeAvailability, ChangelogChangeAvailability>,\n} as const;\n"],"mappings":";;AAGA,MAAa,mCAAmC;CAC5C;CACA;CACA;CACA;AACJ;AAGA,MAAa,4BAA4B;CACrC;CACA;CACA;CACA;AACJ;AAGA,MAAa,2BAA2B;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;AAcA,MAAa,wBAAwB,CAAC,OAAO,MAAM;AAGnD,MAAa,+BAA+B;CACxC,cAAc;EACV,iBAAA;EACA,aAAA;EACA,aAAA;EACA,SAAA;CACJ;CACA,eAAe;GACkC,IAAA;GACL,IAAA;GACJ,IAAA;GACA,IAAA;GACJ,IAAA;CACpC;AACJ;AAEA,MAAa,yBAAyB;CAClC,cAAc;EACV,WAAA;EACA,SAAA;EACA,eAAA;EACA,YAAA;CACJ;CACA,eAAe;GAC4B,IAAA;GACX,IAAA;GACF,IAAA;GACM,IAAA;GACH,IAAA;CACjC;AACJ;AAEA,MAAa,wBAAwB;CACjC,cAAc;EACV,SAAA;EACA,SAAA;EACA,UAAA;EACA,KAAA;EACA,UAAA;EACA,eAAA;EACA,UAAA;EACA,aAAA;EACA,WAAA;EACA,SAAA;EACA,WAAA;CACJ;CACA,eAAe;GAC0B,IAAA;GACZ,IAAA;GACA,IAAA;GACC,IAAA;GACL,IAAA;GACK,IAAA;GACK,IAAA;GACL,IAAA;GACG,IAAA;GACF,IAAA;GACF,KAAA;GACE,KAAA;CAC/B;AACJ;AAEA,MAAa,qBAAqB,EAC9B,cAAc;CACV,KAAA;CACA,MAAA;AACJ,EACJ;AAEA,MAAa,4BAA4B,EACrC,eAAe;EACkC,IAAA;EACjB,IAAA;EACC,IAAA;EACA,IAAA;AACjC,EACJ;AAEA,MAAa,mCAAmC,EAC5C,eAAe;EAC0C,IAAA;EACnB,IAAA;EACE,IAAA;EACI,IAAA;AAC5C,EACJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicApiTransports } from "../../shared/transports.js";
|
|
2
2
|
import { PolyesterRequestOptions } from "../../shared/request-options.js";
|
|
3
|
-
import { ChangelogPost, GetChangelogPostInput, ListChangelogChangesInput, ListChangelogChangesResult, ListChangelogPostsInput, ListChangelogPostsResult } from "./changelog.schemas.js";
|
|
3
|
+
import { ChangelogDeploymentGroup, ChangelogPost, GetChangelogDeploymentGroupInput, GetChangelogPostInput, ListChangelogChangesInput, ListChangelogChangesResult, ListChangelogDeploymentGroupsInput, ListChangelogDeploymentGroupsResult, ListChangelogPostsInput, ListChangelogPostsResult } from "./changelog.schemas.js";
|
|
4
4
|
//#region src/services/changelog/changelog.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Reads the product changelog published for the environment the client calls. Public and
|
|
@@ -33,6 +33,19 @@ declare class ChangelogService {
|
|
|
33
33
|
* by `id`, which stays the same across revisions.
|
|
34
34
|
*/
|
|
35
35
|
listChanges(input?: ListChangelogChangesInput, options?: PolyesterRequestOptions): Promise<ListChangelogChangesResult>;
|
|
36
|
+
/**
|
|
37
|
+
* Lists this environment's deployment groups newest first: each deployment that brought new
|
|
38
|
+
* releases, with the release posts it brought. Pass the previous `nextPageToken` as
|
|
39
|
+
* `pageToken` to continue; an empty `nextPageToken` means no more groups. Empty until the
|
|
40
|
+
* environment publishes release posts.
|
|
41
|
+
*/
|
|
42
|
+
listDeploymentGroups(input?: ListChangelogDeploymentGroupsInput, options?: PolyesterRequestOptions): Promise<ListChangelogDeploymentGroupsResult>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns one deployment group by slug, for example `"testnet-v0.92.9"`, with the changes
|
|
45
|
+
* that need attention and the highlights of its release posts. An unknown slug throws a
|
|
46
|
+
* not-found error.
|
|
47
|
+
*/
|
|
48
|
+
getDeploymentGroup(input: GetChangelogDeploymentGroupInput, options?: PolyesterRequestOptions): Promise<ChangelogDeploymentGroup>;
|
|
36
49
|
}
|
|
37
50
|
//#endregion
|
|
38
51
|
export { ChangelogService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.d.ts","names":[],"sources":["../../../src/services/changelog/changelog.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"changelog.d.ts","names":[],"sources":["../../../src/services/changelog/changelog.ts"],"mappings":";;;;;;;;;cAoCa;;EAGG,YAAA,YAAY;;;;;;;EAUlB,UACF,QAAO,yBACP,UAAU,0BACX,QAAQ;;;;;;;EAYL,QACF,OAAO,uBACP,UAAU,0BACX,QAAQ;;;;;;;;;EAcL,YACF,QAAO,2BACP,UAAU,0BACX,QAAQ;;;;;;;EAYL,qBACF,QAAO,oCACP,UAAU,0BACX,QAAQ;;;;;;EAcL,mBACF,OAAO,kCACP,UAAU,0BACX,QAAQ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChangelogService as ChangelogService$1 } from "../../gen/changelog/v1/changelog_pb.js";
|
|
2
1
|
import { parse } from "../../shared/validation.js";
|
|
3
2
|
import { toConnectCallOptions } from "../../shared/request-options.js";
|
|
4
|
-
import {
|
|
3
|
+
import { ChangelogService as ChangelogService$1 } from "../../gen/changelog/v1/changelog_pb.js";
|
|
4
|
+
import { GetChangelogDeploymentGroupInputSchema, GetChangelogDeploymentGroupResultSchema, GetChangelogPostInputSchema, GetChangelogPostResultSchema, ListChangelogChangesInputSchema, ListChangelogChangesResultSchema, ListChangelogDeploymentGroupsInputSchema, ListChangelogDeploymentGroupsResultSchema, ListChangelogPostsInputSchema, ListChangelogPostsResultSchema } from "./changelog.schemas.js";
|
|
5
5
|
import { createClient } from "@connectrpc/connect";
|
|
6
6
|
//#region src/services/changelog/changelog.ts
|
|
7
7
|
/**
|
|
@@ -49,6 +49,27 @@ var ChangelogService = class {
|
|
|
49
49
|
const response = await this.#client.listChanges(request, toConnectCallOptions(options));
|
|
50
50
|
return parse(ListChangelogChangesResultSchema, response);
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Lists this environment's deployment groups newest first: each deployment that brought new
|
|
54
|
+
* releases, with the release posts it brought. Pass the previous `nextPageToken` as
|
|
55
|
+
* `pageToken` to continue; an empty `nextPageToken` means no more groups. Empty until the
|
|
56
|
+
* environment publishes release posts.
|
|
57
|
+
*/
|
|
58
|
+
async listDeploymentGroups(input = {}, options) {
|
|
59
|
+
const request = parse(ListChangelogDeploymentGroupsInputSchema, input);
|
|
60
|
+
const response = await this.#client.listDeploymentGroups(request, toConnectCallOptions(options));
|
|
61
|
+
return parse(ListChangelogDeploymentGroupsResultSchema, response);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns one deployment group by slug, for example `"testnet-v0.92.9"`, with the changes
|
|
65
|
+
* that need attention and the highlights of its release posts. An unknown slug throws a
|
|
66
|
+
* not-found error.
|
|
67
|
+
*/
|
|
68
|
+
async getDeploymentGroup(input, options) {
|
|
69
|
+
const request = parse(GetChangelogDeploymentGroupInputSchema, input);
|
|
70
|
+
const response = await this.#client.getDeploymentGroup(request, toConnectCallOptions(options));
|
|
71
|
+
return parse(GetChangelogDeploymentGroupResultSchema, response).group;
|
|
72
|
+
}
|
|
52
73
|
};
|
|
53
74
|
//#endregion
|
|
54
75
|
export { ChangelogService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.js","names":["#client","Proto.ChangelogService"],"sources":["../../../src/services/changelog/changelog.ts"],"sourcesContent":["import { createClient, type Client } from \"@connectrpc/connect\";\nimport * as Proto from \"../../gen/changelog/v1/changelog_pb.js\";\nimport {\n toConnectCallOptions,\n type PolyesterRequestOptions,\n} from \"../../shared/request-options.js\";\nimport type { PublicApiTransports } from \"../../shared/transports.js\";\nimport { parse } from \"../../shared/validation.js\";\nimport {\n GetChangelogPostInputSchema,\n GetChangelogPostResultSchema,\n ListChangelogChangesInputSchema,\n ListChangelogChangesResultSchema,\n ListChangelogPostsInputSchema,\n ListChangelogPostsResultSchema,\n type ChangelogPost,\n type GetChangelogPostInput,\n type ListChangelogChangesInput,\n type ListChangelogChangesResult,\n type ListChangelogPostsInput,\n type ListChangelogPostsResult,\n} from \"./changelog.schemas.js\";\n\n/**\n * Reads the product changelog published for the environment the client calls. Public and\n * read-only: no authentication, cacheable GET requests, rate-limited per client address.\n * Enum values the SDK does not know decode as `\"unspecified\"`.\n */\nexport class ChangelogService {\n #client: Client<typeof Proto.ChangelogService>;\n\n constructor(transports: PublicApiTransports) {\n this.#client = createClient(Proto.ChangelogService, transports.publicApi);\n }\n\n /**\n * Lists post summaries newest first, with change counts by kind. Pass the previous\n * `nextPageToken` as `pageToken` to continue; an empty `nextPageToken` means no more posts.\n * Use `limit: 1` to poll for the latest post. To follow edits to published posts, read a\n * post again when its `revision` differs from the one you hold.\n */\n async listPosts(\n input: ListChangelogPostsInput = {},\n options?: PolyesterRequestOptions,\n ): Promise<ListChangelogPostsResult> {\n const request = parse(ListChangelogPostsInputSchema, input);\n const response = await this.#client.listPosts(request, toConnectCallOptions(options));\n return parse(ListChangelogPostsResultSchema, response);\n }\n\n /**\n * Returns one post at its current revision, with every section and change. A slug is the post's coverage cutoff date,\n * `YYYY-MM-DD`, with `-2`, `-3` for later posts on the same day. An unknown slug throws a\n * not-found error. Large posts can hold hundreds of changes; page them with `listChanges`\n * and `postSlug` instead.\n */\n async getPost(\n input: GetChangelogPostInput,\n options?: PolyesterRequestOptions,\n ): Promise<ChangelogPost> {\n const request = parse(GetChangelogPostInputSchema, input);\n const response = await this.#client.getPost(request, toConnectCallOptions(options));\n return parse(GetChangelogPostResultSchema, response).post;\n }\n\n /**\n * Lists individual changes across posts, posts newest first unless `sort` is `\"asc\"`;\n * changes keep publication order inside each post. Changes addressed to `all_users` match\n * every `audiences` filter. Reuse a `pageToken` only with the same filters, time bounds and\n * sort. When the post a `pageToken` points into was republished since, paging restarts at\n * that post's first change, so changes you already received can appear again: deduplicate\n * by `id`, which stays the same across revisions.\n */\n async listChanges(\n input: ListChangelogChangesInput = {},\n options?: PolyesterRequestOptions,\n ): Promise<ListChangelogChangesResult> {\n const request = parse(ListChangelogChangesInputSchema, input);\n const response = await this.#client.listChanges(request, toConnectCallOptions(options));\n return parse(ListChangelogChangesResultSchema, response);\n }\n}\n"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"changelog.js","names":["#client","Proto.ChangelogService"],"sources":["../../../src/services/changelog/changelog.ts"],"sourcesContent":["import { createClient, type Client } from \"@connectrpc/connect\";\nimport * as Proto from \"../../gen/changelog/v1/changelog_pb.js\";\nimport {\n toConnectCallOptions,\n type PolyesterRequestOptions,\n} from \"../../shared/request-options.js\";\nimport type { PublicApiTransports } from \"../../shared/transports.js\";\nimport { parse } from \"../../shared/validation.js\";\nimport {\n GetChangelogDeploymentGroupInputSchema,\n GetChangelogDeploymentGroupResultSchema,\n GetChangelogPostInputSchema,\n GetChangelogPostResultSchema,\n ListChangelogChangesInputSchema,\n ListChangelogChangesResultSchema,\n ListChangelogDeploymentGroupsInputSchema,\n ListChangelogDeploymentGroupsResultSchema,\n ListChangelogPostsInputSchema,\n ListChangelogPostsResultSchema,\n type ChangelogDeploymentGroup,\n type ChangelogPost,\n type GetChangelogDeploymentGroupInput,\n type GetChangelogPostInput,\n type ListChangelogChangesInput,\n type ListChangelogChangesResult,\n type ListChangelogDeploymentGroupsInput,\n type ListChangelogDeploymentGroupsResult,\n type ListChangelogPostsInput,\n type ListChangelogPostsResult,\n} from \"./changelog.schemas.js\";\n\n/**\n * Reads the product changelog published for the environment the client calls. Public and\n * read-only: no authentication, cacheable GET requests, rate-limited per client address.\n * Enum values the SDK does not know decode as `\"unspecified\"`.\n */\nexport class ChangelogService {\n #client: Client<typeof Proto.ChangelogService>;\n\n constructor(transports: PublicApiTransports) {\n this.#client = createClient(Proto.ChangelogService, transports.publicApi);\n }\n\n /**\n * Lists post summaries newest first, with change counts by kind. Pass the previous\n * `nextPageToken` as `pageToken` to continue; an empty `nextPageToken` means no more posts.\n * Use `limit: 1` to poll for the latest post. To follow edits to published posts, read a\n * post again when its `revision` differs from the one you hold.\n */\n async listPosts(\n input: ListChangelogPostsInput = {},\n options?: PolyesterRequestOptions,\n ): Promise<ListChangelogPostsResult> {\n const request = parse(ListChangelogPostsInputSchema, input);\n const response = await this.#client.listPosts(request, toConnectCallOptions(options));\n return parse(ListChangelogPostsResultSchema, response);\n }\n\n /**\n * Returns one post at its current revision, with every section and change. A slug is the post's coverage cutoff date,\n * `YYYY-MM-DD`, with `-2`, `-3` for later posts on the same day. An unknown slug throws a\n * not-found error. Large posts can hold hundreds of changes; page them with `listChanges`\n * and `postSlug` instead.\n */\n async getPost(\n input: GetChangelogPostInput,\n options?: PolyesterRequestOptions,\n ): Promise<ChangelogPost> {\n const request = parse(GetChangelogPostInputSchema, input);\n const response = await this.#client.getPost(request, toConnectCallOptions(options));\n return parse(GetChangelogPostResultSchema, response).post;\n }\n\n /**\n * Lists individual changes across posts, posts newest first unless `sort` is `\"asc\"`;\n * changes keep publication order inside each post. Changes addressed to `all_users` match\n * every `audiences` filter. Reuse a `pageToken` only with the same filters, time bounds and\n * sort. When the post a `pageToken` points into was republished since, paging restarts at\n * that post's first change, so changes you already received can appear again: deduplicate\n * by `id`, which stays the same across revisions.\n */\n async listChanges(\n input: ListChangelogChangesInput = {},\n options?: PolyesterRequestOptions,\n ): Promise<ListChangelogChangesResult> {\n const request = parse(ListChangelogChangesInputSchema, input);\n const response = await this.#client.listChanges(request, toConnectCallOptions(options));\n return parse(ListChangelogChangesResultSchema, response);\n }\n\n /**\n * Lists this environment's deployment groups newest first: each deployment that brought new\n * releases, with the release posts it brought. Pass the previous `nextPageToken` as\n * `pageToken` to continue; an empty `nextPageToken` means no more groups. Empty until the\n * environment publishes release posts.\n */\n async listDeploymentGroups(\n input: ListChangelogDeploymentGroupsInput = {},\n options?: PolyesterRequestOptions,\n ): Promise<ListChangelogDeploymentGroupsResult> {\n const request = parse(ListChangelogDeploymentGroupsInputSchema, input);\n const response = await this.#client.listDeploymentGroups(\n request,\n toConnectCallOptions(options),\n );\n return parse(ListChangelogDeploymentGroupsResultSchema, response);\n }\n\n /**\n * Returns one deployment group by slug, for example `\"testnet-v0.92.9\"`, with the changes\n * that need attention and the highlights of its release posts. An unknown slug throws a\n * not-found error.\n */\n async getDeploymentGroup(\n input: GetChangelogDeploymentGroupInput,\n options?: PolyesterRequestOptions,\n ): Promise<ChangelogDeploymentGroup> {\n const request = parse(GetChangelogDeploymentGroupInputSchema, input);\n const response = await this.#client.getDeploymentGroup(\n request,\n toConnectCallOptions(options),\n );\n return parse(GetChangelogDeploymentGroupResultSchema, response).group;\n }\n}\n"],"mappings":";;;;;;;;;;;AAoCA,IAAa,mBAAb,MAA8B;CAC1B;CAEA,YAAY,YAAiC;EACzC,KAAKA,UAAU,aAAaC,oBAAwB,WAAW,SAAS;CAC5E;;;;;;;CAQA,MAAM,UACF,QAAiC,CAAC,GAClC,SACiC;EACjC,MAAM,UAAU,MAAM,+BAA+B,KAAK;EAC1D,MAAM,WAAW,MAAM,KAAKD,QAAQ,UAAU,SAAS,qBAAqB,OAAO,CAAC;EACpF,OAAO,MAAM,gCAAgC,QAAQ;CACzD;;;;;;;CAQA,MAAM,QACF,OACA,SACsB;EACtB,MAAM,UAAU,MAAM,6BAA6B,KAAK;EACxD,MAAM,WAAW,MAAM,KAAKA,QAAQ,QAAQ,SAAS,qBAAqB,OAAO,CAAC;EAClF,OAAO,MAAM,8BAA8B,QAAQ,CAAC,CAAC;CACzD;;;;;;;;;CAUA,MAAM,YACF,QAAmC,CAAC,GACpC,SACmC;EACnC,MAAM,UAAU,MAAM,iCAAiC,KAAK;EAC5D,MAAM,WAAW,MAAM,KAAKA,QAAQ,YAAY,SAAS,qBAAqB,OAAO,CAAC;EACtF,OAAO,MAAM,kCAAkC,QAAQ;CAC3D;;;;;;;CAQA,MAAM,qBACF,QAA4C,CAAC,GAC7C,SAC4C;EAC5C,MAAM,UAAU,MAAM,0CAA0C,KAAK;EACrE,MAAM,WAAW,MAAM,KAAKA,QAAQ,qBAChC,SACA,qBAAqB,OAAO,CAChC;EACA,OAAO,MAAM,2CAA2C,QAAQ;CACpE;;;;;;CAOA,MAAM,mBACF,OACA,SACiC;EACjC,MAAM,UAAU,MAAM,wCAAwC,KAAK;EACnE,MAAM,WAAW,MAAM,KAAKA,QAAQ,mBAChC,SACA,qBAAqB,OAAO,CAChC;EACA,OAAO,MAAM,yCAAyC,QAAQ,CAAC,CAAC;CACpE;AACJ"}
|