@getpara/shared 1.33.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/schemas/permissionsV2.js +72 -12
- package/dist/cjs/schemas/permissionsV2Lifecycle.js +2 -3
- package/dist/cjs/types/auth.js +7 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/partner.js +8 -1
- package/dist/cjs/types/restTransfer.js +2 -0
- package/dist/cjs/types/twoFactor.js +2 -0
- package/dist/cjs/types/webhook.js +4 -0
- package/dist/esm/schemas/permissionsV2.js +70 -10
- package/dist/esm/schemas/permissionsV2Lifecycle.js +2 -3
- package/dist/esm/types/auth.js +6 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/partner.js +7 -0
- package/dist/esm/types/restTransfer.js +1 -0
- package/dist/esm/types/twoFactor.js +1 -0
- package/dist/esm/types/webhook.js +4 -0
- package/dist/types/schemas/permissionsV2.d.ts +178 -147
- package/dist/types/schemas/permissionsV2.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts +170 -196
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts.map +1 -1
- package/dist/types/types/auth.d.ts +55 -1
- package/dist/types/types/auth.d.ts.map +1 -1
- package/dist/types/types/authState.d.ts +6 -0
- package/dist/types/types/authState.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/partner.d.ts +4 -0
- package/dist/types/types/partner.d.ts.map +1 -1
- package/dist/types/types/partnerAppConfig.d.ts +14 -0
- package/dist/types/types/partnerAppConfig.d.ts.map +1 -1
- package/dist/types/types/pending-transaction.d.ts +4 -8
- package/dist/types/types/pending-transaction.d.ts.map +1 -1
- package/dist/types/types/permissions.d.ts +3 -1
- package/dist/types/types/permissions.d.ts.map +1 -1
- package/dist/types/types/restTransfer.d.ts +11 -0
- package/dist/types/types/restTransfer.d.ts.map +1 -0
- package/dist/types/types/signing.d.ts +39 -0
- package/dist/types/types/signing.d.ts.map +1 -1
- package/dist/types/types/twoFactor.d.ts +100 -0
- package/dist/types/types/twoFactor.d.ts.map +1 -0
- package/dist/types/types/webhook.d.ts +51 -3
- package/dist/types/types/webhook.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const policyAuthoringSigningWalletTypes: readonly ["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"];
|
|
3
3
|
export declare const policyAuthoringSigningRequestRoutes: readonly ["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"];
|
|
4
4
|
export declare const permissionsV2SigningRequestTypes: readonly ["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"];
|
|
5
|
+
export declare const permissionsV2RuleActions: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"];
|
|
6
|
+
export declare const permissionsV2RuleActionsByWalletType: {
|
|
7
|
+
readonly EVM: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"];
|
|
8
|
+
readonly SOLANA: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature"];
|
|
9
|
+
readonly COSMOS: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature"];
|
|
10
|
+
readonly STELLAR: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature"];
|
|
11
|
+
readonly SUI: readonly ["transfer_native", "transfer_tokens", "call_contract", "raw_signature"];
|
|
12
|
+
};
|
|
5
13
|
export type PermissionsV2ParameterDeclarationSchemaOutput = {
|
|
6
14
|
id: string;
|
|
7
15
|
label: string;
|
|
@@ -13,8 +21,8 @@ export declare const permissionsV2PolicyEffectSchema: z.ZodEnum<["allow", "deny"
|
|
|
13
21
|
export declare const permissionsV2CompareOperatorSchema: z.ZodEnum<["eq", "ne", "lt", "lte", "gt", "gte", "in"]>;
|
|
14
22
|
export declare const permissionsV2AggregateOperatorSchema: z.ZodEnum<["lt", "lte", "gt", "gte"]>;
|
|
15
23
|
export declare const permissionsV2SigningWalletTypeSchema: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
16
|
-
export declare const permissionsV2SigningRequestRouteSchema: z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>;
|
|
17
24
|
export declare const permissionsV2SigningRequestTypeSchema: z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>;
|
|
25
|
+
export declare const permissionsV2RuleActionSchema: z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>;
|
|
18
26
|
type PolicyAuthoringJsonPrimitiveSchemaOutput = string | number | boolean | null;
|
|
19
27
|
type PolicyAuthoringJsonValueSchemaOutput = PolicyAuthoringJsonPrimitiveSchemaOutput | PolicyAuthoringJsonValueSchemaOutput[] | {
|
|
20
28
|
[key: string]: PolicyAuthoringJsonValueSchemaOutput;
|
|
@@ -48,23 +56,20 @@ export type PermissionsV2ConditionSchemaOutput = {
|
|
|
48
56
|
};
|
|
49
57
|
export declare const permissionsV2ConditionSchema: z.ZodType<PermissionsV2ConditionSchemaOutput>;
|
|
50
58
|
export declare const permissionsV2PartnerAuthoredPolicySelectorSchema: z.ZodObject<{
|
|
51
|
-
walletId: z.ZodOptional<z.ZodString
|
|
59
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
60
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
52
61
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
53
|
-
walletType: z.
|
|
54
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
55
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
62
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
56
63
|
}, "strict", z.ZodTypeAny, {
|
|
57
|
-
|
|
64
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
65
|
+
walletId?: string | string[] | undefined;
|
|
66
|
+
userId?: string | string[] | undefined;
|
|
58
67
|
chainId?: string | string[] | undefined;
|
|
59
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
60
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
61
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
62
68
|
}, {
|
|
63
|
-
|
|
69
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
70
|
+
walletId?: string | string[] | undefined;
|
|
71
|
+
userId?: string | string[] | undefined;
|
|
64
72
|
chainId?: string | string[] | undefined;
|
|
65
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
66
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
67
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
68
73
|
}>;
|
|
69
74
|
export declare const permissionsV2PolicyMetadataSchema: z.ZodObject<{
|
|
70
75
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1332,8 +1337,8 @@ export declare const permissionsV2ConditionalApprovalCaseViewSchema: z.ZodObject
|
|
|
1332
1337
|
}, "strict", z.ZodTypeAny, {
|
|
1333
1338
|
walletId: string;
|
|
1334
1339
|
id: string;
|
|
1335
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1336
1340
|
requestHash: string;
|
|
1341
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1337
1342
|
classification: string;
|
|
1338
1343
|
chainId?: string | undefined;
|
|
1339
1344
|
from?: string | undefined;
|
|
@@ -1349,8 +1354,8 @@ export declare const permissionsV2ConditionalApprovalCaseViewSchema: z.ZodObject
|
|
|
1349
1354
|
}, {
|
|
1350
1355
|
walletId: string;
|
|
1351
1356
|
id: string;
|
|
1352
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1353
1357
|
requestHash: string;
|
|
1358
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1354
1359
|
classification: string;
|
|
1355
1360
|
chainId?: string | undefined;
|
|
1356
1361
|
from?: string | undefined;
|
|
@@ -1456,8 +1461,8 @@ export declare const permissionsV2ConditionalApprovalCaseViewSchema: z.ZodObject
|
|
|
1456
1461
|
request: {
|
|
1457
1462
|
walletId: string;
|
|
1458
1463
|
id: string;
|
|
1459
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1460
1464
|
requestHash: string;
|
|
1465
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1461
1466
|
classification: string;
|
|
1462
1467
|
chainId?: string | undefined;
|
|
1463
1468
|
from?: string | undefined;
|
|
@@ -1510,8 +1515,8 @@ export declare const permissionsV2ConditionalApprovalCaseViewSchema: z.ZodObject
|
|
|
1510
1515
|
request: {
|
|
1511
1516
|
walletId: string;
|
|
1512
1517
|
id: string;
|
|
1513
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1514
1518
|
requestHash: string;
|
|
1519
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
1515
1520
|
classification: string;
|
|
1516
1521
|
chainId?: string | undefined;
|
|
1517
1522
|
from?: string | undefined;
|
|
@@ -2018,8 +2023,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2018
2023
|
}, "strict", z.ZodTypeAny, {
|
|
2019
2024
|
walletId: string;
|
|
2020
2025
|
id: string;
|
|
2021
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2022
2026
|
requestHash: string;
|
|
2027
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2023
2028
|
classification: string;
|
|
2024
2029
|
chainId?: string | undefined;
|
|
2025
2030
|
from?: string | undefined;
|
|
@@ -2035,8 +2040,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2035
2040
|
}, {
|
|
2036
2041
|
walletId: string;
|
|
2037
2042
|
id: string;
|
|
2038
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2039
2043
|
requestHash: string;
|
|
2044
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2040
2045
|
classification: string;
|
|
2041
2046
|
chainId?: string | undefined;
|
|
2042
2047
|
from?: string | undefined;
|
|
@@ -2142,8 +2147,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2142
2147
|
request: {
|
|
2143
2148
|
walletId: string;
|
|
2144
2149
|
id: string;
|
|
2145
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2146
2150
|
requestHash: string;
|
|
2151
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2147
2152
|
classification: string;
|
|
2148
2153
|
chainId?: string | undefined;
|
|
2149
2154
|
from?: string | undefined;
|
|
@@ -2196,8 +2201,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2196
2201
|
request: {
|
|
2197
2202
|
walletId: string;
|
|
2198
2203
|
id: string;
|
|
2199
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2200
2204
|
requestHash: string;
|
|
2205
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2201
2206
|
classification: string;
|
|
2202
2207
|
chainId?: string | undefined;
|
|
2203
2208
|
from?: string | undefined;
|
|
@@ -2253,8 +2258,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2253
2258
|
request: {
|
|
2254
2259
|
walletId: string;
|
|
2255
2260
|
id: string;
|
|
2256
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2257
2261
|
requestHash: string;
|
|
2262
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2258
2263
|
classification: string;
|
|
2259
2264
|
chainId?: string | undefined;
|
|
2260
2265
|
from?: string | undefined;
|
|
@@ -2310,8 +2315,8 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2310
2315
|
request: {
|
|
2311
2316
|
walletId: string;
|
|
2312
2317
|
id: string;
|
|
2313
|
-
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2314
2318
|
requestHash: string;
|
|
2319
|
+
requestType: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message";
|
|
2315
2320
|
classification: string;
|
|
2316
2321
|
chainId?: string | undefined;
|
|
2317
2322
|
from?: string | undefined;
|
|
@@ -2354,9 +2359,11 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2354
2359
|
}[];
|
|
2355
2360
|
nextBeforeCaseId?: string | undefined;
|
|
2356
2361
|
}>;
|
|
2362
|
+
export declare const permissionsV2RuleActionsSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
2357
2363
|
export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
2358
2364
|
id: z.ZodString;
|
|
2359
2365
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
2366
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
2360
2367
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
2361
2368
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2362
2369
|
id: z.ZodString;
|
|
@@ -3144,6 +3151,7 @@ export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3144
3151
|
}, "strict", z.ZodTypeAny, {
|
|
3145
3152
|
id: string;
|
|
3146
3153
|
effect: "allow" | "deny" | "require_approval";
|
|
3154
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
3147
3155
|
when: {
|
|
3148
3156
|
kind: "compare";
|
|
3149
3157
|
fact: string;
|
|
@@ -3242,6 +3250,7 @@ export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3242
3250
|
}, {
|
|
3243
3251
|
id: string;
|
|
3244
3252
|
effect: "allow" | "deny" | "require_approval";
|
|
3253
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
3245
3254
|
when: {
|
|
3246
3255
|
kind: "compare";
|
|
3247
3256
|
fact: string;
|
|
@@ -3340,6 +3349,7 @@ export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3340
3349
|
}>, {
|
|
3341
3350
|
id: string;
|
|
3342
3351
|
effect: "allow" | "deny" | "require_approval";
|
|
3352
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
3343
3353
|
when: {
|
|
3344
3354
|
kind: "compare";
|
|
3345
3355
|
fact: string;
|
|
@@ -3438,6 +3448,7 @@ export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3438
3448
|
}, {
|
|
3439
3449
|
id: string;
|
|
3440
3450
|
effect: "allow" | "deny" | "require_approval";
|
|
3451
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
3441
3452
|
when: {
|
|
3442
3453
|
kind: "compare";
|
|
3443
3454
|
fact: string;
|
|
@@ -3539,27 +3550,25 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
3539
3550
|
schemaVersion: z.ZodLiteral<"permissions.policy.v1">;
|
|
3540
3551
|
version: z.ZodString;
|
|
3541
3552
|
selector: z.ZodObject<{
|
|
3542
|
-
walletId: z.ZodOptional<z.ZodString
|
|
3553
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
3554
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
3543
3555
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
3544
|
-
walletType: z.
|
|
3545
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
3546
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
3556
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
3547
3557
|
}, "strict", z.ZodTypeAny, {
|
|
3548
|
-
|
|
3558
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
3559
|
+
walletId?: string | string[] | undefined;
|
|
3560
|
+
userId?: string | string[] | undefined;
|
|
3549
3561
|
chainId?: string | string[] | undefined;
|
|
3550
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
3551
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
3552
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
3553
3562
|
}, {
|
|
3554
|
-
|
|
3563
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
3564
|
+
walletId?: string | string[] | undefined;
|
|
3565
|
+
userId?: string | string[] | undefined;
|
|
3555
3566
|
chainId?: string | string[] | undefined;
|
|
3556
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
3557
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
3558
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
3559
3567
|
}>;
|
|
3560
3568
|
rules: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3561
3569
|
id: z.ZodString;
|
|
3562
3570
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
3571
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
3563
3572
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
3564
3573
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3565
3574
|
id: z.ZodString;
|
|
@@ -4347,6 +4356,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4347
4356
|
}, "strict", z.ZodTypeAny, {
|
|
4348
4357
|
id: string;
|
|
4349
4358
|
effect: "allow" | "deny" | "require_approval";
|
|
4359
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4350
4360
|
when: {
|
|
4351
4361
|
kind: "compare";
|
|
4352
4362
|
fact: string;
|
|
@@ -4445,6 +4455,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4445
4455
|
}, {
|
|
4446
4456
|
id: string;
|
|
4447
4457
|
effect: "allow" | "deny" | "require_approval";
|
|
4458
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4448
4459
|
when: {
|
|
4449
4460
|
kind: "compare";
|
|
4450
4461
|
fact: string;
|
|
@@ -4543,6 +4554,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4543
4554
|
}>, {
|
|
4544
4555
|
id: string;
|
|
4545
4556
|
effect: "allow" | "deny" | "require_approval";
|
|
4557
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4546
4558
|
when: {
|
|
4547
4559
|
kind: "compare";
|
|
4548
4560
|
fact: string;
|
|
@@ -4641,6 +4653,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4641
4653
|
}, {
|
|
4642
4654
|
id: string;
|
|
4643
4655
|
effect: "allow" | "deny" | "require_approval";
|
|
4656
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4644
4657
|
when: {
|
|
4645
4658
|
kind: "compare";
|
|
4646
4659
|
fact: string;
|
|
@@ -4739,6 +4752,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4739
4752
|
}>, "many">, {
|
|
4740
4753
|
id: string;
|
|
4741
4754
|
effect: "allow" | "deny" | "require_approval";
|
|
4755
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4742
4756
|
when: {
|
|
4743
4757
|
kind: "compare";
|
|
4744
4758
|
fact: string;
|
|
@@ -4837,6 +4851,7 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4837
4851
|
}[], {
|
|
4838
4852
|
id: string;
|
|
4839
4853
|
effect: "allow" | "deny" | "require_approval";
|
|
4854
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4840
4855
|
when: {
|
|
4841
4856
|
kind: "compare";
|
|
4842
4857
|
fact: string;
|
|
@@ -4954,15 +4969,15 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
4954
4969
|
schemaVersion: "permissions.policy.v1";
|
|
4955
4970
|
version: string;
|
|
4956
4971
|
selector: {
|
|
4957
|
-
|
|
4972
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4973
|
+
walletId?: string | string[] | undefined;
|
|
4974
|
+
userId?: string | string[] | undefined;
|
|
4958
4975
|
chainId?: string | string[] | undefined;
|
|
4959
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
4960
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
4961
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
4962
4976
|
};
|
|
4963
4977
|
rules: {
|
|
4964
4978
|
id: string;
|
|
4965
4979
|
effect: "allow" | "deny" | "require_approval";
|
|
4980
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
4966
4981
|
when: {
|
|
4967
4982
|
kind: "compare";
|
|
4968
4983
|
fact: string;
|
|
@@ -5070,15 +5085,15 @@ export declare const permissionsV2PartnerPolicyCandidateSchema: z.ZodObject<{
|
|
|
5070
5085
|
schemaVersion: "permissions.policy.v1";
|
|
5071
5086
|
version: string;
|
|
5072
5087
|
selector: {
|
|
5073
|
-
|
|
5088
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
5089
|
+
walletId?: string | string[] | undefined;
|
|
5090
|
+
userId?: string | string[] | undefined;
|
|
5074
5091
|
chainId?: string | string[] | undefined;
|
|
5075
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
5076
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
5077
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
5078
5092
|
};
|
|
5079
5093
|
rules: {
|
|
5080
5094
|
id: string;
|
|
5081
5095
|
effect: "allow" | "deny" | "require_approval";
|
|
5096
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
5082
5097
|
when: {
|
|
5083
5098
|
kind: "compare";
|
|
5084
5099
|
fact: string;
|
|
@@ -5187,27 +5202,25 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
5187
5202
|
schemaVersion: z.ZodLiteral<"permissions.policy.v1">;
|
|
5188
5203
|
version: z.ZodString;
|
|
5189
5204
|
selector: z.ZodObject<{
|
|
5190
|
-
walletId: z.ZodOptional<z.ZodString
|
|
5205
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
5206
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
5191
5207
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
5192
|
-
walletType: z.
|
|
5193
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
5194
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
5208
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
5195
5209
|
}, "strict", z.ZodTypeAny, {
|
|
5196
|
-
|
|
5210
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
5211
|
+
walletId?: string | string[] | undefined;
|
|
5212
|
+
userId?: string | string[] | undefined;
|
|
5197
5213
|
chainId?: string | string[] | undefined;
|
|
5198
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
5199
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
5200
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
5201
5214
|
}, {
|
|
5202
|
-
|
|
5215
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
5216
|
+
walletId?: string | string[] | undefined;
|
|
5217
|
+
userId?: string | string[] | undefined;
|
|
5203
5218
|
chainId?: string | string[] | undefined;
|
|
5204
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
5205
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
5206
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
5207
5219
|
}>;
|
|
5208
5220
|
rules: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5209
5221
|
id: z.ZodString;
|
|
5210
5222
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
5223
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
5211
5224
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
5212
5225
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5213
5226
|
id: z.ZodString;
|
|
@@ -5995,6 +6008,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
5995
6008
|
}, "strict", z.ZodTypeAny, {
|
|
5996
6009
|
id: string;
|
|
5997
6010
|
effect: "allow" | "deny" | "require_approval";
|
|
6011
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
5998
6012
|
when: {
|
|
5999
6013
|
kind: "compare";
|
|
6000
6014
|
fact: string;
|
|
@@ -6093,6 +6107,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6093
6107
|
}, {
|
|
6094
6108
|
id: string;
|
|
6095
6109
|
effect: "allow" | "deny" | "require_approval";
|
|
6110
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6096
6111
|
when: {
|
|
6097
6112
|
kind: "compare";
|
|
6098
6113
|
fact: string;
|
|
@@ -6191,6 +6206,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6191
6206
|
}>, {
|
|
6192
6207
|
id: string;
|
|
6193
6208
|
effect: "allow" | "deny" | "require_approval";
|
|
6209
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6194
6210
|
when: {
|
|
6195
6211
|
kind: "compare";
|
|
6196
6212
|
fact: string;
|
|
@@ -6289,6 +6305,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6289
6305
|
}, {
|
|
6290
6306
|
id: string;
|
|
6291
6307
|
effect: "allow" | "deny" | "require_approval";
|
|
6308
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6292
6309
|
when: {
|
|
6293
6310
|
kind: "compare";
|
|
6294
6311
|
fact: string;
|
|
@@ -6387,6 +6404,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6387
6404
|
}>, "many">, {
|
|
6388
6405
|
id: string;
|
|
6389
6406
|
effect: "allow" | "deny" | "require_approval";
|
|
6407
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6390
6408
|
when: {
|
|
6391
6409
|
kind: "compare";
|
|
6392
6410
|
fact: string;
|
|
@@ -6485,6 +6503,7 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6485
6503
|
}[], {
|
|
6486
6504
|
id: string;
|
|
6487
6505
|
effect: "allow" | "deny" | "require_approval";
|
|
6506
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6488
6507
|
when: {
|
|
6489
6508
|
kind: "compare";
|
|
6490
6509
|
fact: string;
|
|
@@ -6602,15 +6621,15 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6602
6621
|
schemaVersion: "permissions.policy.v1";
|
|
6603
6622
|
version: string;
|
|
6604
6623
|
selector: {
|
|
6605
|
-
|
|
6624
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6625
|
+
walletId?: string | string[] | undefined;
|
|
6626
|
+
userId?: string | string[] | undefined;
|
|
6606
6627
|
chainId?: string | string[] | undefined;
|
|
6607
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
6608
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
6609
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
6610
6628
|
};
|
|
6611
6629
|
rules: {
|
|
6612
6630
|
id: string;
|
|
6613
6631
|
effect: "allow" | "deny" | "require_approval";
|
|
6632
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6614
6633
|
when: {
|
|
6615
6634
|
kind: "compare";
|
|
6616
6635
|
fact: string;
|
|
@@ -6718,15 +6737,15 @@ export declare const permissionsV2PartnerAuthoredPolicyDefinitionSchema: z.ZodOb
|
|
|
6718
6737
|
schemaVersion: "permissions.policy.v1";
|
|
6719
6738
|
version: string;
|
|
6720
6739
|
selector: {
|
|
6721
|
-
|
|
6740
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6741
|
+
walletId?: string | string[] | undefined;
|
|
6742
|
+
userId?: string | string[] | undefined;
|
|
6722
6743
|
chainId?: string | string[] | undefined;
|
|
6723
|
-
walletType?: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI" | undefined;
|
|
6724
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
6725
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
6726
6744
|
};
|
|
6727
6745
|
rules: {
|
|
6728
6746
|
id: string;
|
|
6729
6747
|
effect: "allow" | "deny" | "require_approval";
|
|
6748
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
6730
6749
|
when: {
|
|
6731
6750
|
kind: "compare";
|
|
6732
6751
|
fact: string;
|
|
@@ -6837,6 +6856,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
6837
6856
|
rules: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6838
6857
|
id: z.ZodString;
|
|
6839
6858
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
6859
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
6840
6860
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
6841
6861
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
6842
6862
|
id: z.ZodString;
|
|
@@ -7624,6 +7644,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
7624
7644
|
}, "strict", z.ZodTypeAny, {
|
|
7625
7645
|
id: string;
|
|
7626
7646
|
effect: "allow" | "deny" | "require_approval";
|
|
7647
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
7627
7648
|
when: {
|
|
7628
7649
|
kind: "compare";
|
|
7629
7650
|
fact: string;
|
|
@@ -7722,6 +7743,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
7722
7743
|
}, {
|
|
7723
7744
|
id: string;
|
|
7724
7745
|
effect: "allow" | "deny" | "require_approval";
|
|
7746
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
7725
7747
|
when: {
|
|
7726
7748
|
kind: "compare";
|
|
7727
7749
|
fact: string;
|
|
@@ -7820,6 +7842,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
7820
7842
|
}>, {
|
|
7821
7843
|
id: string;
|
|
7822
7844
|
effect: "allow" | "deny" | "require_approval";
|
|
7845
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
7823
7846
|
when: {
|
|
7824
7847
|
kind: "compare";
|
|
7825
7848
|
fact: string;
|
|
@@ -7918,6 +7941,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
7918
7941
|
}, {
|
|
7919
7942
|
id: string;
|
|
7920
7943
|
effect: "allow" | "deny" | "require_approval";
|
|
7944
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
7921
7945
|
when: {
|
|
7922
7946
|
kind: "compare";
|
|
7923
7947
|
fact: string;
|
|
@@ -8016,6 +8040,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
8016
8040
|
}>, "many">, {
|
|
8017
8041
|
id: string;
|
|
8018
8042
|
effect: "allow" | "deny" | "require_approval";
|
|
8043
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
8019
8044
|
when: {
|
|
8020
8045
|
kind: "compare";
|
|
8021
8046
|
fact: string;
|
|
@@ -8114,6 +8139,7 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
8114
8139
|
}[], {
|
|
8115
8140
|
id: string;
|
|
8116
8141
|
effect: "allow" | "deny" | "require_approval";
|
|
8142
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
8117
8143
|
when: {
|
|
8118
8144
|
kind: "compare";
|
|
8119
8145
|
fact: string;
|
|
@@ -8212,29 +8238,26 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
8212
8238
|
}[]>;
|
|
8213
8239
|
layer: z.ZodLiteral<"partner">;
|
|
8214
8240
|
selector: z.ZodObject<{
|
|
8215
|
-
|
|
8216
|
-
|
|
8241
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
8242
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
8243
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
8217
8244
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
8218
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
8219
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
8220
8245
|
partnerId: z.ZodString;
|
|
8221
8246
|
appId: z.ZodString;
|
|
8222
8247
|
}, "strict", z.ZodTypeAny, {
|
|
8248
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8223
8249
|
partnerId: string;
|
|
8224
8250
|
appId: string;
|
|
8225
|
-
|
|
8226
|
-
|
|
8251
|
+
userId?: string | string[] | undefined;
|
|
8252
|
+
walletId?: string | string[] | undefined;
|
|
8227
8253
|
chainId?: string | string[] | undefined;
|
|
8228
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
8229
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
8230
8254
|
}, {
|
|
8255
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8231
8256
|
partnerId: string;
|
|
8232
8257
|
appId: string;
|
|
8233
|
-
|
|
8234
|
-
|
|
8258
|
+
userId?: string | string[] | undefined;
|
|
8259
|
+
walletId?: string | string[] | undefined;
|
|
8235
8260
|
chainId?: string | string[] | undefined;
|
|
8236
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
8237
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
8238
8261
|
}>;
|
|
8239
8262
|
metadata: z.ZodObject<{
|
|
8240
8263
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -8257,17 +8280,17 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
8257
8280
|
schemaVersion: "permissions.policy.v1";
|
|
8258
8281
|
version: string;
|
|
8259
8282
|
selector: {
|
|
8283
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8260
8284
|
partnerId: string;
|
|
8261
8285
|
appId: string;
|
|
8262
|
-
|
|
8263
|
-
|
|
8286
|
+
userId?: string | string[] | undefined;
|
|
8287
|
+
walletId?: string | string[] | undefined;
|
|
8264
8288
|
chainId?: string | string[] | undefined;
|
|
8265
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
8266
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
8267
8289
|
};
|
|
8268
8290
|
rules: {
|
|
8269
8291
|
id: string;
|
|
8270
8292
|
effect: "allow" | "deny" | "require_approval";
|
|
8293
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
8271
8294
|
when: {
|
|
8272
8295
|
kind: "compare";
|
|
8273
8296
|
fact: string;
|
|
@@ -8376,17 +8399,17 @@ export declare const permissionsV2DelegationPolicyDefinitionSchema: z.ZodObject<
|
|
|
8376
8399
|
schemaVersion: "permissions.policy.v1";
|
|
8377
8400
|
version: string;
|
|
8378
8401
|
selector: {
|
|
8402
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8379
8403
|
partnerId: string;
|
|
8380
8404
|
appId: string;
|
|
8381
|
-
|
|
8382
|
-
|
|
8405
|
+
userId?: string | string[] | undefined;
|
|
8406
|
+
walletId?: string | string[] | undefined;
|
|
8383
8407
|
chainId?: string | string[] | undefined;
|
|
8384
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
8385
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
8386
8408
|
};
|
|
8387
8409
|
rules: {
|
|
8388
8410
|
id: string;
|
|
8389
8411
|
effect: "allow" | "deny" | "require_approval";
|
|
8412
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
8390
8413
|
when: {
|
|
8391
8414
|
kind: "compare";
|
|
8392
8415
|
fact: string;
|
|
@@ -8994,6 +9017,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
8994
9017
|
rules: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8995
9018
|
id: z.ZodString;
|
|
8996
9019
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
9020
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
8997
9021
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
8998
9022
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
8999
9023
|
id: z.ZodString;
|
|
@@ -9781,6 +9805,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
9781
9805
|
}, "strict", z.ZodTypeAny, {
|
|
9782
9806
|
id: string;
|
|
9783
9807
|
effect: "allow" | "deny" | "require_approval";
|
|
9808
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
9784
9809
|
when: {
|
|
9785
9810
|
kind: "compare";
|
|
9786
9811
|
fact: string;
|
|
@@ -9879,6 +9904,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
9879
9904
|
}, {
|
|
9880
9905
|
id: string;
|
|
9881
9906
|
effect: "allow" | "deny" | "require_approval";
|
|
9907
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
9882
9908
|
when: {
|
|
9883
9909
|
kind: "compare";
|
|
9884
9910
|
fact: string;
|
|
@@ -9977,6 +10003,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
9977
10003
|
}>, {
|
|
9978
10004
|
id: string;
|
|
9979
10005
|
effect: "allow" | "deny" | "require_approval";
|
|
10006
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
9980
10007
|
when: {
|
|
9981
10008
|
kind: "compare";
|
|
9982
10009
|
fact: string;
|
|
@@ -10075,6 +10102,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10075
10102
|
}, {
|
|
10076
10103
|
id: string;
|
|
10077
10104
|
effect: "allow" | "deny" | "require_approval";
|
|
10105
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10078
10106
|
when: {
|
|
10079
10107
|
kind: "compare";
|
|
10080
10108
|
fact: string;
|
|
@@ -10173,6 +10201,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10173
10201
|
}>, "many">, {
|
|
10174
10202
|
id: string;
|
|
10175
10203
|
effect: "allow" | "deny" | "require_approval";
|
|
10204
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10176
10205
|
when: {
|
|
10177
10206
|
kind: "compare";
|
|
10178
10207
|
fact: string;
|
|
@@ -10271,6 +10300,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10271
10300
|
}[], {
|
|
10272
10301
|
id: string;
|
|
10273
10302
|
effect: "allow" | "deny" | "require_approval";
|
|
10303
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10274
10304
|
when: {
|
|
10275
10305
|
kind: "compare";
|
|
10276
10306
|
fact: string;
|
|
@@ -10369,29 +10399,26 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10369
10399
|
}[]>;
|
|
10370
10400
|
layer: z.ZodLiteral<"partner">;
|
|
10371
10401
|
selector: z.ZodObject<{
|
|
10372
|
-
|
|
10373
|
-
|
|
10402
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
10403
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
10404
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
10374
10405
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
10375
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
10376
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
10377
10406
|
partnerId: z.ZodString;
|
|
10378
10407
|
appId: z.ZodString;
|
|
10379
10408
|
}, "strict", z.ZodTypeAny, {
|
|
10409
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10380
10410
|
partnerId: string;
|
|
10381
10411
|
appId: string;
|
|
10382
|
-
|
|
10383
|
-
|
|
10412
|
+
userId?: string | string[] | undefined;
|
|
10413
|
+
walletId?: string | string[] | undefined;
|
|
10384
10414
|
chainId?: string | string[] | undefined;
|
|
10385
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10386
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10387
10415
|
}, {
|
|
10416
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10388
10417
|
partnerId: string;
|
|
10389
10418
|
appId: string;
|
|
10390
|
-
|
|
10391
|
-
|
|
10419
|
+
userId?: string | string[] | undefined;
|
|
10420
|
+
walletId?: string | string[] | undefined;
|
|
10392
10421
|
chainId?: string | string[] | undefined;
|
|
10393
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10394
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10395
10422
|
}>;
|
|
10396
10423
|
metadata: z.ZodObject<{
|
|
10397
10424
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -10414,17 +10441,17 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10414
10441
|
schemaVersion: "permissions.policy.v1";
|
|
10415
10442
|
version: string;
|
|
10416
10443
|
selector: {
|
|
10444
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10417
10445
|
partnerId: string;
|
|
10418
10446
|
appId: string;
|
|
10419
|
-
|
|
10420
|
-
|
|
10447
|
+
userId?: string | string[] | undefined;
|
|
10448
|
+
walletId?: string | string[] | undefined;
|
|
10421
10449
|
chainId?: string | string[] | undefined;
|
|
10422
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10423
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10424
10450
|
};
|
|
10425
10451
|
rules: {
|
|
10426
10452
|
id: string;
|
|
10427
10453
|
effect: "allow" | "deny" | "require_approval";
|
|
10454
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10428
10455
|
when: {
|
|
10429
10456
|
kind: "compare";
|
|
10430
10457
|
fact: string;
|
|
@@ -10533,17 +10560,17 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10533
10560
|
schemaVersion: "permissions.policy.v1";
|
|
10534
10561
|
version: string;
|
|
10535
10562
|
selector: {
|
|
10563
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10536
10564
|
partnerId: string;
|
|
10537
10565
|
appId: string;
|
|
10538
|
-
|
|
10539
|
-
|
|
10566
|
+
userId?: string | string[] | undefined;
|
|
10567
|
+
walletId?: string | string[] | undefined;
|
|
10540
10568
|
chainId?: string | string[] | undefined;
|
|
10541
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10542
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10543
10569
|
};
|
|
10544
10570
|
rules: {
|
|
10545
10571
|
id: string;
|
|
10546
10572
|
effect: "allow" | "deny" | "require_approval";
|
|
10573
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10547
10574
|
when: {
|
|
10548
10575
|
kind: "compare";
|
|
10549
10576
|
fact: string;
|
|
@@ -10694,17 +10721,17 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10694
10721
|
schemaVersion: "permissions.policy.v1";
|
|
10695
10722
|
version: string;
|
|
10696
10723
|
selector: {
|
|
10724
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10697
10725
|
partnerId: string;
|
|
10698
10726
|
appId: string;
|
|
10699
|
-
|
|
10700
|
-
|
|
10727
|
+
userId?: string | string[] | undefined;
|
|
10728
|
+
walletId?: string | string[] | undefined;
|
|
10701
10729
|
chainId?: string | string[] | undefined;
|
|
10702
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10703
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10704
10730
|
};
|
|
10705
10731
|
rules: {
|
|
10706
10732
|
id: string;
|
|
10707
10733
|
effect: "allow" | "deny" | "require_approval";
|
|
10734
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10708
10735
|
when: {
|
|
10709
10736
|
kind: "compare";
|
|
10710
10737
|
fact: string;
|
|
@@ -10829,17 +10856,17 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10829
10856
|
schemaVersion: "permissions.policy.v1";
|
|
10830
10857
|
version: string;
|
|
10831
10858
|
selector: {
|
|
10859
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
10832
10860
|
partnerId: string;
|
|
10833
10861
|
appId: string;
|
|
10834
|
-
|
|
10835
|
-
|
|
10862
|
+
userId?: string | string[] | undefined;
|
|
10863
|
+
walletId?: string | string[] | undefined;
|
|
10836
10864
|
chainId?: string | string[] | undefined;
|
|
10837
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
10838
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
10839
10865
|
};
|
|
10840
10866
|
rules: {
|
|
10841
10867
|
id: string;
|
|
10842
10868
|
effect: "allow" | "deny" | "require_approval";
|
|
10869
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
10843
10870
|
when: {
|
|
10844
10871
|
kind: "compare";
|
|
10845
10872
|
fact: string;
|
|
@@ -11531,6 +11558,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
11531
11558
|
rules: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11532
11559
|
id: z.ZodString;
|
|
11533
11560
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
11561
|
+
actions: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodEffects<z.ZodArray<z.ZodEnum<["transfer_native", "transfer_tokens", "call_contract", "raw_signature", "approve_tokens", "transfer_nfts", "deploy_contract", "execute_safe_transaction", "sign_message", "sign_typed_data", "sign_authorization"]>, "many">, ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[], ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]>]>;
|
|
11534
11562
|
when: z.ZodType<PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, PermissionsV2ConditionSchemaOutput>;
|
|
11535
11563
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
11536
11564
|
id: z.ZodString;
|
|
@@ -12318,6 +12346,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12318
12346
|
}, "strict", z.ZodTypeAny, {
|
|
12319
12347
|
id: string;
|
|
12320
12348
|
effect: "allow" | "deny" | "require_approval";
|
|
12349
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12321
12350
|
when: {
|
|
12322
12351
|
kind: "compare";
|
|
12323
12352
|
fact: string;
|
|
@@ -12416,6 +12445,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12416
12445
|
}, {
|
|
12417
12446
|
id: string;
|
|
12418
12447
|
effect: "allow" | "deny" | "require_approval";
|
|
12448
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12419
12449
|
when: {
|
|
12420
12450
|
kind: "compare";
|
|
12421
12451
|
fact: string;
|
|
@@ -12514,6 +12544,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12514
12544
|
}>, {
|
|
12515
12545
|
id: string;
|
|
12516
12546
|
effect: "allow" | "deny" | "require_approval";
|
|
12547
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12517
12548
|
when: {
|
|
12518
12549
|
kind: "compare";
|
|
12519
12550
|
fact: string;
|
|
@@ -12612,6 +12643,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12612
12643
|
}, {
|
|
12613
12644
|
id: string;
|
|
12614
12645
|
effect: "allow" | "deny" | "require_approval";
|
|
12646
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12615
12647
|
when: {
|
|
12616
12648
|
kind: "compare";
|
|
12617
12649
|
fact: string;
|
|
@@ -12710,6 +12742,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12710
12742
|
}>, "many">, {
|
|
12711
12743
|
id: string;
|
|
12712
12744
|
effect: "allow" | "deny" | "require_approval";
|
|
12745
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12713
12746
|
when: {
|
|
12714
12747
|
kind: "compare";
|
|
12715
12748
|
fact: string;
|
|
@@ -12808,6 +12841,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12808
12841
|
}[], {
|
|
12809
12842
|
id: string;
|
|
12810
12843
|
effect: "allow" | "deny" | "require_approval";
|
|
12844
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12811
12845
|
when: {
|
|
12812
12846
|
kind: "compare";
|
|
12813
12847
|
fact: string;
|
|
@@ -12906,29 +12940,26 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12906
12940
|
}[]>;
|
|
12907
12941
|
layer: z.ZodLiteral<"partner">;
|
|
12908
12942
|
selector: z.ZodObject<{
|
|
12909
|
-
|
|
12910
|
-
|
|
12943
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
12944
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
12945
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
12911
12946
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
12912
|
-
requestRoute: z.ZodOptional<z.ZodEnum<["evm.sign_transaction", "evm.sign_raw", "evm.sign_typed_data", "evm.sign_authorization", "evm.sign_message", "smart_account.user_operation", "solana.sign_transaction", "cosmos.sign_transaction", "stellar.sign_transaction", "sui.sign_transaction"]>>;
|
|
12913
|
-
requestType: z.ZodOptional<z.ZodEnum<["evm_transaction", "evm_message", "evm_raw", "evm_typed_data", "evm_authorization", "smart_account_user_operation", "solana_transaction", "cosmos_transaction", "cosmos_message", "stellar_transaction", "sui_transaction", "raw_message"]>>;
|
|
12914
12947
|
partnerId: z.ZodString;
|
|
12915
12948
|
appId: z.ZodString;
|
|
12916
12949
|
}, "strict", z.ZodTypeAny, {
|
|
12950
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
12917
12951
|
partnerId: string;
|
|
12918
12952
|
appId: string;
|
|
12919
|
-
|
|
12920
|
-
|
|
12953
|
+
userId?: string | string[] | undefined;
|
|
12954
|
+
walletId?: string | string[] | undefined;
|
|
12921
12955
|
chainId?: string | string[] | undefined;
|
|
12922
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
12923
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
12924
12956
|
}, {
|
|
12957
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
12925
12958
|
partnerId: string;
|
|
12926
12959
|
appId: string;
|
|
12927
|
-
|
|
12928
|
-
|
|
12960
|
+
userId?: string | string[] | undefined;
|
|
12961
|
+
walletId?: string | string[] | undefined;
|
|
12929
12962
|
chainId?: string | string[] | undefined;
|
|
12930
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
12931
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
12932
12963
|
}>;
|
|
12933
12964
|
metadata: z.ZodObject<{
|
|
12934
12965
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -12951,17 +12982,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
12951
12982
|
schemaVersion: "permissions.policy.v1";
|
|
12952
12983
|
version: string;
|
|
12953
12984
|
selector: {
|
|
12985
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
12954
12986
|
partnerId: string;
|
|
12955
12987
|
appId: string;
|
|
12956
|
-
|
|
12957
|
-
|
|
12988
|
+
userId?: string | string[] | undefined;
|
|
12989
|
+
walletId?: string | string[] | undefined;
|
|
12958
12990
|
chainId?: string | string[] | undefined;
|
|
12959
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
12960
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
12961
12991
|
};
|
|
12962
12992
|
rules: {
|
|
12963
12993
|
id: string;
|
|
12964
12994
|
effect: "allow" | "deny" | "require_approval";
|
|
12995
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
12965
12996
|
when: {
|
|
12966
12997
|
kind: "compare";
|
|
12967
12998
|
fact: string;
|
|
@@ -13070,17 +13101,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13070
13101
|
schemaVersion: "permissions.policy.v1";
|
|
13071
13102
|
version: string;
|
|
13072
13103
|
selector: {
|
|
13104
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
13073
13105
|
partnerId: string;
|
|
13074
13106
|
appId: string;
|
|
13075
|
-
|
|
13076
|
-
|
|
13107
|
+
userId?: string | string[] | undefined;
|
|
13108
|
+
walletId?: string | string[] | undefined;
|
|
13077
13109
|
chainId?: string | string[] | undefined;
|
|
13078
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
13079
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
13080
13110
|
};
|
|
13081
13111
|
rules: {
|
|
13082
13112
|
id: string;
|
|
13083
13113
|
effect: "allow" | "deny" | "require_approval";
|
|
13114
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
13084
13115
|
when: {
|
|
13085
13116
|
kind: "compare";
|
|
13086
13117
|
fact: string;
|
|
@@ -13231,17 +13262,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13231
13262
|
schemaVersion: "permissions.policy.v1";
|
|
13232
13263
|
version: string;
|
|
13233
13264
|
selector: {
|
|
13265
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
13234
13266
|
partnerId: string;
|
|
13235
13267
|
appId: string;
|
|
13236
|
-
|
|
13237
|
-
|
|
13268
|
+
userId?: string | string[] | undefined;
|
|
13269
|
+
walletId?: string | string[] | undefined;
|
|
13238
13270
|
chainId?: string | string[] | undefined;
|
|
13239
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
13240
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
13241
13271
|
};
|
|
13242
13272
|
rules: {
|
|
13243
13273
|
id: string;
|
|
13244
13274
|
effect: "allow" | "deny" | "require_approval";
|
|
13275
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
13245
13276
|
when: {
|
|
13246
13277
|
kind: "compare";
|
|
13247
13278
|
fact: string;
|
|
@@ -13366,17 +13397,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13366
13397
|
schemaVersion: "permissions.policy.v1";
|
|
13367
13398
|
version: string;
|
|
13368
13399
|
selector: {
|
|
13400
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
13369
13401
|
partnerId: string;
|
|
13370
13402
|
appId: string;
|
|
13371
|
-
|
|
13372
|
-
|
|
13403
|
+
userId?: string | string[] | undefined;
|
|
13404
|
+
walletId?: string | string[] | undefined;
|
|
13373
13405
|
chainId?: string | string[] | undefined;
|
|
13374
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
13375
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
13376
13406
|
};
|
|
13377
13407
|
rules: {
|
|
13378
13408
|
id: string;
|
|
13379
13409
|
effect: "allow" | "deny" | "require_approval";
|
|
13410
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
13380
13411
|
when: {
|
|
13381
13412
|
kind: "compare";
|
|
13382
13413
|
fact: string;
|
|
@@ -13503,17 +13534,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13503
13534
|
schemaVersion: "permissions.policy.v1";
|
|
13504
13535
|
version: string;
|
|
13505
13536
|
selector: {
|
|
13537
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
13506
13538
|
partnerId: string;
|
|
13507
13539
|
appId: string;
|
|
13508
|
-
|
|
13509
|
-
|
|
13540
|
+
userId?: string | string[] | undefined;
|
|
13541
|
+
walletId?: string | string[] | undefined;
|
|
13510
13542
|
chainId?: string | string[] | undefined;
|
|
13511
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
13512
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
13513
13543
|
};
|
|
13514
13544
|
rules: {
|
|
13515
13545
|
id: string;
|
|
13516
13546
|
effect: "allow" | "deny" | "require_approval";
|
|
13547
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
13517
13548
|
when: {
|
|
13518
13549
|
kind: "compare";
|
|
13519
13550
|
fact: string;
|
|
@@ -13640,17 +13671,17 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13640
13671
|
schemaVersion: "permissions.policy.v1";
|
|
13641
13672
|
version: string;
|
|
13642
13673
|
selector: {
|
|
13674
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
13643
13675
|
partnerId: string;
|
|
13644
13676
|
appId: string;
|
|
13645
|
-
|
|
13646
|
-
|
|
13677
|
+
userId?: string | string[] | undefined;
|
|
13678
|
+
walletId?: string | string[] | undefined;
|
|
13647
13679
|
chainId?: string | string[] | undefined;
|
|
13648
|
-
requestRoute?: "evm.sign_transaction" | "evm.sign_raw" | "evm.sign_typed_data" | "evm.sign_authorization" | "evm.sign_message" | "smart_account.user_operation" | "solana.sign_transaction" | "cosmos.sign_transaction" | "stellar.sign_transaction" | "sui.sign_transaction" | undefined;
|
|
13649
|
-
requestType?: "evm_transaction" | "evm_message" | "evm_raw" | "evm_typed_data" | "evm_authorization" | "smart_account_user_operation" | "solana_transaction" | "cosmos_transaction" | "cosmos_message" | "stellar_transaction" | "sui_transaction" | "raw_message" | undefined;
|
|
13650
13680
|
};
|
|
13651
13681
|
rules: {
|
|
13652
13682
|
id: string;
|
|
13653
13683
|
effect: "allow" | "deny" | "require_approval";
|
|
13684
|
+
actions: ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[]) & ("all" | ("transfer_native" | "transfer_tokens" | "call_contract" | "raw_signature" | "approve_tokens" | "transfer_nfts" | "deploy_contract" | "execute_safe_transaction" | "sign_message" | "sign_typed_data" | "sign_authorization")[] | undefined);
|
|
13654
13685
|
when: {
|
|
13655
13686
|
kind: "compare";
|
|
13656
13687
|
fact: string;
|