@polyester/sdk 0.36.0-devnet-20261119195411 → 0.36.0-devnet-20261120015159
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 +16 -2
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +55 -3
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +8 -1
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/auth/v1/account_scope_pb.d.ts +40 -0
- package/dist/gen/auth/v1/account_scope_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/account_scope_pb.js +46 -0
- package/dist/gen/auth/v1/account_scope_pb.js.map +1 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts +3 -31
- package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +8 -38
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +15 -14
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +16 -15
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.d.ts +59 -58
- package/dist/gen/auth/v1/connected_apps_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.js +38 -37
- package/dist/gen/auth/v1/connected_apps_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +27 -1
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +27 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +228 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +32 -8
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +16 -4
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/index.d.ts +7 -5
- package/dist/gen/index.js +7 -5
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +288 -2
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +115 -2
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +78 -25
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +36 -7
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +35 -1
- 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/strategies/v1/strategies_pb.d.ts +2928 -0
- package/dist/gen/strategies/v1/strategies_pb.d.ts.map +1 -0
- package/dist/gen/strategies/v1/strategies_pb.js +818 -0
- package/dist/gen/strategies/v1/strategies_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +38 -17
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +312 -132
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +31 -26
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +28 -13
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +2 -2
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +109 -2
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +23 -3
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +3 -2
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +61 -11
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +4 -2
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/services/account-activity/account-activity.schemas.d.ts +6 -6
- package/dist/services/address-book/address-book.codecs.js +1 -0
- package/dist/services/address-book/address-book.codecs.js.map +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +6 -6
- package/dist/services/assistant/assistant-events.schemas.d.ts +138 -40
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant-events.schemas.js +15 -5
- package/dist/services/assistant/assistant-events.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.codecs.d.ts +5 -2
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +10 -2
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +2 -2
- package/dist/services/auth/auth.js +1 -1
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +9 -9
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/connected-apps/connected-apps.d.ts +4 -4
- package/dist/services/connected-apps/connected-apps.d.ts.map +1 -1
- package/dist/services/connected-apps/connected-apps.js +13 -13
- package/dist/services/connected-apps/connected-apps.js.map +1 -1
- package/dist/services/connected-apps/connected-apps.schemas.d.ts +7 -7
- package/dist/services/connected-apps/connected-apps.schemas.d.ts.map +1 -1
- package/dist/services/connected-apps/connected-apps.schemas.js +10 -10
- package/dist/services/connected-apps/connected-apps.schemas.js.map +1 -1
- package/dist/services/connected-apps/connected-apps.types.d.ts +2 -2
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +6 -6
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +79 -79
- package/dist/services/market-data/market-data.codecs.d.ts +9 -1
- package/dist/services/market-data/market-data.codecs.d.ts.map +1 -1
- package/dist/services/market-data/market-data.codecs.js +14 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +9 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +14 -1
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +40 -2
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +43 -8
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +3 -3
- package/dist/services/notifications/notifications.schemas.d.ts +4 -4
- package/dist/services/orders/order-errors.schemas.d.ts +6 -6
- package/dist/services/orders/orders-batch.schemas.d.ts +67 -67
- package/dist/services/orders/orders-input.schemas.d.ts +10 -10
- package/dist/services/orders/orders-output.schemas.d.ts +16 -16
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders.d.ts +5 -0
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +5 -0
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +13 -4
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/strategies/service.d.ts +8 -0
- package/dist/services/strategies/service.d.ts.map +1 -0
- package/dist/services/strategies/service.js +9 -0
- package/dist/services/strategies/service.js.map +1 -0
- package/dist/services/strategies/strategies.codecs.d.ts +15 -0
- package/dist/services/strategies/strategies.codecs.d.ts.map +1 -0
- package/dist/services/strategies/strategies.codecs.js +50 -0
- package/dist/services/strategies/strategies.codecs.js.map +1 -0
- package/dist/services/strategies/strategies.d.ts +75 -0
- package/dist/services/strategies/strategies.d.ts.map +1 -0
- package/dist/services/strategies/strategies.js +135 -0
- package/dist/services/strategies/strategies.js.map +1 -0
- package/dist/services/strategies/strategies.schemas.d.ts +568 -0
- package/dist/services/strategies/strategies.schemas.d.ts.map +1 -0
- package/dist/services/strategies/strategies.schemas.js +408 -0
- package/dist/services/strategies/strategies.schemas.js.map +1 -0
- package/dist/services/strategies/strategies.types.d.ts +3 -0
- package/dist/services/subaccounts/subaccounts.js +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +20 -20
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +29 -2
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +74 -11
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +85 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +56 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +3 -3
- package/dist/services/trading-withdraws/wallet-message.js +29 -1
- package/dist/services/trading-withdraws/wallet-message.js.map +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +39 -39
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +5 -0
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +25 -2
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +1 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/strategies.js +36 -0
- package/dist/shared/error-details/strategies.js.map +1 -0
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +6 -4
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,16 +4,16 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2
|
|
|
4
4
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
5
|
//#region src/gen/auth/v1/connected_apps_pb.ts
|
|
6
6
|
var connected_apps_pb_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
AppConnectionRequestSchema: () => AppConnectionRequestSchema,
|
|
8
|
+
ApproveAppConnectionRequestRequestSchema: () => ApproveAppConnectionRequestRequestSchema,
|
|
9
|
+
ApproveAppConnectionRequestResponseSchema: () => ApproveAppConnectionRequestResponseSchema,
|
|
10
10
|
ConnectedAppClientSchema: () => ConnectedAppClientSchema,
|
|
11
11
|
ConnectedAppSchema: () => ConnectedAppSchema,
|
|
12
12
|
ConnectedAppService: () => ConnectedAppService,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
DenyAppConnectionRequestRequestSchema: () => DenyAppConnectionRequestRequestSchema,
|
|
14
|
+
DenyAppConnectionRequestResponseSchema: () => DenyAppConnectionRequestResponseSchema,
|
|
15
|
+
GetAppConnectionRequestRequestSchema: () => GetAppConnectionRequestRequestSchema,
|
|
16
|
+
GetAppConnectionRequestResponseSchema: () => GetAppConnectionRequestResponseSchema,
|
|
17
17
|
ListConnectedAppsRequestSchema: () => ListConnectedAppsRequestSchema,
|
|
18
18
|
ListConnectedAppsResponseSchema: () => ListConnectedAppsResponseSchema,
|
|
19
19
|
RevokeConnectedAppRequestSchema: () => RevokeConnectedAppRequestSchema,
|
|
@@ -23,52 +23,52 @@ var connected_apps_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
23
23
|
/**
|
|
24
24
|
* Describes the file auth/v1/connected_apps.proto.
|
|
25
25
|
*/
|
|
26
|
-
const file_auth_v1_connected_apps = /*@__PURE__*/ fileDesc("
|
|
26
|
+
const file_auth_v1_connected_apps = /*@__PURE__*/ fileDesc("ChxhdXRoL3YxL2Nvbm5lY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1dGgudjEuUmV2b2tlQ29ubmVjdGVkQXBwUmVxdWVzdBojLmF1dGgudjEuUmV2b2tlQ29ubmVjdGVkQXBwUmVzcG9uc2UiA5ACAhoAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
27
27
|
/**
|
|
28
28
|
* Describes the message auth.v1.ConnectedAppClient.
|
|
29
29
|
* Use `create(ConnectedAppClientSchema)` to create a new message.
|
|
30
30
|
*/
|
|
31
31
|
const ConnectedAppClientSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 0);
|
|
32
32
|
/**
|
|
33
|
-
* Describes the message auth.v1.
|
|
34
|
-
* Use `create(
|
|
33
|
+
* Describes the message auth.v1.AppConnectionRequest.
|
|
34
|
+
* Use `create(AppConnectionRequestSchema)` to create a new message.
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const AppConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 1);
|
|
37
37
|
/**
|
|
38
38
|
* Describes the message auth.v1.ConnectedApp.
|
|
39
39
|
* Use `create(ConnectedAppSchema)` to create a new message.
|
|
40
40
|
*/
|
|
41
41
|
const ConnectedAppSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 2);
|
|
42
42
|
/**
|
|
43
|
-
* Describes the message auth.v1.
|
|
44
|
-
* Use `create(
|
|
43
|
+
* Describes the message auth.v1.GetAppConnectionRequestRequest.
|
|
44
|
+
* Use `create(GetAppConnectionRequestRequestSchema)` to create a new message.
|
|
45
45
|
*/
|
|
46
|
-
const
|
|
46
|
+
const GetAppConnectionRequestRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 3);
|
|
47
47
|
/**
|
|
48
|
-
* Describes the message auth.v1.
|
|
49
|
-
* Use `create(
|
|
48
|
+
* Describes the message auth.v1.GetAppConnectionRequestResponse.
|
|
49
|
+
* Use `create(GetAppConnectionRequestResponseSchema)` to create a new message.
|
|
50
50
|
*/
|
|
51
|
-
const
|
|
51
|
+
const GetAppConnectionRequestResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 4);
|
|
52
52
|
/**
|
|
53
|
-
* Describes the message auth.v1.
|
|
54
|
-
* Use `create(
|
|
53
|
+
* Describes the message auth.v1.ApproveAppConnectionRequestRequest.
|
|
54
|
+
* Use `create(ApproveAppConnectionRequestRequestSchema)` to create a new message.
|
|
55
55
|
*/
|
|
56
|
-
const
|
|
56
|
+
const ApproveAppConnectionRequestRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 5);
|
|
57
57
|
/**
|
|
58
|
-
* Describes the message auth.v1.
|
|
59
|
-
* Use `create(
|
|
58
|
+
* Describes the message auth.v1.ApproveAppConnectionRequestResponse.
|
|
59
|
+
* Use `create(ApproveAppConnectionRequestResponseSchema)` to create a new message.
|
|
60
60
|
*/
|
|
61
|
-
const
|
|
61
|
+
const ApproveAppConnectionRequestResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 6);
|
|
62
62
|
/**
|
|
63
|
-
* Describes the message auth.v1.
|
|
64
|
-
* Use `create(
|
|
63
|
+
* Describes the message auth.v1.DenyAppConnectionRequestRequest.
|
|
64
|
+
* Use `create(DenyAppConnectionRequestRequestSchema)` to create a new message.
|
|
65
65
|
*/
|
|
66
|
-
const
|
|
66
|
+
const DenyAppConnectionRequestRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 7);
|
|
67
67
|
/**
|
|
68
|
-
* Describes the message auth.v1.
|
|
69
|
-
* Use `create(
|
|
68
|
+
* Describes the message auth.v1.DenyAppConnectionRequestResponse.
|
|
69
|
+
* Use `create(DenyAppConnectionRequestResponseSchema)` to create a new message.
|
|
70
70
|
*/
|
|
71
|
-
const
|
|
71
|
+
const DenyAppConnectionRequestResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 8);
|
|
72
72
|
/**
|
|
73
73
|
* Describes the message auth.v1.ListConnectedAppsRequest.
|
|
74
74
|
* Use `create(ListConnectedAppsRequestSchema)` to create a new message.
|
|
@@ -90,18 +90,19 @@ const RevokeConnectedAppRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_c
|
|
|
90
90
|
*/
|
|
91
91
|
const RevokeConnectedAppResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_connected_apps, 12);
|
|
92
92
|
/**
|
|
93
|
-
* ConnectedAppService connects outside apps, such as an AI assistant,
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* website does not
|
|
93
|
+
* ConnectedAppService connects outside apps, such as an AI assistant, a
|
|
94
|
+
* spreadsheet, a portfolio tracker or another tool, to the account with OAuth
|
|
95
|
+
* ("Sign in with Polyester"), and lists and disconnects them. A connected app
|
|
96
|
+
* uses the account as the signed-in website does, for the scopes the account
|
|
97
|
+
* granted; it never moves money out of the account and never changes its
|
|
98
|
+
* security settings. A connection lasts until the account or the app
|
|
99
|
+
* disconnects it, or until it expires; signing out of the website does not
|
|
100
|
+
* end it.
|
|
100
101
|
*
|
|
101
102
|
* @generated from service auth.v1.ConnectedAppService
|
|
102
103
|
*/
|
|
103
104
|
const ConnectedAppService = /*@__PURE__*/ serviceDesc(file_auth_v1_connected_apps, 0);
|
|
104
105
|
//#endregion
|
|
105
|
-
export {
|
|
106
|
+
export { AppConnectionRequestSchema, ApproveAppConnectionRequestRequestSchema, ApproveAppConnectionRequestResponseSchema, ConnectedAppClientSchema, ConnectedAppSchema, ConnectedAppService, DenyAppConnectionRequestRequestSchema, DenyAppConnectionRequestResponseSchema, GetAppConnectionRequestRequestSchema, GetAppConnectionRequestResponseSchema, ListConnectedAppsRequestSchema, ListConnectedAppsResponseSchema, RevokeConnectedAppRequestSchema, RevokeConnectedAppResponseSchema, connected_apps_pb_exports, file_auth_v1_connected_apps };
|
|
106
107
|
|
|
107
108
|
//# sourceMappingURL=connected_apps_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected_apps_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/connected_apps_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/connected_apps.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/connected_apps.proto.\n */\nexport const file_auth_v1_connected_apps: GenFile = /*@__PURE__*/\n fileDesc(\"ChxhdXRoL3YxL2Nvbm5lY3RlZF9hcHBzLnByb3RvEgdhdXRoLnYxIjUKEkNvbm5lY3RlZEFwcENsaWVudBIRCgljbGllbnRfaWQYASABKAkSDAoEbmFtZRgCIAEoCSKoAQoQQXBwQXV0aG9yaXphdGlvbhIrCgZjbGllbnQYASABKAsyGy5hdXRoLnYxLkNvbm5lY3RlZEFwcENsaWVudBIOCgZzY29wZXMYAiADKAkSEAoIcmVzb3VyY2UYAyABKAkSFQoNcmVkaXJlY3RfaG9zdBgEIAEoCRIuCgpleHBpcmVzX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKLAgoMQ29ubmVjdGVkQXBwEhgKEGNvbm5lY3RlZF9hcHBfaWQYASABKAYSKwoGY2xpZW50GAIgASgLMhsuYXV0aC52MS5Db25uZWN0ZWRBcHBDbGllbnQSDgoGc2NvcGVzGAMgAygJEhAKCHJlc291cmNlGAQgAS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gESbgoXQXBwcm92ZUFwcEF1dGhvcml6YXRpb24SJy5hdXRoLnYxLkFwcHJvdmVBcHBBdXRob3JpemF0aW9uUmVxdWVzdBooLmF1dGgudjEuQXBwcm92ZUFwcEF1dGhvcml6YXRpb25SZXNwb25zZSIAEmUKFERlbnlBcHBBdXRob3JpemF0aW9uEiQuYXV0aC52MS5EZW55QXBwQXV0aG9yaXphdGlvblJlcXVlc3QaJS5hdXRoLnYxLkRlbnlBcHBBdXRob3JpemF0aW9uUmVzcG9uc2UiABJfChFMaXN0Q29ubmVjdGVkQXBwcxIhLmF1dGgudjEuTGlzdENvbm5lY3RlZEFwcHNSZXF1ZXN0GiIuYXV0aC52MS5MaXN0Q29ubmVjdGVkQXBwc1Jlc3BvbnNlIgOQAgESYgoSUmV2b2tlQ29ubmVjdGVkQXBwEiIuYXV0aC52MS5SZXZva2VDb25uZWN0ZWRBcHBSZXF1ZXN0GiMuYXV0aC52MS5SZXZva2VDb25uZWN0ZWRBcHBSZXNwb25zZSIDkAICGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * An app that asks to use the account, as the OAuth client that registered\n * with Polyester presents itself.\n *\n * @generated from message auth.v1.ConnectedAppClient\n */\nexport type ConnectedAppClient = Message<\"auth.v1.ConnectedAppClient\"> & {\n /**\n * OAuth client identifier of the app.\n *\n * @generated from field: string client_id = 1;\n */\n clientId: string;\n\n /**\n * Name of the app, as shown on the consent page.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message auth.v1.ConnectedAppClient.\n * Use `create(ConnectedAppClientSchema)` to create a new message.\n */\nexport const ConnectedAppClientSchema: GenMessage<ConnectedAppClient> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 0);\n\n/**\n * A pending request from an app to connect to the account.\n *\n * @generated from message auth.v1.AppAuthorization\n */\nexport type AppAuthorization = Message<\"auth.v1.AppAuthorization\"> & {\n /**\n * The app that asks.\n *\n * @generated from field: auth.v1.ConnectedAppClient client = 1;\n */\n client?: ConnectedAppClient | undefined;\n\n /**\n * OAuth scopes the app asks for. \"account:read\" lets the app read the\n * account as the signed-in website does: balances, orders, trades and\n * account settings. A connected app never moves money out of the account\n * and never changes its security settings.\n *\n * @generated from field: repeated string scopes = 2;\n */\n scopes: string[];\n\n /**\n * The server the app will use the account through, as an absolute URL.\n *\n * @generated from field: string resource = 3;\n */\n resource: string;\n\n /**\n * Host the app receives the answer on, from its registered redirect URL.\n *\n * @generated from field: string redirect_host = 4;\n */\n redirectHost: string;\n\n /**\n * Time after which the request can no longer be approved or denied.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 5;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.AppAuthorization.\n * Use `create(AppAuthorizationSchema)` to create a new message.\n */\nexport const AppAuthorizationSchema: GenMessage<AppAuthorization> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 1);\n\n/**\n * An app connected to the account.\n *\n * @generated from message auth.v1.ConnectedApp\n */\nexport type ConnectedApp = Message<\"auth.v1.ConnectedApp\"> & {\n /**\n * Opaque connected app ID.\n *\n * @generated from field: fixed64 connected_app_id = 1;\n */\n connectedAppId: bigint;\n\n /**\n * The connected app.\n *\n * @generated from field: auth.v1.ConnectedAppClient client = 2;\n */\n client?: ConnectedAppClient | undefined;\n\n /**\n * OAuth scopes the account granted the app.\n *\n * @generated from field: repeated string scopes = 3;\n */\n scopes: string[];\n\n /**\n * The server the app uses the account through, as an absolute URL.\n *\n * @generated from field: string resource = 4;\n */\n resource: string;\n\n /**\n * Time when the account connected the app.\n *\n * @generated from field: google.protobuf.Timestamp connected_at = 5;\n */\n connectedAt?: Timestamp | undefined;\n\n /**\n * Time when the app last used or refreshed its access, at minute\n * precision. Empty when it has not used it yet.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 6;\n */\n lastUsedAt?: Timestamp | undefined;\n\n /**\n * Time when the connection ends unless it is disconnected before. The app\n * must then be connected again.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 7;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ConnectedApp.\n * Use `create(ConnectedAppSchema)` to create a new message.\n */\nexport const ConnectedAppSchema: GenMessage<ConnectedApp> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 2);\n\n/**\n * Request to read a pending app connection request for the consent page.\n *\n * @generated from message auth.v1.GetAppAuthorizationRequest\n */\nexport type GetAppAuthorizationRequest = Message<\"auth.v1.GetAppAuthorizationRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page in its\n * `request` query parameter.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.GetAppAuthorizationRequest.\n * Use `create(GetAppAuthorizationRequestSchema)` to create a new message.\n */\nexport const GetAppAuthorizationRequestSchema: GenMessage<GetAppAuthorizationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 3);\n\n/**\n * The pending app connection request.\n *\n * @generated from message auth.v1.GetAppAuthorizationResponse\n */\nexport type GetAppAuthorizationResponse = Message<\"auth.v1.GetAppAuthorizationResponse\"> & {\n /**\n * The request.\n *\n * @generated from field: auth.v1.AppAuthorization authorization = 1;\n */\n authorization?: AppAuthorization | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetAppAuthorizationResponse.\n * Use `create(GetAppAuthorizationResponseSchema)` to create a new message.\n */\nexport const GetAppAuthorizationResponseSchema: GenMessage<GetAppAuthorizationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 4);\n\n/**\n * Request to approve a pending app connection request.\n *\n * @generated from message auth.v1.ApproveAppAuthorizationRequest\n */\nexport type ApproveAppAuthorizationRequest = Message<\"auth.v1.ApproveAppAuthorizationRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.ApproveAppAuthorizationRequest.\n * Use `create(ApproveAppAuthorizationRequestSchema)` to create a new message.\n */\nexport const ApproveAppAuthorizationRequestSchema: GenMessage<ApproveAppAuthorizationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 5);\n\n/**\n * The approved request's answer to the app.\n *\n * @generated from message auth.v1.ApproveAppAuthorizationResponse\n */\nexport type ApproveAppAuthorizationResponse = Message<\"auth.v1.ApproveAppAuthorizationResponse\"> & {\n /**\n * URL to send the browser to: the app's redirect URL carrying a one-time\n * authorization code. It is valid for 60 seconds.\n *\n * @generated from field: string redirect_url = 1;\n */\n redirectUrl: string;\n};\n\n/**\n * Describes the message auth.v1.ApproveAppAuthorizationResponse.\n * Use `create(ApproveAppAuthorizationResponseSchema)` to create a new message.\n */\nexport const ApproveAppAuthorizationResponseSchema: GenMessage<ApproveAppAuthorizationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 6);\n\n/**\n * Request to deny a pending app connection request.\n *\n * @generated from message auth.v1.DenyAppAuthorizationRequest\n */\nexport type DenyAppAuthorizationRequest = Message<\"auth.v1.DenyAppAuthorizationRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.DenyAppAuthorizationRequest.\n * Use `create(DenyAppAuthorizationRequestSchema)` to create a new message.\n */\nexport const DenyAppAuthorizationRequestSchema: GenMessage<DenyAppAuthorizationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 7);\n\n/**\n * The denied request's answer to the app.\n *\n * @generated from message auth.v1.DenyAppAuthorizationResponse\n */\nexport type DenyAppAuthorizationResponse = Message<\"auth.v1.DenyAppAuthorizationResponse\"> & {\n /**\n * URL to send the browser to: the app's redirect URL carrying the\n * `access_denied` error.\n *\n * @generated from field: string redirect_url = 1;\n */\n redirectUrl: string;\n};\n\n/**\n * Describes the message auth.v1.DenyAppAuthorizationResponse.\n * Use `create(DenyAppAuthorizationResponseSchema)` to create a new message.\n */\nexport const DenyAppAuthorizationResponseSchema: GenMessage<DenyAppAuthorizationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 8);\n\n/**\n * Request to list the apps connected to the account.\n *\n * @generated from message auth.v1.ListConnectedAppsRequest\n */\nexport type ListConnectedAppsRequest = Message<\"auth.v1.ListConnectedAppsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListConnectedAppsRequest.\n * Use `create(ListConnectedAppsRequestSchema)` to create a new message.\n */\nexport const ListConnectedAppsRequestSchema: GenMessage<ListConnectedAppsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 9);\n\n/**\n * The apps connected to the account.\n *\n * @generated from message auth.v1.ListConnectedAppsResponse\n */\nexport type ListConnectedAppsResponse = Message<\"auth.v1.ListConnectedAppsResponse\"> & {\n /**\n * Connected apps, newest connection first. An account has at most 20; a\n * disconnected or expired connection is not listed.\n *\n * @generated from field: repeated auth.v1.ConnectedApp apps = 1;\n */\n apps: ConnectedApp[];\n};\n\n/**\n * Describes the message auth.v1.ListConnectedAppsResponse.\n * Use `create(ListConnectedAppsResponseSchema)` to create a new message.\n */\nexport const ListConnectedAppsResponseSchema: GenMessage<ListConnectedAppsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 10);\n\n/**\n * Request to disconnect an app.\n *\n * @generated from message auth.v1.RevokeConnectedAppRequest\n */\nexport type RevokeConnectedAppRequest = Message<\"auth.v1.RevokeConnectedAppRequest\"> & {\n /**\n * Connected app ID from ListConnectedApps.\n *\n * @generated from field: fixed64 connected_app_id = 1;\n */\n connectedAppId: bigint;\n};\n\n/**\n * Describes the message auth.v1.RevokeConnectedAppRequest.\n * Use `create(RevokeConnectedAppRequestSchema)` to create a new message.\n */\nexport const RevokeConnectedAppRequestSchema: GenMessage<RevokeConnectedAppRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 11);\n\n/**\n * Empty response returned after the app is disconnected.\n *\n * @generated from message auth.v1.RevokeConnectedAppResponse\n */\nexport type RevokeConnectedAppResponse = Message<\"auth.v1.RevokeConnectedAppResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.RevokeConnectedAppResponse.\n * Use `create(RevokeConnectedAppResponseSchema)` to create a new message.\n */\nexport const RevokeConnectedAppResponseSchema: GenMessage<RevokeConnectedAppResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 12);\n\n/**\n * ConnectedAppService connects outside apps, such as an AI assistant, to the\n * account with OAuth (\"Sign in with Polyester\"), and lists and disconnects\n * them. A connected app uses the account as the signed-in website does, for\n * the scopes the account granted; it never moves money out of the account\n * and never changes its security settings. A connection lasts until the\n * account or the app disconnects it, or until it expires; signing out of the\n * website does not end it.\n *\n * @generated from service auth.v1.ConnectedAppService\n */\nexport const ConnectedAppService: GenService<{\n /**\n * Read a pending app connection request, to show the consent page. An\n * unknown, expired or already answered request is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.GetAppAuthorization\n */\n getAppAuthorization: {\n methodKind: \"unary\";\n input: typeof GetAppAuthorizationRequestSchema;\n output: typeof GetAppAuthorizationResponseSchema;\n },\n /**\n * Approve a pending app connection request. The account must have MFA\n * enrolled, and the request must carry a fresh step-up proof: connecting\n * an app is durable delegated access. The app receives a one-time\n * authorization code through the returned redirect URL. An unknown,\n * expired or already answered request is NotFound; an account with 20\n * connected apps is FailedPrecondition with AUTH_CONNECTED_APP_LIMIT_REACHED.\n *\n * @generated from rpc auth.v1.ConnectedAppService.ApproveAppAuthorization\n */\n approveAppAuthorization: {\n methodKind: \"unary\";\n input: typeof ApproveAppAuthorizationRequestSchema;\n output: typeof ApproveAppAuthorizationResponseSchema;\n },\n /**\n * Deny a pending app connection request. The app receives the\n * `access_denied` error through the returned redirect URL. An unknown,\n * expired or already answered request is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.DenyAppAuthorization\n */\n denyAppAuthorization: {\n methodKind: \"unary\";\n input: typeof DenyAppAuthorizationRequestSchema;\n output: typeof DenyAppAuthorizationResponseSchema;\n },\n /**\n * List the apps connected to the account.\n *\n * @generated from rpc auth.v1.ConnectedAppService.ListConnectedApps\n */\n listConnectedApps: {\n methodKind: \"unary\";\n input: typeof ListConnectedAppsRequestSchema;\n output: typeof ListConnectedAppsResponseSchema;\n },\n /**\n * Disconnect an app. Its access and refresh tokens stop working at once.\n * Disconnecting an app that is already disconnected or expired succeeds;\n * an ID that is not one of the account's connected apps is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.RevokeConnectedApp\n */\n revokeConnectedApp: {\n methodKind: \"unary\";\n input: typeof RevokeConnectedAppRequestSchema;\n output: typeof RevokeConnectedAppResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_connected_apps, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,osEAAosE,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA4B3wE,MAAa,2BACX,0BAAY,6BAA6B,CAAC;;;;;AAmD5C,MAAa,yBACX,0BAAY,6BAA6B,CAAC;;;;;AAgE5C,MAAa,qBACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,mCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,oCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,uCACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,oCACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,qCACX,0BAAY,6BAA6B,CAAC;;;;;AAc5C,MAAa,iCACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,kCACX,0BAAY,6BAA6B,EAAE;;;;;AAoB7C,MAAa,kCACX,0BAAY,6BAA6B,EAAE;;;;;AAc7C,MAAa,mCACX,0BAAY,6BAA6B,EAAE;;;;;;;;;;;;AAa7C,MAAa,sBA8DX,0BAAY,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"connected_apps_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/connected_apps_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/connected_apps.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/connected_apps.proto.\n */\nexport const file_auth_v1_connected_apps: GenFile = /*@__PURE__*/\n fileDesc(\"ChxhdXRoL3YxL2Nvbm5lY3RlZF9hcHBzLnByb3RvEgdhdXRoLnYxIjUKEkNvbm5lY3RlZEFwcENsaWVudBIRCgljbGllbnRfaWQYASABKAkSDAoEbmFtZRgCIAEoCSKsAQoUQXBwQ29ubmVjdGlvblJlcXVlc3QSKwoGY2xpZW50GAEgASgLMhsuYXV0aC52MS5Db25uZWN0ZWRBcHBDbGllbnQSDgoGc2NvcGVzGAIgAygJEhAKCHJlc291cmNlGAMgASgJEhUKDXJlZGlyZWN0X2hvc3QYBCABKAkSLgoKZXhwaXJlc19hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiiwIKDENvbm5lY3RlZEFwcBIYChBjb25uZWN0ZWRfYXBwX2lkGAEgASgGEisKBmNsaWVudBgCIAEoCzIbLmF1dGgudjEuQ29ubmVjdGVkQXBwQ2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29ubmVjdGlvblJlcXVlc3QSJy5hdXRoLnYxLkdldEFwcENvbm5lY3Rpb25SZXF1ZXN0UmVxdWVzdBooLmF1dGgudjEuR2V0QXBwQ29ubmVjdGlvblJlcXVlc3RSZXNwb25zZSIDkAIBEnoKG0FwcHJvdmVBcHBDb25uZWN0aW9uUmVxdWVzdBIrLmF1dGgudjEuQXBwcm92ZUFwcENvbm5lY3Rpb25SZXF1ZXN0UmVxdWVzdBosLmF1dGgudjEuQXBwcm92ZUFwcENvbm5lY3Rpb25SZXF1ZXN0UmVzcG9uc2UiABJxChhEZW55QXBwQ29ubmVjdGlvblJlcXVlc3QSKC5hdXRoLnYxLkRlbnlBcHBDb25uZWN0aW9uUmVxdWVzdFJlcXVlc3QaKS5hdXRoLnYxLkRlbnlBcHBDb25uZWN0aW9uUmVxdWVzdFJlc3BvbnNlIgASXwoRTGlzdENvbm5lY3RlZEFwcHMSIS5hdXRoLnYxLkxpc3RDb25uZWN0ZWRBcHBzUmVxdWVzdBoiLmF1dGgudjEuTGlzdENvbm5lY3RlZEFwcHNSZXNwb25zZSIDkAIBEmIKElJldm9rZUNvbm5lY3RlZEFwcBIiLmF1dGgudjEuUmV2b2tlQ29ubmVjdGVkQXBwUmVxdWVzdBojLmF1dGgudjEuUmV2b2tlQ29ubmVjdGVkQXBwUmVzcG9uc2UiA5ACAhoAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * An app that asks to use the account, as the OAuth client that registered\n * with Polyester presents itself.\n *\n * @generated from message auth.v1.ConnectedAppClient\n */\nexport type ConnectedAppClient = Message<\"auth.v1.ConnectedAppClient\"> & {\n /**\n * OAuth client identifier of the app.\n *\n * @generated from field: string client_id = 1;\n */\n clientId: string;\n\n /**\n * Name of the app, as shown on the consent page.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message auth.v1.ConnectedAppClient.\n * Use `create(ConnectedAppClientSchema)` to create a new message.\n */\nexport const ConnectedAppClientSchema: GenMessage<ConnectedAppClient> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 0);\n\n/**\n * A pending request from an app to connect to the account.\n *\n * @generated from message auth.v1.AppConnectionRequest\n */\nexport type AppConnectionRequest = Message<\"auth.v1.AppConnectionRequest\"> & {\n /**\n * The app that asks.\n *\n * @generated from field: auth.v1.ConnectedAppClient client = 1;\n */\n client?: ConnectedAppClient | undefined;\n\n /**\n * OAuth scopes the app asks for. \"account:read\" lets the app read the\n * account as the signed-in website does: balances, orders, trades and\n * account settings. A connected app never moves money out of the account\n * and never changes its security settings.\n *\n * @generated from field: repeated string scopes = 2;\n */\n scopes: string[];\n\n /**\n * The server the app will use the account through, as an absolute URL.\n *\n * @generated from field: string resource = 3;\n */\n resource: string;\n\n /**\n * Host the app receives the answer on, from its registered redirect URL.\n *\n * @generated from field: string redirect_host = 4;\n */\n redirectHost: string;\n\n /**\n * Time after which the request can no longer be approved or denied.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 5;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.AppConnectionRequest.\n * Use `create(AppConnectionRequestSchema)` to create a new message.\n */\nexport const AppConnectionRequestSchema: GenMessage<AppConnectionRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 1);\n\n/**\n * An app connected to the account.\n *\n * @generated from message auth.v1.ConnectedApp\n */\nexport type ConnectedApp = Message<\"auth.v1.ConnectedApp\"> & {\n /**\n * Opaque connected app ID.\n *\n * @generated from field: fixed64 connected_app_id = 1;\n */\n connectedAppId: bigint;\n\n /**\n * The connected app.\n *\n * @generated from field: auth.v1.ConnectedAppClient client = 2;\n */\n client?: ConnectedAppClient | undefined;\n\n /**\n * OAuth scopes the account granted the app.\n *\n * @generated from field: repeated string scopes = 3;\n */\n scopes: string[];\n\n /**\n * The server the app uses the account through, as an absolute URL.\n *\n * @generated from field: string resource = 4;\n */\n resource: string;\n\n /**\n * Time when the account connected the app.\n *\n * @generated from field: google.protobuf.Timestamp connected_at = 5;\n */\n connectedAt?: Timestamp | undefined;\n\n /**\n * Time when the app last used or refreshed its access, at minute\n * precision. Empty when it has not used it yet.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 6;\n */\n lastUsedAt?: Timestamp | undefined;\n\n /**\n * Time when the connection ends unless it is disconnected before. The app\n * must then be connected again.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 7;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ConnectedApp.\n * Use `create(ConnectedAppSchema)` to create a new message.\n */\nexport const ConnectedAppSchema: GenMessage<ConnectedApp> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 2);\n\n/**\n * Request to read a pending app connection request for the consent page.\n *\n * @generated from message auth.v1.GetAppConnectionRequestRequest\n */\nexport type GetAppConnectionRequestRequest = Message<\"auth.v1.GetAppConnectionRequestRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page in its\n * `request` query parameter.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.GetAppConnectionRequestRequest.\n * Use `create(GetAppConnectionRequestRequestSchema)` to create a new message.\n */\nexport const GetAppConnectionRequestRequestSchema: GenMessage<GetAppConnectionRequestRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 3);\n\n/**\n * The pending app connection request.\n *\n * @generated from message auth.v1.GetAppConnectionRequestResponse\n */\nexport type GetAppConnectionRequestResponse = Message<\"auth.v1.GetAppConnectionRequestResponse\"> & {\n /**\n * The request.\n *\n * @generated from field: auth.v1.AppConnectionRequest connection_request = 1;\n */\n connectionRequest?: AppConnectionRequest | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetAppConnectionRequestResponse.\n * Use `create(GetAppConnectionRequestResponseSchema)` to create a new message.\n */\nexport const GetAppConnectionRequestResponseSchema: GenMessage<GetAppConnectionRequestResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 4);\n\n/**\n * Request to approve a pending app connection request.\n *\n * @generated from message auth.v1.ApproveAppConnectionRequestRequest\n */\nexport type ApproveAppConnectionRequestRequest = Message<\"auth.v1.ApproveAppConnectionRequestRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.ApproveAppConnectionRequestRequest.\n * Use `create(ApproveAppConnectionRequestRequestSchema)` to create a new message.\n */\nexport const ApproveAppConnectionRequestRequestSchema: GenMessage<ApproveAppConnectionRequestRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 5);\n\n/**\n * The approved request's answer to the app.\n *\n * @generated from message auth.v1.ApproveAppConnectionRequestResponse\n */\nexport type ApproveAppConnectionRequestResponse = Message<\"auth.v1.ApproveAppConnectionRequestResponse\"> & {\n /**\n * URL to send the browser to: the app's redirect URL carrying a one-time\n * authorization code. It is valid for 60 seconds.\n *\n * @generated from field: string redirect_url = 1;\n */\n redirectUrl: string;\n};\n\n/**\n * Describes the message auth.v1.ApproveAppConnectionRequestResponse.\n * Use `create(ApproveAppConnectionRequestResponseSchema)` to create a new message.\n */\nexport const ApproveAppConnectionRequestResponseSchema: GenMessage<ApproveAppConnectionRequestResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 6);\n\n/**\n * Request to deny a pending app connection request.\n *\n * @generated from message auth.v1.DenyAppConnectionRequestRequest\n */\nexport type DenyAppConnectionRequestRequest = Message<\"auth.v1.DenyAppConnectionRequestRequest\"> & {\n /**\n * Request ID the authorization endpoint gave the consent page.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n};\n\n/**\n * Describes the message auth.v1.DenyAppConnectionRequestRequest.\n * Use `create(DenyAppConnectionRequestRequestSchema)` to create a new message.\n */\nexport const DenyAppConnectionRequestRequestSchema: GenMessage<DenyAppConnectionRequestRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 7);\n\n/**\n * The denied request's answer to the app.\n *\n * @generated from message auth.v1.DenyAppConnectionRequestResponse\n */\nexport type DenyAppConnectionRequestResponse = Message<\"auth.v1.DenyAppConnectionRequestResponse\"> & {\n /**\n * URL to send the browser to: the app's redirect URL carrying the\n * `access_denied` error.\n *\n * @generated from field: string redirect_url = 1;\n */\n redirectUrl: string;\n};\n\n/**\n * Describes the message auth.v1.DenyAppConnectionRequestResponse.\n * Use `create(DenyAppConnectionRequestResponseSchema)` to create a new message.\n */\nexport const DenyAppConnectionRequestResponseSchema: GenMessage<DenyAppConnectionRequestResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 8);\n\n/**\n * Request to list the apps connected to the account.\n *\n * @generated from message auth.v1.ListConnectedAppsRequest\n */\nexport type ListConnectedAppsRequest = Message<\"auth.v1.ListConnectedAppsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListConnectedAppsRequest.\n * Use `create(ListConnectedAppsRequestSchema)` to create a new message.\n */\nexport const ListConnectedAppsRequestSchema: GenMessage<ListConnectedAppsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 9);\n\n/**\n * The apps connected to the account.\n *\n * @generated from message auth.v1.ListConnectedAppsResponse\n */\nexport type ListConnectedAppsResponse = Message<\"auth.v1.ListConnectedAppsResponse\"> & {\n /**\n * Connected apps, newest connection first. An account has at most 20; a\n * disconnected or expired connection is not listed.\n *\n * @generated from field: repeated auth.v1.ConnectedApp apps = 1;\n */\n apps: ConnectedApp[];\n};\n\n/**\n * Describes the message auth.v1.ListConnectedAppsResponse.\n * Use `create(ListConnectedAppsResponseSchema)` to create a new message.\n */\nexport const ListConnectedAppsResponseSchema: GenMessage<ListConnectedAppsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 10);\n\n/**\n * Request to disconnect an app.\n *\n * @generated from message auth.v1.RevokeConnectedAppRequest\n */\nexport type RevokeConnectedAppRequest = Message<\"auth.v1.RevokeConnectedAppRequest\"> & {\n /**\n * Connected app ID from ListConnectedApps.\n *\n * @generated from field: fixed64 connected_app_id = 1;\n */\n connectedAppId: bigint;\n};\n\n/**\n * Describes the message auth.v1.RevokeConnectedAppRequest.\n * Use `create(RevokeConnectedAppRequestSchema)` to create a new message.\n */\nexport const RevokeConnectedAppRequestSchema: GenMessage<RevokeConnectedAppRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 11);\n\n/**\n * Empty response returned after the app is disconnected.\n *\n * @generated from message auth.v1.RevokeConnectedAppResponse\n */\nexport type RevokeConnectedAppResponse = Message<\"auth.v1.RevokeConnectedAppResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.RevokeConnectedAppResponse.\n * Use `create(RevokeConnectedAppResponseSchema)` to create a new message.\n */\nexport const RevokeConnectedAppResponseSchema: GenMessage<RevokeConnectedAppResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_connected_apps, 12);\n\n/**\n * ConnectedAppService connects outside apps, such as an AI assistant, a\n * spreadsheet, a portfolio tracker or another tool, to the account with OAuth\n * (\"Sign in with Polyester\"), and lists and disconnects them. A connected app\n * uses the account as the signed-in website does, for the scopes the account\n * granted; it never moves money out of the account and never changes its\n * security settings. A connection lasts until the account or the app\n * disconnects it, or until it expires; signing out of the website does not\n * end it.\n *\n * @generated from service auth.v1.ConnectedAppService\n */\nexport const ConnectedAppService: GenService<{\n /**\n * Read a pending app connection request, to show the consent page. An\n * unknown, expired or already answered request is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.GetAppConnectionRequest\n */\n getAppConnectionRequest: {\n methodKind: \"unary\";\n input: typeof GetAppConnectionRequestRequestSchema;\n output: typeof GetAppConnectionRequestResponseSchema;\n },\n /**\n * Approve a pending app connection request. The account must have MFA\n * enrolled, and the request must carry a fresh step-up proof: connecting\n * an app is durable delegated access. The app receives a one-time\n * authorization code through the returned redirect URL. An unknown,\n * expired or already answered request is NotFound; an account with 20\n * connected apps is FailedPrecondition with AUTH_CONNECTED_APP_LIMIT_REACHED.\n *\n * @generated from rpc auth.v1.ConnectedAppService.ApproveAppConnectionRequest\n */\n approveAppConnectionRequest: {\n methodKind: \"unary\";\n input: typeof ApproveAppConnectionRequestRequestSchema;\n output: typeof ApproveAppConnectionRequestResponseSchema;\n },\n /**\n * Deny a pending app connection request. The app receives the\n * `access_denied` error through the returned redirect URL. An unknown,\n * expired or already answered request is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.DenyAppConnectionRequest\n */\n denyAppConnectionRequest: {\n methodKind: \"unary\";\n input: typeof DenyAppConnectionRequestRequestSchema;\n output: typeof DenyAppConnectionRequestResponseSchema;\n },\n /**\n * List the apps connected to the account.\n *\n * @generated from rpc auth.v1.ConnectedAppService.ListConnectedApps\n */\n listConnectedApps: {\n methodKind: \"unary\";\n input: typeof ListConnectedAppsRequestSchema;\n output: typeof ListConnectedAppsResponseSchema;\n },\n /**\n * Disconnect an app. Its access and refresh tokens stop working at once.\n * Disconnecting an app that is already disconnected or expired succeeds;\n * an ID that is not one of the account's connected apps is NotFound.\n *\n * @generated from rpc auth.v1.ConnectedAppService.RevokeConnectedApp\n */\n revokeConnectedApp: {\n methodKind: \"unary\";\n input: typeof RevokeConnectedAppRequestSchema;\n output: typeof RevokeConnectedAppResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_connected_apps, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,wyEAAwyE,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA4B/2E,MAAa,2BACX,0BAAY,6BAA6B,CAAC;;;;;AAmD5C,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAgE5C,MAAa,qBACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,uCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,2CACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,4CACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,yCACX,0BAAY,6BAA6B,CAAC;;;;;AAc5C,MAAa,iCACX,0BAAY,6BAA6B,CAAC;;;;;AAqB5C,MAAa,kCACX,0BAAY,6BAA6B,EAAE;;;;;AAoB7C,MAAa,kCACX,0BAAY,6BAA6B,EAAE;;;;;AAc7C,MAAa,mCACX,0BAAY,6BAA6B,EAAE;;;;;;;;;;;;;AAc7C,MAAa,sBA8DX,0BAAY,6BAA6B,CAAC"}
|
|
@@ -1337,7 +1337,33 @@ declare enum PolicyAction {
|
|
|
1337
1337
|
*
|
|
1338
1338
|
* @generated from enum value: MANAGE_SUBACCOUNT_POLICIES = 45;
|
|
1339
1339
|
*/
|
|
1340
|
-
MANAGE_SUBACCOUNT_POLICIES = 45
|
|
1340
|
+
MANAGE_SUBACCOUNT_POLICIES = 45,
|
|
1341
|
+
/**
|
|
1342
|
+
* Allow reading the main account's bot strategies: their versions,
|
|
1343
|
+
* backtests, review summaries, deploy proposals, bots and bot logs.
|
|
1344
|
+
* Main-account permission.
|
|
1345
|
+
*
|
|
1346
|
+
* @generated from enum value: READ_STRATEGIES = 46;
|
|
1347
|
+
*/
|
|
1348
|
+
READ_STRATEGIES = 46,
|
|
1349
|
+
/**
|
|
1350
|
+
* Allow validating and storing bot strategy versions, running their
|
|
1351
|
+
* behaviour examples, and starting backtests. It never deploys, changes,
|
|
1352
|
+
* stops or deletes a bot, and grants no read beyond those calls' answers.
|
|
1353
|
+
* Main-account permission.
|
|
1354
|
+
*
|
|
1355
|
+
* @generated from enum value: DRAFT_STRATEGIES = 47;
|
|
1356
|
+
*/
|
|
1357
|
+
DRAFT_STRATEGIES = 47,
|
|
1358
|
+
/**
|
|
1359
|
+
* Allow recording a deploy proposal for a bot strategy version, which the
|
|
1360
|
+
* user then deploys on the website with MFA and a wallet signature. It
|
|
1361
|
+
* never deploys a bot, creates a subaccount or moves funds. Main-account
|
|
1362
|
+
* permission.
|
|
1363
|
+
*
|
|
1364
|
+
* @generated from enum value: PROPOSE_STRATEGY_DEPLOY = 48;
|
|
1365
|
+
*/
|
|
1366
|
+
PROPOSE_STRATEGY_DEPLOY = 48
|
|
1341
1367
|
}
|
|
1342
1368
|
/**
|
|
1343
1369
|
* Describes the enum auth.v1.PolicyAction.
|
|
@@ -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,qBAAqB;;;;;;EAM/B;;;;;;cAOW,0BAA0B,WAAW;;;;;;KAQtC,iBAAiB;;;;;;EAM3B;;;;;;cAOW,sBAAsB,WAAW;;;;;;KAQlC,uBAAuB;;;;;;EAMjC;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,aAAa;;;;;;;EAQb,iBAAiB;;;;;;;EAQjB,SAAS;;;;;;;;;EAUT;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA,WAAW;;;;;;;EAQX,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ;;;;;;cAOW,4BAA4B,WAAW;;;;;;;;KAUxC,gCAAgC;;;;;;;;;EAS1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,iCAAiC;;;;;;EAM3C,UAAU;;;;;;cAOC,sCAAsC,WAAW;;;;;;KAQlD,6BAA6B;;;;;;EAMvC;;;;;;;;;EAUA;;;;;;c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,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;EAYjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;;;;EAqBjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -45,7 +45,7 @@ var policies_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
45
45
|
/**
|
|
46
46
|
* Describes the file auth/v1/policies.proto.
|
|
47
47
|
*/
|
|
48
|
-
const file_auth_v1_policies = /*@__PURE__*/ fileDesc("ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWxlEhEKCXN5bWJvbF9pZBgBIAEoDSLYBAoUU3ViYWNjb3VudFBvbGljeVZpZXcSCgoCaWQYASABKAYSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRItCgxzcG90X21hcmtldHMYBCADKAsyFy5hdXRoLnYxLlNwb3RNYXJrZXRSdWxlEjcKEXNwb3RfbWFya2V0X3Njb3BlGAYgASgOMhouYXV0aC52MS5NYXJrZXRTY29wZS5WYWx1ZUIAEigKB2FjdGlvbnMYCCADKA4yFS5hdXRoLnYxLlBvbGljeUFjdGlvbkIAEhMKC2lzX3RlbXBsYXRlGAogASgIEhoKEnNvdXJjZV90ZW1wbGF0ZV9pZBgLIAEoBhIgChhzb3VyY2VfdGVtcGxhdGVfcmV2aXNpb24YHyABKAQSGgoSbWF4X29yZGVyX25vdGlvbmFsGA0gASgEEhcKD21heF9vcGVuX29yZGVycxgOIA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dGVBcGlQb2xpY3lSZXF1ZXN0GiAuYXV0aC52MS5VcGRhdGVBcGlQb2xpY3lSZXNwb25zZSIAElYKD0RlbGV0ZUFwaVBvbGljeRIfLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVxdWVzdBogLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVzcG9uc2UiABJWCg9TZXRBcGlLZXlQb2xpY3kSHy5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlcXVlc3QaIC5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [
|
|
49
49
|
file_google_protobuf_field_mask,
|
|
50
50
|
file_google_protobuf_timestamp,
|
|
51
51
|
file_polyester_api_options
|
|
@@ -574,6 +574,32 @@ let PolicyAction = /* @__PURE__ */ function(PolicyAction) {
|
|
|
574
574
|
* @generated from enum value: MANAGE_SUBACCOUNT_POLICIES = 45;
|
|
575
575
|
*/
|
|
576
576
|
PolicyAction[PolicyAction["MANAGE_SUBACCOUNT_POLICIES"] = 45] = "MANAGE_SUBACCOUNT_POLICIES";
|
|
577
|
+
/**
|
|
578
|
+
* Allow reading the main account's bot strategies: their versions,
|
|
579
|
+
* backtests, review summaries, deploy proposals, bots and bot logs.
|
|
580
|
+
* Main-account permission.
|
|
581
|
+
*
|
|
582
|
+
* @generated from enum value: READ_STRATEGIES = 46;
|
|
583
|
+
*/
|
|
584
|
+
PolicyAction[PolicyAction["READ_STRATEGIES"] = 46] = "READ_STRATEGIES";
|
|
585
|
+
/**
|
|
586
|
+
* Allow validating and storing bot strategy versions, running their
|
|
587
|
+
* behaviour examples, and starting backtests. It never deploys, changes,
|
|
588
|
+
* stops or deletes a bot, and grants no read beyond those calls' answers.
|
|
589
|
+
* Main-account permission.
|
|
590
|
+
*
|
|
591
|
+
* @generated from enum value: DRAFT_STRATEGIES = 47;
|
|
592
|
+
*/
|
|
593
|
+
PolicyAction[PolicyAction["DRAFT_STRATEGIES"] = 47] = "DRAFT_STRATEGIES";
|
|
594
|
+
/**
|
|
595
|
+
* Allow recording a deploy proposal for a bot strategy version, which the
|
|
596
|
+
* user then deploys on the website with MFA and a wallet signature. It
|
|
597
|
+
* never deploys a bot, creates a subaccount or moves funds. Main-account
|
|
598
|
+
* permission.
|
|
599
|
+
*
|
|
600
|
+
* @generated from enum value: PROPOSE_STRATEGY_DEPLOY = 48;
|
|
601
|
+
*/
|
|
602
|
+
PolicyAction[PolicyAction["PROPOSE_STRATEGY_DEPLOY"] = 48] = "PROPOSE_STRATEGY_DEPLOY";
|
|
577
603
|
return PolicyAction;
|
|
578
604
|
}({});
|
|
579
605
|
/**
|